Trying to stop an OCI container hangs eternally. The application container stops correctly if it is force-shutdown. This didn't used to happen in 6.6 -- only in 6.7.
Steps to reproduce
Start an OCI container (in my case, either the dockerhub traefik or nginx containers): incus launch docker:traefik:v3.2 container-name (with the correct repo setup)
incus stop container-name
Watch it hang, ctrl+C 3 times to exit
incus stop -f container-name
Watch it successfully stop, then immediately start up again
incus stop -f container-name a second time
Watch it stop for good
Information to attach
Noticed by another user on IRC:
<apt-get> after upgrading from 6.6 to 6.7, application containers seem to stop being able to shut down gracefully -- I have to do `incus stop -f` to get them stopped
<apt-get> has this been reported by anyone else, and do I need a reboot to fix? I'd rather avoid doing that
<apt-get> (ubuntu 22.04)
<bwbuhse> apt-get: oh, that happened to me on Gentoo, too
<bwbuhse> but I hadn't used application containers prior to 6.7
I also haven't rebooted after upgrading to 6.6 (would rather not as there are ongoing processes running on this server).
Required information
Issue description
Trying to stop an OCI container hangs eternally. The application container stops correctly if it is force-shutdown. This didn't used to happen in 6.6 -- only in 6.7.
Steps to reproduce
incus launch docker:traefik:v3.2 container-name
(with the correct repo setup)incus stop container-name
incus stop -f container-name
incus stop -f container-name
a second timeInformation to attach
Noticed by another user on IRC:
I also haven't rebooted after upgrading to
6.6
(would rather not as there are ongoing processes running on this server).