Summary: | net/avahi-app: runs after mountd causing hostname resolution failures | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Brendan Molloy <brendan+freebsd> | ||||||||
Component: | Individual Port(s) | Assignee: | freebsd-desktop (Team) <desktop> | ||||||||
Status: | Open --- | ||||||||||
Severity: | Affects Only Me | CC: | brendan+freebsd, lwhsu, mvharding, rodrigo.freebsd, w.schwarzenfeld, zi | ||||||||
Priority: | --- | Keywords: | needs-qa | ||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Description
Brendan Molloy
2015-12-13 05:04:12 UTC
Hello Brendan. Many thanks for your feedback about the issue. Could you provide ansvn diff against the current ports rcd script? It would be very much appreciated. Created attachment 164212 [details]
BEFORE: mountd patch
(In reply to Rodrigo N. Hernandez from comment #1) Any update on this one? Some lines are changed in the initscript. But not BEFORE.. Is this still relevant? A commit references this bug: Author: zi Date: Mon Aug 13 01:59:20 UTC 2018 New revision: 477047 URL: https://svnweb.freebsd.org/changeset/ports/477047 Log: - Ensure avahi-daemon starts before mountd PR: 205281 Submitted by: Brendan Molloy <brendan+freebsd@bbqsrc.net> Changes: head/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in This patch keeps avahi-daemon from running at all. According to https://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/article.html, 'BEFORE:' means 'mountd' will run before avahi-daemon, not after. 'rcorder' also now shows a loop, and avahi-daemon goes down in flames since it can't find the dbus socket. More details tomorrow AM. Sorry, I misspoke about 'BEFORE:' but rcorder generates a loop so rcorder can't figure out what order to run things in. This may be happening on my system because I have gnome or other things installed. I'll post the 'rcorder' output tomorrow when I have a chance to boot the machine up. Created attachment 196282 [details]
avahi-daemon failing to start, with 'BEFORE' line in place
Created attachment 196283 [details]
avahi-daemon starting properly, with 'BEFORE' line removed
A commit references this bug: Author: zi Date: Fri Aug 17 13:26:17 UTC 2018 New revision: 477424 URL: https://svnweb.freebsd.org/changeset/ports/477424 Log: - Revert init script patch due to dependency issue with dbus/mountd - Bump PORTREVISION PR: 205281 Changes: head/net/avahi-app/Makefile head/net/avahi-app/files/patch-initscript_freebsd_avahi-daemon.sh.in Brendan, Are you able to dive into this some more? I think we would need to remove DAEMON from the dbus REQUIRE list, but am unable to dive into what else this might affect at the moment. |