[libvirt] [PATCH] libvirt-guests: Don't throw errors if libvirtd is not installed

Eric Blake eblake at redhat.com
Tue Jul 27 13:20:10 UTC 2010


On 07/27/2010 07:10 AM, Jiri Denemark wrote:
> When only client parts of libvirt are installed (i.e., no libvirtd
> daemon), libvirt-guests init script in its default configuration would
> throw seriously looking errors during host shutdown:
> 
> Running guests on default URI: error: unable to connect to
> '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No
> such file or directory
> error: failed to connect to the hypervisor
> 
> This patch changes the script to print rather harmless message in that
> situation:
> 
> Running guests on default URI: libvirtd not installed; skipping this
> URI.

ACK.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100727/edc2e0d9/attachment-0001.sig>


More information about the libvir-list mailing list