selinux and home dirs

Daniel J Walsh dwalsh at redhat.com
Tue Nov 17 23:00:47 UTC 2009


On 11/17/2009 05:27 PM, Wolfgang S. Rupprecht wrote:
> 
> How do I add a second /home tree to selinux so that both /home and
> /home2 have the same policies and restorecon correctly?  There seems to
> be quite a bit of logic in
> /etc/selinux/targeted/contexts/files/file_contexts.homedirs to treat the
> files in the home directory specially, but I can't see where the "/home/"
> string gets set.
> 
> -wolfgang
Are you doing this in F12?

If yes then please update the policycoreutils package in updates-testing.

And look at semanage fcontext --equiv





More information about the users mailing list