Quoting [email protected] ([email protected]):
> But now happens something strange:
>
> When running 'lxc exec wily-with-upstart-1 /bin/bash' the prompt changes to
> root@wily-with-upstart-1 as expected, but then closes the shell in a few
> seconds, falling back on the host prompt.
> This happens both in the original wily (with systemd) and in the
> wily-with-upstart containers, but not in a trusty container.
> I haven't found any entries in /var/log in those containers during the time
> that this happens.
>
> What could this be and how can I find the cause?
Jinkeys, no idea. Is the container still running after your
shell dies?
I'd try getting debug output from upstart itself. Depending on which
lxc you're running, you may need to use lxc from the daily ppa to get
the patch "support arguments in lxc.init_cmd". Add the following to
your container config:
raw.lxc: |-
lxc.console.logfile = /tmp/out
lxc.init_cmd = /sbin/init --debug --verbose
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users