Package: debhelper
Version: 7.3.12
Severity: normal

The ‘postinst’ fragment generated by ‘dh_installinit’ causes a problem
for packages whose init scripts require loadable modules installed
later, e.g. by the ‘dh_perl’, ‘dh_pycentral’, or ‘dh_pysupport’ code.

This results in problems like Bug#510457 and Bug#519623, because while
the *installation* of the init script is successful, the *execution*
of it (to start the service) fails if attempted before the loadable
modules are available.

In my opinion, the job of ‘dh_installinit’ should be limited to only
installing the init script; and starting the service (and hence likely
running programs installed later by the package scripts) should be a
separate, later step.

Ideally, this would be fixed by:

* having ‘dh_installinit’ in the same default sequence position, but
  only installing (not executing) the init script at that time; and

* having a separate step for doing the ‘/etc/init.d/foo start’,
  generated by a separate debhelper command; and

* having that service start step default to a point in the sequence
  later than anything like ‘dh_perl’ or the Python helpers.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.30-1-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils              2.19.51.20090723-1 The GNU assembler, linker and bina
ii  dpkg-dev              1.15.3.1           Debian package development tools
ii  file                  5.03-1             Determines file type using "magic"
ii  html2text             1.3.2a-14          advanced HTML to text converter
ii  man-db                2.5.6-1            on-line manual pager
ii  perl                  5.10.0-25          Larry Wall's Practical Extraction 
ii  perl-base             5.10.0-25          minimal Perl system
ii  po-debconf            1.0.16             tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.48       tool that converts source archives

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to