2 <!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4 <!-- SPDX-License-Identifier: LGPL-2.1+ -->
6 <refentry id=
"udev.conf"
7 xmlns:
xi=
"http://www.w3.org/2001/XInclude">
10 <title>udev.conf
</title>
11 <productname>systemd
</productname>
15 <refentrytitle>udev.conf
</refentrytitle>
16 <manvolnum>5</manvolnum>
20 <refname>udev.conf
</refname>
21 <refpurpose>Configuration for device event managing daemon
</refpurpose>
25 <para><filename>/etc/udev/udev.conf
</filename></para>
29 <title>Description
</title>
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
37 ignored. The following variables can be set:
40 <variablelist class='config-directives'
>
42 <term><varname>udev_log=
</varname></term>
45 <para>The log level. Valid values are the numerical
46 syslog priorities or their textual representations:
47 <option>err
</option>,
<option>info
</option> and
48 <option>debug
</option>.
</para>
53 <term><varname>children_max=
</varname></term>
56 <para>An integer. The maximum number of events executed in parallel.
</para>
58 <para>This is the same as the
<option>--children-max=
</option> option.
</para>
63 <term><varname>exec_delay=
</varname></term>
66 <para>An integer. Delay the execution of
<varname>RUN
</varname>
67 instructions by the given number of seconds. This option
68 might be useful when debugging system crashes during
69 coldplug caused by loading non-working kernel
72 <para>This is the same as the
<option>--exec-delay=
</option> option.
</para>
77 <term><varname>event_timeout=
</varname></term>
80 <para>An integer. The number of seconds to wait for events to finish. After
81 this time, the event will be terminated. The default is
180 seconds.
</para>
83 <para>This is the same as the
<option>--event-timeout=
</option> option.
</para>
88 <term><varname>resolve_names=
</varname></term>
91 <para>Specifes when systemd-udevd should resolve names of users and groups. When set to
92 <option>early
</option> (the default), names will be resolved when the rules are parsed.
93 When set to
<option>late
</option>, names will be resolved for every event. When set to
94 <option>never
</option>, names will never be resolved and all devices will be owned by
97 <para>This is the same as the
<option>--resolve-names=
</option> option.
</para>
103 In addition,
<filename>systemd-udevd
</filename> can be configured
104 by command line options and the kernel command line (see
105 <citerefentry><refentrytitle>systemd-udevd
</refentrytitle><manvolnum>8</manvolnum></citerefentry>).
110 <title>See Also
</title>
112 <citerefentry><refentrytitle>systemd-udevd
</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
113 <citerefentry><refentrytitle>udev
</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
114 <citerefentry><refentrytitle>udevadm
</refentrytitle><manvolnum>8</manvolnum></citerefentry>