Re: [libvirt] /var/run/libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]