Replies: 3 comments 21 replies
-
@Luap99 @baude @flouthoc @mheon I think that the network stack should be able to run without systemd? Some Linux Platforms and especially WSL2 require it. |
Beta Was this translation helpful? Give feedback.
10 replies
-
Does the |
Beta Was this translation helpful? Give feedback.
10 replies
-
I dont found this problem in Alpine linux with rootless podman config, alpine linux did not use systemd
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It looks like aardvark-dns requires a systemd user session to exist. Without it, container name lookups fail. This makes that the new network stack can't be fully used under WSL2, due to WSL2 being incompatible with systemd out of the box (without resorting to the process namespace workaround as used by Podman's own WSL2 backend).
I'm assuming this is intentional so I'm not filing this as an Issue. My question rather is: is there any chance that this dependency can be removed in future versions?
Some more info on my tests below.
For my use case I'm running rootless Podman in a Debian-based WSL2 distro. I tried the new network stack with Debian Sid, and Podman 4.2 (Podman and friends from current Debian Experimental) and 4.3RC1 (Podman and friends from curren Kubic repos).
The following fails without a systemd user session (dig can't resolve the container name):
When redoing this after running
loginctl enable-linger <username>
for the rootless user, the name can be resolved as expected. But this only works on a VM, not under WSL2, because systemd can't run as PID 1 under WSL2.Beta Was this translation helpful? Give feedback.
All reactions