Package: debhelper
Version: 5.0.14
Severity: important
exim4 builds multiple binary packages. Only one of them, exim4-base,
has an init script. This init script is installed as /etc/init.d/exim4.
Since a few days, dh_installinit incorporates code to invoke
/etc/init.d/exim4 into all binary packages:
[58/[EMAIL PROTECTED] sid-exim4]:~/exim4/build-area/exim4-4.60$ dh_clean -k
[59/[EMAIL PROTECTED] sid-exim4]:~/exim4/build-area/exim4-4.60$ ls
debian/*.postinst.debhelper
ls: debian/*.postinst.debhelper: No such file or directory
[60/[EMAIL PROTECTED] sid-exim4]:~/exim4/build-area/exim4-4.60$ ls -al
debian/*.init
-rw-rw-r-- 1 mh mh 3.8K Jan 11 15:39 debian/exim4-base.init
[61/[EMAIL PROTECTED] sid-exim4]:~/exim4/build-area/exim4-4.60$ dh_installinit
eximon4 --noscripts --name=exim4
[62/[EMAIL PROTECTED] sid-exim4]:~/exim4/build-area/exim4-4.60$ ls
debian/*.postinst.debhelper
debian/exim4-base.postinst.debhelper
debian/exim4-config.postinst.debhelper
debian/exim4-daemon-custom.postinst.debhelper
debian/exim4-daemon-heavy.postinst.debhelper
debian/exim4-daemon-light.postinst.debhelper
debian/exim4.postinst.debhelper
debian/eximon4.postinst.debhelper
[63/[EMAIL PROTECTED] sid-exim4]:~/exim4/build-area/exim4-4.60$ cat
debian/eximon4.postinst.debhelper
# Automatically added by dh_installinit
if [ -x "/etc/init.d/exim4" ]; then
update-rc.d exim4 defaults >/dev/null
if [ -x "which invoke-rc.d 2>/dev/null" ]; then
invoke-rc.d exim4 start || exit 0
else
/etc/init.d/exim4 start || exit 0
fi
fi
# End automatically added section
[64/[EMAIL PROTECTED] sid-exim4]:~/exim4/build-area/exim4-4.60$
To me, this looks like been broken by the fix for #140881.
Please change back dh_installinit to the old behavior (only adding the
code to invoke the init script to the package that actually contains
it), or document a way to only do this for a single package.
Greetings
Marc
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages debhelper depends on:
ii binutils 2.16.1cvs20051214-1 The GNU assembler, linker and bina
ii coreutils [fileutils 5.93-5 The GNU core utilities
ii debconf-utils 1.4.67 debconf utilities
ii dpkg-dev 1.13.11 package building tools for Debian
ii file 4.15-2 Determines file type using "magic"
ii html2text 1.3.2a-3 An advanced HTML to text converter
ii perl 5.8.7-10 Larry Wall's Practical Extraction
ii po-debconf 0.9.2 manage translated Debconf template
debhelper recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]