Bugzilla – Bug 1213530
Tumbleweed LXC containers ignore virsh/virt-manager shutdown and reboot requests
Last modified: 2023-08-14 16:42:33 UTC
I have two hosts (Leap 15.4 and Tumbleweed) running various LXC containers. I have recently noticed that in both environments containers based on a Tumbleweed rootfs ignore virsh shutdown and reboot commands. Containers based on a Leap rootfs (15.3 and 15.4) are fine. Containers that ignore requests using virsh and virt-manager can be stopped normally using machinectl. Logs, even on debug level, do not appear to show anything relevant regarding shutdown and reboot. I've glanced over the code on how container shutdown is done in lxc, but it's a bit beyond my understanding. I feel like I only see code for forceful termination and not for graceful shutdown/reboot.