[systemd-devel] [RFC] Preset Files

Lennart Poettering lennart at poettering.net
Wed Jul 6 07:09:10 PDT 2011


On Wed, 06.07.11 10:23, Michal Schmidt (mschmidt at redhat.com) wrote:

> 
> 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

Yupp, it would.

> > - 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.

Yupp, something like this. My hope though is that at least for part of
these preset files we can find existing RPMs we can stick them
into. Maybe fedora-release could ship the most basic preset file or
so. We'll see.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list