[Bug 632740] Re: udev.postinst does not work in LXC container

Launchpad Bug Tracker 632740 at bugs.launchpad.net
Fri Aug 5 08:01:21 UTC 2011


** Changed in: udev (Ubuntu)
       Status: New => Confirmed

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

Title:
  udev.postinst does not work in LXC container

Status in “udev” package in Ubuntu:
  Confirmed

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/632740/+subscriptions




More information about the foundations-bugs mailing list