<div dir="ltr">Hi Petre Thanks for your help!<div><br></div><div>For the first question, it's clear now for me. that's OK now.</div><div><br></div><div>For the 2nd question, i clean all, and doing the following:</div><div><ul><li>sudo ln -s /usr/bin/podman /usr/local/bin/docker</li><li>git clone <a href="https://github.com/PowerDNS/pdns.git">https://github.com/PowerDNS/pdns.git</a></li><li>cd /home/pdns/pdns ## pdns is my podman user</li><li><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:13.6px">git submodule init</span></li><li><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:13.6px">git submodule update</span></li><li>[pdns@dmz-bastion pdns]$ git log</li></ul></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>commit 5e02e2567dc57eaa3b916246e9998236a5a5496d (HEAD -> master, origin/master, origin/HEAD)</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>Merge: 40e77dd84 12e06ae78</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>Author: Otto Moerbeek <<a href="mailto:otto.moerbeek@open-xchange.com">otto.moerbeek@open-xchange.com</a>></i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>Date:   Thu Mar 4 11:33:47 2021 +0100</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>    Merge pull request #10010 from omoerbeek/check-time_t-size</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>    Check sizeof(time_t) to be at least 8</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>commit 40e77dd8408e0d9cfe2e26d0284453381edbe23a (tag: dnsdist-1.6.0-alpha2)</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>Merge: 71266386f 0fa0d7c23</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>Author: Pieter Lexis <<a href="mailto:pieter.lexis@powerdns.com">pieter.lexis@powerdns.com</a>></i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>Date:   Wed Mar 3 22:14:44 2021 +0100</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>    Merge pull request #10116 from pieterlexis/lmdb-docs</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>    docs: improve rendering of lmdb page</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>commit 71266386f0c826df8f1eb2305ece6cbf476c17c4</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>Merge: 0d48cda43 f23ed0a6c</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>Author: Remi Gacogne <<a href="mailto:remi.gacogne@powerdns.com">remi.gacogne@powerdns.com</a>></i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>Date:   Wed Mar 3 17:22:25 2021 +0100</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>    Merge pull request #10133 from rgacogne/ddist-cache-shards-purge-expired</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>    dnsdist: Clean up expired entries from all the packet cache's shards</i></div></blockquote></blockquote><div><br></div><div><ul><li>[pdns@dmz-bastion pdns]$ ./builder/build.sh -v centos-8-amd64</li></ul></div><div>============</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>make[4]: Entering directory '/root/rpmbuild/BUILD/pdns-0.0.20925.0.master.g5e02e2567d/modules/bindbackend'</i></div><div><i>/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../.. -pthread  -I../../pdns -DLDAP_DEPRECATED  -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g -O2 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o bindbackend2.lo bindbackend2.cc</i></div><div><i>/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../.. -pthread  -I../../pdns -DLDAP_DEPRECATED  -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g -O2 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o binddnssec.lo binddnssec.cc</i></div><div><i>libtool: compile:  g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -pthread -I../../pdns -DLDAP_DEPRECATED -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g -O2 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c bindbackend2.cc  -fPIC -DPIC -o .libs/bindbackend2.o</i></div><div><i>libtool: compile:  g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -pthread -I../../pdns -DLDAP_DEPRECATED -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g -O2 -Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c binddnssec.cc  -fPIC -DPIC -o .libs/binddnssec.o</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>g++: fatal error: Killed signal terminated program cc1plus</i></div><div><i>compilation terminated.</i></div><div><i>make[4]: *** [Makefile:640: binddnssec.lo] Error 1</i></div><div><i>make[4]: *** Waiting for unfinished jobs....</i></div><div><i>{standard input}: Assembler messages:</i></div><div><i>{standard input}:1050069: Warning: end of file not at end of a line; newline inserted</i></div><div><i>{standard input}:1051051: Error: unknown pseudo-op: `.s'</i></div><div><i>g++: fatal error: Killed signal terminated program cc1plus</i></div><div><i>compilation terminated.</i></div><div><i>make[4]: Leaving directory '/root/rpmbuild/BUILD/pdns-0.0.20925.0.master.g5e02e2567d/modules/bindbackend'</i></div><div><i>make[4]: *** [Makefile:640: bindbackend2.lo] Error 1</i></div><div><i>make[3]: Leaving directory '/root/rpmbuild/BUILD/pdns-0.0.20925.0.master.g5e02e2567d/modules/bindbackend'</i></div><div><i>make[3]: *** [Makefile:531: all] Error 2</i></div><div><i>make[2]: *** [Makefile:529: all-recursive] Error 1</i></div><div><i>make[2]: Leaving directory '/root/rpmbuild/BUILD/pdns-0.0.20925.0.master.g5e02e2567d/modules'</i></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>make[1]: *** [Makefile:580: all-recursive] Error 1</i></div><div><i>make[1]: Leaving directory '/root/rpmbuild/BUILD/pdns-0.0.20925.0.master.g5e02e2567d'</i></div><div><i>make: *** [Makefile:512: all] Error 2</i></div><div><i>error: Bad exit status from /var/tmp/rpm-tmp.6VRvWQ (%build)</i></div><div><i><br></i></div><div><i><br></i></div><div><i><b>RPM build errors:</b></i></div><div><i>    <b>Bad exit status from /var/tmp/rpm-tmp.6VRvWQ (%build)</b></i></div><div><i><b>+ rm -rf -- /tmp/build-specs.parsed.sPjfUG</b></i></div><div><i><b>Error: error building at STEP "RUN touch /var/lib/rpm/* && if $(grep -q 'release 7' /etc/redhat-release); then       scl enable devtoolset-8 -- builder/helpers/build-specs.sh builder-support/specs/pdns.spec;     else       builder/helpers/build-specs.sh builder-support/specs/pdns.spec;     fi": error while running runtime: exit status 1</b></i></div><div><i><b>ERROR: Build failed</b></i></div><div><i><b>[pdns@dmz-bastion pdns]$</b></i></div></blockquote><div><br></div><div>==================================================</div><div><br></div><div><ul><li>[pdns@dmz-bastion pdns]$ cat /etc/redhat-release</li></ul></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>CentOS Linux release 8.3.2011</div><div><br></div></blockquote></blockquote>I don't know what going wrong ?<div><br></div><div>Thanks</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 4 mars 2021 à 11:35, Peter van Dijk via Pdns-users <<a href="mailto:pdns-users@mailman.powerdns.com">pdns-users@mailman.powerdns.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
On Wed, 2021-03-03 at 19:21 +0100, Cheikh Dieng via Pdns-users wrote:<br>
> Hello Peter,<br>
> Thanks for you response.<br>
> For the 1rs Question: I split it in many step.<br>
> I have to install to powerdns with ldap backend (plugin). What are the options during the images podman built processus to configure this backend ?<br>
<br>
I recommend not doing it during build.<br>
<br>
You have several options:<br>
(1) once it is built, make a second image, starting with FROM powerdns-<br>
auth, and add your config there<br>
(2) mount your config into /etc/powerdns in the runtime container<br>
(3) learn about the (undocumented) templating in the startup script<br>
<br>
> <br>
> For the 2nd question:<br>
> I'm using :<br>
> commit c923c0f7e1b0dd7e00f1f8c736c9b376910241c0 (HEAD -> master, origin/master, origin/HEAD)<br>
> Merge: b472d9c1d 67b02e399<br>
> Author: Otto Moerbeek <<a href="mailto:otto.moerbeek@open-xchange.com" target="_blank">otto.moerbeek@open-xchange.com</a>><br>
> Date:   Wed Feb 24 17:39:20 2021 +0100<br>
> <br>
>     Merge pull request #10111 from omoerbeek/rec-drop-from-lua<br>
> <br>
>     rec: Handle policy (if needed) after postresolve and document the hooks better<br>
<br>
This commit also builds for me without problems. Did you change<br>
anything?<br>
<br>
Kind regards,<br>
-- <br>
Peter van Dijk<br>
PowerDNS.COM BV - <a href="https://www.powerdns.com/" rel="noreferrer" target="_blank">https://www.powerdns.com/</a><br>
<br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</blockquote></div>