Bug 2023612 - fedora-live-base.ks: auth has been removed
Summary: fedora-live-base.ks: auth has been removed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: spin-kickstarts
Version: 35
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Václav Pavlín
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-16 07:27 UTC by Jan ONDREJ
Modified: 2021-12-14 13:43 UTC (History)
6 users (show)

Fixed In Version: spin-kickstarts-0.35.0-0.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-06 01:07:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan ONDREJ 2021-11-16 07:27:00 UTC
Description of problem:
Fedora 35 removed auth command from kickstart scripts. Please update kickstarts files. Thank you.

Version-Release number of selected component (if applicable):
fedora-kickstarts-0.31.0-0.6.fc35.noarch

How reproducible:
always

Steps to Reproduce:
# not sure why livecd-creator can't find fedora-live-base.ks on my installation if it's not started from spin-kickstarts directory
1. cd /usr/share/spin-kickstarts/
2. livecd-creator -v --releasever=35 -c fedora-live-workstation.ks

Actual results:
Using label 'fedora-live--x86_64-202111160824' and name 'livecd-fedora-live-workstation-202111160824'
Using title 'Livecd Fedora' and product 'Livecd Fedora'
kickstart error: Failed to parse kickstart file 'fedora-live-workstation.ks' : The following problem occurred on line 13 of the kickstart file:

auth has been removed.

Expected results:
no error

Additional info:
auth --useshadow is not required anymore, shadow is used by default. I think best  encryption is selected automatically to. Use authselect if still need to set something.

By commenting out this row is a workaround for me:
file: /usr/share/spin-kickstarts/fedora-live-base.ks
#auth --useshadow --passalgo=sha512

More info:
https://docs.fedoraproject.org/en-US/fedora/rawhide/install-guide/appendixes/Kickstart_Syntax_Reference/#sect-kickstart-commands-authconfig

Comment 1 Kevin Fenzi 2021-11-27 22:46:09 UTC
This was fixed long ago in git... we just never pushed any updated packages. I'm wondering if we should stop bothering and retire the package and make folks use git... 

but I guess in the mean time I can do some releases.

Comment 2 Fedora Update System 2021-11-27 23:00:00 UTC
FEDORA-2021-67a37c0fc5 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-67a37c0fc5

Comment 3 Fedora Update System 2021-11-28 21:49:19 UTC
FEDORA-2021-67a37c0fc5 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-67a37c0fc5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-67a37c0fc5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-12-06 01:07:38 UTC
FEDORA-2021-67a37c0fc5 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Dusty Mabe 2021-12-14 13:43:17 UTC
(In reply to Kevin Fenzi from comment #1)
> This was fixed long ago in git... we just never pushed any updated packages.
> I'm wondering if we should stop bothering and retire the package and make
> folks use git... 

Yes. Any time we can save effort I think we should. git is perfectly workable IMO.


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