Bug 1677372 - root nor liveuser can login on live media created with livecd-creator
Summary: root nor liveuser can login on live media created with livecd-creator
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: spin-kickstarts
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Václav Pavlín
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-14 16:22 UTC by Scott Dowdle
Modified: 2019-05-28 01:10 UTC (History)
13 users (show)

Fixed In Version: spin-kickstarts-0.30.1-1.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-24 22:53:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Scott Dowdle 2019-02-14 16:22:13 UTC
When trying to build live rawhide (which will fork shortly to become F30-devel) media with livecd-creator and the stock kickstart files provided in the fedora-kickstarts package... the media builds just fine... and boots... but the liveuser account doesn't seem to have been created and liveuser nor root can login.  That includes switching to a text console and trying to login as either root or liveuser... both request a password.

Oddly, I am able to build some remixes using the same %post from the stock kickstarts... but with a modified and expanded package set... and those work just fine... as the liveuser is able to login and auto-logins fine on most of the DE spins.

Not sure where the problem lies... nor how to best troubleshoot this.

It is likely the the problem lies outside of livecd-tools / livecd-creator but without knowing where yet, I thought this was the best place to start.

Help.

The build host I'm using, although that shouldn't matter I don't think, is a Fedora 30 / rawhide system.  Several others in the #fedora-respins IRC channel on Freenode were able to duplicate this problem including Southern_Gentleman and OnlyHuman... and myself (dowdle).  It existed before and after the recent mass package rebuild.

Comment 1 Brian Lane 2019-02-14 16:27:52 UTC
The problem is that /etc/rc.d/init.d/functions has gone away, so the startup scripts don't startup. They really need to be rewritten for systemd :)

Comment 2 Scott Dowdle 2019-02-14 21:17:08 UTC
Brian,

What do you mean by that exactly?  /etc/rc.d/init.d/functions is included as part of the initscripts package which is being installed and contains that file.

Are you saying that the system ignores that file now?  Or that initscript compatibility has been turned of by default so such scripts and the fucntions file they might include are being ignored?

I ask because, as I said, my personal remixes that include more packages are working.

TYL, Scott Dowdle (dowdle)

Comment 3 Scott Dowdle 2019-02-14 22:04:22 UTC
On second pass, I dumped my live media build system package cache and did a stock build (LXDE) and indeed the initscripts package was not being installed by default.  Adding the name of that package to the vague list of packages asked for in the stock kickstarts.  I guess initscripts used to defined as a required low-level dependency and now it is no longer?

Comment 4 Neal Gompa 2019-02-15 01:09:26 UTC
I guess we should really rewrite that script to be a systemd unit... :)

Comment 5 Neal Gompa 2019-04-14 17:59:15 UTC
This is really a problem with the kickstarts, since that's where the init script comes from.

Comment 6 Brian Lane 2019-04-15 15:01:09 UTC
Adam mentioned that he had done this (or started to) at one time. He also mentioned that the post scripts build on each other when imported, so that may make things a bit more tricky.

Comment 7 Fedora Update System 2019-05-19 16:51:31 UTC
spin-kickstarts-0.30.1-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-308837117f

Comment 8 Fedora Update System 2019-05-20 00:57:30 UTC
spin-kickstarts-0.30.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-308837117f

Comment 9 Scott Dowdle 2019-05-24 22:53:36 UTC
This bug has long since been fixed.  Marking as closed.  Sorry I neglected it.

Comment 10 Fedora Update System 2019-05-28 01:10:11 UTC
spin-kickstarts-0.30.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


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