Package: debhelper
Version: 6.0.8
Severity: critical
Justification: causes serious data loss


dh_installinit adds code to a package's .prerm script to stop the daemon
at the beginning of the upgrade, and then adds code to restart it in the
.postinst script.

this results in important system daemons (including bind9 and rsyslog)
being stopped for the entire duration of the upgrade - which could be a
very long time in a dist-upgrade.

in the case of bind9, that means no DNS for the entire network it
is serving, which effectively breaks most network activity for that
network.

in the case of rsyslog, that means no logging for the host and for any
other hosts/devices which use it as a syslog host - causing serious loss
of irreplacable data.

in the case of other daemons, whatever service they are providing 
is shut down for the duration of the upgrade.


dh_installinit's default behaviour should be to not stop daemons,
but to issue a reload, restart, or force-restart in the .postinst.

better yet, have no default and force the package maintainer using
dh_installinit to use their brains and their knowledge of their package
to decide which is the most appropriate behaviour for their particular
daemon. exit with an error message if dh_installinit is used without
specifying stop & reload/restart behaviour for prerm and postinst.



see bug numbers 453765 (bind) and 471051 (rsyslog) for more info.



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils            2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii  dpkg-dev            1.14.16.6            package building tools for Debian
ii  file                4.23-2               Determines file type using "magic"
ii  html2text           1.3.2a-3             An advanced HTML to text converter
ii  man-db              2.5.1-3              on-line manual pager
ii  perl                5.8.8-12             Larry Wall's Practical Extraction 
ii  po-debconf          1.0.12.1             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]

Reply via email to