]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Make avahi startup more robust.
authorChris Lalancette <clalance@redhat.com>
Tue, 23 Mar 2010 13:01:37 +0000 (09:01 -0400)
committerChris Lalancette <clalance@redhat.com>
Wed, 21 Apr 2010 20:16:36 +0000 (16:16 -0400)
commit8274993f29636f17102625d787e38f9e79d39905
tree24fed7feed964efdb079416701513fcd23e12008
parentce380b8e6fc49692bd4ad124e4d11b6d0500ef44
Make avahi startup more robust.

If the hostname of the current virtualization machine
could not be resolved, then libvirtd would fail to
start.  However, for disconnected operation (on a laptop,
for instance) the hostname may very legitimately not
be resolvable.  This patch makes it so that if we can't
resolve the hostname, avahi doesn't fail, it just uses
a less useful MDNS string.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
daemon/libvirtd.c