[libvirt] /var/run/libvirt

Daniel P. Berrange berrange at redhat.com
Fri Aug 8 10:11:16 UTC 2008


On Fri, Aug 08, 2008 at 12:08:05PM +0200, Stefan de Konink wrote:
> On Fri, 8 Aug 2008, Daniel Veillard wrote:
> >
> > 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'
> 
> My /var/run is empty upon boot. (ramfs) One may wonder why libvirt needs a
> dedicated directory at all for two sockets...

That just happens to be your particular deployment scenario. Other
hypervisor drivers put stuff in there too, hence we have a directory.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list