Red Hat Bugzilla – Bug 795756
sanlock/wdmd init scripts have bad path to restorecon
Last modified: 2012-02-21 11:36:23 EST
Description of problem:
Your init scripts contain
[ -x /usr/sbin/restorecon ] && restorecon /var/run/$prog
but restorecon is placed in /sbin
$ service sanlock start
$ service wdmd start
and you get AVC msgs because /var/run/sanlock and /var/run/wdmd are mislabeled.
So you need to make this change
-[ -x /usr/sbin/restorecon ] && restorecon /var/run/$prog
+[ -x /sbin/restorecon ] && restorecon /var/run/$prog
Thanks, this will be fixed in the rebased sanlock package.
*** This bug has been marked as a duplicate of bug 782600 ***