opensubscriber
   Find in this group all groups
 
Unknown more information…

s : selinux@lists.fedoraproject.org 31 July 2012 • 7:34PM -0400

relabel after policy update
by Vadym Chepkov

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi,

Once n a while I find mislabeled files on the file system. Since I never touched them, I assume it is due to the policy change.
What is the best practice, shall I relabel the system every time selinux-policy-targeted is updated?

For example:

# restorecon -vR /usr/
restorecon reset /usr/libexec/sesh context system_u:object_r:bin_t:s0->system_u:object_r:shell_exec_t:s0

# restorecon -vR /var
restorecon reset /var/lib/rsyslog context system_u:object_r:var_lib_t:s0->system_u:object_r:syslogd_var_lib_t:s0

Regards,
Vadym

--
selinux mailing list
selinux@list...
https://admin.fedoraproject.org/mailman/listinfo/selinux

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.