Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317292 Details for
Bug 424824
sys-fs/udev-186 file location regression
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
udev-186-revert-systemd-messup.patch
udev-186-revert-systemd-messup.patch (text/plain), 38.28 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2012-07-05 14:09:16 UTC
(
hide
)
Description:
udev-186-revert-systemd-messup.patch
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2012-07-05 14:09:16 UTC
Size:
38.28 KB
patch
obsolete
>--- systemd-186/configure.ac >+++ systemd-186/configure.ac >@@ -744,6 +744,8 @@ > prefix: ${prefix} > rootprefix: ${with_rootprefix} > sysconf dir: ${sysconfdir} >+ sbindir: ${sbindir} >+ bindir: ${bindir} > datarootdir: ${datarootdir} > includedir: ${includedir} > include_prefix: ${INCLUDE_PREFIX} >--- systemd-186/Makefile.am >+++ systemd-186/Makefile.am >@@ -1491,7 +1491,7 @@ > MANPAGES += \ > man/udev.7 \ > man/udevadm.8 \ >- man/systemd-udevd.service.8 >+ man/udevd.8 > > MANPAGES_ALIAS += \ > man/systemd-udevd.8 >@@ -1552,12 +1552,10 @@ > > INSTALL_DATA_HOOKS += systemd-install-hook > >-bin_PROGRAMS += \ >+sbin_PROGRAMS = \ >+ udevd \ > udevadm > >-rootlibexec_PROGRAMS += \ >- systemd-udevd >- > noinst_LTLIBRARIES += \ > libudev-core.la > >@@ -1605,10 +1603,10 @@ > libsystemd-acl.la > endif > >-systemd_udevd_SOURCES = \ >+udevd_SOURCES = \ > src/udev/udevd.c > >-systemd_udevd_LDADD = \ >+udevd_LDADD = \ > libudev-core.la > > udevadm_SOURCES = \ >@@ -3121,6 +3119,7 @@ > $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ > -e 's,@rootbindir\@,$(rootbindir),g' \ > -e 's,@bindir\@,$(bindir),g' \ >+ -e 's,@sbindir\@,$(sbindir),g' \ > -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ > -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \ > -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ >--- systemd-186/man/systemd-udevd.8 >+++ systemd-186/man/systemd-udevd.8 >@@ -1 +1 @@ >-.so man8/systemd-udevd.service.8 >+.so man8/udevd.8 >--- systemd-186/man/udev.7 >+++ systemd-186/man/udev.7 >@@ -36,7 +36,7 @@ > directory, or renames network interfaces\&. The kernel usually just assigns unpredictable device names based on the order of discovery\&. Meaningful symlinks or network device names provide a way to reliably identify devices based on their properties or current configuration\&. > .PP > The udev daemon, >-\fBsystemd-udevd.service\fR(8), receives device uevents directly from the kernel whenever a device is added or removed from the system, or it changes its state\&. When udev receives a device event, it matches its configured set of rules against various device attributes to identify the device\&. Rules that match may provide additional device information to be stored in the udev database or to be used to create meaningful symlink names\&. >+\fBudevd\fR(8), receives device uevents directly from the kernel whenever a device is added or removed from the system, or it changes its state\&. When udev receives a device event, it matches its configured set of rules against various device attributes to identify the device\&. Rules that match may provide additional device information to be stored in the udev database or to be used to create meaningful symlink names\&. > .PP > All device information udev processes is stored in the udev database and sent out to possible event subscribers\&. Access to all stored data and the event sources is provided by the library libudev\&. > .SH "CONFIGURATION" >@@ -477,7 +477,7 @@ > .RE > .SH "SEE ALSO" > .PP >-\fBsystemd-udevd.service\fR(8), >+\fBudevd\fR(8), > \fBudevadm\fR(8) > .SH "AUTHORS" > .PP >--- systemd-186/man/udevadm.8 >+++ systemd-186/man/udevadm.8 >@@ -355,7 +355,7 @@ > .SH "SEE ALSO" > .PP > \fBudev\fR(7) >-\fBsystemd-udevd.service\fR(8) >+\fBudevd\fR(8) > .SH "AUTHOR" > .PP > \fBKay Sievers\fR <\&kay@vrfy\&.org\&> >--- systemd-186/man/udevadm.html >+++ systemd-186/man/udevadm.html >@@ -26,14 +26,14 @@ > specified multiple times.</p></dd><dt><span class="term"><code class="option">--sysname-match=<em class="replaceable"><code>name</code></em></code></span></dt><dd><p>Trigger events for devices with a matching sys device name. This option can be > specified multiple times and supports shell style pattern matching.</p></dd><dt><span class="term"><code class="option">--parent-match=<em class="replaceable"><code>syspath</code></em></code></span></dt><dd><p>Trigger events for all children of a given device.</p></dd></dl></div></div><div class="refsect2" title="udevadm settle [options]"><a name="id338888"></a><h3>udevadm settle [<span class="optional">options</span>]</h3><p>Watches the udev event queue, and exits if all current events are handled.</p><div class="variablelist"><dl><dt><span class="term"><code class="option">--timeout=<em class="replaceable"><code>seconds</code></em></code></span></dt><dd><p>Maximum number of seconds to wait for the event queue to become empty. > The default value is 120 seconds. A value of 0 will check if the queue is empty >- and always return immediately.</p></dd><dt><span class="term"><code class="option">--seq-start=<em class="replaceable"><code>seqnum</code></em></code></span></dt><dd><p>Wait only for events after the given sequence number.</p></dd><dt><span class="term"><code class="option">--seq-end=<em class="replaceable"><code>seqnum</code></em></code></span></dt><dd><p>Wait only for events before the given sequence number.</p></dd><dt><span class="term"><code class="option">--exit-if-exists=<em class="replaceable"><code>file</code></em></code></span></dt><dd><p>Stop waiting if file exists.</p></dd><dt><span class="term"><code class="option">--quiet</code></span></dt><dd><p>Do not print any output, like the remaining queue entries when reaching the timeout.</p></dd><dt><span class="term"><code class="option">--help</code></span></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect2" title="udevadm control command"><a name="id338997"></a><h3>udevadm control <em class="replaceable"><code>command</code></em></h3><p>Modify the internal state of the running udev daemon.</p><div class="variablelist"><dl><dt><span class="term"><code class="option">--exit</code></span></dt><dd><p>Signal and wait for systemd-udevd to exit.</p></dd><dt><span class="term"><code class="option">--log-priority=<em class="replaceable"><code>value</code></em></code></span></dt><dd><p>Set the internal log level of systemd-udevd. Valid values are the numerical >+ and always return immediately.</p></dd><dt><span class="term"><code class="option">--seq-start=<em class="replaceable"><code>seqnum</code></em></code></span></dt><dd><p>Wait only for events after the given sequence number.</p></dd><dt><span class="term"><code class="option">--seq-end=<em class="replaceable"><code>seqnum</code></em></code></span></dt><dd><p>Wait only for events before the given sequence number.</p></dd><dt><span class="term"><code class="option">--exit-if-exists=<em class="replaceable"><code>file</code></em></code></span></dt><dd><p>Stop waiting if file exists.</p></dd><dt><span class="term"><code class="option">--quiet</code></span></dt><dd><p>Do not print any output, like the remaining queue entries when reaching the timeout.</p></dd><dt><span class="term"><code class="option">--help</code></span></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect2" title="udevadm control command"><a name="id338997"></a><h3>udevadm control <em class="replaceable"><code>command</code></em></h3><p>Modify the internal state of the running udev daemon.</p><div class="variablelist"><dl><dt><span class="term"><code class="option">--exit</code></span></dt><dd><p>Signal and wait for udevd to exit.</p></dd><dt><span class="term"><code class="option">--log-priority=<em class="replaceable"><code>value</code></em></code></span></dt><dd><p>Set the internal log level of udevd. Valid values are the numerical > syslog priorities or their textual representations: <code class="option">err</code>, >- <code class="option">info</code> and <code class="option">debug</code>.</p></dd><dt><span class="term"><code class="option">--stop-exec-queue</code></span></dt><dd><p>Signal systemd-udevd to stop executing new events. Incoming events >- will be queued.</p></dd><dt><span class="term"><code class="option">--start-exec-queue</code></span></dt><dd><p>Signal systemd-udevd to enable the execution of events.</p></dd><dt><span class="term"><code class="option">--reload</code></span></dt><dd><p>Signal systemd-udevd to reload the rules files and other databases like the kernel >+ <code class="option">info</code> and <code class="option">debug</code>.</p></dd><dt><span class="term"><code class="option">--stop-exec-queue</code></span></dt><dd><p>Signal udevd to stop executing new events. Incoming events >+ will be queued.</p></dd><dt><span class="term"><code class="option">--start-exec-queue</code></span></dt><dd><p>Signal udevd to enable the execution of events.</p></dd><dt><span class="term"><code class="option">--reload</code></span></dt><dd><p>Signal udevd to reload the rules files and other databases like the kernel > module index. Reloading rules and databases does not apply any changes to already >- existing devices; the new configuration will only be applied to new events.</p></dd><dt><span class="term"><code class="option">--property=<em class="replaceable"><code>KEY</code></em>=<em class="replaceable"><code>value</code></em></code></span></dt><dd><p>Set a global property for all events.</p></dd><dt><span class="term"><code class="option">--children-max=</code><em class="replaceable"><code>value</code></em></span></dt><dd><p>Set the maximum number of events, systemd-udevd will handle at the >- same time.</p></dd><dt><span class="term"><code class="option">--timeout=</code><em class="replaceable"><code>seconds</code></em></span></dt><dd><p>The maximum number seconds to wait for a reply from systemd-udevd.</p></dd><dt><span class="term"><code class="option">--help</code></span></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect2" title="udevadm monitor [options]"><a name="id339163"></a><h3>udevadm monitor [<span class="optional">options</span>]</h3><p>Listens to the kernel uevents and events sent out by a udev rule >+ existing devices; the new configuration will only be applied to new events.</p></dd><dt><span class="term"><code class="option">--property=<em class="replaceable"><code>KEY</code></em>=<em class="replaceable"><code>value</code></em></code></span></dt><dd><p>Set a global property for all events.</p></dd><dt><span class="term"><code class="option">--children-max=</code><em class="replaceable"><code>value</code></em></span></dt><dd><p>Set the maximum number of events, udevd will handle at the >+ same time.</p></dd><dt><span class="term"><code class="option">--timeout=</code><em class="replaceable"><code>seconds</code></em></span></dt><dd><p>The maximum number seconds to wait for a reply from udevd.</p></dd><dt><span class="term"><code class="option">--help</code></span></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect2" title="udevadm monitor [options]"><a name="id339163"></a><h3>udevadm monitor [<span class="optional">options</span>]</h3><p>Listens to the kernel uevents and events sent out by a udev rule > and prints the devpath of the event to the console. It can be used to analyze the > event timing, by comparing the timestamps of the kernel uevent and the udev event. > </p><div class="variablelist"><dl><dt><span class="term"><code class="option">--kernel</code></span></dt><dd><p>Print the kernel uevents.</p></dd><dt><span class="term"><code class="option">--udev</code></span></dt><dd><p>Print the udev event after the rule processing.</p></dd><dt><span class="term"><code class="option">--property</code></span></dt><dd><p>Also print the properties of the event.</p></dd><dt><span class="term"><code class="option">--subsystem-match=<em class="replaceable"><code>string[/string]</code></em></code></span></dt><dd><p>Filter events by subsystem[/devtype]. Only udev events with a matching subsystem value will pass.</p></dd><dt><span class="term"><code class="option">--tag-match=<em class="replaceable"><code>string</code></em></code></span></dt><dd><p>Filter events by property. Only udev events with a given tag attached will pass.</p></dd><dt><span class="term"><code class="option">--help</code></span></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect2" title="udevadm test [options] devpath"><a name="id339268"></a><h3>udevadm test [<span class="optional">options</span>] <em class="replaceable"><code>devpath</code></em></h3><p>Simulate a udev event run for the given device, and print debug output.</p><div class="variablelist"><dl><dt><span class="term"><code class="option">--action=<em class="replaceable"><code>string</code></em></code></span></dt><dd><p>The action string.</p></dd><dt><span class="term"><code class="option">--subsystem=<em class="replaceable"><code>string</code></em></code></span></dt><dd><p>The subsystem string.</p></dd><dt><span class="term"><code class="option">--help</code></span></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect2" title="udevadm test-builtin [options] command devpath"><a name="id339331"></a><h3>udevadm test-builtin [<span class="optional">options</span>] <em class="replaceable"><code>command</code></em> <em class="replaceable"><code>devpath</code></em></h3><p>Run a built-in command for the given device, and print debug output.</p><div class="variablelist"><dl><dt><span class="term"><code class="option">--help</code></span></dt><dd><p>Print help text.</p></dd></dl></div></div></div><div class="refsect1" title="See Also"><a name="id339366"></a><h2>See Also</h2><p><span class="citerefentry"><span class="refentrytitle">udev</span>(7)</span> >- <span class="citerefentry"><span class="refentrytitle">systemd-udevd.service</span>(8)</span></p></div></div></body></html> >+ <span class="citerefentry"><span class="refentrytitle">udevd</span>(8)</span></p></div></div></body></html> >--- systemd-186/man/udevadm.xml >+++ systemd-186/man/udevadm.xml >@@ -315,13 +315,13 @@ > <varlistentry> > <term><option>--exit</option></term> > <listitem> >- <para>Signal and wait for systemd-udevd to exit.</para> >+ <para>Signal and wait for udevd to exit.</para> > </listitem> > </varlistentry> > <varlistentry> > <term><option>--log-priority=<replaceable>value</replaceable></option></term> > <listitem> >- <para>Set the internal log level of systemd-udevd. Valid values are the numerical >+ <para>Set the internal log level of udevd. Valid values are the numerical > syslog priorities or their textual representations: <option>err</option>, > <option>info</option> and <option>debug</option>.</para> > </listitem> >@@ -329,20 +329,20 @@ > <varlistentry> > <term><option>--stop-exec-queue</option></term> > <listitem> >- <para>Signal systemd-udevd to stop executing new events. Incoming events >+ <para>Signal udevd to stop executing new events. Incoming events > will be queued.</para> > </listitem> > </varlistentry> > <varlistentry> > <term><option>--start-exec-queue</option></term> > <listitem> >- <para>Signal systemd-udevd to enable the execution of events.</para> >+ <para>Signal udevd to enable the execution of events.</para> > </listitem> > </varlistentry> > <varlistentry> > <term><option>--reload</option></term> > <listitem> >- <para>Signal systemd-udevd to reload the rules files and other databases like the kernel >+ <para>Signal udevd to reload the rules files and other databases like the kernel > module index. Reloading rules and databases does not apply any changes to already > existing devices; the new configuration will only be applied to new events.</para> > </listitem> >@@ -356,14 +356,14 @@ > <varlistentry> > <term><option>--children-max=</option><replaceable>value</replaceable></term> > <listitem> >- <para>Set the maximum number of events, systemd-udevd will handle at the >+ <para>Set the maximum number of events, udevd will handle at the > same time.</para> > </listitem> > </varlistentry> > <varlistentry> > <term><option>--timeout=</option><replaceable>seconds</replaceable></term> > <listitem> >- <para>The maximum number seconds to wait for a reply from systemd-udevd.</para> >+ <para>The maximum number seconds to wait for a reply from udevd.</para> > </listitem> > </varlistentry> > <varlistentry> >@@ -463,7 +463,7 @@ > <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum> > </citerefentry> > <citerefentry> >- <refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum> >+ <refentrytitle>udevd</refentrytitle><manvolnum>8</manvolnum> > </citerefentry></para> > </refsect1> > </refentry> >--- systemd-186/man/udevd.8 >+++ systemd-186/man/udevd.8 >@@ -0,0 +1,119 @@ >+'\" t >+.\" Title: udevd >+.\" Author: Kay Sievers <kay@vrfy.org> >+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> >+.\" Date: 07/03/2012 >+.\" Manual: systemd-udevd.service >+.\" Source: systemd >+.\" Language: English >+.\" >+.TH "UDEVD\&.SER" "8" "07/03/2012" >+.\" ----------------------------------------------------------------- >+.\" * Define some portability stuff >+.\" ----------------------------------------------------------------- >+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >+.\" http://bugs.debian.org/507673 >+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html >+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >+.ie \n(.g .ds Aq \(aq >+.el .ds Aq ' >+.\" ----------------------------------------------------------------- >+.\" * set default formatting >+.\" ----------------------------------------------------------------- >+.\" disable hyphenation >+.nh >+.\" disable justification (adjust text to left margin only) >+.ad l >+.\" ----------------------------------------------------------------- >+.\" * MAIN CONTENT STARTS HERE * >+.\" ----------------------------------------------------------------- >+.SH "NAME" >+udevd \- Device event managing daemon >+.SH "SYNOPSIS" >+.PP >+udevd >+.HP \w'\fB/sbin/udevd\fR\ 'u >+[\fB\-\-daemon\fR] [\fB\-\-debug\fR] [\fB\-\-children\-max=\fR] [\fB\-\-exec\-delay=\fR] [\fB\-\-resolve\-names=early|late|never\fR] [\fB\-\-version\fR] [\fB\-\-help\fR] >+.SH "DESCRIPTION" >+.PP >+udevd listens to kernel uevents\&. For every event, udevd executes matching instructions specified in udev rules\&. See >+\fBudev\fR(7)\&. >+.PP >+The behavior of the running daemon can be changed with >+\fBudevadm control\fR\&. >+.SH "OPTIONS" >+.PP >+\fB\-\-daemon\fR >+.RS 4 >+Detach and run in the background\&. >+.RE >+.PP >+\fB\-\-debug\fR >+.RS 4 >+Print debug messages to stderr\&. >+.RE >+.PP >+\fB\-\-children\-max=\fR >+.RS 4 >+Limit the number of parallel executed events\&. >+.RE >+.PP >+\fB\-\-exec\-delay=\fR >+.RS 4 >+Number of seconds to delay the execution of RUN instructions\&. This might be useful when debugging system crashes during coldplug cause by loading non\-working kernel modules\&. >+.RE >+.PP >+\fB\-\-resolve\-names=\fR >+.RS 4 >+Specify when udevd should resolve names of users and groups\&. When set to >+\fBearly\fR >+(the default) names will be resolved when the rules are parsed\&. When set to >+\fBlate\fR >+names will be resolved for every event\&. When set to >+\fBnever\fR >+names will never be resolved and all devices will be owned by root\&. >+.RE >+.PP >+\fB\-\-version\fR >+.RS 4 >+Print version number\&. >+.RE >+.PP >+\fB\-\-help\fR >+.RS 4 >+Print help text\&. >+.RE >+.SH "ENVIRONMENT" >+.PP >+\fIUDEV_LOG=\fR >+.RS 4 >+Set the logging priority\&. >+.RE >+.SH "KERNEL COMMAND LINE" >+.PP >+The parameters starting with "rd\&.", will be read when udev is used in an initrd\&. >+.PP >+\fIudev\&.log\-priority=\fR, \fIrd\&.udev\&.log\-priority=\fR >+.RS 4 >+Set the logging priority\&. >+.RE >+.PP >+\fIudev\&.children\-max=\fR, \fIrd\&.udev\&.children\-max=\fR >+.RS 4 >+Limit the number of parallel executed events\&. >+.RE >+.PP >+\fIudev\&.exec\-delay=\fR, \fIrd\&.udev\&.exec\-delay=\fR >+.RS 4 >+Number of seconds to delay the execution of RUN instructions\&. This might be useful when debugging system crashes during coldplug cause by loading non\-working kernel modules\&. >+.RE >+.SH "SEE ALSO" >+.PP >+\fBudev\fR(7), >+\fBudevadm\fR(8) >+.SH "AUTHOR" >+.PP >+\fBKay Sievers\fR <\&kay@vrfy\&.org\&> >+.RS 4 >+Developer >+.RE >--- systemd-186/man/udevd.html >+++ systemd-186/man/udevd.html >@@ -0,0 +1,12 @@ >+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>udevd</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="udevd"><a name="udevd"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>udevd â Device event managing daemon</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><p><code class="filename">udevd</code></p><div class="cmdsynopsis"><p><code class="command">/sbin/udevd</code> [<code class="option">--daemon</code>] [<code class="option">--debug</code>] [<code class="option">--children-max=</code>] [<code class="option">--exec-delay=</code>] [<code class="option">--resolve-names=early|late|never</code>] [<code class="option">--version</code>] [<code class="option">--help</code>]</p></div></div><div class="refsect1" title="Description"><a name="id537911"></a><h2>Description</h2><p>udevd listens to kernel uevents. For every event, udevd executes matching >+ instructions specified in udev rules. See <span class="citerefentry"><span class="refentrytitle">udev</span>(7)</span>.</p><p>The behavior of the running daemon can be changed with >+ <span class="command"><strong>udevadm control</strong></span>.</p></div><div class="refsect1" title="Options"><a name="id537939"></a><h2>Options</h2><div class="variablelist"><dl><dt><span class="term"><code class="option">--daemon</code></span></dt><dd><p>Detach and run in the background.</p></dd><dt><span class="term"><code class="option">--debug</code></span></dt><dd><p>Print debug messages to stderr.</p></dd><dt><span class="term"><code class="option">--children-max=</code></span></dt><dd><p>Limit the number of parallel executed events.</p></dd><dt><span class="term"><code class="option">--exec-delay=</code></span></dt><dd><p>Number of seconds to delay the execution of RUN instructions. >+ This might be useful when debugging system crashes during coldplug >+ cause by loading non-working kernel modules.</p></dd><dt><span class="term"><code class="option">--resolve-names=</code></span></dt><dd><p>Specify when udevd should resolve names of users and groups. >+ When set to <code class="option">early</code> (the default) names will be >+ resolved when the rules are parsed. When set to >+ <code class="option">late</code> names will be resolved for every event. >+ When set to <code class="option">never</code> names will never be resolved >+ and all devices will be owned by root.</p></dd><dt><span class="term"><code class="option">--version</code></span></dt><dd><p>Print version number.</p></dd><dt><span class="term"><code class="option">--help</code></span></dt><dd><p>Print help text.</p></dd></dl></div></div><div class="refsect1" title="Environment"><a name="id505462"></a><h2>Environment</h2><div class="variablelist"><dl><dt><span class="term"><code class="varname">UDEV_LOG=</code></span></dt><dd><p>Set the logging priority.</p></dd></dl></div></div><div class="refsect1" title="Kernel command line"><a name="id505547"></a><h2>Kernel command line</h2><div class="variablelist"><p>The parameters starting with "rd.", will be read when udev is used in an initrd.</p><dl><dt><span class="term"><code class="varname">udev.log-priority=</code>, </span><span class="term"><code class="varname">rd.udev.log-priority=</code></span></dt><dd><p>Set the logging priority.</p></dd><dt><span class="term"><code class="varname">udev.children-max=</code>, </span><span class="term"><code class="varname">rd.udev.children-max=</code></span></dt><dd><p>Limit the number of parallel executed events.</p></dd><dt><span class="term"><code class="varname">udev.exec-delay=</code>, </span><span class="term"><code class="varname">rd.udev.exec-delay=</code></span></dt><dd><p>Number of seconds to delay the execution of RUN instructions. >+ This might be useful when debugging system crashes during coldplug >+ cause by loading non-working kernel modules.</p></dd></dl></div></div><div class="refsect1" title="See Also"><a name="id505617"></a><h2>See Also</h2><p><span class="citerefentry"><span class="refentrytitle">udev</span>(7)</span>, <span class="citerefentry"><span class="refentrytitle">udevadm</span>(8)</span></p></div></div></body></html> >--- systemd-186/man/udevd.xml >+++ systemd-186/man/udevd.xml >@@ -0,0 +1,158 @@ >+<?xml version='1.0'?> >+<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?> >+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" >+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> >+ >+<refentry id="udevd"> >+ <refentryinfo> >+ <title>udevd</title> >+ <productname>udevd</productname> >+ <authorgroup> >+ <author> >+ <contrib>Developer</contrib> >+ <firstname>Kay</firstname> >+ <surname>Sievers</surname> >+ <email>kay@vrfy.org</email> >+ </author> >+ </authorgroup> >+ </refentryinfo> >+ >+ <refmeta> >+ <refentrytitle>udevd</refentrytitle> >+ <manvolnum>8</manvolnum> >+ <refmiscinfo class="version"></refmiscinfo> >+ </refmeta> >+ >+ <refnamediv> >+ <refname>udevd</refname> >+ <refpurpose>Device event managing daemon</refpurpose> >+ </refnamediv> >+ >+ <refsynopsisdiv> >+ <para><filename>udevd</filename></para> >+ >+ <cmdsynopsis> >+ <command>/sbin/udevd</command> >+ <arg><option>--daemon</option></arg> >+ <arg><option>--debug</option></arg> >+ <arg><option>--children-max=</option></arg> >+ <arg><option>--exec-delay=</option></arg> >+ <arg><option>--resolve-names=early|late|never</option></arg> >+ <arg><option>--version</option></arg> >+ <arg><option>--help</option></arg> >+ </cmdsynopsis> >+ >+ </refsynopsisdiv> >+ >+ <refsect1><title>Description</title> >+ <para>udevd listens to kernel uevents. For every event, udevd executes matching >+ instructions specified in udev rules. See <citerefentry> >+ <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum> >+ </citerefentry>.</para> >+ <para>The behavior of the running daemon can be changed with >+ <command>udevadm control</command>.</para> >+ </refsect1> >+ >+ <refsect1><title>Options</title> >+ <variablelist> >+ <varlistentry> >+ <term><option>--daemon</option></term> >+ <listitem> >+ <para>Detach and run in the background.</para> >+ </listitem> >+ </varlistentry> >+ <varlistentry> >+ <term><option>--debug</option></term> >+ <listitem> >+ <para>Print debug messages to stderr.</para> >+ </listitem> >+ </varlistentry> >+ <varlistentry> >+ <term><option>--children-max=</option></term> >+ <listitem> >+ <para>Limit the number of parallel executed events.</para> >+ </listitem> >+ </varlistentry> >+ <varlistentry> >+ <term><option>--exec-delay=</option></term> >+ <listitem> >+ <para>Number of seconds to delay the execution of RUN instructions. >+ This might be useful when debugging system crashes during coldplug >+ cause by loading non-working kernel modules.</para> >+ </listitem> >+ </varlistentry> >+ <varlistentry> >+ <term><option>--resolve-names=</option></term> >+ <listitem> >+ <para>Specify when udevd should resolve names of users and groups. >+ When set to <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> >+ </listitem> >+ </varlistentry> >+ <varlistentry> >+ <term><option>--version</option></term> >+ <listitem> >+ <para>Print version number.</para> >+ </listitem> >+ </varlistentry> >+ <varlistentry> >+ <term><option>--help</option></term> >+ <listitem> >+ <para>Print help text.</para> >+ </listitem> >+ </varlistentry> >+ </variablelist> >+ </refsect1> >+ >+ <refsect1><title>Environment</title> >+ <variablelist> >+ <varlistentry> >+ <term><varname>UDEV_LOG=</varname></term> >+ <listitem> >+ <para>Set the logging priority.</para> >+ </listitem> >+ </varlistentry> >+ </variablelist> >+ </refsect1> >+ >+ <refsect1><title>Kernel command line</title> >+ <variablelist> >+ <para>The parameters starting with "rd.", will be read when udev is used in an initrd.</para> >+ <varlistentry> >+ <term><varname>udev.log-priority=</varname></term> >+ <term><varname>rd.udev.log-priority=</varname></term> >+ <listitem> >+ <para>Set the logging priority.</para> >+ </listitem> >+ </varlistentry> >+ <varlistentry> >+ <term><varname>udev.children-max=</varname></term> >+ <term><varname>rd.udev.children-max=</varname></term> >+ <listitem> >+ <para>Limit the number of parallel executed events.</para> >+ </listitem> >+ </varlistentry> >+ <varlistentry> >+ <term><varname>udev.exec-delay=</varname></term> >+ <term><varname>rd.udev.exec-delay=</varname></term> >+ <listitem> >+ <para>Number of seconds to delay the execution of RUN instructions. >+ This might be useful when debugging system crashes during coldplug >+ cause by loading non-working kernel modules.</para> >+ </listitem> >+ </varlistentry> >+ </variablelist> >+ </refsect1> >+ >+ <refsect1> >+ <title>See Also</title> >+ <para><citerefentry> >+ <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum> >+ </citerefentry>, <citerefentry> >+ <refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum> >+ </citerefentry></para> >+ </refsect1> >+</refentry> >--- systemd-186/man/udev.html >+++ systemd-186/man/udev.html >@@ -3,7 +3,7 @@ > directory, or renames network interfaces. The kernel usually just assigns unpredictable > device names based on the order of discovery. Meaningful symlinks or network device > names provide a way to reliably identify devices based on their properties or >- current configuration.</p><p>The udev daemon, <span class="citerefentry"><span class="refentrytitle">systemd-udevd.service</span>(8)</span>, receives device uevents directly from >+ current configuration.</p><p>The udev daemon, <span class="citerefentry"><span class="refentrytitle">udevd</span>(8)</span>, receives device uevents directly from > the kernel whenever a device is added or removed from the system, or it changes its > state. When udev receives a device event, it matches its configured set of rules > against various device attributes to identify the device. Rules that match may >@@ -117,7 +117,7 @@ > in strings used for device naming. The mode of replacement can be specified > with this option.</p></dd><dt><span class="term"><code class="option">static_node=</code></span></dt><dd><p>Apply the permissions specified in this rule to the static device node with > the specified name. Static device node creation can be requested by kernel modules. >- These nodes might not have a corresponding kernel device at the time systemd-udevd is >+ These nodes might not have a corresponding kernel device at the time udevd is > started; they can trigger automatic kernel module loading.</p></dd><dt><span class="term"><code class="option">watch</code></span></dt><dd><p>Watch the device node with inotify; when the node is closed after being opened for > writing, a change uevent is synthesized.</p></dd><dt><span class="term"><code class="option">nowatch</code></span></dt><dd><p>Disable the watching of a device node with inotify.</p></dd></dl></div></dd></dl></div><p>The <code class="option">NAME</code>, <code class="option">SYMLINK</code>, <code class="option">PROGRAM</code>, > <code class="option">OWNER</code>, <code class="option">GROUP</code>, <code class="option">MODE</code> and <code class="option">RUN</code> >@@ -141,5 +141,5 @@ > If the number is followed by the '+' character, this part plus all remaining parts > of the result string are substituted: <code class="option">%c{N+}</code></p></dd><dt><span class="term"><code class="option">$parent</code>, <code class="option">%P</code></span></dt><dd><p>The node name of the parent device.</p></dd><dt><span class="term"><code class="option">$name</code></span></dt><dd><p>The current name of the device. If not changed by a rule, it is the > name of the kernel device.</p></dd><dt><span class="term"><code class="option">$links</code></span></dt><dd><p>A space-separated list of the current symlinks. The value is >- only set during a remove event or if an earlier rule assigned a value.</p></dd><dt><span class="term"><code class="option">$root</code>, <code class="option">%r</code></span></dt><dd><p>The udev_root value.</p></dd><dt><span class="term"><code class="option">$sys</code>, <code class="option">%S</code></span></dt><dd><p>The sysfs mount point.</p></dd><dt><span class="term"><code class="option">$devnode</code>, <code class="option">%N</code></span></dt><dd><p>The name of the device node.</p></dd><dt><span class="term"><code class="option">%%</code></span></dt><dd><p>The '%' character itself.</p></dd><dt><span class="term"><code class="option">$$</code></span></dt><dd><p>The '$' character itself.</p></dd></dl></div></div></div><div class="refsect1" title="See Also"><a name="id490136"></a><h2>See Also</h2><p><span class="citerefentry"><span class="refentrytitle">systemd-udevd.service</span>(8)</span>, >+ only set during a remove event or if an earlier rule assigned a value.</p></dd><dt><span class="term"><code class="option">$root</code>, <code class="option">%r</code></span></dt><dd><p>The udev_root value.</p></dd><dt><span class="term"><code class="option">$sys</code>, <code class="option">%S</code></span></dt><dd><p>The sysfs mount point.</p></dd><dt><span class="term"><code class="option">$devnode</code>, <code class="option">%N</code></span></dt><dd><p>The name of the device node.</p></dd><dt><span class="term"><code class="option">%%</code></span></dt><dd><p>The '%' character itself.</p></dd><dt><span class="term"><code class="option">$$</code></span></dt><dd><p>The '$' character itself.</p></dd></dl></div></div></div><div class="refsect1" title="See Also"><a name="id490136"></a><h2>See Also</h2><p><span class="citerefentry"><span class="refentrytitle">udevd</span>(8)</span>, > <span class="citerefentry"><span class="refentrytitle">udevadm</span>(8)</span></p></div></div></body></html> >--- systemd-186/man/udev.xml >+++ systemd-186/man/udev.xml >@@ -41,7 +41,7 @@ > names provide a way to reliably identify devices based on their properties or > current configuration.</para> > >- <para>The udev daemon, <citerefentry><refentrytitle>systemd-udevd.service</refentrytitle> >+ <para>The udev daemon, <citerefentry><refentrytitle>udevd</refentrytitle> > <manvolnum>8</manvolnum></citerefentry>, receives device uevents directly from > the kernel whenever a device is added or removed from the system, or it changes its > state. When udev receives a device event, it matches its configured set of rules >@@ -517,7 +517,7 @@ > <listitem> > <para>Apply the permissions specified in this rule to the static device node with > the specified name. Static device node creation can be requested by kernel modules. >- These nodes might not have a corresponding kernel device at the time systemd-udevd is >+ These nodes might not have a corresponding kernel device at the time udevd is > started; they can trigger automatic kernel module loading.</para> > </listitem> > </varlistentry> >@@ -696,7 +696,7 @@ > <refsect1> > <title>See Also</title> > <para><citerefentry> >- <refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum> >+ <refentrytitle>udevd</refentrytitle><manvolnum>8</manvolnum> > </citerefentry>, > <citerefentry> > <refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum> >--- systemd-186/units/systemd-udevd.service.in >+++ systemd-186/units/systemd-udevd.service.in >@@ -7,7 +7,7 @@ > > [Unit] > Description=udev Kernel Device Manager >-Documentation=man:systemd-udevd.service(8) man:udev(7) >+Documentation=man:udevd(8) man:udev(7) > Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket > After=systemd-udevd-control.socket systemd-udevd-kernel.socket > Before=basic.target >@@ -19,4 +19,4 @@ > OOMScoreAdjust=-1000 > Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket > Restart=always >-ExecStart=@rootlibexecdir@/systemd-udevd >+ExecStart=@sbindir@/udevd >--- systemd-186/units/systemd-udev-settle.service.in >+++ systemd-186/units/systemd-udev-settle.service.in >@@ -17,9 +17,9 @@ > > [Unit] > Description=udev Wait for Complete Device Initialization >-Documentation=man:udev(7) man:systemd-udevd.service(8) >+Documentation=man:udev(7) man:udevd(8) > DefaultDependencies=no >-Wants=systemd-udevd.service >+Wants=udevd > After=systemd-udev-trigger.service > Before=basic.target > ConditionCapability=CAP_MKNOD >@@ -28,7 +28,7 @@ > Type=oneshot > TimeoutSec=180 > RemainAfterExit=yes >-ExecStart=@bindir@/udevadm settle >+ExecStart=@sbindir@/udevadm settle > > [Install] > WantedBy=basic.target >--- systemd-186/units/systemd-udev-trigger.service.in >+++ systemd-186/units/systemd-udev-trigger.service.in >@@ -7,8 +7,8 @@ > > [Unit] > Description=udev Coldplug all Devices >-Documentation=man:udev(7) man:systemd-udevd.service(8) >-Wants=systemd-udevd.service >+Documentation=man:udev(7) man:udevd(8) >+Wants=udevd > After=systemd-udevd-kernel.socket systemd-udevd-control.socket > DefaultDependencies=no > ConditionCapability=CAP_MKNOD >@@ -16,4 +16,4 @@ > [Service] > Type=oneshot > RemainAfterExit=yes >-ExecStart=@bindir@/udevadm trigger --type=subsystems --action=add ; @bindir@/udevadm trigger --type=devices --action=add >+ExecStart=@sbindir@/udevadm trigger --type=subsystems --action=add ; @sbindir@/udevadm trigger --type=devices --action=add
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 424824
: 317292 |
317294
|
317296
|
317332