mock problems

Dan Williams dcbw at redhat.com
Wed Jun 15 17:13:10 UTC 2005


On Wed, 2005-06-15 at 12:16 -0500, Josh Boyer wrote:
> > On Wed, 2005-06-15 at 09:16 -0500, Josh Boyer wrote:
> >> > On Wed, 15 Jun 2005, Josh Boyer wrote:
> >> >
> >> >> Non-zero return value 127 on executing /usr/sbin/mock-helper chroot
> >> >> /var/lib/mock//fedora-development-i386-core/root /sbin/runuser - root
> >> -c
> >> >> "/usr/sbin/useradd -u 500 -d /builddir mockbuild"
> >> >> I've added myself to the mock group, and I'm using mock-0.3-2.fc4.
> >> I'm
> >> >> probably forgetting a step somewhere...
> >>
> >> > You're working as root?
> >>
> >> No, I'm working as my local user.  The above is the output from mock
> >> when
> >> I run as myself.  And yes, my userid is in the mock group.
> >
> > selinux enabled?
> 
> Tried it both ways actually.  I disabled selinux with "setenforce 0" and
> it still fails with the same error.

Instead of that, try "selinux=0" on the kernel boot line, and set
selinux=Disabled in /etc/sysconfig/selinux

Does that make a difference?

Dan




More information about the Fedora-buildsys-list mailing list