[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

/var/run/NetworkManager.pid



Running latest rawhide, targeted/enforcing.

[root 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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]