Bug 527726
Summary: | failed to stat() /dev/mapper/{no,raid,disks} | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Schmidt <mschmidt> | ||||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | rawhide | CC: | bmj001, dqarras, fedora, hdegoede, iarlyy, nicolas.mailhot, notting, rvokal, svene | ||||||
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: | 2009-10-09 20:19:13 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: | |||||||||
Attachments: |
|
Description
Michal Schmidt
2009-10-07 14:10:36 UTC
Good one, ack *** Bug 527553 has been marked as a duplicate of this bug. *** Created attachment 364016 [details]
slightly different patch
Relying on dmraid to consistently have that exact error message seems like a bad idea.
Here's a slightly different approach - this works for me on a non-dmraid box. Hans - does this work for you with dmraid?
(In reply to comment #3) > Relying on dmraid to consistently have that exact error message seems like a > bad idea. Perhaps. Notice that dracut relies on the exact error message too. In /usr/share/dracut/modules.d/90dmraid/dmraid.sh: SETS=$(dmraid -c -s) if [ "$SETS" = "no raid disks" ]; then return fi (In reply to comment #4) > (In reply to comment #3) > > Relying on dmraid to consistently have that exact error message seems like a > > bad idea. > > Perhaps. Notice that dracut relies on the exact error message too. In > /usr/share/dracut/modules.d/90dmraid/dmraid.sh: > And does F-11 rc.sysinit (it pipes the output of dmraid through: egrep -iv "^no " As said this is my bad, I introduced this with the patch from bug 524355. I agree this is not pretty though. Note I filed a bug with part of the same patch for RHEL-5 too (but cannot find it atm), that has this issue too. I've tested the patch from comment #3, and it works fine on a system with raidsets. Note that it is safe to simply rely on the "no raid disks" string though, dmraid does not come with any translations, I don't even think it uses gettext at all. This would safe us forking of and execing awk, I know things like this are not really the bottle neck when booting, but small things like this do add up over the overall boot. *** Bug 528098 has been marked as a duplicate of this bug. *** OK, original patch merged in http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=383fc9e4ed80c339339a91feeb3736ff637e84b8. This is marked CLOSED RAWHIDE, but Rawhide has still only 9.00. The fix is in 9.01. Bill, are you going to ask rel-eng to tag 9.01 for dist-f12? Either that or 9.02 (not yet released) in the next couple of days. *** Bug 530657 has been marked as a duplicate of this bug. *** *** Bug 568790 has been marked as a duplicate of this bug. *** |