diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-12-05 18:19:15 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-12-05 18:19:15 +0000 |
commit | 6a2f9166acd9aebd681a97ea75259a4ee9205ebe (patch) | |
tree | 7f6050720a4081da4ca79ad60860a858246d2818 /net-libs/xrootd/files | |
parent | Beta channel bump. (diff) | |
download | gentoo-2-6a2f9166acd9aebd681a97ea75259a4ee9205ebe.tar.gz gentoo-2-6a2f9166acd9aebd681a97ea75259a4ee9205ebe.tar.bz2 gentoo-2-6a2f9166acd9aebd681a97ea75259a4ee9205ebe.zip |
Version bump. Transfering checks on /var/run and /var/spool at install time to run-time (bug #445882)
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'net-libs/xrootd/files')
-rw-r--r-- | net-libs/xrootd/files/cmsd.initd | 9 | ||||
-rw-r--r-- | net-libs/xrootd/files/frm_purged.initd | 9 | ||||
-rw-r--r-- | net-libs/xrootd/files/frm_xfrd.initd | 9 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd.initd | 9 |
4 files changed, 28 insertions, 8 deletions
diff --git a/net-libs/xrootd/files/cmsd.initd b/net-libs/xrootd/files/cmsd.initd index 86b8e4b7bcd5..66912202824e 100644 --- a/net-libs/xrootd/files/cmsd.initd +++ b/net-libs/xrootd/files/cmsd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/cmsd.initd,v 1.1 2011/12/19 19:36:35 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/cmsd.initd,v 1.2 2012/12/05 18:19:15 bicatali Exp $ source /etc/conf.d/xrootd @@ -11,6 +11,11 @@ depend() { provide root-file-server } +start_pre() { + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd +} + start() { ebegin "Starting Cluster Management Service daemon" start-stop-daemon --start --quiet --user ${XROOTD_USER} \ diff --git a/net-libs/xrootd/files/frm_purged.initd b/net-libs/xrootd/files/frm_purged.initd index daf455627f3f..ad3e7a8e46d8 100644 --- a/net-libs/xrootd/files/frm_purged.initd +++ b/net-libs/xrootd/files/frm_purged.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/frm_purged.initd,v 1.1 2011/12/19 19:36:35 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/frm_purged.initd,v 1.2 2012/12/05 18:19:15 bicatali Exp $ source /etc/conf.d/xrootd @@ -11,6 +11,11 @@ depend() { provide root-file-server } +start_pre() { + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd +} + start() { ebegin "Starting File Residency Manager purge daemon" start-stop-daemon --start --quiet --user ${XROOTD_USER} \ diff --git a/net-libs/xrootd/files/frm_xfrd.initd b/net-libs/xrootd/files/frm_xfrd.initd index 580042248256..846c1820248f 100644 --- a/net-libs/xrootd/files/frm_xfrd.initd +++ b/net-libs/xrootd/files/frm_xfrd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/frm_xfrd.initd,v 1.1 2011/12/19 19:36:35 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/frm_xfrd.initd,v 1.2 2012/12/05 18:19:15 bicatali Exp $ source /etc/conf.d/xrootd @@ -11,6 +11,11 @@ depend() { provide root-file-server } +start_pre() { + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd +} + start() { ebegin "Starting File Residency Manager transfer daemon" start-stop-daemon --start --quiet --user ${XROOTD_USER} \ diff --git a/net-libs/xrootd/files/xrootd.initd b/net-libs/xrootd/files/xrootd.initd index cbc9122e1589..1685ccc5c009 100644 --- a/net-libs/xrootd/files/xrootd.initd +++ b/net-libs/xrootd/files/xrootd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/xrootd.initd,v 1.1 2011/12/19 19:36:35 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/xrootd.initd,v 1.2 2012/12/05 18:19:15 bicatali Exp $ depend() { need net @@ -9,6 +9,11 @@ depend() { provide root-file-server } +start_pre() { + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd +} + start() { ebegin "Starting extended ROOTD file server" start-stop-daemon --start --quiet --user ${XROOTD_USER} \ |