Displaying 2 results from an estimated 2 matches for "lxcdomainshutdownflags".
2015 Nov 20
2
signal for shutdown in lxc driver
.../sbin/init. CentOS 6 came with upstart as default init.
My problem is that I could not shutdown container correctly with libvirt.
virsh -c lxc:/// shutdown test
Domain test is being shutdown
In container I see only:
"init: Re-executing /sbin/init"
in syslog messages
Why it is happened?
lxcDomainShutdownFlags [1] send SIGTERM to initpid. Upstart got it and
reloaded himself instead shutdown. It's default behavior... [2]
The question is why libvirt send SIGTERM? As I can see lxc-stop [3]
send SIGPWR (that works correctly with upstart) and also have ability
to change default signals.
I can understand...
2015 Nov 20
0
Re: signal for shutdown in lxc driver
...init.
>
> My problem is that I could not shutdown container correctly with libvirt.
> virsh -c lxc:/// shutdown test
> Domain test is being shutdown
> In container I see only:
> "init: Re-executing /sbin/init"
> in syslog messages
>
> Why it is happened?
> lxcDomainShutdownFlags [1] send SIGTERM to initpid. Upstart got it and
> reloaded himself instead shutdown. It's default behavior... [2]
> The question is why libvirt send SIGTERM? As I can see lxc-stop [3]
> send SIGPWR (that works correctly with upstart) and also have ability
> to change default signals...