Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 405106 Details for
Bug 551724
sys-fs/udev-init-scripts-29: X and wireless network interface cannot be started, Keyboard and Touchpad are not working
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Start udevd in daemon mode
0001-udev-Start-in-daemon-mode-with-stdin-stdout-stderr-d.patch (text/plain), 1.48 KB, created by
Mike Gilbert
on 2015-06-13 23:05:04 UTC
(
hide
)
Description:
Start udevd in daemon mode
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2015-06-13 23:05:04 UTC
Size:
1.48 KB
patch
obsolete
>From 9d08c1c26a24718c8c0bbe4abb8130c636adcfbc Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Sat, 13 Jun 2015 18:48:43 -0400 >Subject: [PATCH] udev: Start in daemon mode with stdin/stdout/stderr = > /dev/null > >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 >--- > init.d/udev | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > >diff --git a/init.d/udev b/init.d/udev >index f26caa4..4b1147f 100644 >--- a/init.d/udev >+++ b/init.d/udev >@@ -2,8 +2,7 @@ > # Copyright 1999-2013 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > >-command_args="${udev_opts}" >-start_stop_daemon_args="--background" >+command_args="--daemon ${udev_opts}" > description="udev manages device permissions and symbolic links in /dev" > extra_started_commands="reload" > description_reload="Reload the udev rules and databases" >@@ -61,10 +60,15 @@ start_pre() > echo "" >/proc/sys/kernel/hotplug > fi > >+ local stderr=/dev/null >+ > if yesno "${udev_debug:-NO}"; then >- command_args="${command_args} --debug 2> /run/udevdebug.log" >+ command_args="${command_args} --debug" >+ stderr=/run/udevdebug.log > fi > >+ command_args="${command_args} < /dev/null > /dev/null 2> ${stderr}" >+ > return 0 > } > >-- >2.4.3 >
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 551724
: 405106