2014-07-31 12:01:19 +04:00
<?xml version='1.0'?>
2019-03-14 16:40:58 +03:00
< !DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
2023-12-25 17:48:33 +03:00
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
2020-11-09 07:23:58 +03:00
<!-- SPDX - License - Identifier: LGPL - 2.1 - or - later -->
2014-07-31 12:01:19 +04:00
<refentry id= "udev.conf"
xmlns:xi="http://www.w3.org/2001/XInclude">
<refentryinfo >
<title > udev.conf</title>
<productname > systemd</productname>
</refentryinfo>
<refmeta >
<refentrytitle > udev.conf</refentrytitle>
<manvolnum > 5</manvolnum>
</refmeta>
<refnamediv >
<refname > udev.conf</refname>
2024-01-10 17:54:28 +03:00
<refname > udev.conf.d</refname>
2014-07-31 12:01:19 +04:00
<refpurpose > Configuration for device event managing daemon</refpurpose>
</refnamediv>
<refsynopsisdiv >
2024-01-10 17:54:28 +03:00
<para >
<simplelist >
<member > <filename > /etc/udev/udev.conf</filename> </member>
<member > <filename > /run/udev/udev.conf</filename> </member>
2024-06-05 18:08:57 +03:00
<member > <filename > /usr/local/lib/udev/udev.conf</filename> </member>
2024-01-10 17:54:28 +03:00
<member > <filename > /usr/lib/udev/udev.conf</filename> </member>
<member > <filename > /etc/udev/udev.conf.d/*.conf</filename> </member>
<member > <filename > /run/udev/udev.conf.d/*.conf</filename> </member>
2024-06-05 18:08:57 +03:00
<member > <filename > /usr/local/lib/udev/udev.conf.d/*.conf</filename> </member>
2024-01-10 17:54:28 +03:00
<member > <filename > /usr/lib/udev/udev.conf.d/*.conf</filename> </member>
</simplelist>
</para>
2014-07-31 12:01:19 +04:00
</refsynopsisdiv>
<refsect1 >
<title > Description</title>
2024-01-10 17:54:28 +03:00
<para > These files contain configuration options for
<citerefentry > <refentrytitle > systemd-udevd</refentrytitle> <manvolnum > 8</manvolnum> </citerefentry> .
The syntax of these files is very simple: a list
of assignments, one per line.
All empty lines or lines beginning with <literal > #</literal> are
ignored.
</para>
2014-07-31 12:01:19 +04:00
<para >
2024-01-10 17:54:28 +03:00
The following options can be set:
2014-10-23 08:12:50 +04:00
</para>
2019-02-13 12:49:47 +03:00
<variablelist class= 'config-directives' >
2014-10-23 08:12:50 +04:00
<varlistentry >
2018-11-13 13:10:13 +03:00
<term > <varname > udev_log=</varname> </term>
2014-10-23 08:12:50 +04:00
<listitem >
2014-11-01 21:33:01 +03:00
<para > The log level. Valid values are the numerical
2014-10-23 08:12:50 +04:00
syslog priorities or their textual representations:
<option > err</option> , <option > info</option> and
<option > debug</option> .</para>
2023-08-22 19:52:36 +03:00
2024-01-10 17:54:28 +03:00
<note >
<para > This option is also honored by
<citerefentry > <refentrytitle > udevadm</refentrytitle> <manvolnum > 8</manvolnum> </citerefentry> .
</para>
</note>
2023-09-18 18:03:38 +03:00
<xi:include href= "version-info.xml" xpointer= "v216" />
2014-10-23 08:12:50 +04:00
</listitem>
</varlistentry>
2018-11-13 13:10:13 +03:00
<varlistentry >
<term > <varname > children_max=</varname> </term>
<listitem >
2023-08-01 19:19:37 +03:00
<para > An integer. The maximum number of events executed in parallel. When unspecified or 0 is
specified, the maximum is determined based on the system resources.</para>
2018-11-13 13:10:13 +03:00
<para > This is the same as the <option > --children-max=</option> option.</para>
2023-08-22 19:52:36 +03:00
<xi:include href= "version-info.xml" xpointer= "v240" />
2018-11-13 13:10:13 +03:00
</listitem>
</varlistentry>
<varlistentry >
<term > <varname > exec_delay=</varname> </term>
<listitem >
2021-04-12 11:09:47 +03:00
<para > An integer. Delay the execution of each <varname > RUN{<replaceable > program</replaceable> }</varname>
parameter by the given number of seconds. This option
2018-11-13 13:10:13 +03:00
might be useful when debugging system crashes during
coldplug caused by loading non-working kernel
modules.</para>
<para > This is the same as the <option > --exec-delay=</option> option.</para>
2023-08-22 19:52:36 +03:00
<xi:include href= "version-info.xml" xpointer= "v240" />
2018-11-13 13:10:13 +03:00
</listitem>
</varlistentry>
<varlistentry >
<term > <varname > event_timeout=</varname> </term>
<listitem >
<para > An integer. The number of seconds to wait for events to finish. After
this time, the event will be terminated. The default is 180 seconds.</para>
<para > This is the same as the <option > --event-timeout=</option> option.</para>
2023-08-22 19:52:36 +03:00
<xi:include href= "version-info.xml" xpointer= "v240" />
2018-11-13 13:10:13 +03:00
</listitem>
</varlistentry>
2018-11-13 13:33:32 +03:00
<varlistentry >
<term > <varname > resolve_names=</varname> </term>
<listitem >
2020-10-03 14:56:50 +03:00
<para > Specifies when systemd-udevd should resolve names of users and groups. When set to
2018-11-13 13:33:32 +03:00
<option > early</option> (the default), names will be resolved when the rules are parsed.
When set to <option > late</option> , names will be resolved for every event. When set to
<option > never</option> , names will never be resolved and all devices will be owned by
root.</para>
<para > This is the same as the <option > --resolve-names=</option> option.</para>
2023-08-22 19:52:36 +03:00
<xi:include href= "version-info.xml" xpointer= "v240" />
2018-11-13 13:33:32 +03:00
</listitem>
</varlistentry>
2020-04-09 12:14:25 +03:00
<varlistentry >
<term > <varname > timeout_signal=</varname> </term>
<listitem >
<para > Specifies a signal that <filename > systemd-udevd</filename> will send on worker
timeouts. Note that both workers and spawned processes will be killed using this
signal. Defaults to <option > SIGKILL</option> .</para>
2023-08-22 19:52:36 +03:00
<xi:include href= "version-info.xml" xpointer= "v246" />
2020-04-09 12:14:25 +03:00
</listitem>
</varlistentry>
2014-10-23 08:12:50 +04:00
</variablelist>
<para >
In addition, <filename > systemd-udevd</filename> can be configured
2014-11-06 22:06:30 +03:00
by command line options and the kernel command line (see
2014-10-23 08:12:50 +04:00
<citerefentry > <refentrytitle > systemd-udevd</refentrytitle> <manvolnum > 8</manvolnum> </citerefentry> ).
</para>
2014-07-31 12:01:19 +04:00
</refsect1>
<refsect1 >
<title > See Also</title>
2023-12-22 21:09:32 +03:00
<para > <simplelist type= "inline" >
<member > <citerefentry > <refentrytitle > systemd-udevd</refentrytitle> <manvolnum > 8</manvolnum> </citerefentry> </member>
<member > <citerefentry > <refentrytitle > udev</refentrytitle> <manvolnum > 7</manvolnum> </citerefentry> </member>
<member > <citerefentry > <refentrytitle > udevadm</refentrytitle> <manvolnum > 8</manvolnum> </citerefentry> </member>
</simplelist> </para>
2014-07-31 12:01:19 +04:00
</refsect1>
</refentry>