Ubuntu natty を入れて,その上で
# lxc-create -t natty -n 001
みたいに natty コンテナを作ります.コンテナを
# lxc-start -n 001 -d
と起動させて
# lxc-console -n 001
でコンソールにアクセスし,ログインします.その後,reboot コマンドを投入すると... reboot しません.reboot 投入後のログは
lxc-start 1305888648.891 DEBUG lxc_utmp - got inotify event 2 for utmp lxc-start 1305888648.892 DEBUG lxc_utmp - utmp handler - run level is 2/6 lxc-start 1305888648.892 DEBUG lxc_utmp - Setting up utmp shutdown timer lxc-start 1305888648.892 DEBUG lxc_utmp - Container rebooting lxc-start 1305888648.997 DEBUG lxc_utmp - got inotify event 2 for utmp lxc-start 1305888648.998 DEBUG lxc_utmp - utmp handler - run level is 2/6 lxc-start 1305888649.000 DEBUG lxc_utmp - got inotify event 2 for utmp lxc-start 1305888649.002 DEBUG lxc_utmp - utmp handler - run level is 2/6 lxc-start 1305888649.004 DEBUG lxc_utmp - got inotify event 2 for utmp lxc-start 1305888649.007 DEBUG lxc_utmp - utmp handler - run level is 2/6 lxc-start 1305888649.008 DEBUG lxc_utmp - got inotify event 2 for utmp lxc-start 1305888649.010 DEBUG lxc_utmp - utmp handler - run level is 2/6 lxc-start 1305888649.012 DEBUG lxc_utmp - got inotify event 2 for utmp lxc-start 1305888649.014 DEBUG lxc_utmp - utmp handler - run level is 2/6 lxc-start 1305888649.893 DEBUG lxc_cgroup - using cgroup mounted at '/cgroup' lxc-start 1305888649.893 DEBUG lxc_utmp - there are 3 tasks running lxc-start 1305888649.940 DEBUG lxc_utmp - got inotify event 2 for utmp lxc-start 1305888649.940 DEBUG lxc_utmp - utmp handler - run level is / lxc-start 1305888650.892 DEBUG lxc_utmp - there are 4 tasks running lxc-start 1305888651.892 DEBUG lxc_utmp - there are 4 tasks running lxc-start 1305888652.174 DEBUG lxc_utmp - got inotify event 2 for utmp lxc-start 1305888652.174 DEBUG lxc_utmp - utmp handler - run level is / lxc-start 1305888652.892 DEBUG lxc_utmp - there are 1 tasks running lxc-start 1305888652.892 INFO lxc_utmp - container has rebooted lxc-start 1305888652.892 DEBUG lxc_utmp - Clearing utmp shutdown timer lxc-start 1305888652.900 DEBUG lxc_start - container init process exited lxc-start 1305888652.903 INFO lxc_error - child <16740> ended on signal (9) lxc-start 1305888652.904 DEBUG lxc_cgroup - using cgroup mounted at '/cgroup' lxc-start 1305888652.904 DEBUG lxc_cgroup - '/cgroup/001' unlinked lxc-start 1305888652.920 INFO lxc_start_ui - rebooting container
この後,
# lxc-info -n 001 '001' is STOPPED
誰か対処方法教えて.ちなみに lxc-console じゃなく ssh でアクセスしたり,lxc-start を -d 付で起動しなかったりした場合は,普通に reboot します.どうやら lxc-console でアクセスしている場合,ダメなようです (ssh経由でも他で lxc-console してたらダメ).
ちなみに maverick 上で lxc-create -t ubuntu で作ったコンテナは lxc-console アクセスでも問題なく reboot 可能でした.
まだ報告だけですが,似たような感じ (同じ?) のが