[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: mach/mock and selinux



petersen redhat com (Jens Petersen) writes:

>>>Thanks.  I tried it and got to:
>>>
>>>$ mock -r fedora-3-i386-core mock-0.1-1.src.rpm
> ::
>>> Non-zero return value 127 on executing /usr/sbin/mock-helper chroot
>>> /var/lib/mock//fedora-3-i386-core/root /sbin/runuser - root -c
>>>"/usr/sbin/useradd -u 500 -d /builddir mockbuild"
>
> Ok I haven't tested, but apparently this is caused by using selinux,
> which presumably also explains the problem I was seeing earlier with
> mach.

SELinux was never designed to work with or in chroot environments, and
unless somebody implements another kernel API, this will not change. So
best would be, to disable SELinux completely at system start.



Enrico

Attachment: pgpIZQ2KcYyyd.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]