Summary: | sys-fs/udev-059 causes hotplug startup errors | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Philip Kovacs <pkdevel> |
Component: | New packages | Assignee: | Greg Kroah-Hartman (RETIRED) <gregkh> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, Felix.Braun, ford_prefect, julien.enche |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Philip Kovacs
2005-07-01 16:39:49 UTC
You should not be running the hotplug init script. It does not do anything at all. What exactly is the errors? hotplug/coldplug should be running way after udev starts up, so there should not be an issue. I'm getting the same error on two different systems after upgrading to udev-059. This occurs well before any scripts from /etc/init.d are run: * Configuring system to use udev ... /etc/hotplug.d/default/default.hotplug: line 26: /dev/null: No such file or directory [...repeats several times...] /etc/hotplug.d/default/default.hotplug: line 26: /dev/null: No such file or directory * Setting /sbin/udevsend as hotplug agent ... [ ok ] It looks like this has also been reported on the forums: http://forums.gentoo.org/viewtopic-t-355069-highlight-udev.html?sid=5dc06f5d41745be621a82d2316baece6 Ok, I can duplicate this now, odd that I couldn't before. Anyone in the base-system group who has some good bash-foo, know how to change the following lines: exec < /dev/null test -t 1 || exec > /dev/null test -t 2 || exec 2>&1 to not use /dev/null if it's not there? I think we are trying to close all fd and then route stdin and stdout nowhere. Have a better idea how to do it? I'm getting some upstream ackowledgement that this is likely a udev-059 issue. Other distros are reporting the problem, e.g. Debian. I'm masking off 059 locally for now and using 058. Anyone in the base-system group who has some good bash-foo, know how to change the following lines: exec < /dev/null test -t 1 || exec > /dev/null test -t 2 || exec 2>&1 to not use /dev/null if it's not there? I think we are trying to close all fd and then route stdin and stdout nowhere. Have a better idea how to do it? Greg, How about: exec 0<&- exec 1>&- exec 2>&- Those will close the stdin, stdout and stderr, respectively. Phil It's not a udev 059 issue, it's how I wrote the gentoo udev config file. I'll have a new update in a bit to fix this, sorry about this... *** Bug 97702 has been marked as a duplicate of this bug. *** Fixed in 060 release |