Package: debhelper
Version: 9.20130630
Severity: normal
File: /usr/bin/dh_installinit


For upstart-only jobs, i.e. one  without a corresponding SysV init script,
dh_installinit nonetheless generates the relevant maintainer scripts
code for the SysV init script like e.g. in udev.postinst:

# Automatically added by dh_installinit
if [ -x "/etc/init.d/udev-finish" ]; then
        update-rc.d udev-finish start 37 S . >/dev/null || exit $?
fi
# End automatically added section

That superfluous code then triggers the following lintian warnings and
errors:

init.d-script-not-included-in-package (error)
init.d-script-not-marked-as-conffile (warning)

I noticed this behaviour when looking at the udev [1] package.

Cheers,
Michael

[1] http://lintian.debian.org/maintainer/[email protected]#udev

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils    2.23.52.20130620-1
ii  dpkg        1.16.10
ii  dpkg-dev    1.16.10
ii  file        1:5.14-2
ii  man-db      2.6.5-2
ii  perl        5.14.2-21
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  0.62

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to