Have talked through this with hallyn in detail.

 - we don't want to change MAKEDEV itself to not clobber existing device nodes, 
because in other cases this makes recovery from broken /dev less reliable
 - we can't side-step this by making /dev not be a mountpoint within the 
container because in some cases users want to use a read-only rootfs
 - we can't use devtmpfs instead because there is only *one* devtmpfs in the 
kernel no matter where it's mounted, so this would make it impossible to make 
the exact change to node targets that this is about.

So I'm convinced that the linked branch is an appropriate solution to
this problem.  It has no impact on the common case when /dev is a
devtmpfs, we don't call MAKEDEV at all in that scenario.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1075717

Title:
  mounted-dev must not re-create consoles in a container

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to