Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
This is a request to use an updated release of python-simpleline in RHEL8.7.
When booting a system in rescue mode and having "user data" LUKS devices on the system, it's mandatory for the user to unlock those even though this should just be optional because these are not useful to troubleshoot system boot related to some issue with the system filesystems (/, /boot, /usr, etc.).
This is because of a bug in the python-simpleline implementation available on RHEL8: not entering a passphrase (through just typing "Enter" key) leads to the modal dialog to remain alive and hang Anaconda Rescue module.
This bug is **critical** because in some cases, the admin can just NOT unlock the LUKS devices, typically if there is no passphrase associated to the LUKS device and Clevis is used instead.
Refer to BZ #2121914 for the initial bug on the python-simpleline component.
Version-Release number of selected component (if applicable):
Anaconda Rescue module on RHEL8 including RHEL8.6
How reproducible:
Always
Steps to Reproduce:
1. Add a second disk to a VM on which a LVM LV will be encrypted and boot the VM
2. Create the encrypted disk
# vgcreate data /dev/vdb
# lvcreate -n luksdata -L 2G data
# cryptsetup luksFormat /dev/data/luksdata --force-password
--> "redhat"
# UUID=$(cryptsetup luksUUID /dev/data/luksdata)
# echo "luks-$UUID UUID=$UUID none discard" >> /etc/crypttab
# cryptsetup luksOpen /dev/data/luksdata luks-$UUID
# mkfs.xfs -L "LUKS XFS" /dev/mapper/luks-$UUID
# echo "/dev/mapper/luks-$UUID /luksdata xfs defaults,x-systemd.device-timeout=0 0 0" >> /etc/fstab
3. Boot with RHEL DVD in Troubleshooting mode and select "1) Continue"
4. Enter no passphrase by just typing "Enter" key
Actual results:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
================================================================================
Password
data-luksdata
Passphrase: <CR>
--> hangs there forever
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Expected results: continues to /mnt/sysroot prompt without unlocking
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
================================================================================
Password
data-luksdata
Passphrase: <CR>
================================================================================
================================================================================
Rescue Shell
Your system has been mounted under /mnt/sysroot.
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Actually, this bug is not needed. The fix is implemented in bug 2121914 and updated python-simpleline will be included in a next compose automatically.
Closing as a duplicate.
*** This bug has been marked as a duplicate of bug 2121914 ***