On Mon, 26 Nov 2012 18:34:27 +0100, Michael Biebl wrote:

> Hi,
> 
> > 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.
> 
> systemd doesn't get "very confused". The bug here is, that bootchart2
> ships systemd unit files, but doesn't actually enable them.
> The systemd unit responsible for stopping the bootchart daemon is called
> bootchart-done.service.
> Until we ship the necessary helper tool, systemd units need to be
> enabled manually via systemctl enable <foo.service>

Am I supposed to run that in postinst/prerm (disable)? Or should I just
document it in README.Debian? Or is it common knowledge among systemd users?

> David, as for this particular case, when you ship a sysv init script,
> please consider naming it after the native systemd service file (i.e
> bootchart-done).

ACK.

Thanks,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

Reply via email to