]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- don't filter_chroot() for vserver
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 20 Jan 2006 18:45:34 +0000 (18:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-vserver-is-chroot.patch -> 1.1

rc-scripts-vserver-is-chroot.patch [new file with mode: 0644]

diff --git a/rc-scripts-vserver-is-chroot.patch b/rc-scripts-vserver-is-chroot.patch
new file mode 100644 (file)
index 0000000..b48e4a0
--- /dev/null
@@ -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
This page took 0.456449 seconds and 4 git commands to generate.