SOURCES: rc-scripts-vserver-is-chroot.patch (NEW) - don't filter_c...
baggins
baggins at pld-linux.org
Fri Jan 20 19:45:39 CET 2006
Author: baggins Date: Fri Jan 20 18:45:39 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- don't filter_chroot() for vserver
---- Files affected:
SOURCES:
rc-scripts-vserver-is-chroot.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/rc-scripts-vserver-is-chroot.patch
diff -u /dev/null SOURCES/rc-scripts-vserver-is-chroot.patch:1.1
--- /dev/null Fri Jan 20 19:45:39 2006
+++ SOURCES/rc-scripts-vserver-is-chroot.patch Fri Jan 20 19:45:34 2006
@@ -0,0 +1,17 @@
+diff -ur rc-scripts-0.4.0.25/rc.d/init.d/functions rc-scripts/rc.d/init.d/functions
+--- rc-scripts-0.4.0.25/rc.d/init.d/functions 2005-11-26 16:15:22.000000000 +0100
++++ rc-scripts/rc.d/init.d/functions 2006-01-20 16:40:17.000000000 +0100
+@@ -392,8 +392,13 @@
+ # - inside chroot get only those processes, which are inside chroot.
+ # - don't filter out pids which do not have corresponding running processes (process died etc)
+ # (note: some processes like named are chrooted but run outside chroot)
++# - do nothing inside vserver
+ filter_chroot()
+ {
++ if is_yes "$VSERVER"; then
++ echo $@
++ return
++ fi
+ if [ $# -lt 1 -o ! -d /proc/1 ] ; then
+ echo $@
+ return
================================================================
More information about the pld-cvs-commit
mailing list