Bugzilla – Bug 1201989
Building a container image with "podman" leaves empty /etc/resolv.conf behind
Last modified: 2022-08-03 05:52:13 UTC
Due to https://bugzilla.suse.com/show_bug.cgi?id=1201894, I switched isv:Rancher:Elemental to use "podman" instead of "docker" as the BuildEngine. While the images built fine, DNS resolution within the booted image failed. Turns out that "podman" leaves an empty "/etc/resolv.conf" behind which won't be touched by the network stack. Removing /etc/resolv.conf and restarting the network restored DNS resolution. As bsc#1201894 is fixed meanwhile, I switch this project back to building with docker. Still I consider this a bug within the "build with podman" setup in OBS.
I am not responsible for how OBS uses podman, and I'm not able to recreate this problem with regular podman in Tumbleweed