Bug#909063: apacheds: package installation fails due to incorrect apacheds.service unit

Dominik George natureshadow at debian.org
Sat Oct 27 14:44:21 BST 2018


Control: tags -1 + patch
Control: user debian-release at lists.debian.org
Control: usertags -1 + bsp-2018-10-de-karlsruhe

Hi,

> Sep 17 18:42:47 ldap01 systemd[1]: [/lib/systemd/system/apacheds.service:11] Executable path is not absolute, ignoring: ${JAVA_HOME}/bin/java ${JAVA_OPTS}              -Dapacheds.controls=${ADS_CONTROLS}     …}/
> Sep 17 18:42:47 ldap01 systemd[1]: apacheds.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.

The error here is a bit misleading (in systemd in buster, it becomes more
clear). The ExecStart command itself is not allowed to contain variables;
the solution is to wrap the call in a /bin/sh -c exec call.

Patch against git master is attached. This happened during the BSP in
Karlsruhe, so I will NMU to DELAYED/5 tomorrow before the BSP ends if you do
not object, and also ask the release team about inclusion in the next point
release.

Cheers,
Nik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-command-in-systemd-service-file.patch
Type: text/x-diff
Size: 2122 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20181027/364521f6/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 902 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20181027/364521f6/attachment.sig>


More information about the pkg-java-maintainers mailing list