Replies: 8 comments 4 replies
-
do you have any configuration that overrides the cgroup manager? From the message above I see The cgroupManager should be set to |
Beta Was this translation helpful? Give feedback.
-
Thanks Giuseppe. I haven't chosen
Issue #5443 mentions systemd linger. I do have that enabled for I'm also logging in over SSH, not by switching user with
Edit: Edit: If I create and start the container while passing |
Beta Was this translation helpful? Give feedback.
-
do you have |
Beta Was this translation helpful? Give feedback.
-
I didn't have one, no. Does this file replace I downloaded I removed and recreated all of my containers. |
Beta Was this translation helpful? Give feedback.
-
what is the systemd version you are using? |
Beta Was this translation helpful? Give feedback.
-
I think that release was around February or March last year. I tried upgrading to systemd 250 (from Debian
I now have two separate issues:
|
Beta Was this translation helpful? Give feedback.
-
vfs is very slow. Probably your kernel doesn't support native overlay, in this case I suggest to install fuse-overlayfs. Not sure if crun would help here, but we can give it a try. If you run the container with crun ( |
Beta Was this translation helpful? Give feedback.
-
Since this is a configuration question not an issue with Podman, moving to discussion. |
Beta Was this translation helpful? Give feedback.
-
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Firstly, sorry if this is actually a bug in my configuration, systemd, Node.js or something else.
My setup is as follows:
www-data
).--net slirp4netns:allow_host_loopback=true
.www-data
), managed by systemd (e.g.,systemctl --user start webhook.service
).Expected Result
When I stop the webhook application on the host the containerized applications are unaffected. The webhook application process has no children and therefore killing it kills no other processes.
Actual Result
When I stop the webhook service on the host several other processes are stopped:
fuse-overlayfs
slirp4netns
rootlessport
rootlessport-child
conmon
This takes the containerized application offline and means further Podman commands fail with:
As expected, Podman starts and later exits when spawned by Node.js. The processes above are not children of the webhook service process (
node
), but are in the same cgroup.Speculation
As far as I can tell, one of the following is true:
spawn
creates Podman processes in such a way that they are unable to create a new cgroup for a new container.Versions
podman version
(built from source)Client: Podman Engine
Version: 4.0.0-dev
API Version: 4.0.0-dev
Go Version: go1.17.6 (from Debian testing)
Git Commit: ab4af50
Built: Sun Feb 6 22:11:31 2022
OS/Arch: linux/amd64
runc --version
(from Debian testing)runc version 1.0.3+ds1
commit: 1.0.3+ds1-1
spec: 1.0.2-dev
go: go1.17.4
libseccomp: 2.5.1
crun --version
(from Debian stable)crun version 0.17
commit: 0e9229ae34caaebcb86f1fde18de3acaf18c6d9a
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
systemd --version
systemd 247 (247.3-6)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified
node --version
v16.13.2
podman info --debug
Package info
Podman not installed via package manager.
Beta Was this translation helpful? Give feedback.
All reactions