hi, i just found a bug (#854192) in the installation procedure of usbguard: when i install usbguard on a minimal stretch system, the installation stalls and never ends successfully. apparently it has something to do with dbus being a dependency of usbguard. if i install dbus *before* installing usbugard, everything works fine. this is probably, why it didn't come up before. if i don't, the installations procedure stalls at > /var/lib/dpkg/info/usbguard.postinst configure
and the journal says > 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. with the last line then repeating every minute. the process tree of dpkg actually looks like this: | \_ sudo apt install usbguard | \_ apt install usbguard | \_ /usr/bin/dpkg --status-fd 13 --configure --pending | \_ /bin/sh /var/lib/dpkg/info/usbguard.postinst configure | \_ perl /usr/bin/deb-systemd-invoke start usbguard-dbus.service usbguard.service | \_ /bin/systemctl start usbguard.service | \_ /bin/systemd-tty-ask-password-agent --watch Because the installation failes in that case, i tagged the bug with severity serious. i know its a rather bad timing and i should have tried the installation on a minimal install before... does anyone have an idea, what the problem could be in that case? i'm rather clueless... cheers, muri
signature.asc
Description: OpenPGP digital signature