[Pkg-libvirt-maintainers] Bug#1088929: Bug#1088929: Fwd: [libvirt PATCH] lxc: remove no longer working netns check

Andrea Bolognani eof at kiyuko.org
Tue Dec 17 12:59:26 GMT 2024


Control: tags -1 fixed-upstream pending

On Tue, Dec 03, 2024 at 07:18:00PM +0000, Leigh Brown wrote:
> Hello,
> 
> FYI I reported this problem on OFTC #virt and was advised to post
> a patch to remove the check, which I did (see below). Also
> attached in case my webmail mangles it.

Leigh's patch has been accepted upstream:

  commit dd217cd9382cb7d67b26c5b3b4be07e5ce88ef86
  Author: Leigh Brown <leigh at solinno.co.uk>
  Date:   Tue Dec 3 16:02:08 2024 +0000

    lxc: remove no longer working netns check

    Since iproute2 v6.12.0, the command "ip link set lo netns -1" can
    no longer be used to check for netns support, as it now validates
    PIDs are not less than zero.

    Since every kernel we care about has the support, just remove the
    check.

    Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
    Signed-off-by: Leigh Brown <leigh at solinno.co.uk>

  https://gitlab.com/libvirt/libvirt/-/commit/dd217cd9382cb7d67b26c5b3b4be07e5ce88ef86

It will be included in the upcoming upstream release, scheduled for
January 15. The Debian update will happen shortly after that.

-- 
Andrea Bolognani <eof at kiyuko.org>
Resistance is futile, you will be garbage collected.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20241217/feb919b3/attachment.sig>


More information about the Pkg-libvirt-maintainers mailing list