Bug 78526

Summary: ver 2.3.3-3 improperly prompts for root passwd on upgrade
Product: [Retired] Red Hat Linux Reporter: R P Herrold <herrold>
Component: redhat-config-kickstartAssignee: Brent Fox <bfox>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-25 07:02:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sample which provoked the error state none

Description R P Herrold 2002-11-25 07:00:34 UTC
Title says it all

In setting up a minimal _upgrade_ ks.cfg file, the logic improperly prompts for
a root password.  By definition, the root password is already set in an upgrade
context.

Solution: omit this logic branch when upgrade is selected.

Comment 1 R P Herrold 2002-11-25 07:02:18 UTC
Created attachment 86267 [details]
sample which provoked the error state

Comment 2 Brent Fox 2002-11-26 16:08:54 UTC
Should be fixed in redhat-config-kickstart-2.3.4-1, which should appear in
Rawhide in the next day or so.  The message about the root password will no
longer appear if you're doing an upgrade.  However, the line will still be
written to the file.  Anaconda expects certain lines to be there, although they
are ignored in the upgrade case.  At least, that's what katzj tells me.

However, I make no claims about the stablility of this version.  I have added
lots of new code to handle opening existing kickstart files and also handling
multiple network devices.  This code is untested and probably has bugs.  Feel
free to check it out, though.

Thanks for your report.