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 podman-kube@.service.in
-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

Version
1.4-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)