/var/run/NetworkManager.pid
Tom London
selinux at gmail.com
Thu Feb 2 20:35:01 UTC 2006
Running latest rawhide, targeted/enforcing.
[root at localhost run]# restorecon -v -R -n /var/run
restorecon reset /var/run/NetworkManager.pid context
system_u:object_r:initrc_var_run_t->system_u:object_r:NetworkManager_var_run_t
[root at localhost run]#
Does the following patch to /etc/rc.d/init.d/NetworkManager make sense?
tom
--- NetworkManager 2006-01-31 11:54:20.000000000 -0800
+++ NetworkManager.new 2006-02-02 12:33:19.000000000 -0800
@@ -41,6 +41,7 @@
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$servicename &&
echo `/sbin/pidof $processname` > $pidfile
+ restorecon $pidfile
}
stop()
--
Tom London
More information about the fedora-selinux-list
mailing list