-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERRO[0057] unable to write pod event: "write unixgram @00017->/run/systemd/journal/socket: sendmsg: no such file or directory" #4325
Comments
You are seeing two separate issues here. The The slirp4netns issue was the fatal issue. |
That is a pretty poor error message on slirp4netns. Is this just the package is missing or it failed and did not give us a decent message. |
Should the messages be logrus.Warning if the systemd is not running, the only issue here is that if the user looked for events he would not see them correct? |
@chenjianxin Could you try the same command and see if it works if you do |
@rhatdan slirp4netns should be printing some errors, but it seems podman ignores that |
#4338 should help get those messages. |
podman run -d --name mysql-server --net=host -e MYSQL_ROOT_PASSWORD=secret mysql:latest ERRO[0001] unable to write volume event: "write unixgram @00029->/run/systemd/journal/socket: sendmsg: no such file or directory" sudo podman network create -d bridge my-network |
What is /etc/cni/net.d/my-network.conflist and why is the container trying to use it? |
This issue had no activity for 30 days. In the absence of activity or the "do-not-close" label, the issue will be automatically closed within 7 days. |
@chenjianxin, are you still seeing the issue? |
Should this issue remain closed? Still seeing it:
|
Actually, your output looks different. Can you do a |
|
How about --events-backend=file The default for windows should be set to file not to journal |
--events-backend=file fixed it. Thanks! Can this be made the default through config, along with the other relevant flags? |
We are working on containers.conf right now, to allow different distros and users to modify the defaults. |
Cool. So should this issue be closed now? |
@rdcoe Is everything else working on WSL Now? |
Too new to podman to know if "everything" is working but this particular issue is solved. |
No need to wait for containers/common, |
Even better. That config also fixed the error I was seeing on exiting the container: before the config change:
after setting the libpod.conf to use a file instead of journald
|
Hi there, I'm very new with
Are you able to have this command working? I see otherwise that "setting the libpod.conf to use a file instead of journald" seems to work for you @rdcoe and @mheon but sorry for a dummy question, but how to do that? |
My understanding is podman did not work well on WSL1 because of the way the kernel was configured. Is there a chance you can try with WSL2? |
Thanks @rhatdan, I just converted my WSL1 into WSL2 and indeed this command below works on WSL2: |
@rhatdan Hi I'm working on WSL! I get this message! This is the known gap - WSL doesn't support systemd because it uses MS proprietary init. On the other hand, Ubuntu 20.04 from Microsoft store does support systemd as I can see in its startup message. So I think it is possible for all distros but not documented. Ubuntu 20.04 is the only distro in which systemd is the root process. |
The The remaining two ( |
There is additional complexity in the Podman networking: Pod creation. I'm building Pod which consists of 2 images: |
Ubuntu 20.04 from Microsoft store has Podman from the Kubic project ??????
System information as of Tue Sep 8 16:12:38 IDT 2020 System load: 1.43 Processes: 73
|
Just to raise the issue. I am running Debian inside my win10.
|
For WSL2 as suggested before from @mheon you can use In my case I added
|
Is that also mentioned in the docs Somewhere? It would be a shame if this just issue is not easily found and people have trouble with podman |
I upgraded my WSL Ubuntu 20.04 to 20.10 Groovy, Installed genie with all its pre-requisites to have systemd and now it is not an issue at all. Anyway, life with systemd and jornald is better than without. |
Awesome news. |
good to have WSL2! but i had a lot of issues with it. @xbb 's solution worked with me. But i had to run with sudo. |
OS: WSL 2 ubuntu
podman run --rm --volume="$PWD:/srv/jekyll" -p 127.0.0.1:4000:4000 -it jekyll/jekyll:pages jekyll serve
Trying to pull docker.io/jekyll/jekyll:pages...
Getting image source signatures
Copying blob 278f4c997324 done
Copying blob c69cba5b7867 done
Copying blob 9d48c3bd43c5 done
Copying blob 9ce9598067e7 done
Copying blob 867dd521f6d0 done
Copying blob 49e3e26660b5 done
Copying config a572804619 done
Writing manifest to image destination
Storing signatures
ERRO[0057] unable to write pod event: "write unixgram @00017->/run/systemd/journal/socket: sendmsg: no such file or directory"
ERRO[0059] unable to write pod event: "write unixgram @00017->/run/systemd/journal/socket: sendmsg: no such file or directory"
Error: slirp4netns failed
The text was updated successfully, but these errors were encountered: