[debhelper-devel] Bug#862334: dh_installinit automatically add not running content

Jörg Frings-Fürst debian at jff-webhosting.net
Thu May 11 12:46:48 UTC 2017


Package: debhelper
Version: 10.2.5
Severity: grave

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

saneutils don't use a prerm script.

dh_installinit add once with the content:

[quote]
#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/saned" ] && [ "$1" = remove ]; then
        invoke-rc.d saned stop || saned_eh
fi
# End automatically added section
[/quote]

saned_eh is defined as a function in the postinst script.




- -- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  autotools-dev            20161112.1
ii  binutils                 2.28-4
ii  dh-autoreconf            14
ii  dh-strip-nondeterminism  0.032-1
ii  dpkg                     1.18.23
ii  dpkg-dev                 1.18.23
ii  file                     1:5.30-1
ii  libdpkg-perl             1.18.23
ii  man-db                   2.7.6.1-2
ii  perl                     5.24.1-2
ii  po-debconf               1.0.20

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201608

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEY+AHX8jUOrs1qzDuCfifPIyh0l0FAlkUXTgACgkQCfifPIyh
0l1VFg//TcvF3F7psox3UaS/5ioje/S4QJ148KE1X/tNFabCY+stxrquLtQorW8L
/y9VxoXjqECZVSoJEmMKI4UAUYxMljA/Or+s/TLxD6RIVtFn0ueAcR2087sUrK17
Mc8VUa9YueBleV7N2VoA33+yTd9dBriJLg8Mj0clbpIa0964hCog/oXmqCdEwV5t
XdNSq8VL8WjJh7Jeymi+7GqGST2oJnPFfbpFmHMd4y64FkEGOTDqSiZqoFjN5EUS
oAydgOjzdXasOIDYflog5AxRemVR6B922dr4czyvX+6GYG9IILb3+uIGEpVdFaN+
fch+ordJYZot6gfurHozZbPv230M6xDE17bUCkcPyZmIHuOXMtqPhzB6tP/B3s8p
moFVZLwigMuCVI3xbAOIujECOPRBesmQONM353C/D5/6XLWGgwF7baT4h+9OQEBS
X/8TKKpuUnNeEMHjUi+LhKDZpeaFpcyHp0Xhz+1j3AbcVXuMo6dKhgHAHSavNWGI
6EDAnEBGOH2LG60LGgPt5ANvdd0srXmuClUVIQ+NFl1bvO5ij5MZPeQkHAPvawuB
18Q4ELlnxdOOUe4nzTpkfOroIRP6aXdMWMJri8km2CW+94Sy6MunBYTdIsHdlw42
vYv50gHs1sJBjr5TEC6C6ZeZgPKH/gC0vwYVPF3/5DPS9awxPKU=
=+e/A
-----END PGP SIGNATURE-----




More information about the debhelper-devel mailing list