Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-136775

podman run : add username to /etc/passwd if --userns=keep-id failed with netlink: Unexpected sequence number (0 != 34)

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.8
    • podman
    • None
    • Moderate
    • rhel-container-tools
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • ppc64le
    • None

      What were you trying to do that didn't work?

      Run podman system test “podman run : add username to /etc/passwd if --userns=keep-id” under rootless user. Test failed to start container with following error:

      [+0021s] # [20:36:07.688063638] $ podman run --rm --privileged --userns=keep-id quay.io/libpod/testimage:20241011 id -un
      [+0021s] # [20:36:08.679053700] Error: pasta failed with exit code 1:
      [+0021s] # netlink: Unexpected sequence number (0 != 34)
      

      CI job link: https://datawarehouse.cki-project.org/kcidb/tests/21454084#result-76821382

      What is the impact of this issue to you?

      Test failed

      Please provide the package NVR for which the bug is seen:

      podman-5.6.0-9.el9_7.ppc64le
      passt-0^20251209.gc3f1ba7-1.el9.ppc64le

      How reproducible is this bug?:

      Only once in the CI job. Can not reproduce it manually

      Steps to reproduce

      1. Run the test with bats
        bats -t -f "podman run : add username to /etc/passwd if --userns=keep-id" /usr/share/podman/test/system/

      Expected results

      Test pass

      Actual results

      Test failed

              mheon@redhat.com Matt Heon
              ypu@redhat.com Yiqiao Pu
              Container Runtime Eng Bot Container Runtime Eng Bot
              Container Runtime Bugs Bot Container Runtime Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: