[Pkg-libvirt-maintainers] Bug#540018: libvirt-bin: net-autostart lies about marking network as auto-started

Tollef Fog Heen tfheen at err.no
Wed Aug 5 07:34:33 UTC 2009


Package: libvirt-bin
Version: 0.6.4-1
Severity: normal

I seems like net-autostart doesn't actually do what it says it does:

: tfheen at qurzaw /etc/libvirt/qemu/networks > ls autostart
: tfheen at qurzaw /etc/libvirt/qemu/networks > virsh
libvir: Network Config error : cannot create bridge 'virbr0': Operation not permitted
09:29:20.778: warning : remoteReadConfigFile:2569 : Cannot set group when not running as root
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

virsh # net-autostart default
Network default marked as autostarted

virsh #
: tfheen at qurzaw /etc/libvirt/qemu/networks > ls autostart
: tfheen at qurzaw /etc/libvirt/qemu/networks >

Running as root works:

: tfheen at qurzaw /etc/libvirt/qemu/networks > sudo virsh
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

virsh # net-autostart default
Network default marked as autostarted

virsh #
: tfheen at qurzaw /etc/libvirt/qemu/networks > ls autostart
default.xml@
: tfheen at qurzaw /etc/libvirt/qemu/networks >

(the reason for some ubuntu versions below is this box used to run
Ubuntu, I doubt they are particularly relevant to this bug.  It's
running Debian now.)

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libvirt-bin depends on:
ii  adduser  3.110                           add and remove users and groups
ii  libavahi 0.6.25-1                        Avahi client library
ii  libavahi 0.6.25-1                        Avahi common library
ii  libc6    2.9-12                          GNU C Library: Shared libraries
ii  libdbus- 1.2.16-2                        simple interprocess messaging syst
ii  libdevma 2:1.02.30-3                     The Linux Kernel Device Mapper use
ii  libgcryp 1.4.4-3                         LGPL Crypto library - runtime libr
ii  libgnutl 2.6.6-1                         the GNU TLS library - runtime libr
ii  libgpg-e 1.6-1                           library for common error values an
ii  libhal1  0.5.12~rc1+git20090403-0ubuntu4 Hardware Abstraction Layer - share
ii  libparte 1.8.8.git.2008.03.24-11.1       The GNU Parted disk partitioning s
ii  libpolki 0.9-4                           library for accessing PolicyKit vi
ii  libpolki 0.9-4                           library for accessing PolicyKit
ii  libreadl 5.2-4                           GNU readline and history libraries
ii  libsasl2 2.1.23.dfsg1-1                  Cyrus SASL - authentication abstra
ii  libselin 2.0.82-1                        SELinux shared libraries
ii  libtasn1 2.2-1                           Manage ASN.1 structures (runtime)
ii  libuuid1 1.41.4-1ubuntu1                 universally unique id library
ii  libvirt0 0.6.4-1                         library for interfacing with diffe
ii  libxenst 3.2.1-2                         Xenstore communications library fo
ii  libxml2  2.7.3.dfsg-2                    GNOME XML library
ii  logrotat 3.7.7-3                         Log rotation utility
ii  zlib1g   1:1.2.3.3.dfsg-13               compression library - runtime

Versions of packages libvirt-bin recommends:
ii  bridge-utils               1.4-5         Utilities for configuring the Linu
ii  dnsmasq-base               2.49-1        A small caching DNS proxy and DHCP
ii  iptables                   1.4.4-1       administration tools for packet fi
ii  netcat-openbsd             1.89-3ubuntu1 TCP/IP swiss army knife
ii  qemu                       0.10.4-1      fast processor emulator

Versions of packages libvirt-bin suggests:
ii  policykit                     0.9-4      framework for managing administrat

-- no debconf information

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are





More information about the Pkg-libvirt-maintainers mailing list