[systemd-devel] [RFC] Preset Files
lennart at poettering.net
Wed Jul 6 07:04:51 PDT 2011
On Wed, 06.07.11 08:58, Andreas Jaeger (aj at suse.com) wrote:
> On Tuesday, July 05, 2011 21:21:03 Lennart Poettering wrote:
> > Heya,
> > many of you probably saw Frederic's rpm macros suggested here. This got
> > Kay and me thinking about implementing something like "presets" in
> > systemd, and before we go and implement that we'd like to hear your
> > opinions on it. This would go hand in hand with Frederic's macros, and
> > both would be included in the upstream systemd package.
> > So what's a "preset" supposed to be?
> > Distributions have different policies on enabling services by
> > default. On Fedora services should default to off, with a small number of
> > exceptions. On Debian OTOH all services are enabled by default. Fedora
> openSUSE has a similar policy as Fedora: Only a few are enabled, the default
> is off.
> I understood the proposal that you can implement this or other
Yes, you'd just drop a stub file in which contains nothing but "disable *".
> This also allows to ship different policies in - perhaps - conflicting
> packages, e.g. a (specific) server or a desktop preset.
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel