[Pkg-libvirt-maintainers] Bug#715200: Bug#715200: libvirt-bin: Missing directory /var/run/libvirt/network/

Laurent Bigonville bigon at debian.org
Thu Jul 11 12:31:11 UTC 2013


Le Sun, 7 Jul 2013 15:15:45 +0200,
Guido Günther <agx at sigxcpu.org> a écrit :

> Hi Laurent,
Hello,

> On Sat, Jul 06, 2013 at 11:21:32PM +0200, Laurent Bigonville wrote:
> > Hi,
> > 
> > When starting libvirtd in a console I get the following error:
> > 
> > error : virNWFilterSnoopLeaseFileRefresh:1902 :
> > open("/var/run/libvirt/network/nwfilter.ltmp"): Aucun fichier ou
> > dossier de ce type
> > 
> > After creating the directory libvirt is creating a nwfilter.ltmp
> > file in it.
> 
> I used to see this with older libvirt but since quiet some time the
> directory is being created. I can wipe /var/run/libvirt completely and
> then start libvirt (init script or directly) without such error.
> 
> It should also put dnsmasqs pid file there - are you seeing that too?

When started with the initscript, that's the content of
the /var/run/libvirt directory (after enabling the default network)

bigon at soldur:/var/run/libvirt$ tree
.
|-- libvirt-sock
|-- libvirt-sock-ro
|-- network
|   `-- default.pid
|-- qemu
`-- uml-guest

3 directories, 3 files

The network directory is probably created when I've started the network
(default network is not autostart). Notice that there is no
nwfilter.leases file. After restarting libvirt daemon, the file is
present.

> Adding the dir is simple but I'd like to understand why it's not being
> created for you.

I think that libvirt is only creating the network/ directory when
starting a network, but not before creating the nwfilter.leases file.

I guess this should be addressed upstream.

> Cheers,

Cheers

Laurent Bigonville



More information about the Pkg-libvirt-maintainers mailing list