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

Bug #813400 reported by Robert Collins on 2011-07-20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
lxc (Ubuntu)

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
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

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  Edit
Everyone can see this information.

Other bug subscribers