Problem with label on /

Daniel J Walsh dwalsh at redhat.com
Wed Jan 10 13:40:10 UTC 2007


Adam Huffman wrote:
> Rather unwisely I followed through some advice from setroubleshootd on
> a new FC6 test system without thinking through the implications.
>
> It advised me to run:
>
> chcon -R -t xen_image_t /
>
> because xend was having some trouble with virtual disk files.
>
> This had some interesting consequences, most of which I have been able
> to fix via relabelling.
>
> However, there are still errors being reported for various daemons.  E.g.
>
> SELinux is preventing /usr/sbin/cupsd (cupsd_t) "search" access to /
> (xen_image_t).
>
>
> Is there any way of fixing this?
>
>
restorecon /

xen images should be in their own directory.  Not in / or /root.  The 
default directory for xen images is under /var/lib/xen, which would 
solve your problem.  I will take a look at the troubleshoot plugin to 
make fix it up.
> Adam
>
> -- 
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list




More information about the fedora-selinux-list mailing list