https://issues.shibboleth.net/jira/browse/SSPCPP-596
authorscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Wed, 20 Nov 2013 22:54:05 +0000 (22:54 +0000)
committerscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Wed, 20 Nov 2013 22:54:05 +0000 (22:54 +0000)
git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3875 cb58f699-b61c-0410-a6fe-9272a202ed29

configs/shibd-redhat.in

index ee536cb..25ef4a2 100644 (file)
@@ -51,9 +51,7 @@ start() {
        export SHIBD_PID=$pidfile
        touch $pidfile
        chown $SHIBD_USER:$SHIBD_USER $pidfile
-       if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
-               /sbin/restorecon $pidfile
-       fi
+
        # Handle transition from root to non-root packages.
        chown -R $SHIBD_USER:$SHIBD_USER @-PKGRUNDIR-@ 2>/dev/null || :
        daemon --user $SHIBD_USER $shibd -p $pidfile -f -w 30