Hey Colin,

Colin Guthrie [2014-11-18 14:40 +0000]:
> In Mageia we do something similar but we shell out to a script instead.
> This allows us to replace the implementation without rebuilding all
> packages.

Debian does the same, there's a "deb-systemd-helper" wrapper called in
the postinst scripts which then does that.

> Longer term, I want to move this to filetriggers. We have been using
> filetriggers for a while via an RPM patch and it looks like some kind of
> similar functionality will be (at long last) making it to upstream RPM
> in the nearish future. I believe .deb supports something like this?

Yes, it has for many years. We've used it for ldconfig, rebuilding the
initrd, updating gsettings schemas and the like, but not so far for
units (and not sure if we actually should, given that not all units
*should* be enabled by default -- hence we want to keep this knowledge
in the package only).

> But ultimately this is just a "recommendation" and there is nothing
> stopping you being a rebel :D

Heh; well, we deliberately wanted to start discussing it here first,
as none of this is really very distro specific. After all, one of
systemd's aims is to make all the various distros somewhat more alike.
I. e. if that "minimal /etc/" proposal is refused, we just go on and
live with the clutter.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to