The system startup scripts require that anything they start will run as a daemon, but the default for pdns_flags (empty) is not forcing this. In a default config your system won't boot past pdnsd... Compare this to the default for sendmail_flags which explicitly sets -bd to force daemon mode. The proper default for pdns_flags is "--daemon --guardian". This will also make good on the promise that the docs make about running in guardian mode automatically when starting from system startup scripts.
Maintainer CC'd
PowerDNS Auth 3.4.2 is around the corner, so I will fix this issue together with the port update to 3.4.2.
Created attachment 152476 [details] Fix rc.d script (which hangs at boot) and add lua 5.2 support
Created attachment 152477 [details] powerdns-3.4.1_1 buildlog
Created attachment 152481 [details] Fix rc.d script (which hangs at boot) and add lua 5.2 support Added a new patch, which really fixes the lua 5.2 support. It broke with the previous patch now that lua 5.3 exists in the ports
Created attachment 152879 [details] powerdns-3.4.2 buildlog
Created attachment 152880 [details] Patch to update dns/powerdns to 3.4.2
PowerDNS 3.4.2 was released, so I've updated the buildlog and patch. Port changes: - Lua 5.2 and 5.3 support, - Added the ZeroMQ connector option to the remote backend, - Changed the rc.d script so it will launch powerdns with --guardian=yes and --daemon=yes (fixing hang at boot), - Move GeoIP and LMDB backends out of the experimental group (no longer experimental according to http://doc.powerdns.com) PowerDNS changelog: https://doc.powerdns.com/md/changelog/#powerdns-authoritative-server-342
A commit references this bug: Author: brd Date: Thu Feb 12 02:21:04 UTC 2015 New revision: 378861 URL: https://svnweb.freebsd.org/changeset/ports/378861 Log: - Update dns/powerdns to 3.4.2 - Pet portlint PR: 196889 Submitted by: Ralf van der Enden <tremere@cainites.net> Approved by: bdrewery Changes: head/dns/powerdns/Makefile head/dns/powerdns/distinfo head/dns/powerdns/files/pdns.in head/dns/powerdns/pkg-plist
Committed, thanks!