You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quadlets does not create pod unit for systemd.
If you specify the Pod membership in the container, then it also skips and does not create systemd unit.
Steps to reproduce the issue
According to the documentation, I am creating a pod and a service.
If you remove the pod link from the container, then everything is ok.
lacosteque
changed the title
Quadlets does not create pod and services with for systemd
Quadlets does not create systemd unit for pod and services with pod
Nov 23, 2024
Issue Description
Quadlets does not create pod unit for systemd.
If you specify the Pod membership in the container, then it also skips and does not create systemd unit.
Steps to reproduce the issue
Describe the results you received
$ pwd
/home/podman/.config/containers/systemd
$ ls -l
centos.container
test.pod
$ cat centos.container
[Container]
Image=quay.io/centos/centos:latest
Exec=sh -c "sleep inf"
Pod=test.pod
$ systemctl --user daemon-reload
$ ls -la /run/user/1039/systemd/generator/
ls: unable to access '/run/user/1039/systemd/generator/': There is no such file or directory
$ cat centos.container
[Container]
Image=quay.io/centos/centos:latest
Exec=sh -c "sleep inf"
$ systemctl --user daemon-reload
$ ls -la /run/user/1039/systemd/generator/
-rw-r--r--. 1 podman podman 676 ноя 23 09:36 centos.service
Describe the results you expected
A systemd unit should have been created for the container and pod.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: