Bug#1004339: /usr/bin/systemctl: `systemctl start --user --wait` fails with "Failed to connect to bus: No such file or directory"

Adam Dinwoodie debian-reportbug at post.dinwoodie.org
Tue Jan 25 18:12:47 GMT 2022


On Tue, Jan 25, 2022 at 06:04:37PM +0100, Michael Biebl wrote:
> 
> Control: tags -1 + moreinfo unreproducible
> 
> Am 25.01.22 um 13:13 schrieb Adam Dinwoodie:
> 
> > 
> >      Failed to connect to bus: No such file or directory
> > 
> 
> Thanks for the reproducer.
> I can't reproduce the issue with the instructions you provided (with v250
> from sid).
> 
> Your problem seems to be related to a missing dbus (user) bus in your ssh
> session and the failing --wait is just a symptom.
> 
> Can you run busctl --user, systemctl --user status dbus.socket dbus.service
> ?
> 
> Is dbus-user-session installed? Is libpam-systemd enabled?

That was it: I'm running a fairly minimal headless system, and didn't
have dbus-user-session installed.  After installing that package, my
reproduction script behaves as expected.

Mea culpa.  Thank you for the help!



More information about the Pkg-systemd-maintainers mailing list