lxc-create -t ubuntu complains about /dev/pts

Bug #813400 reported by Robert Collins
16
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_0.7.4-0ubuntu10~lucid1_i386.deb) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up lxcguest (0.7.4-0ubuntu10~lucid1) ...

Changed in lxc (Ubuntu):
importance: Undecided → Low
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

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?

Changed in lxc (Ubuntu):
status: New → Invalid
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 813400] Re: lxc-create -t ubuntu complains about /dev/pts

On Thu, Jul 21, 2011 at 1:15 AM, Serge Hallyn <email address hidden> wrote:
> Marking this invalid.  Do you think I should mark it as affecting apt-
> get?

While the behaviour occurs, yes ;)

Changed in apt (Ubuntu):
importance: Undecided → Low
Changed in apt (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.