| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
| |
empty value resulted in "Extraneous argument" error
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
|
| |
As of systemd-246, systemd-udevd is a symlink to udevadm.
Bug: https://bugs.gentoo.org/734950
Reverts: b165050513894b3d600e8302bd68c7ba553fbb04
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
|
| |
Using this option does not allow OpenRC to show the status correctly
since udevd doesn't write a pid file.
We need to create the pidfile ourselves.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
systemd-udevd was fixed upstream, making this hack unnecessary.
|
|
|
|
|
|
|
|
|
|
|
| |
Starting in daemon mode prevents udev-trigger from running before
udevd has fully started. See bug 551928.
To prevent a regression on bug 547916, we use shell redirection
to redirect the standard file descriptors to /dev/null.
X-Gentoo-Bug: 551724
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=551724
|
|
|
|
|
| |
X-Gentoo-Bug: 551644
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=551644
|
|
|
|
|
| |
This is how earlier versions of the scripts behaved, so we should not
break expectations.
|
|
|
|
|
| |
This is how earlier versions of the scripts behave, so we should not
break expectations.
|
|
|
|
|
| |
X-Gentoo-Bug: 548090
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=548090
|
|
|
|
|
|
|
|
| |
This is needed since udev does not close std{in,out,err} if the --daemon
function is used, which leaves the terminal open forever.
X-Gentoo-Bug: 547916
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=547916
|
| |
|
|
|
|
|
|
|
|
|
| |
The udev service now has been split into three services: udev starts the
daemon, udev-trigger populates /dev and udev-settle waits for all udev
events to time out.
udev and udev-trigger will be needed in the sysinit runlevel; however,
udev-settle will not on most systems.
|
| |
|
|
|
|
|
|
| |
OpenRC 0.13 and newer will mount /dev correctly,. The tests to make sure
devtmpfs is in the kernel and /dev is a mounted devtmpfs have been moved
to start_pre in the udev service script.
|
| |
|
|
|
|
|
|
|
|
| |
This code should only be run by the udev init script, so let's put it
inside the script instead of making it a helper.
X-Gentoo-Bug: 495086
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=495086
|
|
|
|
|
|
|
|
| |
This allows the predictable interface names to work when coldplugging is
disabled.
X-Gentoo-Bug: 465248
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=465248
|
|
|
|
|
|
|
| |
We should run /bin/udevadm directly instead of using a symbolic link.
X-Gentoo-Bug: 464190
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=464190
|
| |
|
|
|
|
|
| |
This is not really needed in the output of the init script since it is
covered in the conf.d file and helper script.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is being added because there is software in our tree which hard
codes the reference to /dev/root instead of using stat("/") to retrieve
the root device. It is temporary however and will be removed again once
this software is fixed.
This is based on a patch submitted by Samuli Ssuominen.
X-Gentoo-Bug: 438380
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=438380
|
|
|
|
|
|
|
|
|
| |
Move the settings for udevmonitor_pid and udevmonitor_log to global
scope since they are used in two functions.
Also, we do not need to set the rc_coldplug, udev_debug,
udev_monitor_keep_running and udev_settle_timeout to their default
values in global scope; we can just use the default values when we refer
to the variables.
|
|
|
|
|
|
|
|
| |
Modification by William Hubbs: I added an einfo to inform users that
symbolic links and permissions are being set.
X-Gentoo-Bug: 461838
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=461838
|
|
|
|
|
|
| |
Reported-by: matthew4196@gmail.com
X-Gentoo-Bug: 424189
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=424189
|
|
|
|
|
|
|
|
| |
Udev does not actively block people from attempting to run on older
versions of the kernel, so we shouldn't either.
X-Gentoo-Bug: 454324
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=454324
|
|
|
|
|
|
|
| |
Modern udev requires at least kernel 2.6.39, so adjust the version in
this script.
https://bugs.gentoo.org/show_bug.cgi?id=454324
|
|
|
|
|
| |
This function is used in start_pre, so move it to reflect that. Code is
easier to follow if it is defined before it is used.
|
|
|
|
|
|
|
|
| |
* Create /run/udev/rules.d before dropping files in place.
* Move disable_oldnet_hotplug to start_pre so that it is done before
starting the daemon
http://bugs.gentoo.org/453656
|
|
|
|
| |
Thanks to Nikoli for pointing this out.
|
|
|
|
| |
Thanks to Samuli Suominen for catching this.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This does not need to be in global scope since the only place the
command variable is used is the start function.
|
|
|
|
|
|
| |
The udev init script should use "udevadm control --exit" as the way to
stop udev, so this adds a custom stop function.
Thanks to Mike Gilbert <floppym@gentoo.org> for pointing this out.
|
|
|
|
|
|
|
|
| |
This was added so that the eudev fork can use the udev-init-scriptss
package.
X-Gentoo-Bug: 444396
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=444396
|
|
|
|
|
|
| |
Add in the dev-mount virtual dep for the tmpfiles.d work.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|