Package: sudo-ldap
Version: 1.8.21p2-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install due
to insserv rejecting the script header. Some notes are
available from at https://wiki.debian.org/LSBInitScripts

This was observed on a long-grown upgrade test:

  squeeze -> wheezy -> jessie -> stretch -> buster

>From the attached log (scroll to the bottom...):

  Setting up sudo-ldap (1.8.21p2-1) ...
  Installing new version of config file /etc/init.d/sudo-ldap ...
  insserv: script sudo-ldap: service sudo-ldap already provided!
  insserv: exiting now!
  update-rc.d: error: insserv rejected the script header
  dpkg: error processing package sudo-ldap (--configure):
   subprocess installed post-installation script returned error exit status 1

We had a similar problem in the past ... #719755
Looks like the fix for #870456 "enabled" this bug again.

IIRC sudo-ldap at some point in the past used /etc/init.d/sudo
instead of /etc/init.d/sudo-ldap ...

There is even a commit I pushed some years ago in branch anbe/master:
08a7d37 that should probably fix this, it just needs to use current
version numbers ... "1.8.21p2-2~" for the next upload.
(not sure if any of the other commits in that branch are still relevant)


cheers,

Andreas

Attachment: sudo-ldap_1.8.21p2-1.log.gz
Description: application/gzip

Reply via email to