Hi,
it bugged me that there is no "clean" way to shut down a full system
container from the outside, so I wrote the attached helper script.
It finds the "init" process for the container and sends the INT signal
to that process, which most init systems (all?) interpret as a request
to reboot the s
Hi,
On Mon, May 16, 2011 at 10:01:31AM +0200, Christoph Mitasch wrote:
> the idea is actually good, but my experience is that modern Linux
> distros are unable to shutdown with "kill -s INT/PWR".
Well. I consider the default setup of your "modern" Linux distros
broken. So pressing Ctrl+Alt+Del on
Hi,
in src/lxc/lxcutmp.c in function lxc_utmp_mainloop_add, lxc tries to set
up an inotify watch for /run or /var/run - but only, if I understand the
check correctly, if /run/utmp or /var/run exist in the container.
Since I mount /run as a tmpfs in the container, this check was never true
and