[libvirt] /var/run/libvirt
Daniel Veillard
veillard at redhat.com
Fri Aug 8 10:05:12 UTC 2008
On Fri, Aug 08, 2008 at 11:49:46AM +0200, Stefan de Konink wrote:
> It is a trivial error, but i wonder if:
>
> Failed to change group ownership of /var/run/libvirt
> Failed to bind socket to '/var/run/libvirt/libvirt-sock': No such file or
> directory
>
>
> This could be corrected to:
>
> /var/run/libvirt doesn't exist
> or an mkdir is done on the directory...
I see
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/run/libvirt/
in libvirt spec file and
mkdir -p $(DESTDIR)$(localstatedir)/run/libvirt
in qemud/Makefile.am as part of install-data-local rule. So it seems
it really should be created appropriately as part of 'make install'
a better reporting of the error would be fine, but something else went wrong
first.
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list