2 <?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
6 <refentry id="systemd-udevd.service"
7 xmlns:xi="http://www.w3.org/2001/XInclude">
10 <title>systemd-udevd.service</title>
11 <productname>systemd</productname>
14 <contrib>Developer</contrib>
15 <firstname>Kay</firstname>
16 <surname>Sievers</surname>
17 <email>kay@vrfy.org</email>
23 <refentrytitle>systemd-udevd.service</refentrytitle>
24 <manvolnum>8</manvolnum>
25 <refmiscinfo class="version"></refmiscinfo>
29 <refname>systemd-udevd.service</refname>
30 <refname>systemd-udevd-control.socket</refname>
31 <refname>systemd-udevd-kernel.socket</refname>
32 <refname>systemd-udevd</refname>
33 <refpurpose>Device event managing daemon</refpurpose>
37 <para><filename>systemd-udevd.service</filename></para>
38 <para><filename>systemd-udevd-control.socket</filename></para>
39 <para><filename>systemd-udevd-kernel.socket</filename></para>
42 <command>/usr/lib/systemd/systemd-udevd</command>
43 <arg><option>--daemon</option></arg>
44 <arg><option>--debug</option></arg>
45 <arg><option>--children-max=</option></arg>
46 <arg><option>--exec-delay=</option></arg>
47 <arg><option>--event-timeout=</option></arg>
48 <arg><option>--resolve-names=early|late|never</option></arg>
49 <arg><option>--version</option></arg>
50 <arg><option>--help</option></arg>
55 <refsect1><title>Description</title>
56 <para><command>systemd-udevd</command> listens to kernel uevents.
57 For every event, systemd-udevd executes matching instructions
58 specified in udev rules. See <citerefentry>
59 <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
60 </citerefentry>.</para>
61 <para>The behavior of the running daemon can be changed with
62 <command>udevadm control</command>.</para>
65 <refsect1><title>Options</title>
68 <term><option>--daemon</option></term>
70 <para>Detach and run in the background.</para>
75 <term><option>--debug</option></term>
77 <para>Print debug messages to standard error.</para>
82 <term><option>--children-max=</option></term>
84 <para>Limit the number of events executed in parallel.</para>
89 <term><option>--exec-delay=</option></term>
91 <para>Delay the execution of <varname>RUN</varname>
92 instructions by the given number of seconds. This option
93 might be useful when debugging system crashes during
94 coldplug caused by loading non-working kernel
100 <term><option>--event-timeout=</option></term>
102 <para>Wait for the event to finish up to the given
103 number of seconds. After this time the event will
104 be terminated. Default is 30.</para>
109 <term><option>--resolve-names=</option></term>
111 <para>Specify when systemd-udevd should resolve names of users and groups.
112 When set to <option>early</option> (the default), names will be
113 resolved when the rules are parsed. When set to
114 <option>late</option>, names will be resolved for every event.
115 When set to <option>never</option>, names will never be resolved
116 and all devices will be owned by root.</para>
121 <term><option>--help</option></term>
123 <xi:include href="standard-options.xml" xpointer="help-text" />
125 <xi:include href="standard-options.xml" xpointer="version" />
129 <refsect1><title>Environment</title>
130 <variablelist class='environment-variables'>
132 <term><varname>$UDEV_LOG=</varname></term>
134 <para>Set the logging priority.</para>
140 <refsect1><title>Kernel command line</title>
141 <variablelist class='kernel-commandline-options'>
142 <para>Parameters starting with "rd." will be read when
143 <command>systemd-udevd</command> is used in an initrd.</para>
145 <term><varname>udev.log-priority=</varname></term>
146 <term><varname>rd.udev.log-priority=</varname></term>
148 <para>Set the logging priority.</para>
152 <term><varname>udev.children-max=</varname></term>
153 <term><varname>rd.udev.children-max=</varname></term>
155 <para>Limit the number of events executed in parallel.</para>
159 <term><varname>udev.exec-delay=</varname></term>
160 <term><varname>rd.udev.exec-delay=</varname></term>
162 <para>Delay the execution of <varname>RUN</varname> instructions by the given
163 number of seconds. This option might be useful when
164 debugging system crashes during coldplug caused by loading
165 non-working kernel modules.</para>
169 <term><varname>udev.event-timeout=</varname></term>
170 <term><varname>rd.udev.event-timeout=</varname></term>
172 <para>Wait for events to finish up to the given number
173 of seconds. This option might be useful if events are
174 terminated due to a timeout in large configurations.</para>
178 <term><varname>net.ifnames=</varname></term>
180 <para>Network interfaces are renamed to give them predictable names
181 when possible. It is enabled by default; specifying 0 disables it.</para>
185 <!-- when adding entries here, consider also adding them
186 in kernel-command-line.xml -->
189 <refsect1><title>Configuration file</title>
190 <para>udev expects its main configuration file at <filename>/etc/udev/udev.conf</filename>.
191 It consists of a set of variables allowing the user to override default udev values. All
192 empty lines or lines beginning with '#' are ignored. The following variables can be
196 <term><varname>udev_log</varname></term>
198 <para>The logging priority. Valid values are the numerical syslog priorities
199 or their textual representations: <option>err</option>, <option>info</option>
200 and <option>debug</option>.</para>
207 <title>See Also</title>
209 <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
210 </citerefentry>, <citerefentry>
211 <refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum>
212 </citerefentry></para>