[Lxc-users] new containers doesn't start well after fresh creation.

err404 err404 at free.fr
Tue Jul 3 09:50:51 UTC 2012


hello
I use debian testing 7.0
kernel: Linux Miaou 3.2.0-2-686-pae #1 SMP Mon Jun 11 18:27:04 UTC 2012 i686 GNU/Linux
lxc version: 0.8.0~rc1-4
lxctl version 0.3.1+debian-1

I create news linux container with "lxc-create -n err404-2 -t debian"

all seems work well with "lxc-start -n err404-2", nothing reported.

but when I do "lxc-console -n err404-2", it can't me allow to logon (no login question)
"lxc-list" indicate that it started.
i can stop it by "lxc-halt -n err404-2"

so when I try "lxc-start -n err404-2" I can see some problems:



root at Miaou:/# lxc-start -n err404-2
INIT: version 2.88 booting
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
mount: permission denied
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.
Unable to set System Clock to: Tue Jul 3 09:42:51 UTC 2012 ... (warning).
Activating swap...done.
mount: can't find / in /etc/fstab or /etc/mtab
Creating compatibility symlink from /etc/mtab to /proc/mounts. ... (warning).
mount: permission denied
mount: permission denied
mount: permission denied
Mount point '/dev/console' does not exist. Skipping mount. ... (warning).
Mount point '/dev/ptmx' does not exist. Skipping mount. ... (warning).
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux 2.20.1
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Configuring network interfaces...done.
Cleaning up temporary files....
Setting kernel variables ...done.
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
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
.


and no more




More information about the lxc-users mailing list