diff options
Diffstat (limited to 'encap')
-rw-r--r-- | encap/src/bcfg2-site/Makefile | 2 | ||||
-rw-r--r-- | encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl | 16 |
2 files changed, 10 insertions, 8 deletions
diff --git a/encap/src/bcfg2-site/Makefile b/encap/src/bcfg2-site/Makefile index 3f6547e7c..1bddfc75a 100644 --- a/encap/src/bcfg2-site/Makefile +++ b/encap/src/bcfg2-site/Makefile @@ -44,7 +44,7 @@ fix : copy find $$EN -type f | xargs -n1 chmod 0644 && \ chmod 0600 $$EN/etc/ostiary.cfg && \ chmod 0600 $$EN/etc/bcfg2.conf && \ - chmod 0755 $$EN/sbin/ost-bcfg2.sh && \ + chmod 0755 $$EN/sbin/ost-bcfg2* && \ chmod 0755 $$EN/postinstall encap : fix diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl b/encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl index 2c98e910f..9b7e555c5 100644 --- a/encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl +++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/etc/ostiary.cfg.tmpl @@ -20,10 +20,12 @@ KILL="${OSTIARY_PASSWORD}-kill" # Must be at least one action. Format is: # ACTION="secret","command (with path)",["uid"[,"gid"]] # NOTE: There is a maximum of 31 actions -ACTION="${OSTIARY_PASSWORD}-bcfg2-dvqn","/usr/local/sbin/ost-bcfg2.sh dvqn","0","0" -ACTION="${OSTIARY_PASSWORD}-bcfg2-dvn","/usr/local/sbin/ost-bcfg2.sh dvn","0","0" -ACTION="${OSTIARY_PASSWORD}-bcfg2-dvq","/usr/local/sbin/ost-bcfg2.sh dvq","0","0" -ACTION="${OSTIARY_PASSWORD}-bcfg2-dv","/usr/local/sbin/ost-bcfg2.sh dv","0","0" -ACTION="${OSTIARY_PASSWORD}-bcfg2-vq","/usr/local/sbin/ost-bcfg2.sh vq","0","0" -ACTION="${OSTIARY_PASSWORD}-bcfg2-v","/usr/local/sbin/ost-bcfg2.sh v","0","0" -ACTION="${OSTIARY_PASSWORD}-bcfg2-restart","/usr/local/sbin/ost-bcfg2.sh restart","0","0" +# IMPORTANT: Commands *CAN NOT* have any arguments - +# on some platforms arguments are just ignored +ACTION="${OSTIARY_PASSWORD}-bcfg2-dvqn","/usr/local/sbin/ost-bcfg2-dvqn","0","0" +ACTION="${OSTIARY_PASSWORD}-bcfg2-dvn","/usr/local/sbin/ost-bcfg2-dvn","0","0" +ACTION="${OSTIARY_PASSWORD}-bcfg2-dvq","/usr/local/sbin/ost-bcfg2-dvq","0","0" +ACTION="${OSTIARY_PASSWORD}-bcfg2-dv","/usr/local/sbin/ost-bcfg2-dv","0","0" +ACTION="${OSTIARY_PASSWORD}-bcfg2-vq","/usr/local/sbin/ost-bcfg2-vq","0","0" +ACTION="${OSTIARY_PASSWORD}-bcfg2-v","/usr/local/sbin/ost-bcfg2-v","0","0" +ACTION="${OSTIARY_PASSWORD}-bcfg2-restart","/usr/local/sbin/ost-bcfg2-restart","0","0" |