[Pkg-freeipa-devel] Bug#910478: Please drop usage of SYSTEMCTL_SKIP_REDIRECT from init scripts

Michael Biebl biebl at debian.org
Sat Oct 6 23:37:46 BST 2018


Source: dogtag-pki
Version: 10.6.6-2
Severity: important

The dogtag-pki packages uses SYSTEMCTL_SKIP_REDIRECT in various init
scripts:

- dogtag-pki_10.6.6-2/base/tps-client/etc/init.d/pki-tpsd
# Avoid using 'systemctl' for now
SYSTEMCTL_SKIP_REDIRECT=1
export SYSTEMCTL_SKIP_REDIRECT

- dogtag-pki_10.6.6-2/debian/pki-server.pki-tomcatd.init

# Avoid using 'systemctl' for now
SYSTEMCTL_SKIP_REDIRECT=1
export SYSTEMCTL_SKIP_REDIRECT


- dogtag-pki_10.6.6-2/debian/pki-server.pki-tomcatd.init

# Avoid using 'systemctl' for now
SYSTEMCTL_SKIP_REDIRECT=1
export SYSTEMCTL_SKIP_REDIRECT


- dogtag-pki_10.6.6-2/base/tps-client/etc/init.d/pki-tpsd

# Avoid using 'systemctl' for now
SYSTEMCTL_SKIP_REDIRECT=1
export SYSTEMCTL_SKIP_REDIRECT



This is an internal implementation detail of the systemd LSB hook and
should not be set in init scripts directly. The name of the variable is
not guaranteed to be stable as well.

Skipping the redirection can have undesired side effects.
If you boot with systemd, then restart the service via
/etc/init.d/$service restart, the process will no longer be
tracked properly.

Therefor please drop the usage of SYSTEMCTL_SKIP_REDIRECT from the init
scripts.

Regards,
Michael

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (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



More information about the Pkg-freeipa-devel mailing list