Rhel 7.6, rootless with portmapping hangs on Created Container #3133
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
About 2 months ago I did a research on Podman (1.2-DEV was the most recent) about podman and running rootless containers with portbindings in Red Hat 7.6. After strugling for a while I've got it working with manually installing new RPM's (Saved those RPMS) and finding one FORK for shadow-utils. It was all working perfectly. And still is in that test environment.
Once rhel8 was released we've tried to implement the same solution (- the shadow-utils fork) but always got to the same point (Stuck at Started Container). I started doubting and installed a fresh RHEL7.6 and applied the same packages and now that one hangs at Stuck at Started Container too. When looking at the conmon logs it will stop after the commando:
ctl fifo path: /home.........
with a: terminal_ctrl_fd: 14
Steps to reproduce the issue:
Install Rhel7.6 with podman 1.3-dev, slirp4netns-3.0, runc version 1.0.0-rc7+dev, and shadow-utils46-newxidmap
Enable namespaces and add rootless user to /etc/subuid /etc/subgid
Start a rootless container with port bindings (Podman log-level=debug run -d -p 80 nginx)
See it hang on Started Container
Describe the results you received:
in the logs of conmon it stops witha terminal_ctrl_fd: 14
May 16 12:41:51 rhel76 kernel: SELinux: mount invalid. Same superblock, different security settings for (dev mqueue, type mqueue)
May 16 12:41:51 rhel76 conmon: conmon 73a48d2051aa548bbd70 : container PID: 32266
May 16 12:41:51 rhel76 conmon: conmon 73a48d2051aa548bbd70 : attach sock path: /run/user/1000/libpod/tmp/socket/73a48d2051aa548bbd702ff7f048da5df04e13653bf5d2275063a9d44ebd64ac/attach
May 16 12:41:51 rhel76 conmon: conmon 73a48d2051aa548bbd70 : addr{sun_family=AF_UNIX, sun_path=/run/user/1000/libpod/tmp/socket/73a48d2051aa548bbd702ff7f048da5df04e13653bf5d2275063a9d44ebd64ac/attach}
May 16 12:41:51 rhel76 conmon: conmon 73a48d2051aa548bbd70 : ctl fifo path: /home/test/.local/share/containers/storage/vfs-containers/73a48d2051aa548bbd702ff7f048da5df04e13653bf5d2275063a9d44ebd64ac/userdata/ctl
May 16 12:41:51 rhel76 conmon: conmon 73a48d2051aa548bbd70 : terminal_ctrl_fd: 14
Describe the results you expected:
The same as my previous installation (Which was also Red Hat 7.6) a container being created with port bindings on rootless users.
Additional information you deem important (e.g. issue happens only occasionally):
I get the same error in RHEL8 and CENTOS7.6.
Output of
podman version
:Output of
podman info --debug
:Additional environment details (AWS, VirtualBox, physical, etc.):
Running in a proxmox cluster.
1CPU, 4GB RAM.
The text was updated successfully, but these errors were encountered: