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

2013-07-11 Thread Laurent Bigonville
Le Sun, 7 Jul 2013 15:15:45 +0200,
Guido Günther a...@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@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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2013-07-11 Thread Guido Günther
On Thu, Jul 11, 2013 at 02:31:11PM +0200, Laurent Bigonville wrote:
[..snip..] 
  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.

That makes sense. My network is autostarted.

 I guess this should be addressed upstream.

I already do have a patch for this, just wanted to dig into the real
reason. Thanks,
 -- Guido

 
  Cheers,
 
 Cheers
 
 Laurent Bigonville
 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2013-07-07 Thread Guido Günther
Hi Laurent,
On Sat, Jul 06, 2013 at 11:21:32PM +0200, Laurent Bigonville wrote:
 Package: libvirt-bin
 Version: 1.1.0-1
 Severity: normal
 
 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?

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

 
 Cheers,
 
 Laurent Bigonville
 
 -- System Information:
 Debian Release: jessie/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (1, 'experimental')
 Architecture: amd64 (x86_64)
 Foreign Architectures: i386
 
 Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores)
 Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash
 
 Versions of packages libvirt-bin depends on:
 ii  adduser  3.113+nmu3
 ii  gettext-base 0.18.2.1-1
 ii  init-system-helpers  1.4
 ii  libaudit01:1.7.18-1.1
 ii  libavahi-client3 0.6.31-2
 ii  libavahi-common3 0.6.31-2
 ii  libblkid12.20.1-5.4
 ii  libc62.17-7
 ii  libcap-ng0   0.7.3-1+b1
 ii  libdbus-1-3  1.6.12-1
 ii  libdevmapper1.02.1   2:1.02.77-3
 ii  libgcrypt11  1.5.2-3
 ii  libgnutls26  2.12.23-5
 ii  libnetcf11:0.2.3-3
 ii  libnl-3-200  3.2.21-1
 ii  libnl-route-3-2003.2.21-1
 ii  libnuma1 2.0.8-3
 ii  libparted0debian12.3-13
 ii  libpcap0.8   1.4.0-2
 ii  libpciaccess00.13.1-2
 ii  libreadline6 6.2+dfsg-0.1
 ii  libsasl2-2   2.1.25.dfsg1-13
 ii  libudev0 175-7.2
 ii  libvirt0 1.1.0-1
 ii  libxenstore3.0   4.2.1-2
 ii  libxml2  2.9.1+dfsg1-2
 ii  libyajl2 2.0.4-4
 ii  logrotate3.8.5-1
 
 Versions of packages libvirt-bin recommends:
 ii  bridge-utils1.5-6
 ii  dmidecode   2.12-1
 ii  dnsmasq-base2.66-3
 ii  ebtables2.0.10.4-3
 ii  gawk1:4.0.1+dfsg-2.1
 ii  iproute 1:3.9.0-5
 ii  iptables1.4.18-1
 ii  libxml2-utils   2.9.1+dfsg1-2
 ii  netcat-openbsd  1.105-7
 ii  parted  2.3-13
 ii  pm-utils1.4.1-11
 ii  qemu-kvm1.5.0+dfsg-4
 ii  qemu-system-x86 [qemu-kvm]  1.5.0+dfsg-4
 
 Versions of packages libvirt-bin suggests:
 ii  auditd   1:1.7.18-1.1
 ii  policykit-1  0.105-3
 pn  radvdnone
 pn  systemtapnone
 
 -- Configuration Files:
 /etc/libvirt/qemu.conf [Errno 13] Permission non accordée: 
 u'/etc/libvirt/qemu.conf'
 
 -- no debconf information
 
 ___
 Pkg-libvirt-maintainers mailing list
 pkg-libvirt-maintain...@lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org