Package:  dhcp3
Version:  3.1.0-4
Severity: serious
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

With the introduction of the dhcp3-server-ldap package, it is
important to start it after slapd, to make sure the LDAP server is
available when the dhcpd configuration is to be extracted from LDAP.
This is not currently reflected in the init.d dependency header, and
this results in the wrong boot order when dependency based boot
sequencing is enabled.

The attached patch solve the issue.

I set severity to serious, as this bug break the main-server
installation in Debian Edu.  We are using dependency based boot
sequencing and have the LDAP and LDAP-based DHCP server on the same
machine.

diff -u dhcp3-3.1.0/debian/dhcp3-server.init.d 
dhcp3-3.1.0/debian/dhcp3-server.init.d
--- dhcp3-3.1.0/debian/dhcp3-server.init.d
+++ dhcp3-3.1.0/debian/dhcp3-server.init.d
@@ -7,8 +7,8 @@
 # Provides:          dhcp3-server
 # Required-Start:    $remote_fs $network $syslog
 # Required-Stop:     $remote_fs $network $syslog
-# Should-Start:      $local_fs
-# Should-Stop:       $local_fs
+# Should-Start:      $local_fs slapd
+# Should-Stop:       $local_fs slapd
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: DHCP server

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to