Skip to content

systemd user instance does not work in 2.5.x #13043

Closed
@gasuketsu

Description

@gasuketsu

Windows Version

Microsoft Windows [Version 10.0.26100.4202]

WSL Version

2.5.7.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.1-1

Distro Version

archilinux

Other Software

No response

Repro Steps

perform systemctl --user status as non-root user

Expected Behavior

systemd user instance is available and systemctl --user status shows status of current user's instance as below. (This worked as expected in WSL 2.4.13)

❯ systemctl --user status
● qube
    State: running
    Units: 136 loaded (incl. loaded aliases)
     Jobs: 0 queued
   Failed: 0 units
    Since: Tue 2025-06-03 23:36:14 JST; 14s ago
  systemd: 257.6-1-arch
   CGroup: /user.slice/user-1000.slice/user@1000.service
           └─init.scope
             ├─194 /usr/lib/systemd/systemd --user
             └─196 "(sd-pam)"

Actual Behavior

❯ systemctl --user status
Failed to connect to user scope bus via local transport: No such file or directory

~
❯

Diagnostic Logs

WslLogs-2025-06-03_23-28-41.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions