FS#55738 - [avahi] Installing avahi package does not reload dbus service
Attached to Project:
Arch Linux
Opened by Chris Snell (chrissnell) - Sunday, 24 September 2017, 20:39 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 03 March 2022, 12:20 GMT
Opened by Chris Snell (chrissnell) - Sunday, 24 September 2017, 20:39 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 03 March 2022, 12:20 GMT
|
Details
Description:
When the avahi package is installed, avahi-daemon.service will fail to start and produces the following error in the journal: Sep 24 15:26:02 jarvis avahi-daemon[327]: avahi-daemon 0.7 starting up. Sep 24 15:26:02 jarvis avahi-daemon[327]: dbus_bus_request_name(): Connection ":1.90" is not allowed to own the service "org.freedesktop.Avahi" due to security policies in the config Sep 24 15:26:02 jarvis avahi-daemon[327]: WARNING: Failed to contact D-Bus daemon. Sep 24 15:26:02 jarvis avahi-daemon[327]: avahi-daemon 0.7 exiting. Sep 24 15:26:02 jarvis systemd[1]: avahi-daemon.service: Main process exited, code=exited, status=255/n/a This is because the dbus policies in /etc/dbus-1/systemd.d/avahi-dbus.conf have not been applied because the dbus service has not been reloaded. The issue can be fixed by rebooting or running 'systemctl reload dbus'. I haven't encountered this problem before on my other Arch machines so I suspect that it might be a new regression. Additional info: avahi 0.7-1 dbus 1.10.22-1 Steps to reproduce: pacman -S avahi systemctl enable avahi-daemon.service systemctl start avahi-daemon.service --- observe that service will not start; inspect journal logs --- systemctl reload dbus systemctl start avahi-daemon.service --- observe that service now starts properly --- |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Thursday, 03 March 2022, 12:20 GMT
Reason for closing: Fixed
Additional comments about closing: 2022-02-27: A task closure has been requested. Reason for request: This is no longer a bug. Thanks!
Thursday, 03 March 2022, 12:20 GMT
Reason for closing: Fixed
Additional comments about closing: 2022-02-27: A task closure has been requested. Reason for request: This is no longer a bug. Thanks!

Have you installed dbus-broker?

No, I haven't installed dbus-broker.

I cannot reproduce the issue. Is it still valid?

@mattia Nope, this is no longer valid and can be closed. Thanks!