Bug 855481
Summary: | Root password is empty after install from live image without completing root pw spoke in anaconda | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
Component: | anaconda | Assignee: | Brian Lane <bcl> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | anaconda-maint-list, g.kaviyarasu, jonathan, kparal, robatino, tagoh, vanmeeuwen+fedora |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | AcceptedNTH RejectedBlocker | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-10-23 14:19:19 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: | 752662 |
Description
Adam Williamson
2012-09-07 23:44:28 UTC
In fact, the root password seems to be empty post-install whether you complete the spoke or not, anaconda's simply failing to set it at all. bcl is investigating. libuser appears to be ignoring the LIBUSER_CONF variable, it is setting the root password on /etc/shadow instead of /mnt/sysimage/etc/shadow. I'm not sure why yet. LIBUSER_CONF needs to be set before calling User() Discussed at 2012-09-10 QA meeting acting as a blocker review meeting. Though we're slightly uncomfortable with it, we decided for now that this doesn't meet the criteria precisely and so we accept it as NTH but reject as blocker. We may re-visit this decision later. anaconda-18.6.7-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/anaconda-18.6.7-1.fc18 Package anaconda-18.6.7-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing anaconda-18.6.7-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-13805/anaconda-18.6.7-1.fc18 then log in and leave karma (feedback). This is fixed in Alpha RC2. anaconda-18.6.7-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. This issue seems still there. I tried the install from live image, http://adamwill.fedorapeople.org/graphics_test_week_20120924/20120924-test_days-x86_64.iso and set root password during the installation. once it's finished, boot. gdm didn't ask the root password when I type "root" as the user. the password field in /etc/shadow is empty for root. I can't reproduce this. I just tested it myself and my root password was properly set. Did you click the 'Done' button after entering and confirming the root password? Just leaving the screen sitting there would not be enough, I don't think. Of course I did and I can see "Root password is set" message there. but the root password is still empty in /etc/shadow. After "reboot" screen appears, tried to see how is /etc/shadow. and realized that anaconda changed the root password in "/etc/shadow" but /mnt/sysimage/etc/shadow as it mentioned at comment#2. anaconda --version gives me "anaconda 18.8". Moving the root password setup to the progress hub broke this. Patch sent. anaconda-18.11-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/anaconda-18.11-1.fc18 Package anaconda-18.11-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing anaconda-18.11-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-15207/anaconda-18.11-1.fc18 then log in and leave karma (feedback). anaconda-18.12-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/anaconda-18.12-1.fc18 Anaconda 18.19 now correctly sets root password when installing from Live. Closing. |