Bug 1085562
| Summary: | dracut is unable to read crypttab if last line does not contain a newline | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Kevin Young <kevin_young> |
| Component: | dracut | Assignee: | dracut-maint-list |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.5 | CC: | atodorov, bgoncalv, dracut-maint-list, harald, jonathan, kevin_young, mganisin, pholica, tlavigne |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
If /etc/crypttab does not contain a newline as the last character, the last line is not parsed by dracut.
Consequence:
The encrypted disk is not unlocked.
Fix:
dracut was fixed to handle /etc/crypttab without a newline at the end.
Result:
The encrypted disk specified in the last line is handled, a password is requested and the disk is unlocked.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-22 06:38:00 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
Kevin Young
2014-04-08 23:05:17 UTC
This is filed against Fedora Rawhide, but: Version-Release number of selected component (if applicable): dracut-004-336.el6_5.2 is this supposed to be for RHEL 6 or Fedora? Thanks! I wasn't able to reproduce with dracut-004-356.el6.noarch and my /etc/crypptab doesn't contain a new line at the end. Kevin, can you see if you can reproduce with RHEL 6.6 ? Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1328.html verified the fix |