| Summary: | /pre-trigger/30parse-biosdevname.sh: 10: [[: not found | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Alexander Todorov <atodorov> |
| Component: | dracut | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | jburke, ksrot, pknirsch, syeghiay |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dracut-004-41.el6 | Doc Type: | Bug Fix |
| Doc Text: |
This bug only happened in the development phase of this package, and did not happen in a released package.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 11:54:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 501533, 670159 | ||
|
Description
Alexander Todorov
2011-02-04 11:24:41 UTC
Despite the error message everything else regarding biosdevname should work.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
This bug only happened in the development phase of this package, and did not happen in a released package.
With dracut-004-39.el6.noarch I got:
NMI watchdog disabled for cpu0: unable to create perf event: -2
[: 10: !=: unexpected operator
Welcome to Red Hat Enterprise Linux Workstation
Not sure if this is related or it's completely different error.
I have biosdevname installed on the system. When booting with: biosdevname=1 - no error is printed biosdevname=0 - [: 10: !=: unexpected operator Don't specify biosdevname parameter, same error. *** Bug 680262 has been marked as a duplicate of this bug. *** *** Bug 681818 has been marked as a duplicate of this bug. *** dracut-004-39.el6.noarch: During the system boot following message appears in the console: 1: !=: unexpected operator Seems like USE_BIOSDEVNAME in parse-biosdevname.sh is not properly initialized. Below is a fragment of dmesg: dracut: + [ -e /pre-trigger/30parse-biosdevname.sh ] dracut: + . /pre-trigger/30parse-biosdevname.sh dracut: + getarg biosdevname dracut: + set +x dracut: + return 1 dracut: biosdevname=1: activating biosdevname network renaming dracut: + USE_BIOSDEVNAME= dracut: + [ != 1 ] dracut: [: 1: !=: unexpected operator dracut: + info biosdevname=1: activating biosdevname network renaming dracut: + check_quiet dracut: + [ -z yes ] dracut: + echo <6>dracut: biosdevname=1: activating biosdevname network renaming dracut: + [ yes != yes ] dracut: + udevproperty UDEV_BIOSDEVNAME=1 See "Fixed In Version: dracut-004-41.el6" I no longer see this error with dracut-004-43.el6.noarch. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0523.html |