This wasn't exactly the section of postinst that was causing the issue. I have a workaround for it in debian/rules: override_dh_installinit: dh_installinit --name dirsrv-admin -- defaults 15 85 vs override_dh_installinit: dh_installinit --name dirsrv-admin --no-start -- defaults 15 85
And a PPA that contains this exact workaround. https://launchpad.net/~tilmanbaumann/+archive/ubuntu/389-admin-fix-1652476/ If actually setting up the service at install time is not the plan, then this would I guess be the ticket. There is a adm.conf in the debian directory. But it doesn't seem to be used. Incomplete implementation? ** Tags added: 4010 -- You received this bug notification because you are a member of Ubuntu 389 Directory Server, which is subscribed to 389-admin in Ubuntu. https://bugs.launchpad.net/bugs/1652476 Title: package 389-admin 1.1.43-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Status in 389-admin package in Ubuntu: Confirmed Bug description: package 389-admin 1.1.43-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 ProblemType: Package DistroRelease: Ubuntu 16.10 Package: 389-admin 1.1.43-1 ProcVersionSignature: Ubuntu 4.8.0-32.34-generic 4.8.11 Uname: Linux 4.8.0-32-generic x86_64 ApportVersion: 2.20.3-0ubuntu8.2 AptOrdering: libpam-cgfs:amd64: Install NULL: ConfigurePending Architecture: amd64 Date: Sun Dec 25 03:21:17 2016 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2016-11-26 (28 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) RelatedPackageVersions: dpkg 1.18.10ubuntu1 apt 1.3.3 SourcePackage: 389-admin Title: package 389-admin 1.1.43-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/389-admin/+bug/1652476/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-389-directory-server Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-389-directory-server More help : https://help.launchpad.net/ListHelp

