On Saturday 04 December 2010 16:03:30 Jorge Fábregas wrote:
cd /etc
rm hosts
touch hosts
ls -lZ /etc/hosts
(it shows etc_t as its type)
If I do a restorecon of the hosts file I'll get the correct net_conf_t for
the file.
Ok, I kept searching... Is it because, in order for the touch command (bin_t)
to create a file in /etc/ labeled as net_conf_t, a file-transition rule allowing
this should have existed? If there's no rule, the default is to use the label
of the parent directory?
--
Jorge