Re: maintainer-feedback requested: [Bug 296970] net/avahi-app: rc.d script does not rely on dbus explicitly; requires administrator to start it manually

From: yesreal <yesreal904_at_gmail.com>
Date: Wed, 22 Jul 2026 21:51:56 UTC
XXYJRD2FYL8Z8GNX
.com

2026年7月22日(水) 6:49 <bugzilla-noreply@freebsd.org>:

> Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop
> (Team)
> <desktop@FreeBSD.org> for maintainer-feedback:
> Bug 296970: net/avahi-app: rc.d script does not rely on dbus explicitly;
> requires administrator to start it manually
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296970
>
>
>
> --- Description ---
> Procedure:
>
> - Run `pkg install -y avahi-app` as root.
> - Add the following lines to /etc/rc.conf:
> ```
> avahi_enable="YES"
> dbus_enable="YES"
> ```
> - Run `service avahi-daemon restart` as root.
>
> Actual results:
>
> avahi-daemon terminates at startup with a message about not being able to
> connect to the dbus listening socket.
>
> Expected results:
>
> `avahi-daemon` should start its dependencies (in this case dbus) as needed,
> like many other services do.
>
> Other thoughts:
>
> Adding `force_depend dbus || return 1` to the precmd would be the right
> way to
> achieve what I described above using the existing rc.d framework.
>
>