[pkg-lxc-devel] Bug#1049976: lxc: fail to start /etc/init.d/lxc-net when LXC_IPV6_NAT="true"

Rieker Flaik rieker_flaik at arcor.de
Thu Aug 17 19:32:03 BST 2023


Package: lxc
Version: 1:5.0.2-1
Severity: normal
X-Debbugs-Cc: rieker_flaik at arcor.de

Dear Maintainer,

 /etc/init.d/lxc-net start

does not work when LXC_IPV6_NAT="true" is configured.

Cause of the issue: nftables masquarade rule for IPv6 is using falsely the IPv4 syntax.

There is already an upstream fix:

https://github.com/lxc/lxc/commit/4de047f51365cc06a626ee9de49fec5f76556c66

It would be really nice if thie oneline fix could find its way into debian bookworm.

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

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

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]        1.5.82
ii  dnsmasq-base [dnsmasq-base]  2.89-1
ii  iproute2                     6.1.0-3
ii  iptables                     1.8.9-2
ii  libapparmor1                 3.0.8-3
ii  libc6                        2.36-9+deb12u1
ii  libcap2                      1:2.66-4
ii  libgcc-s1                    12.2.0-14
ii  liblxc-common                1:5.0.2-1
ii  liblxc1                      1:5.0.2-1
ii  libseccomp2                  2.5.4-1+b3
ii  libselinux1                  3.4-1+b6
ii  lsb-base                     11.6
ii  nftables                     1.0.6-2+deb12u1
ii  sysvinit-utils [lsb-base]    3.06-4

Versions of packages lxc recommends:
ii  apparmor       3.0.8-3
ii  debootstrap    1.0.128+nmu2
ii  dirmngr        2.2.40-1.1
ii  gnupg          2.2.40-1.1
ii  libpam-cgfs    1:5.0.2-1
ii  lxc-templates  3.0.4.48.g4765da8-1
ii  lxcfs          5.0.3-1
ii  openssl        3.0.9-1
ii  rsync          3.2.7-1
ii  uidmap         1:4.13+dfsg1-1+b1
ii  wget           1.21.3-1+b2

Versions of packages lxc suggests:
pn  btrfs-progs  <none>
pn  lvm2         <none>
pn  python3-lxc  <none>

-- Configuration Files:
/etc/default/lxc-net changed [not included]
/etc/lxc/default.conf changed [not included]

-- debconf information excluded



More information about the Pkg-lxc-devel mailing list