Users may experience the following error when running Podman or Docker:
Error: pasta failed with exit code 1: Failed to open() /dev/net/tun: No such device Failed to set up tap device in namespace
This error is caused by our recent security mitigation that blocks the tun kernel module to protect against a Linux vulnerability. Once RHEL releases an official patch, this issue will be fully resolved.
Workaround
The workaround is to run your Podman commands with the --network=host flag to share the host machine's network stack directly:
podman run --network=host ...
This option has been applied to the default Podman configuration to enforce host networking automatically.
Note: If your container uses default port 80, you must change it to an unprivileged port (greater than 1024), as binding to port 80 is currently restricted on this system.