Package: bootchart2
Version: 0.14.4-1.1
Severity: serious
Justification: Policy 9.11

The bootchart2 package currently ships systemd unit files, but no init
script.  This means the behavior is different when booting with systemd than
when booting with sysvinit.  This appears to be a violation of Policy 9.11:

  [A]ny package integrating with other init systems must also be
  backwards-compatible with `sysvinit' by providing a SysV-style init
  script with the same name as and equivalent functionality to any
  init-specific job, as this is the only start-up configuration method
  guaranteed to be supported by all init implementations.

In practice, my experience is that if I install bootchart, then install
bootchart2 without purging bootchart, and boot with systemd, systemd gets
very confused and leaves the bootchart daemon running indefinitely.  In
contrast, if I boot with sysvinit, the init script in /etc/rc2.d/ does a
perfectly adequate job of stopping bootchartd at the right point.  So the
lack of sysvinit integration looks to actually hurt integration with systemd
too.

BTW, Ubuntu uses an initramfs hook instead of a boot argument as the means
of starting bootchart (for bootchart 1).  Have you considered including such
a method in the package?  It seems obvious to me that we would want
bootcharting of the initramfs to be included by default.  I'm happy to work
out a patch for this if that would be of use.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to