[Build-common-hackers] Bug#386970: cdbs: dh_installinit called too early (before dh_python)

Erich Schubert erich at debian.org
Mon Sep 11 11:34:31 UTC 2006

Package: cdbs
Version: 0.4.46
Severity: important

dh_installinit is called too early, which results in a bad postinst
script for my "pyroman" package, for example. Other packages might have
similar effects.

The resulting postinst script will
1. invoke-rc.d pyroman start
2. update-python-modules to byte-compile pyroman

while it should be the other way round. I guess a couple of other cases
like this will exist.
IMHO dh_installinit should be called last usually, since it will
actually start the service in many cases.

(It's not serious with pyroman, since it's set to disabled by default)

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux
Locale: LANG=de_DE.UTF-8 at euro, LC_CTYPE=de_DE.UTF-8 at euro (charmap=UTF-8)

cdbs depends on no packages.

Versions of packages cdbs recommends:
ii  autotools-dev                 20060702.1 Update infrastructure for config.{
ii  debhelper              helper programs for debian/rules

-- no debconf information

More information about the Build-common-hackers mailing list