Package: util-vserver
Version: 0.30.209-1
Severity: normal
Tags: upstream patch

/etc/init.d/vprocunhide does not check for vserver-awareness of currently
running kernel resulting in quite some pages of warnings on the console while
booting. The following patch fixes this:

--- sysv/vprocunhide.old        2006-01-06 02:21:59.000000000 +0100
+++ sysv/vprocunhide    2006-01-06 02:22:36.000000000 +0100
@@ -29,8 +29,12 @@
 function start()
 {
     echo -n $"Fixing /proc entries visibility..."
-    $_VPROCUNHIDE
-    retval=$?
+    if [ -e /proc/self/vinfo ];then
+           $_VPROCUNHIDE
+           retval=$?
+    else
+           retval=0
+    fi
     case "$retval" in
        0)      success;;
        2)      passed; retval=0;;



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.13
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages util-vserver depends on:
ii  iproute                     20041019-3   Professional tools to control the 
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-13   GCC support library
ii  libstdc++5                  1:3.3.5-13   The GNU Standard C++ Library v3
ii  net-tools                   1.60-10      The NET-3 networking toolkit

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to