Skip to content

pdns-server fails to start - can't find an exiting file #13643

Answered by rgacogne
Brownowl asked this question in Q&A

You must be logged in to vote

I'm pretty sure this is because we set PrivateTmp in our systemd unit file, for security reasons: https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#PrivateTmp=

That means PowerDNS doesn't see the global /tmp and /var/tmp/ directories but their own private ones. I would suggest moving your cdb file to a different location. If you cannot do that, you can set PrivateTmp=false via systemctl edit --full pdns.

Replies: 1 comment 2 replies

You must be logged in to vote
2 replies
@Brownowl

@Habbie

Answer selected by Habbie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants