Skip to content

Incomplete VRF support #1474

Description

@pcguy85

Hi.

Netavark gained vrf support in #729, but it seems like the implementation does not cover dns support with aardvark-dns.

Run as root:

$ ip link add vrf0 type vrf table 1
$ ip link set vrf0 up
$ podman network create -d bridge -o vrf=vrf0 test
test
$ podman run --rm -it --network test debian:trixie /bin/bash
Error: netavark: error while applying dns entries: aardvark-dns failed to start: Error from child process
Error starting server failed to bind udp listener on 10.89.1.1:53: IO error: Cannot assign requested address (os error 99)

Podman info:

host:
  arch: amd64
  buildahVersion: 1.44.0
  cdiSpecDirs:
  - /etc/cdi
  - /var/run/cdi
  cgroupControllers:
  - cpuset
  - cpu
  - io
  - memory
  - hugetlb
  - pids
  - rdma
  - misc
  - dmem
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: conmon-2.2.1-2.fc45.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.2.1, commit: '
  cpuUtilization:
    idlePercent: 94.64
    systemPercent: 2.33
    userPercent: 3.03
  cpus: 2
  databaseBackend: sqlite
  distribution:
    distribution: fedora
    variant: lxqt
    version: "45"
  emulatedArchitectures:
  - linux/arm
  - linux/arm64
  - linux/arm64be
  - linux/loong64
  - linux/mips
  - linux/mips64
  - linux/ppc
  - linux/ppc64
  - linux/ppc64le
  - linux/riscv32
  - linux/riscv64
  - linux/s390x
  eventLogger: journald
  freeLocks: 2048
  hostname: localhost-live
  idMappings:
    gidmap: null
    uidmap: null
  kernel: 7.2.0-0.rc2.260709g0e35b9b6ec0f.23.fc45.x86_64
  linkmode: dynamic
  logDriver: journald
  memFree: 127725568
  memTotal: 4087025664
  networkBackend: netavark
  networkBackendInfo:
    backend: netavark
    defaultNetwork: podman
    dns:
      package: aardvark-dns-2.0.0-1.fc45.x86_64
      path: /usr/libexec/podman/aardvark-dns
      version: aardvark-dns 2.0.0
    package: netavark-2.0.0-1.fc45.x86_64
    path: /usr/libexec/podman/netavark
    version: netavark 2.0.0
  ociRuntime:
    name: crun
    package: crun-1.28-1.fc45.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 1.28
      commit: 54f16ffbefcd022bf032af768b5c5ce075c18bfc
      rundir: /run/crun
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +JSON_C
  os: linux
  pasta:
    executable: /usr/sbin/pasta
    package: passt-0^20260611.ga9c61ff-1.fc45.x86_64
    version: |
      pasta 0^20260611.ga9c61ff-1.fc45.x86_64
      Copyright Red Hat
      GNU General Public License, version 2 or later
        <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
  remoteSocket:
    exists: true
    path: /run/podman/podman.sock
  rootlessNetworkCmd: pasta
  rootlessPortForwarder: rootlessport
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: false
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: true
  serviceIsRemote: false
  swapFree: 4057157632
  swapTotal: 4086296576
  uptime: 0h 21m 3.00s
  variant: ""
plugins:
  authorization: null
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  - ipvlan
  volume:
  - local
registries:
  search:
  - registry.fedoraproject.org
  - registry.access.redhat.com
  - docker.io
store:
  containerStore:
    number: 0
    paused: 0
    running: 0
    stopped: 0
  graphDriverName: overlay
  graphOptions:
    additionalImageStores:
    - /usr/lib/containers/storage
    imagestore: /usr/lib/containers/storage
    overlay.mountopt: nodev,metacopy=on
  graphRoot: /var/lib/containers/storage
  graphRootAllocated: 817405952
  graphRootUsed: 696586240
  graphStatus:
    Backing Filesystem: overlayfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Supports shifting: "true"
    Supports volatile: "true"
    Using metacopy: "false"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 1
  runRoot: /run/containers/storage
  transientStore: false
  volumePath: /var/lib/containers/storage/volumes
version:
  APIVersion: 6.0.1
  BuildOrigin: Fedora Project
  Built: 1783555200
  BuiltTime: Thu Jul  9 00:00:00 2026
  GitCommit: 4cabbe61fa3a27fafc4a3ee1226e38ae1664ae57
  GoVersion: go1.27rc2-X:nodwarf5
  Os: linux
  OsArch: linux/amd64
  Version: 6.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions