[pkg-lxc-devel] Bug#887787: lxc: CentOS 7 amd64 container can't be stopped

Mathias Gibbens gibmat at debian.org
Thu Nov 23 23:15:36 GMT 2023


Control: tags -1 + moreinfo

Hi Toni,

  Sorry that no one responded to this bug until now. Is this behavior
still happening on a bookworm or sid system? I've just spent some time
testing various containers, including a CentOS 7 one, and they are
properly shutting down, both internally (`shutdown` and `halt`) as well
as via `lxc-stop`.

On Fri, 19 Jan 2018 22:51:13 +0100 Toni Mueller <toni at debian.org>
wrote:
> Trying to 'lxc-stop -n centos' (name of the container) also does not
> work. [snip] It would be great if lxc could prevent a container
> misbehaving like that.

  `lxc-stop` does have the "--timeout" and "--kill" options which can
be used to force stop a container that doesn't gracefully shutdown.

Mathias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20231123/9225466f/attachment.sig>


More information about the Pkg-lxc-devel mailing list