Package: pdns-server Version: 2.9.22-4 Severity: important Tags: patch User: [email protected] Usertags: missing-dependency
I discovered this issue when enabling concurrent booting (CONCURRENCY=makefile) in Debian Edu based on Squeeze. The pdns service try to start before the LDAP server is operational, and pdns in Debian Edu is configured to fetch DNS info from LDAP. This causes pdns to fail to start. The fix is to ask it to start after slapd when slapd is available. This patch implement the change: diff --git a/init.d/pdns b/init.d/pdns index 5d8b142..5f26556 100755 --- a/init.d/pdns +++ b/init.d/pdns @@ -3,6 +3,8 @@ # Provides: pdns # Required-Start: $network $remote_fs $syslog # Required-Stop: $network $remote_fs $syslog +# Should-Start: slapd +# Should-Stop: slapd # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: PDNS is a versatile high performance authoritative nameserv Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

