touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #54122
[Bug 1075717] Update Released
The verification of the Stable Release Update for mountall has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report. In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc 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
Status in lxc source package in Precise:
Invalid
Status in mountall source package in Precise:
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.
== SRU ==
=== Rationale ===
This bug was fixed in trusty but still affects precise LXC containers that are brought up with /dev mounted as something other than a devtmpfs (which is the case with LXC 1.1).
=== Test case ===
- Install LXC 1.1 (from ppa:ubuntu-lxc/daily or in a few days, from vivid)
- sudo lxc-create -t download -n precise -- -d ubuntu -r precise -a amd64
- sudo lxc-start -n precise -F
That will hang at a blank screen even though the container is
functional.
- sudo lxc-attach -n precise -- apt-get dist-upgrade -y
- sudo lxc-attach -n precise -- reboot
And at that point, getty should show up fine in the lxc-start shell.
=== Regression potential ===
Not expecting any, the change is straightforward and has been in Ubuntu since raring.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1075717/+subscriptions