Package: sysvinit-utils
Version: 2.88dsf-59.11
Severity: normal
File: /lib/init/init-d-script
Hi!
The skeleton file using init-d-script contains:
'''
#!/bin/sh
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
'''
This is such an ugly construct that so far I did not want to use
init-d-script for any of my init scripts.
Assuming the above comment still holds true, please consider providing a
C implementation which can be used directly as shebang, like
#!/lib/init/init-d-script.
Michael
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages sysvinit-utils depends on:
ii init-system-helpers 1.55
ii libc6 2.27-8
ii util-linux 2.32.1-0.2
sysvinit-utils recommends no packages.
sysvinit-utils suggests no packages.
-- no debconf information