avahi-daemon does not advertise hostname on startup
The avahi-daemon
service in the avahi
package does not correctly
advertise the system hostname on startup — it starts before hostname
,
so it just advertises none.local
. The avahi-daemon
service init
script should list hostname
as a prerequisite:
depend() {
before netmount nfsmount
use net
- need dbus
+ need dbus hostname
}
(from redmine: issue id 1461, created on 2012-11-03, closed on 2012-11-05)
- Changesets:
- Revision 5db039da by Natanael Copa on 2012-11-05T13:46:16Z:
main/avahi: fixi init script
- replace 'opts' with 'extra_started_commands'
- start avahi after hostname is set
fixes #1461