`shutdown now` executes poweroff command which in systemd signals manpage 
documented as:
SIGRTMIN+4 Powers off the machine, starts the poweroff.target unit. This is 
mostly equivalent to systemctl start poweroff.target.

The logs indicate that lxc is sending
SIGRTMIN+3 Halts the machine, starts the halt.target unit. This is mostly 
equivalent to systemctl start halt.target.

Note that in addition to above, systemd have more immediate variants for these:
SIGRTMIN+13 Immediately halts the machine.
SIGRTMIN+14 Immediately powers off the machine.

Could you please start the affected containter and try `shutdown --halt
now` and check if that hangs as well?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668049

Title:
  lxd cannot shutdown container

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1668049/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to