podman icon indicating copy to clipboard operation
podman copied to clipboard

pasta networking breaks with passt 2026_07_16 snapshot on Podman 6.0.1 (regression from 2026_01_20)

Open upmcplanetracker opened this issue 4 months ago • 5 comments

Issue Description

I run rootless Podman 6.0.1 (released 2026-07-07) on Ubuntu 26.04, using pasta for networking (default rootless backend). My distro-packaged passt/pasta was from the 2026_01_20.386b5f5 snapshot.

Today I built passt from the (most recent) official 2026_07_16.090d739 source tarball (https://passt.top/passt/snapshot/passt-2026_07_16.090d739.tar), packaged it as a .deb, and installed it in place of the older build. After this upgrade, pasta/passt networking for my Podman containers started failing. Containers that were running stayed running, but those that were stopped couldn't restart with the new pasta/passt with the following error message -

Error: pasta failed with exit code 1:

Couldn't open network namespace /run/user/1000/netns/netns-67ad4bef-95e8-f72e-ec61-eb62abf96884: Permission denied

I stopped all containers and networks, rebooted the computer, and started up the networks and then tried to start up the containers again. Same error.

Reverting to the 2026_01_20.386b5f5 build restored normal operation without needing a reboot or needing to restart .networks. I haven't tried the June 2026 pasta/passt version on passt.top yet to see if this worked or throws a similar error.

Podman 6.0.1 was released before the 2026_07_16 passt snapshot existed, so it's possible this newer passt build changed something in the fd-passing/isolation contract that Podman's pasta invocation relies on, that Podman 6.0.1 wasn't tested against. I haven't yet bisected the exact commit between the January and July snapshots responsible but over the past 1-2 weeks the git commits on passt alludes to changes in fd.

Steps to reproduce the issue

Steps to reproduce the issue

  1. download July 2026 passt from passt.top
  2. compile it
  3. replace older pasta/passt with the july 2026 version
  4. stop running containers and try to restart

Describe the results you received

Error: pasta failed with exit code 1:

Couldn't open network namespace /run/user/1000/netns/netns-67ad4bef-95e8-f72e-ec61-eb62abf96884: Permission denied

Describe the results you expected

I expected the container to start up normally

podman info output

host:
  arch: amd64
  buildahVersion: 1.44.0
  cdiSpecDirs:
  - /etc/cdi
  - /var/run/cdi
  cgroupControllers:
  - cpu
  - memory
  - pids
  cgroupManager: systemd
  cgroupVersion: v2
  conmon:
    package: conmon_2.2.1_amd64
    path: /usr/bin/conmon
    version: 'conmon version 2.2.1, commit: c8cc2c4db27531bd4e084ce7857f73cd21ee639d'
  cpuUtilization:
    idlePercent: 86.73
    systemPercent: 0.83
    userPercent: 12.44
  cpus: 16
  databaseBackend: sqlite
  distribution:
    codename: resolute
    distribution: ubuntu
    version: "26.04"
  eventLogger: journald
  freeLocks: 2001
  hostname: computer1
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  kernel: 7.0.0-28-generic
  linkmode: dynamic
  logDriver: journald
  memFree: 947548160
  memTotal: 65607675904
  networkBackend: netavark
  networkBackendInfo:
    backend: netavark
    defaultNetwork: podman
    dns:
      package: aardvark-dns_2.0.0+20260711-1~resolute_amd64
      path: /usr/lib/podman/aardvark-dns
      version: aardvark-dns 2.0.0
    package: netavark_2.0.0+20260711-1~resolute_amd64
    path: /usr/lib/podman/netavark
    version: netavark 2.0.0
  ociRuntime:
    name: crun
    package: crun_1.28+20260711-1~resolute_amd64
    path: /usr/bin/crun
    version: |-
      crun version 1.28
      commit: 54f16ffbefcd022bf032af768b5c5ce075c18bfc
      rundir: /run/user/1000/crun
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +JSON_C
  os: linux
  pasta:
    executable: /usr/bin/pasta
    package: passt_0.0~git20260120.386b5f5-1_amd64
    version: |
      pasta 0.0~git20260120.386b5f5-1
      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/user/1000/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: true
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: false
  swapFree: 8589824000
  swapTotal: 8589930496
  uptime: 19h 10m 52.00s (Approximately 0.79 days)
  variant: ""
plugins:
  authorization: null
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  - ipvlan
  volume:
  - local
registries: {}
store:
  containerStore:
    number: 41
    paused: 0
    running: 41
    stopped: 0
  graphDriverName: overlay
  graphOptions:
    overlay.ignore_chown_errors: "false"
    overlay.mountopt: nodev
  graphRoot: /home/redacted/.local/share/containers/storage
  graphRootAllocated: 3934171283456
  graphRootUsed: 1580354760704
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Supports shifting: "false"
    Supports volatile: "true"
    Using metacopy: "false"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 53
  runRoot: /run/user/1000/containers
  transientStore: false
  volumePath: /home/rickined/.local/share/containers/storage/volumes
version:
  APIVersion: 6.0.1
  Built: 1783574843
  BuiltTime: Thu Jul  9 01:27:23 2026
  GitCommit: ""
  GoVersion: go1.25.6
  Os: linux
  OsArch: linux/amd64
  Version: 6.0.1

Podman in a container

No

Privileged Or Rootless

Rootless

Upstream Latest Release

Yes

Additional environment details

run on ubuntu 26.04 on a irl computer

Additional information

I suspect the fd-passing/isolation handling changed somewhere in passt between these two snapshots and I'm flagging this mainly so the Podman and passt maintainers can coordinate on compatibility, since I don't have the bandwidth to bisect the exact commit myself. Passt wasn't letting me create a new bugzilla account (I think this is ironically a bugzilla bug) so I haven't been able to notify them.

upmcplanetracker avatar Jul 21 '26 17:07 upmcplanetracker

In general this kind of issue is a security policy problem not a really related to podman. In most cases it is selinux causes issues for us but because you use ubuntu it is apparmor there. My guess would be that same security rules have changed and/or need to be adapted there. I do not believe this has anything to do with podman itself.

It would help how you actually build the deb, are you actually including the up to date profiles from the repo https://passt.top/passt/tree/contrib/apparmor and make sure they work.

cc @sbrivio-rh

I suspect the fd-passing/isolation handling changed somewhere in passt between these two snapshots and I'm flagging this mainly so the Podman and passt maintainers can coordinate on compatibility, since I don't have the bandwidth to bisect the exact commit myself. Passt wasn't letting me create a new bugzilla account (I think this is ironically a bugzilla bug) so I haven't been able to notify them.

The emails require manual confirmation by the maintainers to avoid the spam problem I think

Luap99 avatar Jul 21 '26 17:07 Luap99

Hi. Sorry to leave that out. I downloaded the .tar directly, then

sudo checkinstall \
  --pkgname=passt \
  --pkgversion="0.0~git20260716.090d739" \
  --pkgrelease="1" \
  --provides="passt,pasta" \
  --requires="libc6" \
  --nodoc \
  --default \
  make install prefix=/usr

using the checkinstall in the Ubuntu 26.04 repo.

If I missed a step and this is user error that would make me feel better. I saw the error thrown by pasta upon starting a container and saw recent commits to fd in passt both before and after passt 2026-07-16 was released and I figured it was a breaking change between pasta/passt and podman 6.0.1.

But user error with AppArmor would be a much welcomed explanation.

Ty.

On Tue, Jul 21, 2026, 1:48 PM Paul Holzinger @.***> wrote:

Luap99 left a comment (podman-container-tools/podman#29246) https://github.com/podman-container-tools/podman/issues/29246#issuecomment-5037231185

In general this kind of issue is a security policy problem not a really related to podman. In most cases it is selinux causes issues for us but because you use ubuntu it is apparmor there. My guess would be that same security rules have changed and/or need to be adapted there. I do not believe this has anything to do with podman itself.

It would help how you actually build the deb, are you actually including the up to date profiles from the repo https://passt.top/passt/tree/contrib/apparmor and make sure they work.

cc @sbrivio-rh https://github.com/sbrivio-rh

I suspect the fd-passing/isolation handling changed somewhere in passt between these two snapshots and I'm flagging this mainly so the Podman and passt maintainers can coordinate on compatibility, since I don't have the bandwidth to bisect the exact commit myself. Passt wasn't letting me create a new bugzilla account (I think this is ironically a bugzilla bug) so I haven't been able to notify them.

The emails require manual confirmation by the maintainers to avoid the spam problem I think

— Reply to this email directly, view it on GitHub https://github.com/podman-container-tools/podman/issues/29246?email_source=notifications&email_token=BUKFPFHXLIFUPKNP4OGS5DL5F6UFZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTG4ZDGMJRHA22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5037231185, or unsubscribe https://github.com/notifications/unsubscribe-auth/BUKFPFASA3PMPH7UKVHCFKD5F6UFZAVCNFSNUABFKJSXA33TNF2G64TZHMYTAOJRGQ2TKNJTHNEXG43VMU5TIOJUGEZDQNJWHE22C5QC . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/BUKFPFGFJPFL5JYIZCRRJJ35F6UFZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTG4ZDGMJRHA22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/BUKFPFDMQKBECXOFCE374PD5F6UFZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTG4ZDGMJRHA22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>

upmcplanetracker avatar Jul 21 '26 17:07 upmcplanetracker

User error! @Luap99

I added app armor, passt starts. Sorry to be a PITA. I got it fixed. will close . Appreciate your help. hopefulyl either when I screw i up again or if someone else makes the same rookie mistake they will see this issue and not bug you guys.

upmcplanetracker avatar Jul 21 '26 18:07 upmcplanetracker

Passt wasn't letting me create a new bugzilla account (I think this is ironically a bugzilla bug) so I haven't been able to notify them.

Hey, sorry, but you sent two requests with 104 seconds between them. I approved them within 13 minutes, I wouldn't exactly call "not letting me create an account". It's not a Bugzilla issue by the way, as @Luap99 pointed out: I need to approve those manually because we have LLM "agents" desperately trying to register accounts there.

Anyway, should anybody land here in the future hitting the same issue: full details at https://bugs.passt.top/show_bug.cgi?id=218#c1.

sbrivio-rh avatar Jul 21 '26 18:07 sbrivio-rh

yeah, that was my fault too. I think the emails got hung up between you guys and my gmail accounts and it took about 5 min or more to arrive. And then of course ended up in their spam filter. I was able to create the bugzilla account. I appreciate the help.

On Tue, Jul 21, 2026 at 2:22 PM sbrivio-rh @.***> wrote:

sbrivio-rh left a comment (podman-container-tools/podman#29246) https://github.com/podman-container-tools/podman/issues/29246#issuecomment-5037561510

Passt wasn't letting me create a new bugzilla account (I think this is ironically a bugzilla bug) so I haven't been able to notify them.

Hey, sorry, but you sent two requests with 104 seconds between them. I approved them within 13 minutes, I wouldn't exactly call "not letting me create an account". It's not a Bugzilla issue by the way, as @Luap99 https://github.com/Luap99 pointed out: I need to approve those manually because we have LLM "agents" desperately trying to register accounts there.

Anyway, should anybody land here in the future hitting the same issue: full details at https://bugs.passt.top/show_bug.cgi?id=218#c1.

— Reply to this email directly, view it on GitHub https://github.com/podman-container-tools/podman/issues/29246?email_source=notifications&email_token=BUKFPFEIF5CJZVFH2SZFCWL5F6YHDA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTG42TMMJVGEYKM4TFMFZW63VMON2GC5DFL5RWQYLOM5S2KZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5037561510, or unsubscribe https://github.com/notifications/unsubscribe-auth/BUKFPFDNJS2NNNIUJ25GXED5F6YHDAVCNFSNUABFKJSXA33TNF2G64TZHMYTAOJRGQ2TKNJTHNEXG43VMU5TIOJUGEZDQNJWHE22C5QC . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/BUKFPFFW3MKAKQ5JKC6OKNT5F6YHDA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTG42TMMJVGEYKM4TFMFZW63VMON2GC5DFL5RWQYLOM5S2KZLWMVXHJKTGN5XXIZLSL5UW64Y and Android https://github.com/notifications/mobile/android/BUKFPFAXVR3UNGIRNOPIQS35F6YHDA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTG42TMMJVGEYKM4TFMFZW63VMON2GC5DFL5RWQYLOM5S2KZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI. Download it today! You are receiving this because you modified the open/close state.Message ID: @.***>

upmcplanetracker avatar Jul 21 '26 18:07 upmcplanetracker