-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: lxc
Version: 0.8.0~rc1-4

I tried to build a Sueeze container using the defaults
(except for the password), but the created container
doesn't boot. Sample session:

# lxc-create -n no1 -t debian
:
:
Hit http://ftp.de.debian.org squeeze Release.gpg
Ign http://ftp.de.debian.org/debian/ squeeze/main Translation-en
Hit http://ftp.de.debian.org squeeze Release
Hit http://ftp.de.debian.org squeeze/main amd64 Packages
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Get:1 http://security.debian.org squeeze/updates Release.gpg [836 B]
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Get:2 http://ftp.debian.org squeeze Release.gpg [1672 B]
Ign http://ftp.debian.org/debian/ squeeze/main Translation-en
Get:3 http://ftp.debian.org squeeze-updates Release.gpg [836 B]
Ign http://ftp.debian.org/debian/ squeeze-updates/main Translation-en
Get:4 http://security.debian.org squeeze/updates Release [86.9 kB]
Get:5 http://ftp.debian.org squeeze Release [107 kB]
Get:6 http://backports.debian.org squeeze-backports Release.gpg [836 B]
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main 
Translation-en
Get:7 http://backports.debian.org squeeze-backports Release [77.6 kB]
Get:8 http://ftp.debian.org squeeze-updates Release [113 kB]
Get:9 http://security.debian.org squeeze/updates/main amd64 Packages [276 kB]
Get:10 http://backports.debian.org squeeze-backports/main amd64 Packages [521 
kB]
Get:11 http://ftp.debian.org squeeze/main amd64 Packages [8603 kB]
Get:12 http://ftp.debian.org squeeze-updates/main amd64 Packages [15.2 kB]
Fetched 9805 kB in 9s (1051 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  libc-bin libc6 libssl0.9.8 locales
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 496 kB of additional disk space will be used.
Get:1 http://security.debian.org/ squeeze/updates/main libssl0.9.8 amd64 
0.9.8o-4squeeze12 [998 kB]
Get:2 http://ftp.debian.org/debian/ squeeze-updates/main libc-bin amd64 
2.11.3-3 [749 kB]
Get:3 http://ftp.debian.org/debian/ squeeze-updates/main libc6 amd64 2.11.3-3 
[4281 kB]
Get:4 http://ftp.debian.org/debian/ squeeze-updates/main locales all 2.11.3-3 
[4761 kB]
Fetched 10.8 MB in 9s (1139 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 8806 files and directories currently installed.)
Preparing to replace libc-bin 2.11.3-2 (using .../libc-bin_2.11.3-3_amd64.deb) 
...
Unpacking replacement libc-bin ...
Setting up libc-bin (2.11.3-3) ...
(Reading database ... 8806 files and directories currently installed.)
Preparing to replace libc6 2.11.3-2 (using .../libc6_2.11.3-3_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.11.3-3) ...
(Reading database ... 8806 files and directories currently installed.)
Preparing to replace libssl0.9.8 0.9.8o-4squeeze7 (using 
.../libssl0.9.8_0.9.8o-4squeeze12_amd64.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace locales 2.11.3-2 (using .../locales_2.11.3-3_all.deb) ...
Unpacking replacement locales ...
Setting up libssl0.9.8 (0.9.8o-4squeeze12) ...
Setting up locales (2.11.3-3) ...
Generating locales (this might take a while)...
Generation complete.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-container
Shadow passwords are now on.
adduser: Only one or two names allowed.
chpasswd: (user ) pam_chauthtok() failed, error:
Authentication token manipulation error
chpasswd: (line 1, user ) password not changed
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
'debian' template installed
'no1' created


# lxc-start -n no1
Mount failed for selinuxfs on /selinux:  Operation not permitted
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
mount: permission denied
mount: permission denied
hostname: you must be root to change the host name
Setting the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Unable to set System Clock to: Sun May 6 09:14:45 UTC 2012 ... (warning).
Activating swap...done.
mount: permission denied
Cleaning up ifupdown....
Setting the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Unable to set System Clock to: Sun May 6 09:14:45 UTC 2012 ... (warning).
Setting up networking....
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Configuring network interfaces...done.
Setting kernel variables ...done.
Cleaning up temporary files....
startpar: service(s) returned failure: hostname.sh ... failed!
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Starting OpenBSD Secure Shell server: sshdCould not load host key: 
/etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
.


INIT: Id "6" respawning too fast: disabled for 5 minutes
INIT: Id "5" respawning too fast: disabled for 5 minutes
INIT: Id "4" respawning too fast: disabled for 5 minutes
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: Id "3" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel


and then its stuck.

Please note the message "Unable to locate package linux-container"
during bootstrap, and the mount problems at boot time of the
container. I am sure this wasn't supposed to happen.


Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+mQ8AACgkQUTlbRTxpHjeaNACeMSb9Sib5MPAXl3xFxuT/cDor
krAAni3IA8GmbY/J0+pfYIdJTL8OZGZV
=DDSW
-----END PGP SIGNATURE-----



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