home_dir default_t

Daniel J Walsh dwalsh at redhat.com
Wed Nov 14 16:18:05 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Per Sjoholm wrote:
> I have som problem with alerts of default_t and relabel does not solve
> the problem
> Running FC7
> I have my machine local home under /home_l  /home is used for nfs/autofs
> 
> #> genhomedircon
> #> touch /.autorelabel ; reboot
> /home_l/*/* gets labeled  with default_t
> 
> restorecon -v -R /home_l
> labels with user_home_t
> 
> Why is there a differns between autorelabel and restorecon
> Why does autorelabel sets /home and /home_l to default_t
> 
Does the system know that /home_l is a homedir?  IE Do you have a
password record that tells it this?  Or did you use
semanage fcontext -a -t user_home_t '/home_l(/.*)?'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHOx+9rlYvE4MpobMRApzEAJsEinMr3v6rXM+AcuE2+m/OaI9kGwCdG4+S
uZJzjRbOg+eF3Tc7DtCBan0=
=QzNj
-----END PGP SIGNATURE-----




More information about the fedora-selinux-list mailing list