[Bug 1075717] Re: mounted-dev must not re-create consoles in a container
Launchpad Bug Tracker
1075717 at bugs.launchpad.net
Fri Nov 30 21:55:17 UTC 2012
This bug was fixed in the package lxc - 0.8.0~rc1-4ubuntu47
---------------
lxc (0.8.0~rc1-4ubuntu47) raring; urgency=low
* 0230-autodev-makedev-console: Run MAKEDEV(console) before creating
consoles in the container. This is to make up for the fact that
userspace (i.e. mountall) won't be doing so, since it otherwise
would overwrite the consoles set up by lxc. (LP: #1075717)
-- Serge Hallyn <serge.hallyn at ubuntu.com> Wed, 28 Nov 2012 16:08:37 -0600
** Changed in: lxc (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/1075717
Title:
mounted-dev must not re-create consoles in a container
Status in “lxc” package in Ubuntu:
Fix Released
Status in “mountall” package in Ubuntu:
Fix Released
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1075717/+subscriptions
More information about the foundations-bugs
mailing list