Closed
Description
When you create a container that has a network alias containing a space, a malformed aardvark-dns config will be created that will cause it to crash.
❯ podman --version
podman version 5.1.1
❯ /usr/lib/podman/netavark --version
netavark 1.11.0
❯ /usr/lib/podman/aardvark-dns --version
aardvark-dns 1.11.0
Steps to reproduce:
podman network create test
to create a network with dns enabledpodman run --rm -it --network test debian
to create a working container. You can see aaardvark-dns
process running inhtop
for example and dns requests in the container are workingpodman run --rm -it --network test --network-alias "test alias" debian
in a second terminal. If you observe theaardvark-dns
process usinghtop
it will disappear when the container is started and dns in both containers is now broken
Contents of /run/user/1000/containers/networks/aardvark-dns/test
:
10.89.1.1
8965e883bfc09b4ce60728c66bc85ed62fa589218174dbbecca1a00dcf0eafc7 10.89.1.4 eloquent_keller,8965e883bfc0
f8bd2db9d504b780bd9b5567e2823ce99db12d207cf468d8614d36a9ba242231 10.89.1.5 goofy_wilbur,test alias,f8bd2db9d504
Metadata
Metadata
Assignees
Labels
No labels