Hi,

I cannot reboot squeeze container that is created by lxc-debian template.

  HostOS: Debian Squeeze
  lxc: 0.7.4.2 (install from source)
       + "set close-on-exec flag on command socket" patch (<- Thx!)

I make a container using lxc-create,
  # lxc-create -t debian -n squeeze

then start the container and run reboot, but no reboot.
  # lxc-start -n squeeze -d
  # lxc-console -n squeeze
    : (snip)
  root@squeeze:~# reboot

by installing with lxc-debian template,
  z6:6:respawn:/sbin/sulogin
then make such a line in inittab file in container, and this line is
commented "Normally not reached, but fallthrough in case of emergency."
But I seem to reach this line as follows:

# lxc-ps --lxc
CONTAINER    PID TTY          TIME CMD
squeeze    18426 ?        00:00:00 init
squeeze    18768 pts/5    00:00:00 sulogin

I comment out that line, and run reboot, then I can reboot container.

-- 
KATOH Yasufumi / [email protected]

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to