| Summary: | Dracut >= 042 does not produce a bootable initramfs ("permission denied" errors) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | g.trentalancia | ||||||
| Component: | dracut | Assignee: | dracut-maint-list | ||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 23 | CC: | dracut-maint-list, g.trentalancia, harald, jonathan, zbyszek | ||||||
| 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: | 2016-04-18 11:20:29 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: | |||||||
| Attachments: |
|
||||||||
Created attachment 1147217 [details]
Proposed patch (version 2)
As already explained on the mailing list, the patch committed by Harald Hoyer (db7d61cff7f5a5be3a56cff39dc278f004b9c461 Thu Apr 14 14:56:37 2016 +0200) does NOT work (due to the function str_starts() not behaving as expected). If the check proposed by Harald Hoyer is really needed (I don't think it's really needed), please apply patch version 2: https://bugzilla.redhat.com/attachment.cgi?id=1147217 otherwise, please apply patch version 1: https://bugzilla.redhat.com/attachment.cgi?id=1146474 The above two patches are the only one that work properly and that have been tested. |
Created attachment 1146474 [details] Proposed patch Description of problem: Dracut (>= 042, up to latest) fails to boot up the system with several "permission denied" errors on execution of binaries. Version-Release number of selected component (if applicable): 042 and greater How reproducible: Steps to Reproduce: 1. Create an initramfs 2. Install grub using the initramfs that has been created 3. Boot up the newly installed grub entry Actual results: System fails to boot up (with "permission denied" errors and it does not offer an emergency shell). Expected results: The system should boot up normally. Additional info: Patch submitted to the initramfs.org mailing list.