pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/bind96/files ${CHOWN} the pid directory as well fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1559276247da
branches:  trunk
changeset: 555288:1559276247da
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Thu Feb 26 23:49:24 2009 +0000

description:
${CHOWN} the pid directory as well for chroot running

diffstat:

 net/bind96/files/named9.sh |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9273e5933b0f -r 1559276247da net/bind96/files/named9.sh
--- a/net/bind96/files/named9.sh        Thu Feb 26 23:44:22 2009 +0000
+++ b/net/bind96/files/named9.sh        Thu Feb 26 23:49:24 2009 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: named9.sh,v 1.2 2009/02/23 09:22:16 adrianp Exp $
+# $NetBSD: named9.sh,v 1.3 2009/02/26 23:49:24 adrianp Exp $
 #
 
 # PROVIDE: named
@@ -47,6 +47,7 @@
 
                if [ ! -d ${named_chrootdir}@VARBASE@/run/named ]; then 
                @MKDIR@ ${named_chrootdir}@VARBASE@/run/named 
+               @CHOWN@ @BIND_USER@ ${named_chrootdir}@VARBASE@/run/named
                fi      
 
        @RM@ -f ${pidfile}



Home | Main Index | Thread Index | Old Index