[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#727708: systemd and upstart, a view from a daemon Debian maintainer



On Sat, Dec 28, 2013 at 03:56:49PM -0800, Russ Allbery wrote:
> > Also, the approach to the systemd integration introduces a new runtime
> > package dependency on "init-system-helpers", which despite its
> > generic-sounding name actually contains only helpers for systemd and is
> > maintained in Debian by the systemd maintainers.

> The maintainers of the package have openly offered any other useful
> helpers for any other init systems a home in that package.  I think it's
> more due to an accident of history and existing usage that the bit of
> necessary supporting glue for upstart ended up in lsb-base instead of
> init-system-helpers.

I acknowledge the maintainers' offer in the spirit it was intended, but I
see no reason at all that upstart needs to add any glue code to the
init-system-helpers package.  The only outstanding integrations we would
want to make are to have upstart automatically divert init scripts without
the need for maintainers to edit each init script individually; and that's a
change that should be made in the upstart package itself, not in a generic
helper package.

I also think that the extensive maintainer script changes required for any
upstart-using package are quite deplorable (whether or not they're wrapped
in a helper script + debhelper snippet).  I understand the reasons why a
trigger is unsuitable given that the systemd package may not be installed,
but I am of the firm opinion (having had it beaten into me by years of
dealing with the resulting bugs) that the best maintainer script is the
non-existent one, and I think this added maintainer script complexity is a
move in the wrong direction.  If Debian adopts systemd as the default, I
would hope to see these maintainer script snippets disappear in favor of a
trigger, or rolled into the update-rc.d script which is already being
called.

-- 
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/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: