Package: lxc
Version: 0.8.0~rc1-4
Severity: important
Usertags: lxc-sigbck

When creating a new container the template scripts don't create the
necessary TTYs and the machine cannot start.

Below are the logs from the container startup:

Mount point '/dev/console' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty1' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty2' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty3' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty4' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty5' does not exist. Skipping mount. ... (warning).
Mount point '/dev/tty6' does not exist. Skipping mount. ... (warning).
Mount point '/dev/ptmx' does not exist. Skipping mount. ... (warning).

Creating the TTYs manually fixes the problem:

mknod -m 666 tty1 c 4 1
mknod -m 666 tty2 c 4 2
mknod -m 666 tty3 c 4 3
mknod -m 666 tty4 c 4 4
mknod -m 666 tty5 c 4 5
mknod -m 666 tty6 c 4 6

Please add the necessary commands to the Debian template script. 

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]  1.5.44
ii  libc6                  2.13-33
ii  libcap2                1:2.22-1
ii  multiarch-support      2.13-33

Versions of packages lxc recommends:
ii  debootstrap  1.0.42
ii  libcap2-bin  1:2.22-1

Versions of packages lxc suggests:
pn  lxctl  <none>

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to