lxc-create -t ubuntu complains about /dev/pts
Bug #813400 reported by
Robert Collins
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Low
|
Unassigned | ||
lxc (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
I'm on oneiric, up to date. I ran
sudo lxc-create -t ubuntu -n lucid-test-lp -f /etc/lxc/local.conf -- -r lucid -a i386 -b robertc
and it complained (but succeeded)
...
Unpacking lxcguest (from .../lxcguest_
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up lxcguest (0.7.4-
Changed in lxc (Ubuntu): | |
importance: | Undecided → Low |
Changed in apt (Ubuntu): | |
importance: | Undecided → Low |
Changed in apt (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
This is due to doing 'chroot /var/lib/ lxc/container/ rootfs apt-get install'. You can reproduce it at any time, for instance, by doing
chroot /var/lib/ lxc/container/ rootfs apt-get install bzr
I don't think this is a valid bug against lxc. I'm not sure why apt-get is trying to write to the log and being verbose when that fails, and am not sure whether this bug is valid against apt-get. Surely apt-get under chroot is a valid use-case.
Marking this invalid. Do you think I should mark it as affecting apt-get?