summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-06 19:42:06 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-06 19:42:06 +0000
commite44d1888c0e14dd292e6d724cba4cc8e08fbb963 (patch)
tree381d2cd2b6772213774ca3a99af7ac241493ec39 /sys-apps
parentworkaround for #25754 (diff)
downloadgentoo-2-e44d1888c0e14dd292e6d724cba4cc8e08fbb963.tar.gz
gentoo-2-e44d1888c0e14dd292e6d724cba4cc8e08fbb963.tar.bz2
gentoo-2-e44d1888c0e14dd292e6d724cba4cc8e08fbb963.zip
workaround for #25754
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/daemontools/files/svscan6
-rw-r--r--sys-apps/netkit-base/files/inetd.rc66
-rw-r--r--sys-apps/xinetd/files/xinetd.rc63
3 files changed, 12 insertions, 3 deletions
diff --git a/sys-apps/daemontools/files/svscan b/sys-apps/daemontools/files/svscan
index a1e388c30599..517c8c53553a 100644
--- a/sys-apps/daemontools/files/svscan
+++ b/sys-apps/daemontools/files/svscan
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/daemontools/files/svscan,v 1.8 2003/09/08 21:31:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/daemontools/files/svscan,v 1.9 2003/10/06 19:42:06 vapier Exp $
depend() {
need net
@@ -14,9 +14,13 @@ depend() {
start() {
ebegin "Starting service scan"
+ (
+ # workaround for #25754
+ unset -f `declare -F | sed 's:declare -f::g'`
PATH="/usr/bin:$PATH"
start-stop-daemon --start --quiet --exec /usr/bin/svscan --pidfile /var/run/svscan.pid -- /service &
echo $! > /var/run/svscan.pid
+ )
eend $?
}
diff --git a/sys-apps/netkit-base/files/inetd.rc6 b/sys-apps/netkit-base/files/inetd.rc6
index 3fbc4ecd1b2a..64117dfdab97 100644
--- a/sys-apps/netkit-base/files/inetd.rc6
+++ b/sys-apps/netkit-base/files/inetd.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/files/inetd.rc6,v 1.2 2003/02/14 23:26:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/files/inetd.rc6,v 1.3 2003/10/06 19:40:47 vapier Exp $
depend() {
need net
@@ -9,7 +9,11 @@ depend() {
start() {
ebegin "Starting inetd"
+ (
+ # workaround for #25754
+ unset -f `declare -F | sed 's:declare -f::g'`
start-stop-daemon --start --quiet --pidfile /var/run/inetd.pid --exec /usr/sbin/inetd
+ )
eend $?
}
diff --git a/sys-apps/xinetd/files/xinetd.rc6 b/sys-apps/xinetd/files/xinetd.rc6
index dd991b440e9a..ef01addd5133 100644
--- a/sys-apps/xinetd/files/xinetd.rc6
+++ b/sys-apps/xinetd/files/xinetd.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/files/xinetd.rc6,v 1.14 2003/10/06 19:39:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/files/xinetd.rc6,v 1.15 2003/10/06 19:41:16 vapier Exp $
opts="start stop reload restart dump check"
@@ -12,6 +12,7 @@ depend() {
start() {
ebegin "Starting xinetd"
(
+ # workaround for #25754
unset -f `declare -F | sed 's:declare -f::g'`
start-stop-daemon --start --quiet --exec /usr/sbin/xinetd \
-- -pidfile /var/run/xinetd.pid ${XINETD_OPTS}