[libvirt] /var/run/libvirt

Daniel P. Berrange berrange at redhat.com
Mon Aug 11 08:06:42 UTC 2008


On Sat, Aug 09, 2008 at 09:56:45AM +0100, Richard W.M. Jones wrote:
> On Fri, Aug 08, 2008 at 12:08:05PM +0200, Stefan de Konink wrote:
> > My /var/run is empty upon boot. (ramfs) One may wonder why libvirt needs a
> > dedicated directory at all for two sockets...
> 
> This seems to be a valid point.
> 
> Note that /var/run/libvirt is also used for temporary files, and I
> think some of the hypervisor drivers can put stuff there too, so it
> really does need to be a directory.
> 
> Dan/Dan, any reason we can't 'mkdir' this when libvirtd starts up?

Yep, it seems that we do need to make this special case for /var/run/libvirt
because of the tmpfs possibility which isn't handled by make install/RPM

Regards,
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