Bug 1528451
Summary: | dracut var dracut_cmd set incorrectly | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stephen Champion <schamp> |
Component: | dracut | Assignee: | dracut-maint-list |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | dracut-maint-list, harald, jonathan, schamp, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-01-10 11:48:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Stephen Champion
2017-12-21 21:52:17 UTC
Oh dear, fancy "pagure over dist-git" stuff is still broken. I am definitely not the default assignee for "dracut", re-assigning manually for now. Reported the issue at https://pagure.io/fedora-infrastructure/issue/6587 already. Hmm, I don't know how $0 could end up without a path. With "--help printing $dracut_cmd" cat << EOF Usage: $dracut_cmd [OPTION]... [<initramfs> [<kernel-version>]] Test: creating local dracut executable: ~ # cat dracut #!/bin/sh echo "FAIL" ~ # ./dracut FAIL Testing /usr/bin/dracut: ~ # dracut --help | head -1 Usage: /usr/bin/dracut [OPTION]... [<initramfs> [<kernel-version>]] In a POSIX shell, $0 is not required to include the full path - only the path components that were used. But bash is not a POSIX shell, and this is not a bug. |