Bugzilla Automation <[email protected]> has asked freebsd-desktop (Team)
<[email protected]> 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.

Reply via email to