Bug 1342905 - Enters dracut emergency shell after installation with autopart encrypted.
Summary: Enters dracut emergency shell after installation with autopart encrypted.
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.2
Hardware: Unspecified
OS: Unspecified
Target Milestone: pre-dev-freeze
: 7.3
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
Depends On:
Blocks: ovirt-node-ng-platform
TreeView+ depends on / blocked
Reported: 2016-06-06 05:24 UTC by Wei Wang
Modified: 2016-06-13 14:02 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2016-06-13 14:02:14 UTC
Target Upstream Version:

Attachments (Terms of Use)
kickstart file (1.00 KB, text/plain)
2016-06-06 05:24 UTC, Wei Wang
no flags Details
resosreport (100.99 KB, text/plain)
2016-06-06 05:26 UTC, Wei Wang
no flags Details

Description Wei Wang 2016-06-06 05:24:26 UTC
Created attachment 1165041 [details]
kickstart file

Description of problem:
Enters dracut emergency shell after installation with autopart encrypted.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install NGN on a machine with kickstart file in attachment.
    key parameters:
    autopart --type=thinp --encrypted --passphrase=$1$wHbL1u1G$gqz7IPh.ctaUHFMpQnyKl/

2. During rebooting , input the passphrase
3. Check system after rebooting process

Actual results:
Enters dracut emergency shell after rebooting.

Expected results:
System reboot successfully, and login screen prompt.

Additional info:

Comment 1 Wei Wang 2016-06-06 05:26:39 UTC
Created attachment 1165042 [details]

Comment 2 Fabian Deutsch 2016-06-06 09:14:27 UTC
Does this also happen with RHEL7?

Comment 3 Wei Wang 2016-06-08 08:34:13 UTC
Hi Fabian,
I will give the feedback later since I need to debug some problems and future research.

Comment 4 Wei Wang 2016-06-13 08:58:10 UTC
Test Version

Test Steps:
1. Get squashfs image from RHEL DVD iso
2. Get passphrase via command #openssl passwd -1
3. Install NGN on a machine with kickstart file
    key parameters:
    autopart --type=thinp --encrypted --passphrase=$1$wHbL1u1G$gqz7IPh.ctaUHFMpQnyKl/

4. Check the process of installation

Install fail, since "Could not open X display"

More info:
Using rhev-hypervisor7-ng-4.0-20160608.0.x86_64 for retesting, and part /boot individually which is not encrypted, also install fail, the "Could not open X display" prompted.

Comment 5 David Shea 2016-06-13 14:02:14 UTC
LUKS does not the same crypt algorithm as the system password, and a pre-encrypted passphrase cannot be set in kickstart. The passphrase set for this install is literally "$1$wHbL1u1G$gqz7IPh.ctaUHFMpQnyKl/".

Note You need to log in before you can comment on or make changes to this bug.