restorecon policy
Currently the command "restorecon -R /" gives an unreasonably large number of error messages on the /proc and /sys file systems. I don't think that it needs the access to the directories on those file systems and removing such access greatly reduces the number of messages.
The attached patch makes this change.
Signature · 4 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page
program/restorecon.te renamed from program/restorecon.te.orig +0 -1
@@ -49,7 +49,6 @@ allow restorecon_t ptyfile:chr_file getattr; allow restorecon_t fs_t:filesystem getattr; -allow restorecon_t fs_type:dir r_dir_perms; allow restorecon_t etc_runtime_t:file { getattr read }; allow restorecon_t etc_t:file { getattr read };