Cannot get mock to work

seth vidal skvidal at phy.duke.edu
Mon Aug 1 20:42:06 UTC 2005


On Mon, 2005-08-01 at 14:38 -0600, Orion Poplawski wrote:
> Dan Williams wrote:
> > On Fri, 29 Jul 2005, Orion Poplawski wrote:
> > 
> > 
> >>I'm having trouble getting mock to setup the chroot environment. 
> >>Specifically, the groupinstall build is failing with lots of rpm script 
> >>errors:
> >>
> >>error: %post(libgcc-4.0.1-4.fc4.i386) scriptlet failed, exit status 255
> >>error: %post(glibc-common-2.3.5-10.i386) scriptlet failed, exit status 255
> > 
> > 
> > Just for kicks, try turning SELinux off.  'setenforce 0' or modify 
> > /etc/sysconfig/selinux.
> > 
> > While mock should work correctly with selinux on, this is a lot like what I was 
> > getting before Jeremy added selinux support to mock.
> > 
> > Dan
> > 
> 
> Get the same errors in permissive (setenforce 0) mode.  Do I need to 
> turn selinux off completely?  I'm somewhat loathe to...

try this out:

http://fedoraproject.org/wiki/Projects/Mock

download the mock-0.4.tar.gz file linked from the Download dir.

rpmbuild -ta thatfile

and install the rpm.

see if that solves the selinux problem you were having.

-sv





More information about the Fedora-maintainers mailing list