/var/run/NetworkManager.pid

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

 



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

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux