]> git.pld-linux.org Git - packages/util-vserver.git/commitdiff
- ignore chdir() errors which happen on zombie processes as they don't have
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 6 Jul 2007 12:38:38 +0000 (12:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  'fd' and 'task' /proc directories

Changed files:
    vprocunhide.init -> 1.10

vprocunhide.init

index c996fff9326398287bb821ec666b8bb53c2838f3..f4462b859e753253d6d9d152de861ebf6b3ac407 100644 (file)
@@ -27,7 +27,7 @@ fi
 start() {
        show "Fixing vservers /proc entries visibility"
        busy
-       ${_SETATTR} -Rx --hide /proc
+       ${_SETATTR} -Rx --hide /proc 2>/dev/null
        $_VPROCUNHIDE
        RETVAL=$?
        deltext
@@ -40,9 +40,10 @@ start() {
 }
 
 stop() {
+       # XXX why start and stop both do --hide?
        show "Stopping vservers /proc entries visibility"
        busy
-       ${_SETATTR} -Rx --hide /proc
+       ${_SETATTR} -Rx --hide /proc 2>/dev/null
        rm -f /var/lock/subsys/vprocunhide
        ok
 }
This page took 0.109367 seconds and 4 git commands to generate.