]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/udev.conf.xml
man: update document about the maximum number of child processes
[thirdparty/systemd.git] / man / udev.conf.xml
CommitLineData
6fc5a404 1<?xml version='1.0'?>
3a54a157 2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
12b42c76 3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
db9ecf05 4<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
6fc5a404
ZJS
5
6<refentry id="udev.conf"
7 xmlns:xi="http://www.w3.org/2001/XInclude">
8
9 <refentryinfo>
10 <title>udev.conf</title>
11 <productname>systemd</productname>
6fc5a404
ZJS
12 </refentryinfo>
13
14 <refmeta>
15 <refentrytitle>udev.conf</refentrytitle>
16 <manvolnum>5</manvolnum>
17 </refmeta>
18
19 <refnamediv>
20 <refname>udev.conf</refname>
21 <refpurpose>Configuration for device event managing daemon</refpurpose>
22 </refnamediv>
23
24 <refsynopsisdiv>
25 <para><filename>/etc/udev/udev.conf</filename></para>
26 </refsynopsisdiv>
27
28 <refsect1>
29 <title>Description</title>
30
31 <para>
32 <citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>
33 expects its main configuration file at
34 <filename>/etc/udev/udev.conf</filename>. It consists of a set
35 of variables allowing the user to override default udev
36 values. All empty lines or lines beginning with '#' are
203af57f
ZJS
37 ignored. The following variables can be set:
38 </para>
39
d2acdcc6 40 <variablelist class='config-directives'>
203af57f 41 <varlistentry>
4b3ca79e 42 <term><varname>udev_log=</varname></term>
203af57f
ZJS
43
44 <listitem>
f47ad593 45 <para>The log level. Valid values are the numerical
203af57f
ZJS
46 syslog priorities or their textual representations:
47 <option>err</option>, <option>info</option> and
48 <option>debug</option>.</para>
49 </listitem>
50 </varlistentry>
4b3ca79e
ZJS
51
52 <varlistentry>
53 <term><varname>children_max=</varname></term>
54
55 <listitem>
7b5ca134
YW
56 <para>An integer. The maximum number of events executed in parallel. When unspecified or 0 is
57 specified, the maximum is determined based on the system resources.</para>
4b3ca79e
ZJS
58
59 <para>This is the same as the <option>--children-max=</option> option.</para>
60 </listitem>
61 </varlistentry>
62
63 <varlistentry>
64 <term><varname>exec_delay=</varname></term>
65
66 <listitem>
45f5efde
YG
67 <para>An integer. Delay the execution of each <varname>RUN{<replaceable>program</replaceable>}</varname>
68 parameter by the given number of seconds. This option
4b3ca79e
ZJS
69 might be useful when debugging system crashes during
70 coldplug caused by loading non-working kernel
71 modules.</para>
72
73 <para>This is the same as the <option>--exec-delay=</option> option.</para>
74 </listitem>
75 </varlistentry>
76
77 <varlistentry>
78 <term><varname>event_timeout=</varname></term>
79
80 <listitem>
81 <para>An integer. The number of seconds to wait for events to finish. After
82 this time, the event will be terminated. The default is 180 seconds.</para>
83
84 <para>This is the same as the <option>--event-timeout=</option> option.</para>
85 </listitem>
86 </varlistentry>
87
a14e7af1
ZJS
88 <varlistentry>
89 <term><varname>resolve_names=</varname></term>
90
91 <listitem>
5e2b0e1c 92 <para>Specifies when systemd-udevd should resolve names of users and groups. When set to
a14e7af1
ZJS
93 <option>early</option> (the default), names will be resolved when the rules are parsed.
94 When set to <option>late</option>, names will be resolved for every event. When set to
95 <option>never</option>, names will never be resolved and all devices will be owned by
96 root.</para>
97
98 <para>This is the same as the <option>--resolve-names=</option> option.</para>
99 </listitem>
100 </varlistentry>
e2099267
MS
101
102 <varlistentry>
103 <term><varname>timeout_signal=</varname></term>
104
105 <listitem>
106 <para>Specifies a signal that <filename>systemd-udevd</filename> will send on worker
107 timeouts. Note that both workers and spawned processes will be killed using this
108 signal. Defaults to <option>SIGKILL</option>.</para>
109 </listitem>
110 </varlistentry>
203af57f
ZJS
111 </variablelist>
112
113 <para>
114 In addition, <filename>systemd-udevd</filename> can be configured
81c7dd89 115 by command line options and the kernel command line (see
203af57f
ZJS
116 <citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>).
117 </para>
6fc5a404
ZJS
118 </refsect1>
119
120 <refsect1>
121 <title>See Also</title>
122 <para>
123 <citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
124 <citerefentry><refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
125 <citerefentry><refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum></citerefentry>
126 </para>
127 </refsect1>
128</refentry>