Your message dated Thu, 11 May 2023 01:11:08 +0200
with message-id <ZFwkjFXxAkvnzIWy@meyneth>
and subject line Closing #595320 (libvirt-bin: default /etc/libvirt/qemu.conf 
does not reflect true defaults)
has caused the Debian Bug report #595320,
regarding libvirt-bin: default /etc/libvirt/qemu.conf does not reflect true 
defaults
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
595320: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595320
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libvirt-bin
Version: 0.8.3-1
Severity: normal

The default /etc/libvirt/qemu.conf has the following lines:
# The user ID for QEMU processes run by the system instance
#user = "root"

# The group ID for QEMU processes run by the system instance
#group = "root"

That they are commented out implies that they contain the default values.

The default values are actually
user = "libvirt-qemu"
group = "kvm"

(actual defaults gleaned from the debian/rules file:
DEB_CONFIGURE_EXTRA_FLAGS :=     \
        --disable-rpath          \
        --with-qemu              \
        --with-qemu-user=libvirt-qemu  \
        --with-qemu-group=kvm    \
)

The configuration file should have the actual defaults commented out.

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

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  adduser                   3.112          add and remove users and groups
ii  libavahi-client3          0.6.26-1       Avahi client library
ii  libavahi-common3          0.6.26-1       Avahi common library
ii  libblkid1                 2.17.2-3.1     block device id library
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib
ii  libcap-ng0                0.6.4-1        An alternate posix capabilities li
ii  libdevmapper1.02.1        2:1.02.48-3    The Linux Kernel Device Mapper use
ii  libgcrypt11               1.4.5-2        LGPL Crypto library - runtime libr
ii  libgnutls26               2.8.6-1        the GNU TLS library - runtime libr
ii  libnl1                    1.1-5          library for dealing with netlink s
ii  libparted0debian1         2.3-1          The GNU Parted disk partitioning s
ii  libpciaccess0             0.12.0-1       Generic PCI access library for X
ii  libreadline6              6.1-3          GNU readline and history libraries
ii  libsasl2-2                2.1.23.dfsg1-5 Cyrus SASL - authentication abstra
ii  libudev0                  160-1          libudev shared library
ii  libuuid1                  2.17.2-3.1     Universally Unique ID library
ii  libvirt0                  0.8.3-1        library for interfacing with diffe
ii  libxenstore3.0            4.0.1~rc6-1    Xenstore communications library fo
ii  libxml2                   2.7.7.dfsg-4   GNOME XML library
ii  logrotate                 3.7.1-5        Log rotation utility

Versions of packages libvirt-bin recommends:
ii  bridge-utils              1.4-5          Utilities for configuring the Linu
ii  dnsmasq-base              2.55-1         A small caching DNS proxy and DHCP
ii  gawk                      1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
ii  iptables                  1.4.2-6        administration tools for packet fi
ii  libxml2-utils             2.7.7.dfsg-4   XML utilities
ii  netcat-openbsd            1.89-4         TCP/IP swiss army knife
pn  qemu-kvm | qemu           <none>         (no description available)

Versions of packages libvirt-bin suggests:
pn  policykit-1                   <none>     (no description available)

-- Configuration Files:
/etc/libvirt/qemu.conf changed [not included]

-- no debconf information



--- End Message ---
--- Begin Message ---
Package: libvirt
Version: 8.3.0-1

This has been addressed upstream with

  commit 64a7b8203bfc506a3902517155438b8c1c3106e6
  Author: Andrea Bolognani <[email protected]>
  Date:   Mon Mar 28 15:26:11 2022 +0200

    qemu: Use real defaults for user and group in qemu.conf

    The default values used by the library are determined at configure
    time based on a number of factors, and we should reflect them in
    the installed configuration file to make the comments it contains
    more useful.

    Resolves: https://gitlab.com/libvirt/libvirt/-/issues/263
    Signed-off-by: Andrea Bolognani <[email protected]>
    Reviewed-by: Michal Privoznik <[email protected]>

For the Debian package specifically:

  $ sudo grep -E '#(user|group)' /etc/libvirt/qemu.conf
  #user = "libvirt-qemu"
  #group = "libvirt-qemu"

Closing.

-- 
Andrea Bolognani <[email protected]>
Resistance is futile, you will be garbage collected.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to