Why is avahi-daemon being started?

Eric Blake eblake at redhat.com
Tue Sep 7 15:38:15 UTC 2010


[adding libvir-list]

On 09/07/2010 07:42 AM, Tom Horsley wrote:
> On Tue, 07 Sep 2010 13:51:09 +0100
> Adam Williamson wrote:
>
>>> I did find a "Should-start: avahi-daemon" comment in the libvirtd
>>> init script, so maybe that is the source.
>>
>> Shouldn't be. 'Should-start' means 'if this other service is enabled, it
>> should be started before this one': it's not a strict dependency, 'this
>> other service MUST be started before this one'.
>
> Yea, changing the comment there didn't fix anything, but it was a good
> hint since I finally found the "mdns_adv" setting in the libvirtd.conf
> file and uncommenting it did finally squash avahi-daemon :-).

I'm wondering if this means that libvirt should change any of its 
policies about auto-starting avahi-daemon, or at the very least, if 
there is a documentation shortcoming on why libvirt defaults to enabling 
this and when you might want to change that default.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


More information about the test mailing list