[Pdns-users] rec_control dump-cache not dumping to file

Eric Raymond ecraymond at gmail.com
Tue Apr 24 21:04:07 UTC 2018


Yep, that was it.  I didn't notice that it was using setuid/setgid with
privatetmp.

Thanks for the help!

On Tue, Apr 24, 2018 at 1:01 PM bert hubert <bert.hubert at powerdns.com>
wrote:

> On Tue, Apr 24, 2018 at 07:37:11PM +0000, Eric Raymond wrote:
> > I have found this to be not working in 4.1.X releases, and havent tried
> in
> > any other branch.
> > Perhaps I am misunderstanding the command, but it appears to do nothing
> >
> > # rec_control dump-cache /tmp/cache-dump
> > dumped 1970 records
>
> Thank you for your detailed reporting! You are likely running into a
> systemd
> feature called private tmp. Your dump is somewhere in /var/run, which is
> the
> private tmp directory for the recursor process.
>
> https://www.freedesktop.org/software/systemd/man/systemd.exec.html has
> details.
>
> Good luck!
>
>         Bert
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20180424/869b4c40/attachment.html>


More information about the Pdns-users mailing list