allow /sys/devices/system/node/*/cpumap for newer libnuma

Bug #2037606 reported by Christian Ehrhardt 
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt
Fix Released
Unknown
libvirt (Ubuntu)
Fix Released
Undecided
Sergio Durigan Junior
Lunar
Won't Fix
Undecided
Sergio Durigan Junior
Mantic
New
Undecided
Sergio Durigan Junior

Bug Description

Counterpart to https://gitlab.com/libvirt/libvirt/-/issues/515

/sys/devices/system/node/*/cpumap r,

Those changes are usually safe, there is sadly no abstraction for libnuma.
Steps:
1. propose the change as a patch upstream
2. add it to the related Ubuntu releases

This is in qemu 7.2 as reported:
commit e6816458624813de4a31f89096a620b410e1c2b8
Author: David Hildenbrand <email address hidden>
Date: Fri Oct 14 15:47:19 2022 +0200

    hostmem: Allow for specifying a ThreadContext for preallocation

$ git tag --contains e6816
v7.2.0

Therefore this is for lunar+mantic

Related branches

tags: added: server-todo
description: updated
Changed in libvirt:
status: Unknown → New
Robie Basak (racb)
Changed in libvirt (Ubuntu Mantic):
assignee: nobody → Sergio Durigan Junior (sergiodj)
Changed in libvirt (Ubuntu Lunar):
assignee: nobody → Sergio Durigan Junior (sergiodj)
Changed in libvirt (Ubuntu):
status: New → In Progress
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Sergio,
FYI related similar cases (in case you look for reasoning or anything similar):
- https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1989073
- https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1735424

Thanks in advance if you find time, when you submit something to libvirt to address
issue 515, give me a ping. If it is as trivial and straight forward as the similar changes past I might feel empowered enough to merge it there still (I just do not want to be author and merger).

Changed in libvirt (Ubuntu Lunar):
status: New → Won't Fix
Changed in libvirt:
status: New → Fix Released
tags: removed: server-todo
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.4 KiB)

This bug was fixed in the package libvirt - 10.0.0-1ubuntu1

---------------
libvirt (10.0.0-1ubuntu1) noble; urgency=medium

  * Merge with Debian unstable (LP: #2040393, #2037606). Remaining changes:
    - Disable libssh2 support (universe dependency)
    - d/control: add libzfslinux-dev to build-deps
    - d/control: drop libvirt-lxc, vbox and xen drivers to suggest
    - debian/patches/ubuntu/ovmf_paths.patch: adjust paths to secboot.fd UEFI
      Secure Boot enabled variants of the OVMF firmware and variable store for
      the paths where we ship these files in Ubuntu.
    - Set qemu-group to kvm (for compat with older ubuntu)
    - Additional apport package-hook
    - Autostart default bridged network (As upstream does, but not Debian).
      In addition to just enabling it our solution provides:
      + do not autostart if subnet is already taken (e.g. in guests).
      + iterate some alternative subnets before giving up
    - d/p/ubuntu/Allow-libvirt-group-to-access-the-socket.patch: This is
      the group based access to libvirt functions as it was used in Ubuntu
      for quite a long time.
      + d/p/ubuntu/daemon-augeas-fix-expected.patch fix some related tests
        due to the group access change.
      + d/libvirt-daemon-system.postinst: add users in sudo to the libvirt
        group.
    - Update README.Debian with Ubuntu changes
    - d/p/ubuntu/ubuntu_machine_type.patch: accept ubuntu types as pci440fx
    - fix autopkgtests (LP 1899180)
      + d/t/control, d/t/smoke-qemu-session: fixup smoke-qemu-session by making
        vmlinuz available and accessible (Debian bug 848314)
      + d/t/control: fix smoke-qemu-session by ensuring the service will run
        installing libvirt-daemon-system
      + d/t/smoke-lxc: fix smoke-lxc by ignoring potential issues on destroy as
        long as the following undefine succeeds
      + d/t/smoke-lxc: use systemd instead of sysV to restart the service
      + d/t/control, d/t/smoke-lxc: retry service restart and skip test if
        failing; This was flaky on some release/architectures
      + d/t/smoke-lxc: retry check_domain being flaky on arm64
    - dnsmasq related enhancements
      + run dnsmasq as libvirt-dnsmasq (LP 1743718)
      + d/libvirt-daemon-system.postinst: add libvirt-dnsmasq user and group
      + d/libvirt-daemon-system.postrm: remove libvirt-dnsmasq user and group
        on purge
      + d/p/ubuntu/dnsmasq-as-priv-user: write dnsmasq config with user
        libvirt-dnsmasq and adapt the self tests to expect that config
      + d/libvirt-daemon-system.postinst: fix old libvirt-dnsmasq users group
      + Add dnsmasq configuration to work with system wide dnsmasq-base
    - d/p/ubuntu/set-default-machine-to-ubuntu.patch: to select default
      machine type correctly with newer qemu/libvirt
    - d/p/ubuntu/lp-1861125-ubuntu-models: recognize Ubuntu models for
      (LP 1861125) fixups
    - d/p/ubuntu/wait-for-qemu-kvm.patch - avoid hangs on startup (LP 1887592)
    - d/libvirt-daemon-system.libvirt-guests.default: shut guests down
      in parallel
    - Apparmor Delta that is Ubuntu specific or yet to be upstreamed
      split into logical pieces. File names ...

Read more...

Changed in libvirt (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.