Bug 1557529
Summary: | Setting root password on live images fails since anaconda-28.22.2-3.fc28 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
Component: | anaconda | Assignee: | Martin Kolman <mkolman> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | anaconda-maint-list, jkonecny, jonathan, kellin, mkolman, robatino, vanmeeuwen+fedora, v.podzimek+fedora, vponcova, wwoods |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | AcceptedBlocker | ||
Fixed In Version: | anaconda-28.22.2-5.fc28 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-21 21:53:14 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1469204 |
Description
Adam Williamson
2018-03-16 19:48:21 UTC
Note, this seems to work OK in Rawhide. So this is what happens, quite an interesting sequence of events: During the switch to handle the rootpw command by a kickstart module the str() method of the Kickstart command object has not been overridden, resulting in the command missing from the output kickstart Anaconda saves after the installation into /root. This had the unintended consequence of making Initial Setup lock the root account during it's run after the installation. Initial Setup read the kickstart file in /root created by Anaconda and noticed the rootpw command is missing, which it equaled to root password not being set. There is logic in place preventing Anaconda/IS from creating root accounts with empty root password, which triggered and locked the root account. So make sure the rootpw command is present in the output kickstart by adding the overlooked str() method override as with all other kickstart commands handled by DBUS modules. Fix PR: https://github.com/rhinstaller/anaconda/pull/1398 anaconda-28.22.2-5.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2c066076a2 Discussed at 2018-03-19 Fedora 28 blocker review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2018-03-19/f28-blocker-review.2018-03-19-16.02.html . Accepted as a Beta blocker as a violation of the criteria cited in the description, read as applying to the root account; we were substantially swayed by the fact you can complete an install with a non-admin user account and a broken root account, which renders the root account inaccessible without emergency surgery. anaconda-28.22.2-5.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-2c066076a2 anaconda-28.22.2-5.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. anaconda-28.22.3-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-9fd9270cd5 anaconda-28.22.3-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-9fd9270cd5 This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. This should've been closed all along. |