<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>On Mon, Apr 10, 2023, at 17:52, Reinhard Tartler wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div dir="ltr"><div class="qt-gmail_default" style="font-family:"courier new", monospace;">Control: tag -1 + unreproducible moreinfo<br></div><div class="qt-gmail_default" style="font-family:"courier new", monospace;"><br></div><div class="qt-gmail_default" style="font-family:"courier new", monospace;">Hi Kevin,<br></div><div class="qt-gmail_default" style="font-family:"courier new", monospace;"><br></div><div class="qt-gmail_default" style="font-family:"courier new", monospace;">great to hear from you in this space!<br></div></div><div><br></div><div class="qt-gmail_quote"><div dir="ltr" class="qt-gmail_attr">On Thu, Feb 9, 2023 at 8:36 AM Kevin P. Fleming <<a href="mailto:kevin@km6g.us">kevin@km6g.us</a>> wrote:<br></div><blockquote class="qt-gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div>Package: podman<br></div><div> Version: 4.3.1+ds1-5+b1<br></div><div> Severity: important<br></div><div> <br></div><div> Dear Maintainer,<br></div><div> <br></div><div> I am seeing DNS resolution fail when using 'podman build' but succeed when<br></div><div> using 'podman run', with a Dockerfile which contains the same commands I run<br></div><div> manually in the 'podman run'-launched shell.<br></div><div> <br></div><div> Dockerfile<br></div><div> ----------<br></div><div> <span class="font" style="font-family:"courier new", monospace;"></span>FROM alpine:3.10<br></div><div> RUN cat /etc/resolv.conf<br></div><div> RUN apk add tar<br></div></blockquote><div> <br></div><div class="qt-gmail_default" style="font-family:"courier new", monospace;"><div>Unfortunately, I can't reproduce. Please help me to reproduce this issue. Also, maybe upstream has an idea, can you please report this issue at <a href="https://github.com/containers/podman/issues/new/choose">https://github.com/containers/podman/issues/new/choose</a>. In any case, here is the output that I get:<br></div><div><br></div><div>siretart@x1:/tmp/dnstest$ cat >> Containerfile<br></div><div>FROM alpine:3.10<br></div><div>RUN cat /etc/resolv.conf<br></div><div>RUN apk add tar<br></div><div>siretart@x1:/tmp/dnstest$ cat Containerfile<br></div><div>FROM alpine:3.10<br></div><div>RUN cat /etc/resolv.conf<br></div><div>RUN apk add tar<br></div><div>siretart@x1:/tmp/dnstest$ podman build .<br></div><div>STEP 1/3: FROM alpine:3.10<br></div><div>Resolved "alpine" as an alias (/etc/containers/registries.conf.d/shortnames.conf)<br></div><div>Trying to pull <a href="http://docker.io/library/alpine:3.10.">docker.io/library/alpine:3.10.</a>..<br></div><div>Getting image source signatures<br></div><div>Copying blob 396c31837116 done  <br></div><div>Copying config e7b300aee9 done  <br></div><div>Writing manifest to image destination<br></div><div>Storing signatures<br></div><div>STEP 2/3: RUN cat /etc/resolv.conf<br></div><div>search <a href="http://int.tauware.de">int.tauware.de</a><br></div><div>nameserver 10.0.2.3<br></div><div>nameserver 192.168.88.3<br></div><div>--> 2ce59772eaf<br></div><div>STEP 3/3: RUN apk add tar<br></div><div>fetch <a href="http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz">http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz</a><br></div><div>fetch <a href="http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz">http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz</a><br></div><div>(1/1) Installing tar (1.32-r1)<br></div><div>Executing busybox-1.30.1-r5.trigger<br></div><div>OK: 6 MiB in 15 packages<br></div><div>COMMIT<br></div><div>--> 7c1bfd9e030<br></div><div>7c1bfd9e030f07b05cc9427a97c0bc5ff73bca5436bce389ad81da1a64f64a11<br></div></div></div></div></blockquote><div><br></div><div>Confirmed; I can no longer reproduce the problem. Something somewhere in the stack got fixed :-)<br></div><div><br></div></body></html>