Package: usbguard
Version: 0.6.2+ds1-1
Severity: serious

when installing usbguard on a clean stretch installation (with no dbus
package installed) usbguard installs dbus as a dependency. but
apparently if both the packages get installed at the same time, the
usbguard-dbus service gets stuck at startup:

this is what apt install usbguard says:
>Setting up usbguard (0.6.2+ds1-1) ...
>Created symlink /etc/systemd/system/dbus-org.usbguard.service →
/lib/systemd/system/usbguard-dbus.service.
>Created symlink
/etc/systemd/system/multi-user.target.wants/usbguard-dbus.service →
/lib/systemd/system/usbguard-dbus.service.
>Created symlink /etc/systemd/system/basic.target.wants/usbguard.service
→ /lib/systemd/system/usbguard.service.
>Job for usbguard-dbus.service failed because a timeout was exceeded.
>See "systemctl status usbguard-dbus.service" and "journalctl -xe" for
details.
>usbguard-dbus.service couldn't start.

this is the output of journalctl -xe:

>Feb 04 13:11:04 debian systemd[1]: Listening on D-Bus System Message
Bus Socket.
>-- Subject: Unit dbus.socket has finished start-up
>-- Defined-By: systemd
>-- Support: https://www.debian.org/support
>--
>-- Unit dbus.socket has finished starting up.
>--
>-- The start-up result is done.
>Feb 04 13:11:04 debian systemd[1]: Starting USBGuard D-Bus Service...
>-- Subject: Unit usbguard-dbus.service has begun start-up
>-- Defined-By: systemd
>-- Support: https://www.debian.org/support
>--
>-- Unit usbguard-dbus.service has begun starting up.
>Feb 04 13:11:04 debian systemd[1]: Started D-Bus System Message Bus.
>-- Subject: Unit dbus.service has finished start-up
>-- Defined-By: systemd
>-- Support: https://www.debian.org/support
>--
>-- Unit dbus.service has finished starting up.
>--
>-- The start-up result is done.
>Feb 04 13:11:04 debian dbus-daemon[1200]: Unknown username
"usbguard-dbus" in message bus configuration file
>Feb 04 13:11:04 debian dbus-daemon[1200]: Failed to start message bus:
Could not get UID and GID for username "messagebus"
>Feb 04 13:11:29 debian systemd[1]: Failed to subscribe to
NameOwnerChanged signal for 'org.usbguard': Connection timed out
>Feb 04 13:11:29 debian systemd[1]: Failed to subscribe to
NameOwnerChanged signal for 'org.freedesktop.login1': Connection timed out
>Feb 04 13:11:29 debian systemd[1]: Failed to subscribe to activation
signal: Connection timed out
>Feb 04 13:11:29 debian systemd[1]: Failed to register name: Connection
timed out
>Feb 04 13:11:29 debian systemd[1]: Failed to set up API bus: Connection
timed out
>Feb 04 13:11:29 debian systemd[1]: dbus.service: Main process exited,
code=exited, status=1/FAILURE
>Feb 04 13:11:29 debian systemd[1]: dbus.service: Unit entered failed state.
>Feb 04 13:11:29 debian systemd[1]: dbus.service: Failed with result
'exit-code'.
>Feb 04 13:11:29 debian systemd[1]: Looping too fast. Throttling
execution a little.
>Feb 04 13:11:30 debian systemd[1]: Looping too fast. Throttling
execution a little.
>Feb 04 13:11:31 debian systemd[1]: Looping too fast. Throttling
execution a little.

and then the 'Looping too fast.'-Message just repeats. But if i install
dbus first and then install usbguard,
everything works fine.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to