On 27 June 2018 at 08:26, Bjoern Franke <bjo@nord-west.org> wrote:
Hi,
I'm trying to create a systemd timer for a user to run duply daily. For one user the enabled worked fine, but another one:
systemctl --user enable backup.timer Failed to connect to bus: No such file or directory
I have no clue why this happens, systemctl daemon-reload (also with --user) did not fix it. I found a similar issue in the forums, but the solution was to "ln -s" the timer and than rebooting. But I don't think this would be the "correct" solution because "systemctl --user enable" should also work.
What distro are you running? And what are the versions of systemd and dbus? You also should have (so confirm that) /usr/lib/systemd/user/dbus.socket and /usr/lib/systemd/user/dbus.service files and a /usr/lib/systemd/user/sockets.target.wants/dbus.socket symlink too -- damjan