Skip to content

systemctl --user: Failed to connect to bus: No such file or directory  #274

@SuperSandro2000

Description

@SuperSandro2000

Windows version (build number): 21H1 19043.1706

Linux distribution: Ubuntu 21.10

Kernel version: 5.10.102.1-microsoft-standard-WSL2

Genie version: genie 2.3

Describe the bug

Follow up to #6 and #51.

Randomly after some time dbus breaks. Shutting wsl down completely fixes it.

ps aux | grep dbus-daemon
message+      80  0.0  0.0   8584  3936 ?        Ss   10:55   0:00 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
sandro   1084567  0.0  0.0   9228  6020 pts/11   S+   15:11   0:00 grep dbus-daemon
busctl
NAME                           PID PROCESS         USER            CONNECTION    UNIT                        SESSION DESCRIPTION
:1.0                             1 systemd         root            :1.0          init.scope                  -       -
:1.1                            70 systemd-network systemd-network :1.1          systemd-networkd.service    -       -
:1.10                          452 systemd         sandro          :1.10         [email protected]           -       -
:1.12                         1079 machinectl      root            :1.12         -                           -       -
:1.18                        42399 polkitd         root            :1.18         polkit.service              -       -
:1.2                            86 systemd-logind  root            :1.2          systemd-logind.service      -       -
:1.4                            83 networkd-dispat root            :1.4          networkd-dispatcher.service -       -
:1.48                      1033723 machinectl      root            :1.48         -                           -       -
:1.51                      1036408 machinectl      root            :1.51         -                           -       -
:1.6                           447 machinectl      root            :1.6          -                           -       -
:1.63                      1083073 systemd-resolve systemd-resolve :1.63         systemd-resolved.service    -       -
:1.65                      1083651 machinectl      root            :1.65         -                           -       -
:1.67                      1084677 busctl          sandro          :1.67         session-c13.scope           c13     -
:1.7                           448 systemd-machine root            :1.7          systemd-machined.service    -       -
io.netplan.Netplan               - -               -               (activatable) -                           -       -
org.freedesktop.DBus             1 systemd         root            -             init.scope                  -       -
org.freedesktop.PolicyKit1   42399 polkitd         root            :1.18         polkit.service              -       -
org.freedesktop.hostname1        - -               -               (activatable) -                           -       -
org.freedesktop.import1          - -               -               (activatable) -                           -       -
org.freedesktop.locale1          - -               -               (activatable) -                           -       -
org.freedesktop.login1          86 systemd-logind  root            :1.2          systemd-logind.service      -       -
org.freedesktop.machine1       448 systemd-machine root            :1.7          systemd-machined.service    -       -
org.freedesktop.network1        70 systemd-network systemd-network :1.1          systemd-networkd.service    -       -
org.freedesktop.portable1        - -               -               (activatable) -                           -       -
org.freedesktop.resolve1   1083073 systemd-resolve systemd-resolve :1.63         systemd-resolved.service    -       -
org.freedesktop.systemd1         1 systemd         root            :1.0          init.scope                  -       -
org.freedesktop.timedate1        - -               -               (activatable) -                           -       -
org.freedesktop.timesync1        - -               -               (activatable) -                           -       -

Confirm that you are running inside the bottle: inside

To Reproduce
Steps to reproduce the behavior:

  1. wait until it breaks
  2. run anything systemd related

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

I confirm that I have read the ENTIRE supplied readme file and checked for relevant information on the repository wiki before raising this issue, and that if the solution to this issue is found in either location, it will be closed without further comment:

  • Yes.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions