]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-debug-generator.xml
man: standarize on one-line license header
[thirdparty/systemd.git] / man / systemd-debug-generator.xml
CommitLineData
f685b702
LP
1<?xml version="1.0"?>
2<!--*-nxml-*-->
12b42c76 3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
0307f791 4<!-- SPDX-License-Identifier: LGPL-2.1+ -->
f685b702
LP
5<refentry id="systemd-debug-generator">
6
798d3a52
ZJS
7 <refentryinfo>
8 <title>systemd-debug-generator</title>
9 <productname>systemd</productname>
798d3a52
ZJS
10 </refentryinfo>
11
12 <refmeta>
13 <refentrytitle>systemd-debug-generator</refentrytitle>
14 <manvolnum>8</manvolnum>
15 </refmeta>
16
17 <refnamediv>
18 <refname>systemd-debug-generator</refname>
19 <refpurpose>Generator for enabling a runtime debug shell and
20 masking specific units at boot</refpurpose>
21 </refnamediv>
22
23 <refsynopsisdiv>
12b42c76 24 <para><filename>/usr/lib/systemd/system-generators/systemd-debug-generator</filename></para>
798d3a52
ZJS
25 </refsynopsisdiv>
26
27 <refsect1>
28 <title>Description</title>
29
30 <para><filename>systemd-debug-generator</filename> is a generator
31 that reads the kernel command line and understands three
32 options:</para>
33
a7dd6d04
LN
34 <para>If the <option>systemd.mask=</option> or <option>rd.systemd.mask=</option>
35 option is specified and followed by a unit name, this unit is
36 masked for the runtime, similar to the effect of
798d3a52
ZJS
37 <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
38 <command>mask</command> command. This is useful to boot with
39 certain units removed from the initial boot transaction for
a7dd6d04
LN
40 debugging system startup. May be specified more than once.
41 <option>rd.systemd.mask=</option> is honored only by initial
42 RAM disk (initrd) while <option>systemd.mask=</option> is
43 honored only in the main system.</para>
798d3a52 44
a7dd6d04
LN
45 <para>If the <option>systemd.wants=</option> or
46 <option>rd.systemd.wants=</option> option is specified
798d3a52
ZJS
47 and followed by a unit name, a start job for this unit is added to
48 the initial transaction. This is useful to start one or more
a7dd6d04
LN
49 additional units at boot. May be specified more than once.
50 <option>rd.systemd.wants=</option> is honored only by initial
51 RAM disk (initrd) while <option>systemd.wants=</option> is
52 honored only in the main system.</para>
798d3a52 53
a7dd6d04
LN
54 <para>If the <option>systemd.debug_shell</option> or
55 <option>rd.systemd.debug_shell</option> option is
798d3a52
ZJS
56 specified, the debug shell service
57 <literal>debug-shell.service</literal> is pulled into the boot
58 transaction. It will spawn a debug shell on tty9 during early
59 system startup. Note that the shell may also be turned on
60 persistently by enabling it with
61 <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
a7dd6d04
LN
62 <command>enable</command> command.
63 <option>rd.systemd.debug_shell=</option> is honored only by initial
64 RAM disk (initrd) while <option>systemd.debug_shell</option> is
65 honored only in the main system.</para>
798d3a52 66
b1c1a519
ZC
67 <para><filename>systemd-debug-generator</filename> implements
68 <citerefentry><refentrytitle>systemd.generator</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
798d3a52
ZJS
69 </refsect1>
70
71 <refsect1>
72 <title>See Also</title>
73 <para>
74 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
75 <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
76 <citerefentry><refentrytitle>kernel-command-line</refentrytitle><manvolnum>7</manvolnum></citerefentry>
77 </para>
78 </refsect1>
f685b702
LP
79
80</refentry>