Your message dated Wed, 22 Aug 2012 08:49:00 +0000 with message-id <[email protected]> and subject line Bug#680469: fixed in lxc 0.8.0~rc1-10 has caused the Debian Bug report #680469, regarding add missing live-debconfig preseeding to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 680469: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680469 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: lxc Version: 0.8.0~rc1-8 Severity: normal Dear Maintainer, I could not get a console from the container with neither lxc-start nor lxc-console after setting up a debian sid container. The only way to access the container was with ssh. sudo lxc-create -n sid -t debian # choose sid and wait for container build process sudo lxc-start -n sid The output of the lxc-start is ---8<-------- miguel@quartor:~$ sudo lxc-start -n sid INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. hostname: you must be root to change the host name mount: permission denied mount: permission denied mount: permission denied [info] Setting the system clock. hwclock: Cannot access the Hardware Clock via any known method. hwclock: Use the --debug option to see the details of our search for an access method. [warn] Unable to set System Clock to: Fri Jul 6 04:28:25 UTC 2012 ... (warning). [ ok ] Activating swap...done. mount: can't find / in /etc/fstab or /etc/mtab [warn] Creating compatibility symlink from /etc/mtab to /proc/mounts. ... (warning). [ ok ] Cleaning up temporary files... /tmp. mount: permission denied mount: permission denied mount: permission denied [warn] Mount point '/dev/console' does not exist. Skipping mount. ... (warning). [warn] Mount point '/dev/ptmx' does not exist. Skipping mount. ... (warning). [ ok ] Activating lvm and md swap...done. [....] Checking file systems...fsck from util-linux 2.20.1 done. [ ok ] Mounting local filesystems...done. [ ok ] Activating swapfile swap...done. mount: permission denied mount: permission denied mount: permission denied [ ok ] Setting kernel variables ...done. [ ok ] Cleaning up temporary files.... [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.2.4 Copyright 2004-2012 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:0c:61:00:00:00 Sending on LPF/eth0/00:0c:61:00:00:00 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPOFFER from 192.168.1.1 DHCPACK from 192.168.1.1 bound to 192.168.1.5 -- renewal in 1715 seconds. done. [ ok ] Cleaning up temporary files.... [FAIL] startpar: service(s) returned failure: hostname.sh ... failed! INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [ ok ] Starting OpenBSD Secure Shell server: sshd. ---8<-------- And there is no console. After a while some new output: ---8<-------- INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: Id "3" respawning too fast: disabled for 5 minutes INIT: Id "2" respawning too fast: disabled for 5 minutes INIT: Id "4" respawning too fast: disabled for 5 minutes INIT: Id "6" respawning too fast: disabled for 5 minutes INIT: Id "5" respawning too fast: disabled for 5 minutes ---8<-------- Even with lxc-console: ---8<-------- miguel@quartor:~$ sudo lxc-console -n sid Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself ---8<-------- After some digging about this I've found that this could be some debconf settings in live-config that are not working: root@quartor:/# debconf-get-selections |grep lxc unknown live-debconfig/sysvinit/lxc-consoles string 6 unknown live-debconfig/sysvinit/lxc-enable boolean false I've tried to use a preseed file to set lxc-enable to true and create a new container but it had no results. The new container still had lxc-enable false. Then I've looked to backends/debconf/0030-sysvinit in live-config source code. Then I've edited the /etc/inittab in the container and the relevant part was this: ---8<-------- 1:2345:respawn:/sbin/getty 38400 tty1 2:23:respawn:/sbin/getty 38400 tty2 3:23:respawn:/sbin/getty 38400 tty3 4:23:respawn:/sbin/getty 38400 tty4 5:23:respawn:/sbin/getty 38400 tty5 6:23:respawn:/sbin/getty 38400 tty6 ---8<-------- After editing those lines to the following and restarting the container I could get a console right after lxc-start. ---8<-------- 1:2345:respawn:/sbin/getty 38400 console c1:23:respawn:/sbin/getty 38400 console #c2:23:respawn:/sbin/getty 38400 console #c3:23:respawn:/sbin/getty 38400 tty4 #c4:23:respawn:/sbin/getty 38400 tty5 #c5:23:respawn:/sbin/getty 38400 tty6 ---8<-------- I've reported this to lxc package because I'm not sure if this is a lxc debian template problem or if it is only a live-config package problem. Decided to report to lxc because it was where the issue came up. Please reassign if necessary. Thank you -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to pt_PT.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.41 ii libcap2-bin 1:2.22-1 Versions of packages lxc suggests: pn lxctl <none> -- debconf information: lxc/directory: /home/lxc lxc/title: lxc/auto: true lxc/shutdown: /usr/bin/lxc-halt
--- End Message ---
--- Begin Message ---Source: lxc Source-Version: 0.8.0~rc1-10 We believe that the bug you reported is fixed in the latest version of lxc, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Daniel Baumann <[email protected]> (supplier of updated lxc package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Wed, 22 Aug 2012 09:01:11 +0200 Source: lxc Binary: lxc lxc-dbg lxc-dev Architecture: source i386 Version: 0.8.0~rc1-10 Distribution: unstable Urgency: low Maintainer: Daniel Baumann <[email protected]> Changed-By: Daniel Baumann <[email protected]> Description: lxc - Linux Containers userspace tools lxc-dbg - Linux Containers userspace tools (debug) lxc-dev - Linux Containers userspace tools (development) Closes: 680469 683999 684124 684572 Changes: lxc (0.8.0~rc1-10) unstable; urgency=low . * Adding some lxc related boot parameters in readme (Closes: #683999). * Correcting spelling typo in previous changelog entry. * Adding note about lxc directory in readme. * Sourcing /etc/default/lxc in lxc-ls (Closes: #684124). * Listing attached consoles in lxc-list. * Using printf in lxc-list to produce a table output. * Adding updated Danish debconf translations from Joe Dalton <[email protected]> (Closes: #684572). * Mounting /proc with hidepid=2 on progress by default. * Also removing auto symlink when destroying containers. * Protecting multiarch queries since install files are run with set - e. * Adding missing live-config preseedings in lxc-debconf (Closes: #680469). * Updating todo file. Checksums-Sha1: 42b677c44605e4e71fd2b9187644f65af00b382c 1273 lxc_0.8.0~rc1-10.dsc 855418ba4752e33ab46fc4421db5a84e60c0dcb3 42244 lxc_0.8.0~rc1-10.debian.tar.xz 96d638c7e62c3fcf649a3de88093a546138ce694 167414 lxc_0.8.0~rc1-10_i386.deb 50884652e726006d0797c88db8f9b67dca9c6475 258348 lxc-dbg_0.8.0~rc1-10_i386.deb f54b43d18aea3b8621d4042b86e173a08c7df623 19834 lxc-dev_0.8.0~rc1-10_i386.deb Checksums-Sha256: 068ceb63bb67114ef976030a0e1b74b0e7b054c101b1254b3b00693740ec89d4 1273 lxc_0.8.0~rc1-10.dsc bb2f85d28a5aeb1f046eff90884a3e09ea95d16ae0b34176a584723c461116b0 42244 lxc_0.8.0~rc1-10.debian.tar.xz 3fd10ae2220eb2b8c27c720f04215ba0c2106b2014e685498d582408d3e2b49a 167414 lxc_0.8.0~rc1-10_i386.deb 028331de3590020f5818c419743334d2d2f346c062baae5b2f483a1450b75375 258348 lxc-dbg_0.8.0~rc1-10_i386.deb 89b5682da090a973a8fc436885b7f71ebe55a460722f4a0736baf3bafd4872af 19834 lxc-dev_0.8.0~rc1-10_i386.deb Files: 5c0b0f4d9d28acfe1ad3fdbf524ac2d7 1273 admin optional lxc_0.8.0~rc1-10.dsc 0ff94cf2758589f2d2d01ada61ea9206 42244 admin optional lxc_0.8.0~rc1-10.debian.tar.xz 51c76ea76686245eda08c32a20ac60a7 167414 admin optional lxc_0.8.0~rc1-10_i386.deb 5ca6faa3825dab7a32fcffd9b28e19c4 258348 debug extra lxc-dbg_0.8.0~rc1-10_i386.deb 73cc1663ad05a0487278396ce72423d0 19834 libdevel optional lxc-dev_0.8.0~rc1-10_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlA0jr8ACgkQ+C5cwEsrK55ZRgCgpfnNWCzyAMhhkWCHH971XNDt QvoAoIN6oj58HIDTRwQJkaJBsahhGwGL =UZIG -----END PGP SIGNATURE-----
--- End Message ---

