Page MenuHomeVyOS Platform

Podman systemd services not being installed correctly
Closed, ResolvedPublicBUG

Description

The podman systemd service units are not being installed correctly. This means it is not possible to run the podman socket API

In VyOS, the units are copied as follows.

root@vyos:/lib/systemd/system# ls -la | grep podman
-rw-r--r-- 1 root root   67 Aug 22 20:22 podman-docker.conf
-rw-r--r-- 1 root root  454 Aug 22 20:22 [email protected]
-rw-r--r-- 1 root root  495 Aug 22 20:22 podman-restart.service.in
-rw-r--r-- 1 root root  319 Aug 22 20:22 podman.service.in
-rw-r--r-- 1 root root  176 Aug 22 20:22 podman.socket

The service.in files should have templated parameters replaced and renamed to .service as part of the podman install.

See the podman makefile: https://github.com/containers/podman/blob/3fbf62e968d2904d70d174e943cb942e5fa35da3/Makefile#L877
This seems to be an oversight in our podman build.sh script: https://github.com/vyos/vyos-build/blob/0351b37359517dab1a18379d180a01fd5271802e/packages/podman/build.sh#L24

Details

Difficulty level
Easy (less than an hour)
Version
1.4-rolling
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Related Objects

Event Timeline

c-po triaged this task as Normal priority.
c-po closed subtask T4901: Update Podman to v4.3.1 as Resolved.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.