https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296970

            Bug ID: 296970
           Summary: net/avahi-app: rc.d script does not rely on dbus
                    explicitly; requires administrator to start it
                    manually
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to