SELinux in mock

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

 



Josh Boyer was kind enough to give me a login on a ppc64 machine so I
can try to debug the issue I'm having with GCL.  Unfortunately, I
cannot even get off the ground.  I'm using a 'mock -r
fedora-rawhide-ppc64' command to try things out.  Inside the chroot, I
see this:

$ mock -r fedora-rawhide-ppc64 --shell
INFO: mock.py version 0.9.13 starting...
State Changed: init plugins
State Changed: start
State Changed: lock buildroot
mock-chroot> selinuxenabled
mock-chroot> echo $?
0
mock-chroot> /usr/sbin/semodule -i /tmp/gcl.pp
/usr/sbin/semodule: SELinux policy is not managed or store cannot be accessed.


How is that supposed to work?  This is blocking the GCL build, which
has to change dumped images to type gcl_exec_t when SELinux is active
(checked with selinuxenabled).  If the policy is not managed or the
store cannot be accessed, then selinuxenabled should be setting its
exit code to 1, should it not?  As it is, the GCL build fails when
trying to invoke chcon because selinuxenabled is apparently lying.
-- 
Jerry James
http://loganjerry.googlepages.com/

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux