From: Scott Cantor Date: Wed, 20 Nov 2013 22:54:05 +0000 (+0000) Subject: https://issues.shibboleth.net/jira/browse/SSPCPP-596 X-Git-Tag: 2.5.3~7 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-sp.git;a=commitdiff_plain;h=f33e318a8f4cd25307cbb18c8c5a61c288225f24 https://issues.shibboleth.net/jira/browse/SSPCPP-596 --- diff --git a/configs/shibd-redhat.in b/configs/shibd-redhat.in index ee536cb..25ef4a2 100644 --- a/configs/shibd-redhat.in +++ b/configs/shibd-redhat.in @@ -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