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

[Podman][WSL2][RHEL-10] nftable support missing in WSL2 causes Podman unable to run

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

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-10.1
    • podman
    • No
    • Moderate
    • 1
    • rhel-container-tools
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • RUN 268
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      Install podman in RHEL on WSL2 and run any container, it fails with below message:

      # podman run -it quay.io/podman/hello
      internal:0:0-0: Error: Could not process rule: No such file or directory
      internal:0:0-0: Error: Could not process rule: No such file or directory
      Error: netavark: nftables error: nft did not return successfully while applying ruleset 

      The Microsoft kernel doesn't seem to have nftables support built-in.

      # lsmod|grep nf
      #
      # modprobe nf_table
      # systemctl start nftables
      # systemctl is-active nftables
      active
      # nft list ruleset
      # 

      This doesn't stumble Podman on Ubuntu in WSL2 though.

      What is the impact of this issue to you?

      Unable to run Podman containers

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

      podman-5.4.0-1.el10.x86_64

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Optionally switch from cgroupv1 to v2
      2. Start any Podman containers
      3.  

      Expected results

      Actual results

              pholzing@redhat.com Paul Holzinger
              litian@redhat.com Li Tian
              Container Runtime Eng Bot Container Runtime Eng Bot
              Container Runtime Bugs Bot Container Runtime Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: