https://issues.shibboleth.net/jira/browse/SSPCPP-645
authorScott Cantor <cantor.2@osu.edu>
Wed, 4 Mar 2015 02:50:55 +0000 (02:50 +0000)
committerScott Cantor <cantor.2@osu.edu>
Wed, 4 Mar 2015 02:50:55 +0000 (02:50 +0000)
configs/Makefile.am
configs/shibd-amazon.in
configs/shibd-redhat.in
configs/shibd-suse.in

index 551908e..810057c 100644 (file)
@@ -69,7 +69,8 @@ do-build-file:
                -e 's:@-PKGWEBDIR-@:${pkgwebdir}:g' \
                -e 's:@-PKGLOGDIR-@:${pkglogdir}:g' \
                -e 's:@-SHIRELOGDIR-@:${shirelogdir}:g' \
-               -e 's:@-PKGRUNDIR-@:${pkgrundir}:g'
+               -e 's:@-PKGRUNDIR-@:${pkgrundir}:g' \
+               -e 's:@-PKGCACHEDIR-@:${pkgcachedir}:g'
        cmp -s ${FILE} ${FILE}.tmp || mv ${FILE}.tmp ${FILE}
        rm -f ${FILE}.tmp
 
index 1668333..2bb42f8 100644 (file)
@@ -53,7 +53,7 @@ start() {
        chown $SHIBD_USER:$SHIBD_USER $pidfile
 
        # Handle transition from root to non-root packages.
-       chown -R $SHIBD_USER:$SHIBD_USER @-PKGRUNDIR-@ 2>/dev/null || :
+    chown -R $SHIBD_USER:$SHIBD_USER @-PKGRUNDIR-@ @-PKGCACHEDIR-@ 2>/dev/null || :
        daemon --user $SHIBD_USER $shibd -p $pidfile -f -w 30
 
     # Adjust native logging directory permission so log roll-over works
index 1668333..90c4e4f 100644 (file)
@@ -53,7 +53,7 @@ start() {
        chown $SHIBD_USER:$SHIBD_USER $pidfile
 
        # Handle transition from root to non-root packages.
-       chown -R $SHIBD_USER:$SHIBD_USER @-PKGRUNDIR-@ 2>/dev/null || :
+       chown -R $SHIBD_USER:$SHIBD_USER @-PKGRUNDIR-@ @-PKGCACHEDIR-@ 2>/dev/null || :
        daemon --user $SHIBD_USER $shibd -p $pidfile -f -w 30
 
     # Adjust native logging directory permission so log roll-over works
index 8751a41..4770ff1 100644 (file)
@@ -55,7 +55,7 @@ case "$1" in
         [ -d @-PKGRUNDIR-@ ] || mkdir @-PKGRUNDIR-@
 
         # Handle transition from root to non-root packages.
-        chown -R $SHIBD_USER:$SHIBD_USER @-PKGRUNDIR-@ 2>/dev/null || :
+        chown -R $SHIBD_USER:$SHIBD_USER @-PKGRUNDIR-@ @-PKGCACHEDIR-@ 2>/dev/null || :
                
         # Adjust native logging directory permission so log roll-over works
         chown wwwrun:www @-SHIRELOGDIR-@