Package: dhcp3-server-ldap Version: 3.1.3-2 Severity: important Tags: patch User: [email protected] UserTags: debian-edu User: [email protected] Usertags: incorrect-dependency
When the DNS server is on the local machine and the dhcp server uses a DNS name to find the LDAP server, dhcpd currently fail to start at boot because it starts before the DNS server is operational. Because of this, I believe the dhcp3-server init.d script should be changed to have an optional dependency on the $named virtual boot facility, to ensure that it starts after local DNS servers are started. I discovered this using the Debian Edu main-server profile, where the several services are running on the same machine. Here is a patch to implement this change. diff -ur dhcp3-3.1.3/debian/dhcp3-server.init.d dhcp3-3.1.3-pere/debian/dhcp3-server.init.d --- dhcp3-3.1.3/debian/dhcp3-server.init.d 2010-06-15 23:26:18.000000000 +0200 +++ dhcp3-3.1.3-pere/debian/dhcp3-server.init.d 2010-06-15 23:27:01.000000000 +0200 @@ -7,7 +7,7 @@ # Provides: dhcp3-server # Required-Start: $remote_fs $network $syslog # Required-Stop: $remote_fs $network $syslog -# Should-Start: $local_fs slapd +# Should-Start: $local_fs slapd $named # Should-Stop: $local_fs slapd # Default-Start: 2 3 4 5 # Default-Stop: 1 Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

