Bug 233472

Summary: anaconda erases /etc/sysconfig/desktop during installation from livecd
Product: [Fedora] Fedora Reporter: Sebastian Vahl <fedora>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: leightonbrown
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-23 00:54:42 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
Installation log created by anaconda
none
used kickstart.ks for creation of livecd none

Description Sebastian Vahl 2007-03-22 17:35:11 UTC
Description of problem: A livecd has integrated /etc/sysconfig/desktop with 
the content "DESKTOP=KDE". When installing this livecd to 
harddisk, /etc/sysconfig/desktop is empty after the reboot.

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


How reproducible: Ever

Additional info: /etc/sysconfig/desktop is integrated into the squashfs.img 
and not created during /etc/init.d/livecd. If you boot into another partition 
after the reboot and mount the partition the file is also empty. So it is not 
erased by firstboot.

Comment 1 Sebastian Vahl 2007-03-22 17:35:11 UTC
Created attachment 150676 [details]
Installation log created by anaconda

Comment 2 Sebastian Vahl 2007-03-22 17:37:42 UTC
Created attachment 150677 [details]
used kickstart.ks for creation of livecd

attached used kickstart.ks for creation of livecd

Comment 3 Jeremy Katz 2007-03-23 00:54:42 UTC
Fixed in CVS by not writing out /etc/sysconfig/desktop unless there's an
explicit value it should be set to (which means someone set it via kickstart).  

Comment 4 Sebastian Vahl 2007-04-04 13:03:30 UTC
Finally I was able to test this with anaconda-11.2.0.44-1. It works now. Thanks
for fixing this.

Comment 5 Leighton Brown 2007-04-15 21:48:59 UTC
*** Bug 235429 has been marked as a duplicate of this bug. ***