[systemd-devel] [RFC] Preset Files

Kay Sievers kay.sievers at vrfy.org
Tue Jul 5 15:51:40 PDT 2011


On Wed, Jul 6, 2011 at 00:42, Lennart Poettering <lennart at poettering.net> wrote:
> On Wed, 06.07.11 00:26, Kay Sievers (kay.sievers at vrfy.org) wrote:
>
>> >> If "systemctl preset" is passed with unit names, those units would
>> >> be enable/disabled as listed in the preset file. If no argument is
>> >> passed all units would be reset to the preset defaults. (another
>> >> long-sought feature...)
>>
>> We will require an argument. There will no 'change all services'
>> logic.
>
> Uh?
>
> Actually, I do want a way how people can reset all service enable states
> to what the vendor intended. And that should be "systemctl preset"
> without arguments I believe.

That sounds pretty scary, it would usually just enable all installed
services. This probably causes trouble with things like syslogs and
login-managers that might be installed but only one of them should be
enabled at the time. Not sure how that should really work.

Kay


More information about the systemd-devel mailing list