]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/udev.conf.xml
man: use same version in public and system ident.
[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"
eea10b26 3 "http://www.oasis-open.org/docbook/xml/4.5/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>
ec07c3c8 49
aefdc112 50 <xi:include href="version-info.xml" xpointer="v216"/>
203af57f
ZJS
51 </listitem>
52 </varlistentry>
4b3ca79e
ZJS
53
54 <varlistentry>
55 <term><varname>children_max=</varname></term>
56
57 <listitem>
7b5ca134
YW
58 <para>An integer. The maximum number of events executed in parallel. When unspecified or 0 is
59 specified, the maximum is determined based on the system resources.</para>
4b3ca79e
ZJS
60
61 <para>This is the same as the <option>--children-max=</option> option.</para>
ec07c3c8
AK
62
63 <xi:include href="version-info.xml" xpointer="v240"/>
4b3ca79e
ZJS
64 </listitem>
65 </varlistentry>
66
67 <varlistentry>
68 <term><varname>exec_delay=</varname></term>
69
70 <listitem>
45f5efde
YG
71 <para>An integer. Delay the execution of each <varname>RUN{<replaceable>program</replaceable>}</varname>
72 parameter by the given number of seconds. This option
4b3ca79e
ZJS
73 might be useful when debugging system crashes during
74 coldplug caused by loading non-working kernel
75 modules.</para>
76
77 <para>This is the same as the <option>--exec-delay=</option> option.</para>
ec07c3c8
AK
78
79 <xi:include href="version-info.xml" xpointer="v240"/>
4b3ca79e
ZJS
80 </listitem>
81 </varlistentry>
82
83 <varlistentry>
84 <term><varname>event_timeout=</varname></term>
85
86 <listitem>
87 <para>An integer. The number of seconds to wait for events to finish. After
88 this time, the event will be terminated. The default is 180 seconds.</para>
89
90 <para>This is the same as the <option>--event-timeout=</option> option.</para>
ec07c3c8
AK
91
92 <xi:include href="version-info.xml" xpointer="v240"/>
4b3ca79e
ZJS
93 </listitem>
94 </varlistentry>
95
a14e7af1
ZJS
96 <varlistentry>
97 <term><varname>resolve_names=</varname></term>
98
99 <listitem>
5e2b0e1c 100 <para>Specifies when systemd-udevd should resolve names of users and groups. When set to
a14e7af1
ZJS
101 <option>early</option> (the default), names will be resolved when the rules are parsed.
102 When set to <option>late</option>, names will be resolved for every event. When set to
103 <option>never</option>, names will never be resolved and all devices will be owned by
104 root.</para>
105
106 <para>This is the same as the <option>--resolve-names=</option> option.</para>
ec07c3c8
AK
107
108 <xi:include href="version-info.xml" xpointer="v240"/>
a14e7af1
ZJS
109 </listitem>
110 </varlistentry>
e2099267
MS
111
112 <varlistentry>
113 <term><varname>timeout_signal=</varname></term>
114
115 <listitem>
116 <para>Specifies a signal that <filename>systemd-udevd</filename> will send on worker
117 timeouts. Note that both workers and spawned processes will be killed using this
118 signal. Defaults to <option>SIGKILL</option>.</para>
ec07c3c8
AK
119
120 <xi:include href="version-info.xml" xpointer="v246"/>
e2099267
MS
121 </listitem>
122 </varlistentry>
203af57f
ZJS
123 </variablelist>
124
125 <para>
126 In addition, <filename>systemd-udevd</filename> can be configured
81c7dd89 127 by command line options and the kernel command line (see
203af57f
ZJS
128 <citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry>).
129 </para>
6fc5a404
ZJS
130 </refsect1>
131
132 <refsect1>
133 <title>See Also</title>
13a69c12
DT
134 <para><simplelist type="inline">
135 <member><citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
136 <member><citerefentry><refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
137 <member><citerefentry><refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
138 </simplelist></para>
6fc5a404
ZJS
139 </refsect1>
140</refentry>