<div dir="ltr">Yep, that was it.  I didn't notice that it was using setuid/setgid with privatetmp.  <div><br></div><div>Thanks for the help!<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Apr 24, 2018 at 1:01 PM bert hubert <<a href="mailto:bert.hubert@powerdns.com">bert.hubert@powerdns.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Apr 24, 2018 at 07:37:11PM +0000, Eric Raymond wrote:<br>
> I have found this to be not working in 4.1.X releases, and havent tried in<br>
> any other branch.<br>
> Perhaps I am misunderstanding the command, but it appears to do nothing<br>
> <br>
> # rec_control dump-cache /tmp/cache-dump<br>
> dumped 1970 records<br>
<br>
Thank you for your detailed reporting! You are likely running into a systemd<br>
feature called private tmp. Your dump is somewhere in /var/run, which is the<br>
private tmp directory for the recursor process.<br>
<br>
<a href="https://www.freedesktop.org/software/systemd/man/systemd.exec.html" rel="noreferrer" target="_blank">https://www.freedesktop.org/software/systemd/man/systemd.exec.html</a> has<br>
details.<br>
<br>
Good luck!<br>
<br>
        Bert<br>
</blockquote></div></div></div>