Public bug reported:

Binary package hint: udev

Vservers are handled, but in an LXC containers mknod also cannot be
used.

This is a small fix:

--- udev.postinst.orig  2010-09-07 21:57:32.000000000 +0000
+++ udev.postinst       2010-09-07 22:00:45.000000000 +0000
@@ -78,6 +78,10 @@
        return
     fi

+    if grep -v -q "/$" /proc/1/cgroup;then
+    return
+    fi
+
     rm -f /lib/udev/devices/fd
     ln -sn /proc/self/fd   /lib/udev/devices/fd


Feel free to modify it for your taste. Please modify the official version of 
the script.

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New

-- 
udev.postinst does not work in LXC container
https://bugs.launchpad.net/bugs/632740
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to