[lxc-devel] [PATCH] lxc-shutdown: use posix shell instead of bash
Natanael Copa
ncopa at alpinelinux.org
Fri Jan 4 08:46:41 UTC 2013
On Wed, 02 Jan 2013 13:49:51 -0500
Stéphane Graber <stgraber at ubuntu.com> wrote:
> Turns out that not all kill implementations allow "-s SIG<name>", some
> instead required "-s <name>". As far as I can tell, all
> implementations support the latter, so I pushed a change to use that
> instead.
Sorry about that.
lxc-shutdown does not work with busybox init either because busybox
init uses different signals for poweroff and reboot. We could either
check if init is a symlink to busybox and automatically adjust the
signals or we could let user configure what signals to use for poweroff
and reboot - or we could do both.
What do you prefer?
-nc
More information about the lxc-devel
mailing list