[debhelper-devel] Bug#822669: debhelper: dh_installinit add autoscript for non-existent init script when service file exists

Raphaël Hertzog hertzog at debian.org
Tue Apr 26 09:13:37 UTC 2016


Package: debhelper
Version: 9.20160403
Severity: normal
User: devel at kali.org
Usertags: origin-kali

If a package contains a debian/foo.service file that gets installed by
dh_installinit (but no debian/foo.init) then the generated maintainer
scripts will still contain the update-rc.d invocations that are strictly
useless since /etc/init.d/foo does not exist.

Furthermore the presence of those snippets lead to lintian
warnings/errors:
W: hostapd-wpe: init.d-script-not-marked-as-conffile etc/init.d/hostapd-wpe
E: hostapd-wpe: init.d-script-not-included-in-package etc/init.d/hostapd-wpe

Cheers,

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (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            20150820.1
ii  binutils                 2.26-8
ii  dh-autoreconf            12
ii  dh-strip-nondeterminism  0.016-1
ii  dpkg                     1.18.4
ii  dpkg-dev                 1.18.4
ii  file                     1:5.25-2
ii  libdpkg-perl             1.18.4
ii  man-db                   2.7.5-1
ii  perl                     5.22.1-10
ii  po-debconf               1.0.19

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201605

-- no debconf information




More information about the debhelper-devel mailing list