2012-06-21 23:35:52 +00:00
|
|
|
<?xml version='1.0'?> <!--*-nxml-*-->
|
2019-03-14 13:40:58 +00:00
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
2023-12-25 14:48:33 +00:00
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
2020-11-09 04:23:58 +00:00
|
|
|
<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
|
2012-06-21 23:35:52 +00:00
|
|
|
|
2023-08-22 16:52:02 +00:00
|
|
|
<refentry id="kernel-command-line" xmlns:xi="http://www.w3.org/2001/XInclude">
|
2012-06-21 23:35:52 +00:00
|
|
|
|
2015-02-04 02:14:13 +00:00
|
|
|
<refentryinfo>
|
|
|
|
<title>kernel-command-line</title>
|
|
|
|
<productname>systemd</productname>
|
|
|
|
</refentryinfo>
|
|
|
|
|
|
|
|
<refmeta>
|
|
|
|
<refentrytitle>kernel-command-line</refentrytitle>
|
|
|
|
<manvolnum>7</manvolnum>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>kernel-command-line</refname>
|
|
|
|
<refpurpose>Kernel command line parameters</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<para><filename>/proc/cmdline</filename></para>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
|
man: "the initial RAM disk" → "the initrd"
In many places we spelled out the phrase behind "initrd" in full, but this
isn't terribly useful. In fact, no "RAM disk" is used, so emphasizing this
is just confusing to the reader. Let's just say "initrd" everywhere, people
understand what this refers to, and that it's in fact an initramfs image.
Also, s/i.e./e.g./ where appropriate.
Also, don't say "in RAM", when in fact it's virtual memory, whose pages
may or may not be loaded in page frames in RAM, and we have no control over
this.
Also, add <filename></filename> and other minor cleanups.
2022-09-15 12:43:59 +00:00
|
|
|
<para>The kernel, the programs running in the initrd and in the host system may be configured at boot via
|
|
|
|
kernel command line arguments. In addition, various systemd tools look at the EFI variable
|
2019-08-01 15:16:39 +00:00
|
|
|
<literal>SystemdOptions</literal> (if available). Both sources are combined, but the kernel command line
|
|
|
|
has higher priority. Please note that <emphasis>the EFI variable is only used by systemd tools, and is
|
|
|
|
ignored by the kernel and other user space tools</emphasis>, so it is not a replacement for the kernel
|
|
|
|
command line.</para>
|
2015-02-04 02:14:13 +00:00
|
|
|
|
|
|
|
<para>For command line parameters understood by the kernel, please
|
2017-05-05 01:29:59 +00:00
|
|
|
see
|
2022-07-04 14:26:30 +00:00
|
|
|
<ulink url="https://docs.kernel.org/admin-guide/kernel-parameters.html"><filename>kernel-parameters.html</filename></ulink>
|
2015-02-04 02:14:13 +00:00
|
|
|
and
|
|
|
|
<citerefentry project='man-pages'><refentrytitle>bootparam</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
|
|
|
|
|
2024-01-19 13:21:24 +00:00
|
|
|
<para>For command line parameters understood by the initrd, see the documentation of the specific initrd
|
|
|
|
implementation of your installation.</para>
|
2015-02-04 02:14:13 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Core OS Command Line Arguments</title>
|
|
|
|
|
|
|
|
<variablelist class='kernel-commandline-options'>
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.unit=</varname></term>
|
|
|
|
<term><varname>rd.systemd.unit=</varname></term>
|
2017-02-20 01:02:12 +00:00
|
|
|
<term><varname>systemd.dump_core</varname></term>
|
|
|
|
<term><varname>systemd.crash_chvt</varname></term>
|
|
|
|
<term><varname>systemd.crash_shell</varname></term>
|
|
|
|
<term><varname>systemd.crash_reboot</varname></term>
|
|
|
|
<term><varname>systemd.confirm_spawn</varname></term>
|
2017-03-20 12:10:43 +00:00
|
|
|
<term><varname>systemd.service_watchdogs</varname></term>
|
2017-02-20 01:02:12 +00:00
|
|
|
<term><varname>systemd.show_status</varname></term>
|
2019-06-06 17:22:20 +00:00
|
|
|
<term><varname>systemd.status_unit_format=</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
<term><varname>systemd.log_target=</varname></term>
|
|
|
|
<term><varname>systemd.log_level=</varname></term>
|
|
|
|
<term><varname>systemd.log_location=</varname></term>
|
2017-02-20 01:02:12 +00:00
|
|
|
<term><varname>systemd.log_color</varname></term>
|
2023-04-20 08:31:37 +00:00
|
|
|
<term><varname>systemd.log_ratelimit_kmsg</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
<term><varname>systemd.default_standard_output=</varname></term>
|
|
|
|
<term><varname>systemd.default_standard_error=</varname></term>
|
|
|
|
<term><varname>systemd.setenv=</varname></term>
|
2015-07-05 22:00:59 +00:00
|
|
|
<term><varname>systemd.machine_id=</varname></term>
|
2022-04-22 13:41:53 +00:00
|
|
|
<term><varname>systemd.set_credential=</varname></term>
|
2023-07-04 09:46:37 +00:00
|
|
|
<term><varname>systemd.set_credential_binary=</varname></term>
|
2022-04-22 13:41:53 +00:00
|
|
|
<term><varname>systemd.import_credentials=</varname></term>
|
2022-12-12 22:10:18 +00:00
|
|
|
<term><varname>systemd.reload_limit_interval_sec=</varname></term>
|
|
|
|
<term><varname>systemd.reload_limit_burst=</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
<listitem>
|
|
|
|
<para>Parameters understood by the system and service
|
|
|
|
manager to control system behavior. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.mask=</varname></term>
|
|
|
|
<term><varname>systemd.wants=</varname></term>
|
util-lib: various improvements to kernel command line parsing
This improves kernel command line parsing in a number of ways:
a) An kernel option "foo_bar=xyz" is now considered equivalent to
"foo-bar-xyz", i.e. when comparing kernel command line option names "-" and
"_" are now considered equivalent (this only applies to the option names
though, not the option values!). Most of our kernel options used "-" as word
separator in kernel command line options so far, but some used "_". With
this change, which was a source of confusion for users (well, at least of
one user: myself, I just couldn't remember that it's systemd.debug-shell,
not systemd.debug_shell). Considering both as equivalent is inspired how
modern kernel module loading normalizes all kernel module names to use
underscores now too.
b) All options previously using a dash for separating words in kernel command
line options now use an underscore instead, in all documentation and in
code. Since a) has been implemented this should not create any compatibility
problems, but normalizes our documentation and our code.
c) All kernel command line options which take booleans (or are boolean-like)
have been reworked so that "foobar" (without argument) is now equivalent to
"foobar=1" (but not "foobar=0"), thus normalizing the handling of our
boolean arguments. Specifically this means systemd.debug-shell and
systemd_debug_shell=1 are now entirely equivalent.
d) All kernel command line options which take an argument, and where no
argument is specified will now result in a log message. e.g. passing just
"systemd.unit" will no result in a complain that it needs an argument. This
is implemented in the proc_cmdline_missing_value() function.
e) There's now a call proc_cmdline_get_bool() similar to proc_cmdline_get_key()
that parses booleans (following the logic explained in c).
f) The proc_cmdline_parse() call's boolean argument has been replaced by a new
flags argument that takes a common set of bits with proc_cmdline_get_key().
g) All kernel command line APIs now begin with the same "proc_cmdline_" prefix.
h) There are now tests for much of this. Yay!
2016-12-12 17:29:15 +00:00
|
|
|
<term><varname>systemd.debug_shell</varname></term>
|
2024-02-08 09:54:54 +00:00
|
|
|
<term><varname>systemd.default_debug_tty=</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
<listitem>
|
|
|
|
<para>Additional parameters understood by
|
|
|
|
<citerefentry><refentrytitle>systemd-debug-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
|
|
|
|
to mask or start specific units at boot, or invoke a debug
|
|
|
|
shell on tty9.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v215"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2018-11-16 11:15:50 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.run=</varname></term>
|
|
|
|
<term><varname>systemd.run_success_action=</varname></term>
|
|
|
|
<term><varname>systemd.run_failure_action=</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Additional parameters understood by
|
|
|
|
<citerefentry><refentrytitle>systemd-run-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>, to
|
|
|
|
run a command line specified on the kernel command line as system service after booting up.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v240"/>
|
2018-11-16 11:15:50 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2018-10-08 14:09:59 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.early_core_pattern=</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>During early boot, the generation of core dump files is disabled until a core dump handler (if any)
|
2019-12-24 12:50:04 +00:00
|
|
|
takes over. This parameter allows specifying an absolute path where core dump files should be stored until
|
2018-10-08 14:09:59 +00:00
|
|
|
a handler is installed. The path should be absolute and may contain specifiers, see
|
2020-06-25 12:37:24 +00:00
|
|
|
<citerefentry project='man-pages'><refentrytitle>core</refentrytitle><manvolnum>5</manvolnum></citerefentry> for details.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v240"/>
|
2018-10-08 14:09:59 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-02-04 02:14:13 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.restore_state=</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>This parameter is understood by several system tools
|
|
|
|
to control whether or not they should restore system state
|
|
|
|
from the previous boot. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-backlight@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
|
|
|
and
|
2015-11-05 14:38:19 +00:00
|
|
|
<citerefentry><refentrytitle>systemd-rfkill.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
|
2015-02-04 02:14:13 +00:00
|
|
|
</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v209"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2024-01-04 17:39:03 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.ssh_auto=</varname></term>
|
|
|
|
<term><varname>systemd.ssh_listen=</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>These parameters are interpreted by
|
|
|
|
<citerefentry><refentrytitle>systemd-ssh-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
|
|
|
and may be used to control SSH sockets the system shall be reachable on.</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v256"/>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2016-12-13 11:45:19 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.volatile=</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>This parameter controls whether the system shall boot up in volatile mode. Takes a boolean argument, or
|
|
|
|
the special value <literal>state</literal>. If false (the default), normal boot mode is selected, the root
|
2020-10-05 16:08:21 +00:00
|
|
|
directory and <filename>/var/</filename> are mounted as specified on the kernel command line or
|
2016-12-13 11:45:19 +00:00
|
|
|
<filename>/etc/fstab</filename>, or otherwise configured. If true, full state-less boot mode is selected. In
|
|
|
|
this case the root directory is mounted as volatile memory file system (<literal>tmpfs</literal>), and only
|
2020-10-05 16:08:21 +00:00
|
|
|
<filename>/usr/</filename> is mounted from the file system configured as root device, in read-only mode. This
|
2016-12-13 11:45:19 +00:00
|
|
|
enables fully state-less boots were the vendor-supplied OS is used as shipped, with only default
|
2020-10-05 16:08:21 +00:00
|
|
|
configuration and no stored state in effect, as <filename>/etc/</filename> and <filename>/var/</filename> (as
|
2016-12-13 11:45:19 +00:00
|
|
|
well as all other resources shipped in the root file system) are reset at boot and lost on shutdown. If this
|
2018-12-21 23:51:13 +00:00
|
|
|
setting is set to <literal>state</literal> the root file system is mounted read-only, however
|
2020-10-05 16:08:21 +00:00
|
|
|
<filename>/var/</filename> is mounted as a volatile memory file system (<literal>tmpfs</literal>), so that the
|
2018-12-21 23:51:13 +00:00
|
|
|
system boots up with the normal configuration applied, but all state reset at boot and lost at shutdown. If
|
|
|
|
this setting is set to <literal>overlay</literal> the root file system is set up as
|
|
|
|
<literal>overlayfs</literal> mount combining the read-only root directory with a writable
|
|
|
|
<literal>tmpfs</literal>, so that no modifications are made to disk, but the file system may be modified
|
|
|
|
nonetheless with all changes being lost at reboot. For details, see
|
2016-12-13 11:45:19 +00:00
|
|
|
<citerefentry><refentrytitle>systemd-volatile-root.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
|
|
|
and
|
|
|
|
<citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v233"/>
|
2016-12-13 11:45:19 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-02-04 02:14:13 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>quiet</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Parameter understood by both the kernel and the system
|
|
|
|
and service manager to control console log verbosity. For
|
|
|
|
details, see
|
|
|
|
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>debug</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Parameter understood by both the kernel and the system
|
|
|
|
and service manager to control console log verbosity. For
|
|
|
|
details, see
|
|
|
|
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v205"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>-b</varname></term>
|
2016-06-13 14:28:42 +00:00
|
|
|
<term><varname>rd.emergency</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
<term><varname>emergency</varname></term>
|
2016-06-13 14:28:42 +00:00
|
|
|
<term><varname>rd.rescue</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
<term><varname>rescue</varname></term>
|
|
|
|
<term><varname>single</varname></term>
|
|
|
|
<term><varname>s</varname></term>
|
|
|
|
<term><varname>S</varname></term>
|
|
|
|
<term><varname>1</varname></term>
|
|
|
|
<term><varname>2</varname></term>
|
|
|
|
<term><varname>3</varname></term>
|
|
|
|
<term><varname>4</varname></term>
|
|
|
|
<term><varname>5</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Parameters understood by the system and service
|
2016-06-13 14:28:42 +00:00
|
|
|
manager, as compatibility and convenience options. For details, see
|
2015-02-04 02:14:13 +00:00
|
|
|
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>locale.LANG=</varname></term>
|
|
|
|
<term><varname>locale.LANGUAGE=</varname></term>
|
|
|
|
<term><varname>locale.LC_CTYPE=</varname></term>
|
|
|
|
<term><varname>locale.LC_NUMERIC=</varname></term>
|
|
|
|
<term><varname>locale.LC_TIME=</varname></term>
|
|
|
|
<term><varname>locale.LC_COLLATE=</varname></term>
|
|
|
|
<term><varname>locale.LC_MONETARY=</varname></term>
|
|
|
|
<term><varname>locale.LC_MESSAGES=</varname></term>
|
|
|
|
<term><varname>locale.LC_PAPER=</varname></term>
|
|
|
|
<term><varname>locale.LC_NAME=</varname></term>
|
|
|
|
<term><varname>locale.LC_ADDRESS=</varname></term>
|
|
|
|
<term><varname>locale.LC_TELEPHONE=</varname></term>
|
|
|
|
<term><varname>locale.LC_MEASUREMENT=</varname></term>
|
|
|
|
<term><varname>locale.LC_IDENTIFICATION=</varname></term>
|
|
|
|
<listitem>
|
|
|
|
<para>Parameters understood by the system and service
|
|
|
|
manager to control locale and language settings. For
|
|
|
|
details, see
|
|
|
|
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>fsck.mode=</varname></term>
|
|
|
|
<term><varname>fsck.repair=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Parameters understood by the file system checker
|
|
|
|
services. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-fsck@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>quotacheck.mode=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Parameter understood by the file quota checker
|
|
|
|
service. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-quotacheck.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.journald.forward_to_syslog=</varname></term>
|
|
|
|
<term><varname>systemd.journald.forward_to_kmsg=</varname></term>
|
|
|
|
<term><varname>systemd.journald.forward_to_console=</varname></term>
|
|
|
|
<term><varname>systemd.journald.forward_to_wall=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Parameters understood by the journal service. For
|
|
|
|
details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>vconsole.keymap=</varname></term>
|
2016-07-29 05:01:04 +00:00
|
|
|
<term><varname>vconsole.keymap_toggle=</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
<term><varname>vconsole.font=</varname></term>
|
2016-07-29 05:01:04 +00:00
|
|
|
<term><varname>vconsole.font_map=</varname></term>
|
|
|
|
<term><varname>vconsole.font_unimap=</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
|
|
|
|
<listitem>
|
2016-07-29 05:01:04 +00:00
|
|
|
<para>Parameters understood by the virtual console setup logic. For details, see
|
|
|
|
<citerefentry><refentrytitle>vconsole.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
2020-09-21 09:10:50 +00:00
|
|
|
<term><varname>udev.log_level=</varname></term>
|
|
|
|
<term><varname>rd.udev.log_level=</varname></term>
|
util-lib: various improvements to kernel command line parsing
This improves kernel command line parsing in a number of ways:
a) An kernel option "foo_bar=xyz" is now considered equivalent to
"foo-bar-xyz", i.e. when comparing kernel command line option names "-" and
"_" are now considered equivalent (this only applies to the option names
though, not the option values!). Most of our kernel options used "-" as word
separator in kernel command line options so far, but some used "_". With
this change, which was a source of confusion for users (well, at least of
one user: myself, I just couldn't remember that it's systemd.debug-shell,
not systemd.debug_shell). Considering both as equivalent is inspired how
modern kernel module loading normalizes all kernel module names to use
underscores now too.
b) All options previously using a dash for separating words in kernel command
line options now use an underscore instead, in all documentation and in
code. Since a) has been implemented this should not create any compatibility
problems, but normalizes our documentation and our code.
c) All kernel command line options which take booleans (or are boolean-like)
have been reworked so that "foobar" (without argument) is now equivalent to
"foobar=1" (but not "foobar=0"), thus normalizing the handling of our
boolean arguments. Specifically this means systemd.debug-shell and
systemd_debug_shell=1 are now entirely equivalent.
d) All kernel command line options which take an argument, and where no
argument is specified will now result in a log message. e.g. passing just
"systemd.unit" will no result in a complain that it needs an argument. This
is implemented in the proc_cmdline_missing_value() function.
e) There's now a call proc_cmdline_get_bool() similar to proc_cmdline_get_key()
that parses booleans (following the logic explained in c).
f) The proc_cmdline_parse() call's boolean argument has been replaced by a new
flags argument that takes a common set of bits with proc_cmdline_get_key().
g) All kernel command line APIs now begin with the same "proc_cmdline_" prefix.
h) There are now tests for much of this. Yay!
2016-12-12 17:29:15 +00:00
|
|
|
<term><varname>udev.children_max=</varname></term>
|
|
|
|
<term><varname>rd.udev.children_max=</varname></term>
|
|
|
|
<term><varname>udev.exec_delay=</varname></term>
|
|
|
|
<term><varname>rd.udev.exec_delay=</varname></term>
|
|
|
|
<term><varname>udev.event_timeout=</varname></term>
|
|
|
|
<term><varname>rd.udev.event_timeout=</varname></term>
|
2020-04-09 09:14:25 +00:00
|
|
|
<term><varname>udev.timeout_signal=</varname></term>
|
|
|
|
<term><varname>rd.udev.timeout_signal=</varname></term>
|
2020-06-02 13:15:24 +00:00
|
|
|
<term><varname>udev.blockdev_read_only</varname></term>
|
|
|
|
<term><varname>rd.udev.blockdev_read_only</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
<term><varname>net.ifnames=</varname></term>
|
2018-12-10 16:10:19 +00:00
|
|
|
<term><varname>net.naming-scheme=</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Parameters understood by the device event managing
|
|
|
|
daemon. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>plymouth.enable=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>May be used to disable the Plymouth boot splash. For
|
|
|
|
details, see
|
|
|
|
<citerefentry project='die-net'><refentrytitle>plymouth</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>luks=</varname></term>
|
|
|
|
<term><varname>rd.luks=</varname></term>
|
|
|
|
<term><varname>luks.crypttab=</varname></term>
|
|
|
|
<term><varname>rd.luks.crypttab=</varname></term>
|
|
|
|
<term><varname>luks.name=</varname></term>
|
|
|
|
<term><varname>rd.luks.name=</varname></term>
|
|
|
|
<term><varname>luks.uuid=</varname></term>
|
|
|
|
<term><varname>rd.luks.uuid=</varname></term>
|
|
|
|
<term><varname>luks.options=</varname></term>
|
|
|
|
<term><varname>rd.luks.options=</varname></term>
|
|
|
|
<term><varname>luks.key=</varname></term>
|
|
|
|
<term><varname>rd.luks.key=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Configures the LUKS full-disk encryption logic at
|
|
|
|
boot. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-cryptsetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>fstab=</varname></term>
|
|
|
|
<term><varname>rd.fstab=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Configures the <filename>/etc/fstab</filename> logic
|
|
|
|
at boot. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v186"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>root=</varname></term>
|
|
|
|
<term><varname>rootfstype=</varname></term>
|
2015-04-03 12:28:21 +00:00
|
|
|
<term><varname>rootflags=</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
<term><varname>ro</varname></term>
|
|
|
|
<term><varname>rw</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
2022-12-21 08:47:46 +00:00
|
|
|
<para>Configures the root file system and its file system type and mount options, as well as
|
|
|
|
whether it shall be mounted read-only or read-write initially. For details, see
|
2015-02-04 02:14:13 +00:00
|
|
|
<citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2022-12-21 08:47:46 +00:00
|
|
|
|
|
|
|
<para>If <varname>root=</varname> is not set (or set to <literal>gpt-auto</literal>) the automatic
|
|
|
|
root partition discovery implemented by
|
|
|
|
<citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
|
|
|
will be in effect. In this case <varname>rootfstype=</varname>, <varname>rootflags=</varname>,
|
|
|
|
<varname>ro</varname>, <varname>rw</varname> will be interpreted by
|
|
|
|
<command>systemd-gpt-auto-generator</command>.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v215"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2017-09-05 10:25:56 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>mount.usr=</varname></term>
|
|
|
|
<term><varname>mount.usrfstype=</varname></term>
|
|
|
|
<term><varname>mount.usrflags=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Configures the /usr file system (if required) and
|
|
|
|
its file system type and mount options. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v235"/>
|
2017-09-05 10:25:56 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2016-12-16 11:57:44 +00:00
|
|
|
<varlistentry>
|
veritysetup-generator: add support for veritytab
This adds the support for veritytab.
The veritytab file contains at most five fields, the first four are
mandatory, the last one is optional:
- The first field contains the name of the resulting verity volume; its
block device is set up /dev/mapper/</filename>.
- The second field contains a path to the underlying block data device,
or a specification of a block device via UUID= followed by the UUID.
- The third field contains a path to the underlying block hash device,
or a specification of a block device via UUID= followed by the UUID.
- The fourth field is the roothash in hexadecimal.
- The fifth field, if present, is a comma-delimited list of options.
The following options are recognized only: ignore-corruption,
restart-on-corruption, panic-on-corruption, ignore-zero-blocks,
check-at-most-once and root-hash-signature. The others options will
be implemented later.
Also, this adds support for the new kernel verity command line boolean
option "veritytab" which enables the read for veritytab, and the new
environment variable SYSTEMD_VERITYTAB which sets the path to the file
veritytab to read.
2020-11-14 14:21:39 +00:00
|
|
|
<term><varname>veritytab=</varname></term>
|
|
|
|
<term><varname>rd.veritytab=</varname></term>
|
2016-12-16 11:57:44 +00:00
|
|
|
<term><varname>roothash=</varname></term>
|
|
|
|
<term><varname>systemd.verity=</varname></term>
|
|
|
|
<term><varname>rd.systemd.verity=</varname></term>
|
|
|
|
<term><varname>systemd.verity_root_data=</varname></term>
|
|
|
|
<term><varname>systemd.verity_root_hash=</varname></term>
|
2020-11-13 11:00:25 +00:00
|
|
|
<term><varname>systemd.verity.root_options=</varname></term>
|
2021-11-13 18:15:17 +00:00
|
|
|
<term><varname>usrhash=</varname></term>
|
|
|
|
<term><varname>systemd.verity_usr_data=</varname></term>
|
|
|
|
<term><varname>systemd.verity_usr_hash=</varname></term>
|
|
|
|
<term><varname>systemd.verity_usr_options=</varname></term>
|
2016-12-16 11:57:44 +00:00
|
|
|
<listitem>
|
2021-11-13 18:15:17 +00:00
|
|
|
<para>Configures the integrity protection root hash for the root and <filename>/usr</filename> file systems, and other related
|
2016-12-16 11:57:44 +00:00
|
|
|
parameters. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-veritysetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v233"/>
|
2016-12-16 11:57:44 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2021-11-18 13:09:20 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.getty_auto=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Configures whether the <filename>serial-getty@.service</filename> will run.
|
|
|
|
For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-getty-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v250"/>
|
2021-11-18 13:09:20 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-02-04 02:14:13 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.gpt_auto=</varname></term>
|
|
|
|
<term><varname>rd.systemd.gpt_auto=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
2022-12-01 21:41:47 +00:00
|
|
|
<para>Configures whether GPT-based partition auto-discovery shall be attempted. For details, see
|
2015-02-04 02:14:13 +00:00
|
|
|
<citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v215"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2022-12-01 21:41:47 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.image_policy=</varname></term>
|
|
|
|
<term><varname>rd.systemd.image_policy=</varname></term>
|
|
|
|
|
|
|
|
<listitem><para>When GPT-based partition auto-discovery is used, configures the image dissection
|
|
|
|
policy string to apply, as per
|
|
|
|
<citerefentry><refentrytitle>systemd.image-policy</refentrytitle><manvolnum>7</manvolnum></citerefentry>. For
|
|
|
|
details see
|
2023-08-22 16:52:36 +00:00
|
|
|
<citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v254"/></listitem>
|
2022-12-01 21:41:47 +00:00
|
|
|
</varlistentry>
|
|
|
|
|
2016-04-26 15:10:36 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.default_timeout_start_sec=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
2021-10-20 07:38:57 +00:00
|
|
|
<para>Overrides the default start job timeout <varname>DefaultTimeoutStartSec=</varname> at
|
2021-10-13 11:07:50 +00:00
|
|
|
boot. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v230"/>
|
2017-12-08 17:27:01 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2023-05-31 14:16:21 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.default_device_timeout_sec=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Overrides the default device timeout <varname>DefaultDeviceTimeoutSec=</varname> at boot. For
|
|
|
|
details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v254"/>
|
2023-05-31 14:16:21 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2017-12-08 17:27:01 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.watchdog_device=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
2021-10-20 07:38:57 +00:00
|
|
|
<para>Overrides the watchdog device path <varname>WatchdogDevice=</varname>. For details, see
|
2021-10-13 11:07:50 +00:00
|
|
|
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v236"/>
|
2021-10-13 11:07:50 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.watchdog_sec=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
2021-10-20 07:38:57 +00:00
|
|
|
<para>Overrides the watchdog timeout settings otherwise configured with
|
2021-10-13 11:07:50 +00:00
|
|
|
<varname>RuntimeWatchdog=</varname>, <varname>RebootWatchdog=</varname> and
|
|
|
|
<varname>KExecWatchdogSec=</varname>. Takes a time value (if no unit is specified, seconds is the
|
|
|
|
implicitly assumed time unit) or the special strings <literal>off</literal> or
|
|
|
|
<literal>default</literal>. For details, see
|
2017-12-08 17:27:01 +00:00
|
|
|
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v250"/>
|
2016-04-26 15:10:36 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2021-06-27 22:36:49 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.watchdog_pre_sec=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Overrides the watchdog pre-timeout settings otherwise configured with
|
|
|
|
<varname>RuntimeWatchdogPreSec=</varname>. Takes a time value (if no unit is specified, seconds is the
|
|
|
|
implicitly assumed time unit) or the special strings <literal>off</literal> or
|
|
|
|
<literal>default</literal>. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v251"/>
|
2021-06-27 22:36:49 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2022-02-08 12:58:30 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.watchdog_pretimeout_governor=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Overrides the watchdog pre-timeout settings otherwise configured with
|
|
|
|
<varname>RuntimeWatchdogPreGovernor=</varname>. Takes a string value. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v251"/>
|
2022-02-08 12:58:30 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2019-11-26 08:46:00 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.cpu_affinity=</varname></term>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Overrides the CPU affinity mask for the service manager and the default for all child
|
|
|
|
processes it forks. This takes precedence over <varname>CPUAffinity=</varname>, see
|
|
|
|
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
|
|
|
|
for details.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v245"/>
|
2019-11-26 08:46:00 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-02-04 02:14:13 +00:00
|
|
|
<varlistentry>
|
util-lib: various improvements to kernel command line parsing
This improves kernel command line parsing in a number of ways:
a) An kernel option "foo_bar=xyz" is now considered equivalent to
"foo-bar-xyz", i.e. when comparing kernel command line option names "-" and
"_" are now considered equivalent (this only applies to the option names
though, not the option values!). Most of our kernel options used "-" as word
separator in kernel command line options so far, but some used "_". With
this change, which was a source of confusion for users (well, at least of
one user: myself, I just couldn't remember that it's systemd.debug-shell,
not systemd.debug_shell). Considering both as equivalent is inspired how
modern kernel module loading normalizes all kernel module names to use
underscores now too.
b) All options previously using a dash for separating words in kernel command
line options now use an underscore instead, in all documentation and in
code. Since a) has been implemented this should not create any compatibility
problems, but normalizes our documentation and our code.
c) All kernel command line options which take booleans (or are boolean-like)
have been reworked so that "foobar" (without argument) is now equivalent to
"foobar=1" (but not "foobar=0"), thus normalizing the handling of our
boolean arguments. Specifically this means systemd.debug-shell and
systemd_debug_shell=1 are now entirely equivalent.
d) All kernel command line options which take an argument, and where no
argument is specified will now result in a log message. e.g. passing just
"systemd.unit" will no result in a complain that it needs an argument. This
is implemented in the proc_cmdline_missing_value() function.
e) There's now a call proc_cmdline_get_bool() similar to proc_cmdline_get_key()
that parses booleans (following the logic explained in c).
f) The proc_cmdline_parse() call's boolean argument has been replaced by a new
flags argument that takes a common set of bits with proc_cmdline_get_key().
g) All kernel command line APIs now begin with the same "proc_cmdline_" prefix.
h) There are now tests for much of this. Yay!
2016-12-12 17:29:15 +00:00
|
|
|
<term><varname>modules_load=</varname></term>
|
|
|
|
<term><varname>rd.modules_load=</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Load a specific kernel module early at boot. For
|
|
|
|
details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-modules-load.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
2023-09-18 15:03:38 +00:00
|
|
|
<xi:include href="version-info.xml" xpointer="v187"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2023-01-05 14:35:20 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>nameserver=</varname></term>
|
|
|
|
<term><varname>domain=</varname></term>
|
|
|
|
|
|
|
|
<listitem><para>Configures DNS server information and search domains, see
|
|
|
|
<citerefentry><refentrytitle>systemd-resolved.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
2023-08-22 16:52:36 +00:00
|
|
|
for details.</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v253"/></listitem>
|
2023-01-05 14:35:20 +00:00
|
|
|
</varlistentry>
|
|
|
|
|
2015-02-04 02:14:13 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><varname>resume=</varname></term>
|
2019-06-06 00:59:05 +00:00
|
|
|
<term><varname>resumeflags=</varname></term>
|
2015-02-04 02:14:13 +00:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Enables resume from hibernation using the specified
|
2019-06-06 00:59:05 +00:00
|
|
|
device and mount options. All
|
2015-03-14 02:22:39 +00:00
|
|
|
<citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>-like
|
2015-02-04 02:14:13 +00:00
|
|
|
paths are supported. For details, see
|
|
|
|
<citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
2023-09-18 15:03:38 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v217"/>
|
2015-02-04 02:14:13 +00:00
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2016-12-09 00:11:42 +00:00
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.firstboot=</varname></term>
|
|
|
|
|
|
|
|
<listitem><para>Takes a boolean argument, defaults to on. If off,
|
|
|
|
<citerefentry><refentrytitle>systemd-firstboot.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
2023-11-22 09:58:14 +00:00
|
|
|
and
|
|
|
|
<citerefentry><refentrytitle>systemd-homed-firstboot.service</refentrytitle><manvolnum>1</manvolnum></citerefentry>
|
2020-05-14 08:11:56 +00:00
|
|
|
will not query the user for basic system settings, even if the system boots up for the first time and
|
|
|
|
the relevant settings are not initialized yet. Not to be confused with
|
|
|
|
<varname>systemd.condition-first-boot=</varname> (see below), which overrides the result of the
|
|
|
|
<varname>ConditionFirstBoot=</varname> unit file condition, and thus controls more than just
|
2023-08-22 16:52:36 +00:00
|
|
|
<filename>systemd-firstboot.service</filename> behaviour.</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v233"/></listitem>
|
2016-12-09 00:11:42 +00:00
|
|
|
</varlistentry>
|
2020-05-14 07:55:57 +00:00
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.condition-needs-update=</varname></term>
|
|
|
|
|
|
|
|
<listitem><para>Takes a boolean argument. If specified, overrides the result of
|
|
|
|
<varname>ConditionNeedsUpdate=</varname> unit condition checks. See
|
|
|
|
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
|
2023-08-22 16:52:36 +00:00
|
|
|
details.</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v246"/></listitem>
|
2020-05-14 07:55:57 +00:00
|
|
|
</varlistentry>
|
2020-05-14 08:11:56 +00:00
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.condition-first-boot=</varname></term>
|
|
|
|
|
|
|
|
<listitem><para>Takes a boolean argument. If specified, overrides the result of
|
|
|
|
<varname>ConditionFirstBoot=</varname> unit condition checks. See
|
|
|
|
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
|
|
|
|
details. Not to be confused with <varname>systemd.firstboot=</varname> which only controls behaviour
|
|
|
|
of the <filename>systemd-firstboot.service</filename> system service but has no effect on the
|
2023-08-22 16:52:36 +00:00
|
|
|
condition check (see above).</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v246"/></listitem>
|
2020-05-14 08:11:56 +00:00
|
|
|
</varlistentry>
|
2020-05-14 08:41:47 +00:00
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.clock-usec=</varname></term>
|
|
|
|
|
2023-06-14 08:13:08 +00:00
|
|
|
<listitem><para>Takes a decimal, numeric timestamp in μs since January 1st 1970, 00:00am, to set the
|
2020-06-11 08:04:41 +00:00
|
|
|
system clock to. The system time is set to the specified timestamp early during boot. It is not
|
2023-08-22 16:52:36 +00:00
|
|
|
propagated to the hardware clock (RTC).</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v246"/></listitem>
|
2020-06-11 08:04:41 +00:00
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.random-seed=</varname></term>
|
|
|
|
|
|
|
|
<listitem><para>Takes a base64 encoded random seed value to credit with full entropy to the kernel's
|
|
|
|
random pool during early service manager initialization. This option is useful in testing
|
|
|
|
environments where delays due to random pool initialization in entropy starved virtual machines shall
|
|
|
|
be avoided.</para>
|
|
|
|
|
|
|
|
<para>Note that if this option is used the seed is accessible to unprivileged programs from
|
|
|
|
<filename>/proc/cmdline</filename>. This option is hence a security risk when used outside of test
|
|
|
|
systems, since the (possibly) only seed used for initialization of the kernel's entropy pool might be
|
|
|
|
easily acquired by unprivileged programs.</para>
|
|
|
|
|
|
|
|
<para>It is recommended to pass 512 bytes of randomized data (as that matches the Linux kernel pool
|
|
|
|
size), which may be generated with a command like the following:</para>
|
|
|
|
|
|
|
|
<programlisting>dd if=/dev/urandom bs=512 count=1 status=none | base64 -w 0</programlisting>
|
|
|
|
|
|
|
|
<para>Again: do not use this option outside of testing environments, it's a security risk elsewhere,
|
|
|
|
as secret key material derived from the entropy pool can possibly be reconstructed by unprivileged
|
|
|
|
programs.</para>
|
2023-08-22 16:52:36 +00:00
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v246"/>
|
2020-06-11 08:04:41 +00:00
|
|
|
</listitem>
|
2020-05-14 08:41:47 +00:00
|
|
|
</varlistentry>
|
2020-05-14 09:01:31 +00:00
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.hostname=</varname></term>
|
|
|
|
|
|
|
|
<listitem><para>Accepts a hostname to set during early boot. If specified takes precedence over what
|
|
|
|
is set in <filename>/etc/hostname</filename>. Note that this does not bar later runtime changes to
|
2023-08-22 16:52:36 +00:00
|
|
|
the hostname, it simply controls the initial hostname set during early boot.</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v246"/></listitem>
|
2020-05-14 09:01:31 +00:00
|
|
|
</varlistentry>
|
2023-03-19 10:24:01 +00:00
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><varname>systemd.tty.term.<replaceable>tty</replaceable>=</varname></term>
|
|
|
|
<term><varname>systemd.tty.rows.<replaceable>tty</replaceable>=</varname></term>
|
|
|
|
<term><varname>systemd.tty.columns.<replaceable>tty</replaceable>=</varname></term>
|
|
|
|
|
|
|
|
<listitem><para>These arguments allow configuring default values for <varname>$TERM</varname>,
|
|
|
|
<varname>TTYRows=</varname>, and <varname>TTYColumns=</varname> for tty
|
2023-05-08 09:27:31 +00:00
|
|
|
<replaceable>tty</replaceable>. Additionally, <varname>systemd.tty.term.console</varname> will
|
|
|
|
configure the <varname>$TERM</varname> value used by <command>systemd</command> if not set explicitly
|
|
|
|
using <varname>TERM</varname> on the kernel command line. The tty name should be specified without
|
|
|
|
the <filename>/dev/</filename> prefix (e.g. <literal>systemd.tty.rows.ttyS0=80</literal>).
|
2023-08-22 16:52:36 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v254"/></listitem>
|
2023-03-19 10:24:01 +00:00
|
|
|
</varlistentry>
|
2015-02-04 02:14:13 +00:00
|
|
|
</variablelist>
|
2022-08-23 07:11:23 +00:00
|
|
|
</refsect1>
|
2015-02-04 02:14:13 +00:00
|
|
|
|
2022-08-23 07:11:23 +00:00
|
|
|
<refsect1>
|
|
|
|
<title>History</title>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>systemd 252</term>
|
|
|
|
<listitem><para>Kernel command-line arguments <varname>systemd.unified_cgroup_hierarchy</varname>
|
|
|
|
and <varname>systemd.legacy_systemd_cgroup_controller</varname> were deprecated. Please switch to
|
2023-08-22 16:52:36 +00:00
|
|
|
the unified cgroup hierarchy.</para>
|
|
|
|
|
|
|
|
<xi:include href="version-info.xml" xpointer="v252"/></listitem>
|
2022-08-23 07:11:23 +00:00
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2015-02-04 02:14:13 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>See Also</title>
|
2023-12-22 18:09:32 +00:00
|
|
|
<para><simplelist type="inline">
|
|
|
|
<member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry project='man-pages'><refentrytitle>bootparam</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd.system-credentials</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>smbios-type-11</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-debug-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-fsck@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-quotacheck.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-journald.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-vconsole-setup.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry project='die-net'><refentrytitle>plymouth</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-cryptsetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-veritysetup-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-getty-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-volatile-root.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-modules-load.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-backlight@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-rfkill.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>systemd-firstboot.service</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
|
|
|
|
<member><citerefentry><refentrytitle>bootctl</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
|
|
|
|
</simplelist></para>
|
2015-02-04 02:14:13 +00:00
|
|
|
</refsect1>
|
2012-06-21 23:35:52 +00:00
|
|
|
|
|
|
|
</refentry>
|