-
Bug
-
Resolution: Done-Errata
-
Major
-
rhel-8.10
-
None
-
No
-
Important
-
ZStream
-
3
-
rhel-sst-container-tools
-
3
-
False
-
-
None
-
RUN 258, RUN 259, RUN 260
-
Approved Blocker
-
None
What were you trying to do that didn't work?
When creating a container with --userns=keepid and --restart always, the container exits and doesn't restart as expected
Please provide the package NVR for which bug is seen:
[user@vm253-50 ~]$ rpm -q podman
podman-4.9.4-12.module+el8.10.0+22202+761b9a65.x86_64
How reproducible:
Always
Steps to reproduce
[user@vm253-50 ~]$ podman run -itd --name test2 --userns keep-id --restart always ubi8-minimal sleep 5
4f7010daf35c66fc9d1480d91e07ca914b19008eefa28ebeb3dd1008ea3e1d0d
[user@vm253-50 ~]$ podman run -itd --name test --restart always ubi8-minimal sleep 5
efd3d7b5513974a585a181e1903844746edf38101af1120de23817bbb35cfa32
[user@vm253-50 ~]$ podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
efd3d7b55139 registry.access.redhat.com/ubi8-minimal:latest sleep 5 2 minutes ago Up 7 seconds test
4f7010daf35c registry.access.redhat.com/ubi8-minimal:latest sleep 5 2 minutes ago Exited (0) 2 minutes ago test2
[user@vm253-50 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux release 8.10 (Ootpa)
[user@vm253-50 ~]$ uname -a
Linux vm253-50.gsslab.pnq2.redhat.com 4.18.0-553.16.1.el8_10.x86_64 #1 SMP Thu Aug 1 04:16:12 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux
Expected results
Container keeps restarting when "--restart always" is specified
Actual results
Container is exited
- links to
-
RHSA-2024:129307 podman bug fix and enhancement update