[systemd-devel] [RFC] Preset Files

Michal Schmidt mschmidt at redhat.com
Wed Jul 6 01:23:22 PDT 2011


On Tue, 5 Jul 2011 21:21:03 +0200 Lennart Poettering wrote:
> This is information that should not be encoded in the packages, but
> in some external database. And this is what "presets" are supposed to
> be.

Hooray, this will solve bug
https://bugzilla.redhat.com/show_bug.cgi?id=630174

> - systemd would not ship any preset file by default (and probably not
>   even the directory), this is left to distributions. Most likely the
>   distributions would ship a preset file in some spin-specific RPM,
>   which would conflict with the the RPMs for other spins.

If I understand this correctly, in Fedora there could be packages
server-preset, desktop-preset, kde-preset, ...  all with "Provides:
systemd-preset". And the systemd-units package (or the systemd package
itself if/when they get merged) will have "Requires: systemd-preset" to
ensure a spin's preset file is installed before the services.

Michal


More information about the systemd-devel mailing list