Add additional info re systemd #318

Closed
opened 2020-05-21 15:18:05 +00:00 by paulharris · 3 comments

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

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
Owner

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?

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?
witten added the
question / support
label 2020-05-21 16:44:18 +00:00
Author

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

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
Owner

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.

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.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#318
No description provided.