Happened again this weekend. Now it’s a real problem. I have been running containers on VyOS for 2 years and this specific container for several months. It just started crashing the first time I reported this.
I got the whole entire log here:
Nov 02 18:27:03 ruth conmon[1212719]: conmon 735db8f904500829d888 <nwarn>: Failed to open cgroups file: /sys/fs/cgroup/machine.slice/libpod-735db8f904500829d888a933e6b68ab890be00fa073a0b63950b3563cb1ac596.scope/container/memory.events
Nov 02 18:27:03 ruth conmon[1212719]: conmon 735db8f904500829d888 <nwarn>: stdio_input read failed Input/output error
Nov 02 18:27:03 ruth podman[1728250]: 2024-11-02 18:27:03.655192278 -0600 MDT m=+0.067828906 container died 735db8f904500829d888a933e6b68ab890be00fa073a0b63950b3563cb1ac596 (image=docker.io/technitium/dns-server:latest, name=technitium, product=Technitium DNS Server, project_url=https://technitium.com/dns/, vendor=Technitium, PODMAN_SYSTEMD_UNIT=vy>
Nov 02 18:27:03 ruth podman[1728250]: 2024-11-02 18:27:03.66534354 -0600 MDT m=+0.077980193 container restart 735db8f904500829d888a933e6b68ab890be00fa073a0b63950b3563cb1ac596 (image=docker.io/technitium/dns-server:latest, name=technitium, project_url=https://technitium.com/dns/, vendor=Technitium, PODMAN_SYSTEMD_UNIT=vyos-container-technitium.servi>
Nov 02 18:27:03 ruth conmon[1728279]: conmon 735db8f904500829d888 <nwarn>: Failed to get console terminal settings
Nov 02 18:27:03 ruth conmon[1728279]: conmon 735db8f904500829d888 <nwarn>: runtime stderr: executable file `/usr/bin/dotnet` not found in $PATH: No such file or directory
Nov 02 18:27:03 ruth conmon[1728279]: conmon 735db8f904500829d888 <error>: Failed to create container: exit status 1
Nov 02 18:27:04 ruth systemd[1]: vyos-container-technitium.service: Main process exited, code=exited, status=1/FAILURE
Nov 02 18:27:04 ruth podman[1728294]: 2024-11-02 18:27:04.118847236 -0600 MDT m=+0.086475192 container remove 735db8f904500829d888a933e6b68ab890be00fa073a0b63950b3563cb1ac596 (image=docker.io/technitium/dns-server:latest, name=technitium, PODMAN_SYSTEMD_UNIT=vyos-container-technitium.service, [email protected], github_url=https://github.>
Nov 02 18:27:04 ruth podman[1728294]: Error: cleaning up storage: removing container 735db8f904500829d888a933e6b68ab890be00fa073a0b63950b3563cb1ac596 root filesystem: removing mount point "/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged": directory not empty
Nov 02 18:27:04 ruth systemd[1]: vyos-container-technitium.service: Control process exited, code=exited, status=125/n/a
Nov 02 18:27:04 ruth systemd[1]: vyos-container-technitium.service: Failed with result 'exit-code'.
Nov 02 18:27:04 ruth systemd[1]: vyos-container-technitium.service: Consumed 52.943s CPU time.
Nov 02 18:27:04 ruth systemd[1]: vyos-container-technitium.service: Scheduled restart job, restart counter is at 1.
Nov 02 18:27:04 ruth systemd[1]: Stopped vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:04 ruth systemd[1]: vyos-container-technitium.service: Consumed 52.943s CPU time.
Nov 02 18:27:04 ruth systemd[1]: Starting vyos-container-technitium.service - VyOS Container technitium...
Nov 02 18:27:04 ruth podman[1728307]: time="2024-11-02T18:27:04-06:00" level=warning msg="The input device is not a TTY. The --tty and --interactive flags might not work properly"
Nov 02 18:27:04 ruth podman[1728307]: time="2024-11-02T18:27:04-06:00" level=warning msg="Unmounting container \"technitium\" while attempting to delete storage: removing mount point \"/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged\": directory not empty"
Nov 02 18:27:04 ruth podman[1728307]: Error: removing storage for container "technitium": removing mount point "/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged": directory not empty
Nov 02 18:27:04 ruth podman[1728307]: 2024-11-02 18:27:04.502166879 -0600 MDT m=+0.069832787 image pull e7a2f99365d24100d22bc9f8bad374c7cd1cf7008f36a1aa0fc9a9c56967578a docker.io/technitium/dns-server:latest
Nov 02 18:27:04 ruth systemd[1]: vyos-container-technitium.service: Control process exited, code=exited, status=125/n/a
Nov 02 18:27:04 ruth systemd[1]: vyos-container-technitium.service: Failed with result 'exit-code'.
Nov 02 18:27:04 ruth systemd[1]: Failed to start vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:04 ruth systemd[1]: vyos-container-technitium.service: Scheduled restart job, restart counter is at 2.
Nov 02 18:27:04 ruth systemd[1]: Stopped vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:04 ruth systemd[1]: Starting vyos-container-technitium.service - VyOS Container technitium...
Nov 02 18:27:04 ruth podman[1728332]: time="2024-11-02T18:27:04-06:00" level=warning msg="The input device is not a TTY. The --tty and --interactive flags might not work properly"
Nov 02 18:27:05 ruth podman[1728332]: time="2024-11-02T18:27:05-06:00" level=warning msg="Unmounting container \"technitium\" while attempting to delete storage: removing mount point \"/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged\": directory not empty"
Nov 02 18:27:05 ruth podman[1728332]: Error: removing storage for container "technitium": removing mount point "/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged": directory not empty
Nov 02 18:27:05 ruth podman[1728332]: 2024-11-02 18:27:05.005559916 -0600 MDT m=+0.069534281 image pull e7a2f99365d24100d22bc9f8bad374c7cd1cf7008f36a1aa0fc9a9c56967578a docker.io/technitium/dns-server:latest
Nov 02 18:27:05 ruth systemd[1]: vyos-container-technitium.service: Control process exited, code=exited, status=125/n/a
Nov 02 18:27:05 ruth systemd[1]: vyos-container-technitium.service: Failed with result 'exit-code'.
Nov 02 18:27:05 ruth systemd[1]: Failed to start vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:05 ruth systemd[1]: vyos-container-technitium.service: Scheduled restart job, restart counter is at 3.
Nov 02 18:27:05 ruth systemd[1]: Stopped vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:05 ruth systemd[1]: Starting vyos-container-technitium.service - VyOS Container technitium...
Nov 02 18:27:05 ruth podman[1728356]: time="2024-11-02T18:27:05-06:00" level=warning msg="The input device is not a TTY. The --tty and --interactive flags might not work properly"
Nov 02 18:27:05 ruth podman[1728356]: time="2024-11-02T18:27:05-06:00" level=warning msg="Unmounting container \"technitium\" while attempting to delete storage: removing mount point \"/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged\": directory not empty"
Nov 02 18:27:05 ruth podman[1728356]: Error: removing storage for container "technitium": removing mount point "/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged": directory not empty
Nov 02 18:27:05 ruth podman[1728356]: 2024-11-02 18:27:05.510678703 -0600 MDT m=+0.068903732 image pull e7a2f99365d24100d22bc9f8bad374c7cd1cf7008f36a1aa0fc9a9c56967578a docker.io/technitium/dns-server:latest
Nov 02 18:27:05 ruth systemd[1]: vyos-container-technitium.service: Control process exited, code=exited, status=125/n/a
Nov 02 18:27:05 ruth systemd[1]: vyos-container-technitium.service: Failed with result 'exit-code'.
Nov 02 18:27:05 ruth systemd[1]: Failed to start vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:05 ruth systemd[1]: vyos-container-technitium.service: Scheduled restart job, restart counter is at 4.
Nov 02 18:27:05 ruth systemd[1]: Stopped vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:05 ruth systemd[1]: Starting vyos-container-technitium.service - VyOS Container technitium...
Nov 02 18:27:05 ruth podman[1728378]: time="2024-11-02T18:27:05-06:00" level=warning msg="The input device is not a TTY. The --tty and --interactive flags might not work properly"
Nov 02 18:27:06 ruth podman[1728378]: time="2024-11-02T18:27:06-06:00" level=warning msg="Unmounting container \"technitium\" while attempting to delete storage: removing mount point \"/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged\": directory not empty"
Nov 02 18:27:06 ruth podman[1728378]: Error: removing storage for container "technitium": removing mount point "/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged": directory not empty
Nov 02 18:27:06 ruth podman[1728378]: 2024-11-02 18:27:06.0057577 -0600 MDT m=+0.070361712 image pull e7a2f99365d24100d22bc9f8bad374c7cd1cf7008f36a1aa0fc9a9c56967578a docker.io/technitium/dns-server:latest
Nov 02 18:27:06 ruth systemd[1]: vyos-container-technitium.service: Control process exited, code=exited, status=125/n/a
Nov 02 18:27:06 ruth systemd[1]: vyos-container-technitium.service: Failed with result 'exit-code'.
Nov 02 18:27:06 ruth systemd[1]: Failed to start vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:06 ruth systemd[1]: vyos-container-technitium.service: Scheduled restart job, restart counter is at 5.
Nov 02 18:27:06 ruth systemd[1]: Stopped vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:06 ruth systemd[1]: Starting vyos-container-technitium.service - VyOS Container technitium...
Nov 02 18:27:06 ruth podman[1728400]: time="2024-11-02T18:27:06-06:00" level=warning msg="The input device is not a TTY. The --tty and --interactive flags might not work properly"
Nov 02 18:27:06 ruth podman[1728400]: time="2024-11-02T18:27:06-06:00" level=warning msg="Unmounting container \"technitium\" while attempting to delete storage: removing mount point \"/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged\": directory not empty"
Nov 02 18:27:06 ruth podman[1728400]: Error: removing storage for container "technitium": removing mount point "/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged": directory not empty
Nov 02 18:27:06 ruth podman[1728400]: 2024-11-02 18:27:06.508172184 -0600 MDT m=+0.069816737 image pull e7a2f99365d24100d22bc9f8bad374c7cd1cf7008f36a1aa0fc9a9c56967578a docker.io/technitium/dns-server:latest
Nov 02 18:27:06 ruth systemd[1]: vyos-container-technitium.service: Control process exited, code=exited, status=125/n/a
Nov 02 18:27:06 ruth systemd[1]: vyos-container-technitium.service: Failed with result 'exit-code'.
Nov 02 18:27:06 ruth systemd[1]: Failed to start vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:06 ruth systemd[1]: vyos-container-technitium.service: Scheduled restart job, restart counter is at 6.
Nov 02 18:27:06 ruth systemd[1]: Stopped vyos-container-technitium.service - VyOS Container technitium.
Nov 02 18:27:06 ruth systemd[1]: vyos-container-technitium.service: Start request repeated too quickly.
Nov 02 18:27:06 ruth systemd[1]: vyos-container-technitium.service: Failed with result 'exit-code'.
Nov 02 18:27:06 ruth systemd[1]: Failed to start vyos-container-technitium.service - VyOS Container technitium.
The problem all seems to start with:
Failed to open cgroups file: /sys/fs/cgroup/machine.slice/libpod-735db8f904500829d888a933e6b68ab890be00fa073a0b63950b3563cb1ac596.scope/container/memory.events
Here are the contents of the “merged” directory that I empty out to fix it:
root@ruth:/usr/lib/live/mount/persistence/container/storage/overlay/5ac887c64d2b26929f8bad25888fae07beea461e08aa499462a1b16010d9120d/merged# ls -lah
total 32K
drwx------ 8 root root 4.0K Nov 2 18:27 .
drwx------ 5 root root 4.0K Oct 31 08:26 ..
drwxr-xr-t 2 root root 4.0K Nov 2 18:27 dev
drwxr-xr-t 3 root root 4.0K Nov 2 18:27 etc
drwxr-xr-x 3 root root 4.0K Nov 2 18:27 opt
drwxr-xr-x 2 root root 4.0K Nov 2 18:27 proc
drwxr-xr-x 2 root root 4.0K Nov 2 18:27 run
drwxr-xr-x 2 root root 4.0K Nov 2 18:27 sys
Here is my version info:
$ show version
Version: VyOS 1.5-rolling-202405221805
Release train: current
Release flavor: iso
Built by: <myemail>
Built on: Wed 22 May 2024 18:05 UTC
Build UUID: f3017193-ca4d-40a2-a464-814989a9bcd1
Build commit ID: fad55b3e9790f6
Architecture: x86_64
Boot via: installed image
System type: bare metal
Hardware vendor: Protectli
Hardware model: FW4B
Hardware S/N: 123456789
Hardware UUID: Unknown
Copyright: VyOS maintainers and contributors
I build the ISO myself. I am currently building a new ISO that I will upgrade to and see if it fixes anything since this build was back in May.
Does anyone know of anything else I can do? What causes this?