Add additional info re systemd #318
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#318
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm using borgmatic on CT containers in proxmox, with Turnkey Linux images.
I installed borg and borgmatic, and hooked it up to systemctl.
However, the jobs don't run, with this error message:
May 21 23:06:26 reviewers systemd-inhibit[11421]: Failed to connect to bus: No such file or directory
The problem was there is no dbus and no dbus-user-session installed in this image.
Please mention that in your docs that (at least for debian), this will be required to make the job run successfully:
apt install dbus-user-session
cheers,
Paul
Hi Paul! Thanks for reporting this. borgmatic doesn't have any dependency on dbus as far as I know. So do you have an idea of what is taking that dependency and producing that error message? Might it be an issue that should be filed on the creators of the Linux image you're using?
I think its the systemd-inhibit that requires dbus.
You are right, on debian, systemd "suggests" dbus, so I've reported it to the TurnKeyLinux people - it was not installed on one of their images/appliances.
Would still be good if you could mention it in the session file,
eg #Note that systemd-inhibit requires dbus and dbus-user-session installed
Would've saved me a bunch of time...
Anyway, up to you :)
Thanks for the great software!
Paul
Good idea.. Thanks for the suggestion! I've just made that change to borgmatic master. Please let me know if you find any other rough edges.