mach/mock and selinux

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Sat May 21 07:41:35 UTC 2005


petersen at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050521/a9be7bb6/attachment.sig>


More information about the fedora-extras-list mailing list