Bug#478662: dhcp3: Missing slapd dependency in init.d LSB header
[José Rodríguez] > So, Petter, you're supposing that the ldap server and the dhcpd > server are in the same machine. But that does not need to be the > case so, what will happen after adding slapd to the "Should-Start" > section, if slapd is not installed in the same machine? If slapd isn't installed, the soft dependency will be ignored. The soft dependency only take effect if a script providing slapd is installed. This is opposed to the 'Required-start' header, which is a hard dependency, and a missing hard dependency will make the dhcpd init.d script refuse to install when dependency based boot is enabled. PS: The reporter do not get a copy of email only sent to [EMAIL PROTECTED] I discovered your comment when I checked the status of the bug. :) Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#478662: dhcp3: Missing slapd dependency in init.d LSB header
So, Petter, you're supposing that the ldap server and the dhcpd server are in the same machine. But that does not need to be the case so, what will happen after adding slapd to the "Should-Start" section, if slapd is not installed in the same machine? Regards. José L. signature.asc Description: Esta parte del mensaje está firmada digitalmente
Bug#478662: dhcp3: Missing slapd dependency in init.d LSB header
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]