Public bug reported:

mounted-dev.conf always does MAKEDEV console.  MAKEDEV doesn't just make
the devices, it first removes them.

When a container starts, it sets up /dev/console and /dev/lxc[1-4] as
bind mounts of ptys on the host, for use as lxc consoles.  If mounted-
dev deletes and recreates those, then none of the lxc consoles work.

A simple patch which stops it from breaking lxc consoles is at lp
:~serge-hallyn/ubuntu/quantal/mountall/mountall-lxc .  However looking
back at it, I think it would be ok to do a further check for whether
/dev/console exists.  If it does not exist, then MAKEDEV console anyway.
This isn't necessary, just a thought.

** Affects: mountall (Ubuntu)
     Importance: High
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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/mountall/+bug/1075717/+subscriptions

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

Reply via email to