Hello,

I'm one of the upstream maintainers of bootchart2.

Il 26/11/2012 07:42, Steve Langasek ha scritto:
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.

Ouch, from what i understand from systemd they are supposed to stop /sbin/bootchartd after 20 seconds of active state. Do we have that kind of control with sysvinit? other than calling sleep :)

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.

Well, i don't what the original bootchart init script is doing but bootchart2 on sysvinit is not supposed to require it thus we do not ship it :). /sbin/bootchartd should stop itself when a process set in EXIT_PROC from /etc/bootchartd.conf is found. Of course you can call /sbin/bootchard stop manually.

So imho an init script is not that useful, even more if a start action will actually stop the collector.

Maybe we should conflict with bootchart because one of its script is affecting us though.

Said that your feedback is much appreciated, I'd really like to have bootchart2 be the first choice when doing boot profiling instead of the old bootchart.

thanks,
riccardo


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

Reply via email to