Bug 991466 - No user created in live image
Summary: No user created in live image
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: spin-kickstarts
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeroen van Meeuwen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-02 13:19 UTC by just18
Modified: 2013-08-17 12:30 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-04 17:59:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description just18 2013-08-02 13:19:43 UTC
Description of problem:
If you cancel the boot process i.e. at the cryptsetup password enter stage for an encrypted home partition and have enabled an persistent overlay every boot after that will get you into an uninitialized live system with no user to log in. 


Version-Release number of selected component (if applicable):
Fedora Image: Fedora-Live-KDE-x86_64-19-1.iso
Stick creation script: https://git.fedorahosted.org/cgit/livecd/tree/tools/livecd-iso-to-disk.sh blob(b0b51537fb9b371bc13648b0b20f200f4620f1d9)

Steps to Reproduce:
1. Create a live stick with encrypted home and persistent overlay
2. Boot until password entering and stop the boot there (i.e. ctrl + alt + del)
3. Boot the stick again

Actual results:
You get to the log-in screen and can't log in as no user is defined.

Expected results:
Auto log-in to the live system.

Additional info:
I tracked this bug down to the /etc/rc.d/init.d/livesys init script in the squashfs.img of the live iso. There is a line that says:

if [ -e /.liveimg-configured ] ; then
    configdone=1
fi

This would be fine if not just 5 lines later where a
touch /.liveimg-configured

In my opinion this file should only be created AFTER the actual initialization has finished at the end of the script not in the beginning.

Comment 1 Rex Dieter 2013-08-02 13:39:31 UTC
triage to livecd-tools

Comment 2 Brian Lane 2013-08-02 23:50:14 UTC
livesys is part of spin-kickstarts

Comment 3 Kevin Fenzi 2013-08-04 17:59:51 UTC
ok. I moved this to the end.

Comment 5 Steve Tyler 2013-08-17 12:30:06 UTC
See also:
Bug 998083 - gnome-initial-setup runs on live image boot in current Rawhide


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