sysext: provide a cmdline kill switch for the sysext/confext merging logic
While it is possible to disable sysext/confext merging in the main system
with 'systemctl disable', sysext/confext are always merged in the initrd,
both by systemd-{sys,conf}ext-initrd.service and by
systemd-{sys,conf}ext-sysroot.service and especially the latter can be
unexpected. Provide kernel cmdline options systemd.{sys,conf}ext=0 and
rd.systemd.{sys,conf}ext=0 covering all options.
This commit is contained in:
@@ -829,6 +829,22 @@
|
||||
<xi:include href="version-info.xml" xpointer="v261"/></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><varname>systemd.sysext=</varname></term>
|
||||
<term><varname>systemd.confext=</varname></term>
|
||||
<term><varname>rd.systemd.sysext=</varname></term>
|
||||
<term><varname>rd.systemd.confext=</varname></term>
|
||||
|
||||
<listitem><para>Take boolean arguments, default to on. Control whether system and configuration
|
||||
extensions for the initrd (<varname>rd.systemd.sysext=</varname>, <varname>rd.systemd.confext=</varname>)
|
||||
and for the main system (<varname>systemd.sysext=</varname>, <varname>systemd.confext=</varname>) are
|
||||
merged automatically on boot. See
|
||||
<citerefentry><refentrytitle>systemd-sysext</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
||||
for details.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v261"/></listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user