mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
Warn admins about danger of overriding sysupdate.d
Overriding settings of systemd-sysupdate is quite dangerous - OS vendor might make a change that is incompatible with the settings in /etc, and unlike most other config incompatibilities this has the potential to accidentally wipe the wrong partition during an update. Not good. So let's warn admins.
This commit is contained in:
parent
19bac76b1a
commit
6f6d29290e
@ -76,6 +76,17 @@
|
||||
and have corresponding override directories for administrators (i.e.
|
||||
<filename>/etc/sysupdate.<replaceable>component</replaceable>.d/</filename>, etc).</para>
|
||||
|
||||
<para>System Administrators must take <emphasis>extreme</emphasis> care when overriding any transfer or
|
||||
optional feature definitions, other than to turn on or off features!
|
||||
As with any configuration defined in <filename>/usr</filename> and overridden in
|
||||
<filename>/etc</filename>, an update to the host system can break the administrator overrides.
|
||||
However, <command>systemd-sysupdate</command> is uniquely destructive: a broken configuration could
|
||||
prevent the system from updating (best case), or completely destroy an installation by wiping the wrong
|
||||
partition.
|
||||
Distributions must take care to avoid breaking systems where overrides exist only to turn on or off
|
||||
optional features; supporting (or choosing not to) everything else is up to distribution policy.
|
||||
<emphasis>You have been warned.</emphasis></para>
|
||||
|
||||
<para>Each <filename>*.transfer</filename> file contains three sections: [Transfer], [Source] and [Target].</para>
|
||||
</refsect1>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user