Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79636 - [avahi] doesn't start on demand by systemd when needed

Attached to Project: Arch Linux
Opened by Maxime de Roucy (akira86) - Sunday, 10 September 2023, 13:11 GMT
Last edited by Toolybird (Toolybird) - Monday, 25 September 2023, 09:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

avahi-daemon.service isn't start by systemd when dbus-org.freedesktop.Avahi.service is requested via dbus.

Additional info:
* package version(s) : 1:0.8+r127+g55d783d-1
* link to upstream bug report : https://github.com/lathiat/avahi/issues/29

Steps to reproduce:

with passim 0.1.1-1 :
```
systemctl start passim.service
```

passim released a patch/workaround https://github.com/hughsie/passim/commit/cd9c2d9c39a6436b391af88017c8c06069cab7ca

But the real problem is on avahi : https://github.com/lathiat/avahi/issues/29

From what I understand :
* the `Alias=dbus-org.freedesktop.Avahi.service` should be removed from `avahi-daemon.service`
* a symlink should be created : `ln -s avahi-daemon.service /usr/lib/systemd/system/dbus-org.freedesktop.Avahi.service`

I did that on my host and it seems to work.

It's an avahi problem, but maybe we could make a temporary patch to the package, while avahi hasn't fix it on their side ?
(I am not sure of the Archlinux politic about this).

Regards
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 25 September 2023, 09:16 GMT
Reason for closing:  Upstream
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Sunday, 10 September 2023, 23:15 GMT
Related  FS#79614 

In general, Arch doesn't enable services by default, but I'm not real sure about the dbus activation case. Seeing as it's already worked around in the next passim release, probably not worth worrying about...but will defer to PM's better judgement.
Comment by Toolybird (Toolybird) - Monday, 25 September 2023, 09:16 GMT
Fixed passim 0.1.2 now in the repos. avahi still needs to be fixed but that's for upstream to address.

Loading...