[arch-general] systemd --user enable: Failed to connect to bus: No such file or directory

Bjoern Franke bjo at nord-west.org
Thu Jun 28 11:02:55 UTC 2018


> Good,
> Each user + the system has his own dbus. Normally, you should have
> dbus.service and dbus.socket units somewhere (/usr/lib/systemd/user
> and/or /etc/systemd/user and/or .config/systemd/user)
> If it works correctly for one of the users, then probably
> /usr/lib/systemd/user and /etc/systemd/user are fine, and there is an
> override which breaks the things in .config/systemd/user/dbus.*

Thanks again for the hints. For both users there are only the
backup.service and backup.timer in .config/systemd/user, no dbus.*

> Note: If the non-working user is an "old" one, it may be explained by
> the fact that those unit files are quite "recent", so probably there is
> an history there.

The working user is older than the non-working user. I took a look into
/etc/systemd/user/sockets.target.wants, dbus.socket is not enabled there.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20180628/1435a8f0/attachment.asc>

More information about the arch-general mailing list