[pkg-go] Bug#1079327: podman: Fails to create vlan aware bridge network

Alex Hermann gaaf at gmx.net
Thu Aug 22 14:23:12 BST 2024


Package: podman
Version: 5.2.1+ds1-2
Severity: normal
Tags: patch



Hi,

In podman, CNI networking is by default not enabled anymore. The
"alternative" (netavark) is, unfortunately, not on feature parity
with CNI. For example, vlan aware bridge networks are not supported [1].

Podman provides a build tag to re-enable CNI. Please enable it until
netavark reaches features compatibility with CNI.

I tested with the below patch and my networks are back being supported
by podman 5.

[1] https://github.com/containers/netavark/issues/1028


--- debian/rules~       2024-08-17 13:39:04.000000000 +0200
+++ debian/rules        2024-08-22 15:00:24.986883061 +0200
@@ -48,7 +48,7 @@
 export HOME=$(CURDIR)/debian/tmp

 ## https://podman.io/getting-started/installation#build-tags
-BUILDTAGS := apparmor,seccomp,selinux,systemd,libsubid
+BUILDTAGS := apparmor,seccomp,selinux,systemd,libsubid,cni
 BUILDTAGS_REMOTE := remote,exclude_graphdriver_btrfs,btrfs_noversion,exclude_graphdriver_devicemapper,containers_image_openpgp

 # containers_image_openpgp


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (505, 'unstable'), (500, 'unstable-debug'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.6-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=nl_NL.utf8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages podman depends on:
ii  conmon                           2.1.10+ds1-1+b1
ii  crun                             1.16.1-1
ii  golang-github-containers-common  0.60.1+ds1-3
ii  init-system-helpers              1.66
ii  libc6                            2.39-7
ii  libgpgme11t64                    1.18.0-5
ii  libseccomp2                      2.5.5-1+b1
ii  libsqlite3-0                     3.46.1-1
ii  libsubid5                        1:4.16.0-4
ii  netavark                         1.9.0-4

Versions of packages podman recommends:
ii  buildah             1.37.1+ds1-2
ii  ca-certificates     20240203
ii  catatonit           0.1.7-1+b1
ii  containers-storage  1.55.0+ds1-3
ii  dbus-user-session   1.14.10-4+b1
ii  passt               0.0~git20240821.1d6142f-1
ii  slirp4netns         1.2.1-1+b1
ii  uidmap              1:4.16.0-4

Versions of packages podman suggests:
pn  docker-compose  <none>
ii  iptables        1.8.10-4

-- Configuration Files:
/etc/cni/net.d/87-podman-bridge.conflist changed [not included]

-- no debconf information



More information about the Pkg-go-maintainers mailing list