Bug 853788

Summary: anaconda (text mode) set root password appears to not to work
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, dwa, g.kaviyarasu, hamzy, jonathan, kparal, robatino, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: AcceptedBlocker
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-17 22:53:06 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: 752654, 846989    

Description Reartes Guillermo 2012-09-02 20:29:45 UTC
Description of problem:

Installing in text mode, the root password function does not work. 
Tried two times with root01/root01 and one with pepepe/pepepe.
It anaconda (text mode) appears to have accepted the password.
It is not possible to log in to the installed system.

Version-Release number of selected component (if applicable):
f18 tc5 dvd

How reproducible:
always

Steps to Reproduce:
1. boot in text mode
2. set root password
3. no login after reboot
  
Expected results:
be able to se the root password

Additional info:

Comment 1 David Aquilina 2012-09-04 19:51:11 UTC
Anaconda looks like it's locking the root account by default. If you look at /root/anaconda-ks.cfg, the line reads: 

rootpw --lock --plaintext [plaintext root password]

Seen on ppc64 with anaconda 18.6.5 as well. Raising prio/sev to 'high' since ppc typically doesn't have graphics hardware.

Comment 2 Jesse Keating 2012-09-04 21:29:17 UTC
Problem located, patch posted.

Comment 3 Adam Williamson 2012-09-05 18:30:23 UTC
Proposing as Alpha blocker per criterion "When booting a system installed without a graphical environment, or when using a correct configuration setting to cause an installed system to boot in non-graphical mode, the system should boot to a state where it is possible to log in through at least one of the default virtual consoles" - if the root password isn't set you can't log in.

Comment 4 Adam Williamson 2012-09-05 18:49:49 UTC
Discussed at 2012-09-05 blocker review meeting. Accepted as a blocker per criterion cited in comment #3.

Comment 5 Kamil Páral 2012-09-07 09:03:45 UTC
Still broken in Alpha TC6.

Comment 6 Jesse Keating 2012-09-07 19:01:46 UTC
Pushed to master and picked to f18-alpha-branch.

Comment 7 Fedora Update System 2012-09-07 20:17:21 UTC
anaconda-18.6.6-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.6.6-1.fc18

Comment 8 Fedora Update System 2012-09-08 19:25:52 UTC
Package anaconda-18.6.6-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.6-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13611/anaconda-18.6.6-1.fc18
then log in and leave karma (feedback).

Comment 9 Reartes Guillermo 2012-09-11 00:59:50 UTC
Tried with f18 pretc7-2 netinst (anaconda v18.6.6) and it worked.
The root password set in the text mode installed worked after install.

Comment 10 Kamil Páral 2012-09-11 12:08:20 UTC
This is fixed in F18 Alpha RC2, root password is set.

Comment 11 Adam Williamson 2012-09-17 22:53:06 UTC
18.6.7 went stable, so closing this.

Comment 12 Fedora Update System 2012-09-17 23:57:50 UTC
anaconda-18.6.6-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.