libnss-ldap

Xen list at xenhideout.nl
Sat May 13 13:11:40 UTC 2017


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.




More information about the Ubuntu-devel-discuss mailing list