Your message dated Sun, 25 Aug 2024 08:32:38 +0000
with message-id <[email protected]>
and subject line Bug#1075718: fixed in libvirt 9.0.0-4+deb12u1
has caused the Debian Bug report #1075718,
regarding libvirt-clients: virsh domif-setlink fails to update state
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.)


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

Hi,

Working on some network-oriented tools (https://pts-project.org/), I
ended up wanting to down/up some network links from the virtualization
host (running libvirt, with the QEMU backend). The first step worked
just fine, the second step will surprise you:

    virsh # domif-setlink ViRogue --interface 52:54:00:03:73:13 --state down
    Device updated successfully
    
    virsh # domif-setlink ViRogue --interface 52:54:00:03:73:13 --state up
    error: Failed to update interface link state
    error: (device_definition):6: Attribute state redefined
          <link state="down" state="up"/>
    -----------------------------------^

The same happens with both 'up' and 'down', with or without --interface
and --state, and really looks like some basic logic bug somewhere in the
XML update code? (I haven't looked at the implementation just yet.)

That used to work fine but I couldn't say for sure which version(s) (as
I've run Debian 9 and Debian 11 previously, but with some backports); at
the time, I used that quite heavily to test bonding on virtualized
images with a lot of interfaces, without any such obvious issues.


Cheers,
-- 
Cyril Brulebois ([email protected])            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant


-- System Information:
Debian Release: 12.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-22-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libvirt-clients depends on:
ii  libc6           2.36-9+deb12u7
ii  libgcc-s1       12.2.0-14
ii  libglib2.0-0    2.74.6-2+deb12u3
ii  libgnutls30     3.7.9-2+deb12u3
ii  libreadline8    8.2-1.3
ii  libvirt0        9.0.0-4
ii  libxml2         2.9.14+dfsg-1.3~deb12u1
ii  sensible-utils  0.0.17+nmu1

libvirt-clients recommends no packages.

Versions of packages libvirt-clients suggests:
pn  libvirt-clients-qemu  <none>
ii  libvirt-daemon        9.0.0-4
pn  libvirt-login-shell   <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: libvirt
Source-Version: 9.0.0-4+deb12u1
Done: Andrea Bolognani <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libvirt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrea Bolognani <[email protected]> (supplier of updated libvirt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 24 Aug 2024 16:05:45 +0200
Source: libvirt
Architecture: source
Version: 9.0.0-4+deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian Libvirt Maintainers 
<[email protected]>
Changed-By: Andrea Bolognani <[email protected]>
Closes: 1052405 1075718
Changes:
 libvirt (9.0.0-4+deb12u1) bookworm; urgency=medium
 .
   [ Cyril Brulebois ]
   * [6a7f95a] patches: Add backports
     - backport/virsh-Make-domif-setlink-work-more-than-once.patch
       - Closes: #1075718
 .
   [ Andrea Bolognani ]
   * [56f1ae3] patches: Add backports
     - backport/Fix-off-by-one-error-in-udevListInterfacesByStatus.patch
       - Fixes CVE-2024-1441
     - backport/interface-fix-udev_device_get_sysattr_value-return-value-.patch
       - Fixes CVE-2024-2496
     - backport/remote-check-for-negative-array-lengths-before-allocation.patch
       - Fixes CVE-2024-2494
     - backport/storage-Fix-returning-of-locked-objects-from-virStoragePo.patch
       - Fixes CVE-2023-3750
 .
   [ Lee Garrett ]
   * [7dc22f9] patches: Add backports
     - backport/qemu-domain-Fix-logic-when-tainting-domain.patch
       - Closes: #1052405
Checksums-Sha1:
 f9d13bedb314a454aeb453e25727979835b43399 5537 libvirt_9.0.0-4+deb12u1.dsc
 7d730b4051ab79dc6693431a7addb64bc54bb6cd 96628 
libvirt_9.0.0-4+deb12u1.debian.tar.xz
 85fd608f4f2619c4653570f7ce3f2ce21b82771c 13838 
libvirt_9.0.0-4+deb12u1_source.buildinfo
Checksums-Sha256:
 1829f01c813ea3c9bfe77e929901552f8f568930f3d55d23477b5160b623d0e8 5537 
libvirt_9.0.0-4+deb12u1.dsc
 823fdc80a6931a12f0c36bd372d417a6a65323f472cc7be22afd7bc3fde091c8 96628 
libvirt_9.0.0-4+deb12u1.debian.tar.xz
 10d532a8256a07fc4a045cc19b479d4a1c8ce859203e589db740bec06fdef72d 13838 
libvirt_9.0.0-4+deb12u1_source.buildinfo
Files:
 579be63bd593df5ef4fe920dc0c63f01 5537 libs optional libvirt_9.0.0-4+deb12u1.dsc
 9b2da127cfc72e7291283c47622aa0a8 96628 libs optional 
libvirt_9.0.0-4+deb12u1.debian.tar.xz
 d0a570196de7a672f4fbc91e48a5d5a9 13838 libs optional 
libvirt_9.0.0-4+deb12u1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEO48t9niVypx3EjLf954fxUKFg6wFAmbKAMIPHGVvZkBraXl1
a28ub3JnAAoJEPeeH8VChYOsbcEP/AqDYNWw1EodS2F3uwICsjAMfbt1YIC5ZfQN
RMW444kGc194bw1VrQw6yWHXfBd9tHfMvSUNpQ5VPE69JwYHSZx2drW8mQHBSbo7
LfEXKY4v9m+zmwU6JFq9ELNPriuxSAV0nN+MRLG71SDjyi5aI6pIxqVg482ddJrj
g1EG7tfO0SsuZ1NhxmrX+7MKayP1RBLlZsEzyn51lIARmbwsKjfv2EPpVz1sjrwv
VI0zv9dBeYsWBYYjUIA9dsJPoGqnqLECAMhsKIPYD/xhf726IHS7t/NcwSLBs3OE
zO25Oe1KcSGu458MWZph53ZBxkixjw3bk73Uzl5DVOP4kv2ocfJ4xpJbV8q92T4w
r92ugeZbiU/P1Zi4opeosVj2l/RolmO1lka14USUtZBwya1GOImA2k5ucDd2KRSv
ugAvlTej2oViaf4P2UUfwIZzyXcjvW/EWFRTd+LQAD5ZUOSgBPlCN/iOfr7lIqzK
g2m8aFC5q8iAxTMP0MMspxaBy2HMFefcqIBeBbwuS0IEPueNDQgONNx1MHAYLFL2
vcWjE8HFRJYmunKetb4JPKryu9YWUzhaXF8gmrMOE4nCv+sUsuQ5oe2WxP096lV5
lWQEix7qtScoe5lThtgR44d4we8F8e+Pc4BIF273i+m5/8DQ2TSCH2DeB44VU15H
ouBpoAl9
=QmZl
-----END PGP SIGNATURE-----

Attachment: pgp9WvfWJPI9d.pgp
Description: PGP signature


--- End Message ---

Reply via email to