Am 03.04.2017 um 11:59 schrieb Ondřej Surý:
> Control: reassign -1 init-system-helpers
> Control: affects -1 opendnssec-signer opendnssec-enforcer
> Control: severity -1 serious
> 
> Hi,
> 
> I am quite certain this hasn't been broken prior to stretch as it was
> working before, so I am bumping the severity to serious as I haven't
> been able to find anything in the policy that would limit the length of
> the init script names to 15 characters.
> 
> If there's an error in the opendnssec, please reassign back.

It pretty certainly is an issue in start-stop-daemon which can be
avoided by not using --name.

This should either be assigned to sysvinit-utils (which provides
init-d-script), to dpkg (which provides start-stop-daemon) or back to
opendnssec to not use init-d-script and --name.

Read the man page of start-stop-daemon:


>        -n, --name process-name
>               Check for processes with the name process-name. The 
> process-name is usually the process filename, but it could have been changed 
> by
>               the process itself. Note: on most systems this information is 
> retrieved from the process comm name from the kernel, which tends  to
>               have a relatively short length limit (assuming more than 15 
> characters is non-portable).

See also /lib/init/init-d-script

> do_start_cmd() {
>        start-stop-daemon --start --quiet ${PIDFILE:+--pidfile ${PIDFILE}} \
>            $START_ARGS \
>            --startas $DAEMON --name $NAME --exec $DAEMON --test > /dev/null \
>            || return 1
>        start-stop-daemon --start --quiet ${PIDFILE:+--pidfile ${PIDFILE}} \
>            $START_ARGS \
>            --startas $DAEMON --name $NAME --exec $DAEMON -- $DAEMON_ARGS \
>            || return 2



Not a bug invoke-rc.d and thus init-system-helpers.

The original bug reporter was using sysvinit. I'm pretty sure it doesn't
happen under systemd, as you provide a native service file.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to