| Summary: | Cannot login after set admin user password in rescue mode. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Guohua Ouyang <gouyang> |
| Component: | ovirt-node | Assignee: | Mike Burns <mburns> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.3 | CC: | acathrow, bsarathy, cshao, gouyang, jboggs, leiwang, mburns, ovirt-maint, sgordon, shcao, ycui, yuachen |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-node-2.3.0-4.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, when the Hypervisor was started in rescue mode, a race condition meant changes to the admin password were not always persisted correctly. As a result the password previously set password would still be in effect following a system reboot. An explicit sync operation is now performed to ensure that password changes are persisted across reboots.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-19 14:20:41 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: | |
|
Description
Guohua Ouyang
2012-04-06 09:05:06 UTC
I reproduced the issue on my machine several times: 1. auto install with BOOTIF=eth0 storage_init=ata firstboot 2. reboot and add rescue 3. check /etc/shadow admin password was not set 4. set admin passwd with o-c-password. 5. check /etc/shadow admin password was set now. /config/etc/shadow also have the password set. 6. reboot, but failed to login with the passwd. 7. reboot and enter into rescue mode again, check both /config/etc/shadow and /etc/shadow are empty. But if I run sync after step4, reboot can login with the passwd. upstream commit: http://gerrit.ovirt.org/3478 verified on rhevh-6.3-20120426.2, can login with the password set in rescue mode.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Previously, a race condition in rescue mode could cause a password set for the admin user to not be persisted correctly. The script in rescue mode will now do an explicit sync operation to ensure that the changes are persisted.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1 +1 @@
-Previously, a race condition in rescue mode could cause a password set for the admin user to not be persisted correctly. The script in rescue mode will now do an explicit sync operation to ensure that the changes are persisted.+Previously, when the Hypervisor was started in rescue mode, a race condition meant changes to the admin password were not always persisted correctly. As a result the password previously set password would still be in effect following a system reboot. An explicit sync operation is now performed to ensure that password changes are persisted across reboots.
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. http://rhn.redhat.com/errata/RHBA-2012-0741.html |