-
Notifications
You must be signed in to change notification settings - Fork 827
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
"Failed to connect to bus: No such file or directory" on clean WSL OpenSuse (42.3) install #2941
Comments
This is #2209 #1579 #994 et al. You are getting those errors because WSL does not run You can try making things a little happier by starting dbus manually. On Ubuntu
You need the Work-around for now is to pretend you didn't see the errors; which are (to a first order) going to be harmless because none of the services the postinstall scripts are trying to tweak or restart are running anyway. I'll hold this open for a bit because we don't get a lot of SUSE traffic around here and maybe some people would like to jump in with their current best practices and workarounds with respect to starting and stopping daemons on the platform. The landing zone for |
Thank you for the details. If anything, this bug report will serve as an explainer for everyone who will undoubtedly run into the same issue. |
Duping this into #994 because no SUSE enthusiasts chimed in for a few weeks, and the work-around (ignore the warnings) falls under a larger umbrella of system startup ills. |
FWIW, I tried this, and now |
This is what I am getting. |
similar problem with WSL debian.
|
Same 10 minutes ago, for me. |
I think #1990 explained this failure. |
root@K8100: @therealkenc I've tried this command on Ubuntu20.04LTS in WSL2 and still hit the same issue, is it possible we assign a static IP for Ubuntu20.04? |
Final Solution :- (100% Working) :- Failed to connect to bus: No such file or directory1.Run systemctl daemon-reload as root user [root@Red-Hat-8_103 ~]# systemctl daemon-reload 2.Generate the Systemd Unit File again in /home/student/.config/systemd/user/ as student user ( you can login as per your user) student@Red-Hat-8_103 user]$ podman generate systemd --name httpd_server_site1 --files
[student@Red-Hat-8_103 user]$ systemctl --user daemon-reload |
something else helped me, I just installed the program: |
sudo apt install dbus-user-session Still the issue persist |
This is a follow-up to #376, which was closed.
Your Windows build number: (Type
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.16299.192]
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
zypper update
What's wrong / what should be happening instead:
etc.
The text was updated successfully, but these errors were encountered: