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.
Bug 1851220 - Fields for entering root password get grayed out
Summary: Fields for entering root password get grayed out
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.0
Assignee: Vladimír Slávik
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1812825
TreeView+ depends on / blocked
 
Reported: 2020-06-25 19:30 UTC by Jan Stodola
Modified: 2021-11-11 10:33 UTC (History)
5 users (show)

Fixed In Version: anaconda-33.16.3.17-1
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1962159 (view as bug list)
Environment:
Last Closed: 2020-11-04 03:23:52 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screnshot (26.88 KB, image/png)
2020-06-25 19:33 UTC, Jan Stodola
no flags Details
anaconda.log (15.61 KB, text/plain)
2020-06-25 19:34 UTC, Jan Stodola
no flags Details
syslog (320.14 KB, text/plain)
2020-06-25 19:34 UTC, Jan Stodola
no flags Details
Updates image for the Github PR (20.52 KB, application/gzip)
2020-07-16 14:33 UTC, Vladimír Slávik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4729 0 None None None 2020-11-04 03:24:21 UTC

Description Jan Stodola 2020-06-25 19:30:50 UTC
Description of problem:
It's not possible to enter root password in the Root Password spoke if the spoke was visited previously and the content of the fields was erased.

Version-Release number of selected component (if applicable):
RHEL-8.3.0-20200616.0
anaconda-33.16.3.6-1.el8

How reproducible:
Always

Steps to Reproduce:
1. Start graphical installation.
2. Proceed to the "Root Password" spoke.
3. Enter "a" into the "Root Password" field and delete it (Backspace).
4. Click Done to return to the main hub.
5. Enter the "Root Password" spoke again.
6. Try to set a new password.


Actual results:
Unable to set a new password, because both fields are grayed out .

Expected results:
It's possible to set a new password.

Comment 1 Jan Stodola 2020-06-25 19:33:50 UTC
Created attachment 1698847 [details]
screnshot

Comment 2 Jan Stodola 2020-06-25 19:34:08 UTC
Created attachment 1698848 [details]
anaconda.log

Comment 3 Jan Stodola 2020-06-25 19:34:31 UTC
Created attachment 1698849 [details]
syslog

Comment 4 Radek Vykydal 2020-06-26 07:54:16 UTC
Vladimir, I've messed with this area recently, so giving just a few pointers. The entry is greyed out because root is locked by setting password to "" in
https://github.com/rhinstaller/anaconda/blob/bc5b7d4088396a96860145af438f32196d669faf/pyanaconda/modules/users/users.py#L335
which makes the entry insensitive in the UI I guess. In Fedora, where the ui (checkbox) for locking root is exposed
it would be possible to make the entry sensitive by unchecking the Lock checkbox I think but in RHEL, we hide it:
https://github.com/rhinstaller/anaconda/blob/bc5b7d4088396a96860145af438f32196d669faf/pyanaconda/ui/gui/spokes/root_password.py#L76
... well, you'll find out and fix up what I've started.

Comment 8 Vladimír Slávik 2020-07-16 14:00:08 UTC
Fix candidate PR: https://github.com/rhinstaller/anaconda/pull/2739

Comment 9 Vladimír Slávik 2020-07-16 14:33:56 UTC
Created attachment 1701407 [details]
Updates image for the Github PR

Comment 16 errata-xmlrpc 2020-11-04 03:23:52 UTC
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 (anaconda bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2020:4729


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