Bug 848803 - Root password is not set due to missing authconfig
Summary: Root password is not set due to missing authconfig
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F18Alpha, F18AlphaBlocker 849250
TreeView+ depends on / blocked
 
Reported: 2012-08-16 12:47 UTC by Vadim Rutkovsky
Modified: 2012-09-06 16:20 UTC (History)
10 users (show)

Fixed In Version: anaconda-18.6
Clone Of:
Environment:
Last Closed: 2012-09-06 16:20:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot for Fedora-18-Alpha-TC3-x86_64-DVD.iso showing anaconda 18.6 (11.61 KB, image/png)
2012-08-21 17:32 UTC, Andre Robatino
no flags Details

Description Vadim Rutkovsky 2012-08-16 12:47:27 UTC
Description of problem:
Anaconda in 18 Alpha TC2 netinst image doesn't set root password after install.
After install is complete and F18 is botted, entered root password is not accepted.

This happens as /usr/sbin/authconfig is missing. tail of /tmp/program.log is:
12:33:54,933 ERR program: Found linux image: /boot/vmlinuz-3.6.0-0.rc1.git6.1.fc18.i686.PAE
12:33:55,165 ERR program: Found initrd image: /boot/initramfs-3.6.0-0.rc1.git6.1.fc18.i686.PAE.img
12:34:00,108 ERR program: done
12:34:00,574 INFO program: Running... /usr/sbin/authconfig --update --nostart --enableshadow --passalgo=sha512
12:34:01,150 ERR program: Error running /usr/sbin/authconfig: No such file or directory
12:34:05,524 INFO program: Running... /bin/sh /tmp/ks-script-LriiVK
12:34:05,980 INFO program: Running... /bin/sh /tmp/ks-script-CzPi7x
12:34:06,646 INFO program: Running... /bin/sh /tmp/ks-script-yF7I6R

Version-Release number of selected component (if applicable):
anaconda 18.5

How reproducible:
Always

Steps to Reproduce:
1. Start anaconda in textmode
2. Input root password during installation
3. Boot the installed system
4. Try to login as root using input password
  
Actual results:
Login is incorrect

Expected results:
Login is correct

Additional info:

Comment 1 Vratislav Podzimek 2012-08-16 14:01:42 UTC
(In reply to comment #0)
> Description of problem:
> Anaconda in 18 Alpha TC2 netinst image doesn't set root password after
> install.
> After install is complete and F18 is botted, entered root password is not
> accepted.
> 
> This happens as /usr/sbin/authconfig is missing. tail of /tmp/program.log is:
> 12:33:54,933 ERR program: Found linux image:
> /boot/vmlinuz-3.6.0-0.rc1.git6.1.fc18.i686.PAE
> 12:33:55,165 ERR program: Found initrd image:
> /boot/initramfs-3.6.0-0.rc1.git6.1.fc18.i686.PAE.img
> 12:34:00,108 ERR program: done
> 12:34:00,574 INFO program: Running... /usr/sbin/authconfig --update
> --nostart --enableshadow --passalgo=sha512
> 12:34:01,150 ERR program: Error running /usr/sbin/authconfig: No such file
> or directory
Looks like a lorax bug.

Comment 2 Chris Lumens 2012-08-16 14:54:48 UTC
No, authconfig needs to be installed onto the target system.

Comment 3 Adam Williamson (Red Hat non-Fedora) 2012-08-16 19:06:08 UTC
Discussed at 2012-08-16 blocker review meeting: http://meetbot.fedoraproject.org/fedora-bugzappers/2012-08-16/f18-alpha-blocker-review-3.2012-08-16-16.00.html . Accepted as a 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 you install without X there's no firstboot, you are expected to log in as root to create a regular user account; so this bug means you can't log in after a non-X install.

Comment 4 Fedora Update System 2012-08-16 22:07:17 UTC
anaconda-18.6-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.6-1.fc18

Comment 5 Fedora Update System 2012-08-17 06:20:10 UTC
Package anaconda-18.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-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-12095/anaconda-18.6-1.fc18
then log in and leave karma (feedback).

Comment 6 Dan Mashal 2012-08-19 03:48:16 UTC
This is not fixed in TC3.

Comment 7 Adam Williamson (Red Hat non-Fedora) 2012-08-20 23:00:44 UTC
are you sure? AIUI, there is no UI for root password setting in F18 anaconda currently, but that's really 849250, not this bug. This bug is specifically for a lack of authconfig meaning anaconda cannot set a root password even when it tries; you can make it try by using a kickstart.

This bug is only 'not fixed in TC3' if you can't create a root password using a kickstart, and the log shows the 'Error running /usr/sbin/authconfig: No such file or directory' message.

Comment 8 Fedora Update System 2012-08-21 11:39:44 UTC
anaconda-18.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.

Comment 9 Dan Mashal 2012-08-21 11:42:36 UTC
Per dgilmore 18.6-1 didn't make it in to TC3 but it will make it in to the next nightly iso. Will test then.

Yes, they are definitely related (IMHO).

Comment 10 Adam Williamson (Red Hat non-Fedora) 2012-08-21 17:29:17 UTC
That doesn't sound right. 18.6 was requested for TC3, and robatino just checked and anaconda in TC3 lists itself as 18.6.

Comment 11 Andre Robatino 2012-08-21 17:32:08 UTC
Created attachment 605994 [details]
screenshot for Fedora-18-Alpha-TC3-x86_64-DVD.iso showing anaconda 18.6

TC3 does contain anaconda 18.6 - see screenshot from installer.

Comment 12 Fedora Update System 2012-08-22 22:59:06 UTC
anaconda-18.6.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.6.1-1.fc18

Comment 13 Fedora Update System 2012-08-23 04:36:42 UTC
Package anaconda-18.6.1-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.1-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-12550/anaconda-18.6.1-1.fc18
then log in and leave karma (feedback).

Comment 14 Adam Williamson (Red Hat non-Fedora) 2012-09-01 00:24:24 UTC
setting root password interactively works fine in TC4. Not sure if that's a valid test of this bug, or if you have to try with a kickstart.

Comment 15 Dan Mashal 2012-09-01 06:45:17 UTC
This is fixed on the DVD install of TC5

Comment 16 Adam Williamson (Red Hat non-Fedora) 2012-09-06 16:20:32 UTC
18.6.5 was pushed stable, so closing.


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