<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Trebuchet MS">Hi everyone,<br>
<br>
<br>
I am trying to setup a debian wheezy with lxc:<br>
# dpkg -l 'lxc'<br>
Desired=Unknown/Install/Remove/Purge/Hold<br>
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend<br>
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)<br>
||/ Name
Version Architecture Description<br>
+++-===========================================-==========================-==========================-============================================================================================<br>
ii lxc
0.8.0~rc1-8+deb7u1 amd64 Linux
Containers userspace tools<br>
<br>
The setup is fine, the container starts:<br>
# lxc-start -n test -l DEBUG<br>
INIT: version 2.88 booting<br>
Activating swap...done.<br>
Cleaning up temporary files... /tmp.<br>
Mount point '/dev/console' does not exist. Skipping mount. ...
(warning).<br>
Mount point '/dev/tty1' does not exist. Skipping mount. ...
(warning).<br>
Mount point '/dev/tty2' does not exist. Skipping mount. ...
(warning).<br>
Mount point '/dev/tty3' does not exist. Skipping mount. ...
(warning).<br>
Mount point '/dev/tty4' does not exist. Skipping mount. ...
(warning).<br>
Mount point '/dev/ptmx' does not exist. Skipping mount. ...
(warning).<br>
Activating lvm and md swap...done.<br>
Checking file systems...fsck from util-linux 2.20.1<br>
done.<br>
Mounting local filesystems...done.<br>
/etc/rcS.d/S06mountall.sh: 59: kill: Illegal number: 3 1<br>
Activating swapfile swap...done.<br>
Cleaning up temporary files....<br>
Setting kernel variables ...done.<br>
Configuring network interfaces...done.<br>
Cleaning up temporary files....<br>
INIT: Entering runlevel: 3<br>
Starting enhanced syslogd: rsyslogd.<br>
Starting MTA: exim4.<br>
Starting Name Service Cache Daemon: nscd.<br>
Debian GNU/Linux 7.0 test console<br>
<br>
test login:<br>
<br>
But when I am trying to stop the container I have the following
issue when inittab is configured has followed:<br>
# cat etc/inittab<br>
id:3:initdefault:<br>
si::sysinit:/etc/init.d/rcS<br>
l0:0:wait:/etc/init.d/rc 0<br>
l1:1:wait:/etc/init.d/rc 1<br>
l2:2:wait:/etc/init.d/rc 2<br>
l3:3:wait:/etc/init.d/rc 3<br>
l4:4:wait:/etc/init.d/rc 4<br>
l5:5:wait:/etc/init.d/rc 5<br>
l6:6:wait:/etc/init.d/rc 6<br>
p0::powerfail:/sbin/init 0<br>
p6::ctrlaltdel:/sbin/init 6<br>
z6:6:respawn:/sbin/sulogin<br>
1:2345:respawn:/sbin/getty 38400 console<br>
c1:12345:respawn:/sbin/getty 38400 tty1 linux<br>
c2:12345:respawn:/sbin/getty 38400 tty2 linux<br>
c3:12345:respawn:/sbin/getty 38400 tty3 linux<br>
c4:12345:respawn:/sbin/getty 38400 tty4 linux<br>
<br>
#chroot /var/lib/lxc/test/rootfs telinit 0<br>
telinit: timeout opening/writing control channel /run/initctl<br>
# chroot /var/lib/lxc/test/rootfs ls -al /run/initctl<br>
prw------- 1 root root 0 Feb 21 11:45 /run/initctl<br>
<br>
<br>
this command should be the one run with lxc-shutdown, any idea
what could be the issue?<br>
<br>
<br>
<br>
<br>
</font>
<pre class="moz-signature" cols="72">--
Regards,
JM
</pre>
</body>
</html>