Xen schreef op 13-05-2017 14:07:

--- /etc/init.d/libnss-ldap.old 2017-05-13 15:03:05.867280470 +0200
+++ /etc/init.d/libnss-ldap     2017-05-13 14:51:05.326809059 +0200
@@ -6,4 +6,4 @@
 # Required-Stop:     mountall.sh
-# Default-Start:
-# Default-Stop:      0 1 6
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 6
 # Short-Description: Updates /etc/ldap.conf

This is the only modification that is required for the service to be run.

The only reason it didn't work is because there were no start runlevels and the runlevel you are running it under (normally 5) needs to match that of the init script or the start action won't be executed.

In other words you need this to be installed in /etc/init.d/rc5.d or it won't run.

I hope this is sufficient.

This is the only patch that is required.

The postinst script will be regenerated on top of this and doesn't need to be changed.

--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to