SELinux & Koji question

Richard W.M. Jones rjones at redhat.com
Tue Sep 25 16:29:39 UTC 2012


This command fails:

+ chcon system_u:object_r:tmp_t:s0 tmp
chcon: failed to change context of 'tmp' to 'system_u:object_r:tmp_t:s0': Operation not permitted

when run on Koji.  However it works fine when run on a Fedora 18
machine, with SELinux enforcing.

Does Koji have SELinux enforcing?  Why is labelling not allowed when
it works on a local machine?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/


More information about the devel mailing list