Bug 440961
Summary: | /sbin/start_udev is calling /usr/bin/find before it may be available | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> |
Component: | udev | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-05 16:31:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michal Jaegermann
2008-04-04 17:50:21 UTC
"Copy-and-waste". Again. Modified loop should read findalias /sys | while read modules ; do [ "$modules" ] && modprobe -a -v -q $modules wait_for_queue $udevtimeout done obviously enough. thanks for the replacement :-) findalias () { local n for n in "$1"/* ; do [ -h "$n" ] && continue [ -d "$n" ] && { findalias "$n" ; continue; } [ "${n##*/}" == "modalias" ] && echo $(cat $n) done } findalias /sys | while read modules ; do if [ -n "$modules" ]; then echo /sbin/modprobe -a -v -q $modules wait_for_queue $udevtimeout fi done without echo of course: findalias /sys | while read modules ; do if [ -n "$modules" ]; then /sbin/modprobe -a -v -q $modules wait_for_queue $udevtimeout fi done udev-120-2 |