Red Hat Bugzilla – Bug 233472
anaconda erases /etc/sysconfig/desktop during installation from livecd
Last modified: 2007-11-30 17:11:59 EST
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):
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.
Created attachment 150676 [details]
Installation log created by anaconda
Created attachment 150677 [details]
used kickstart.ks for creation of livecd
attached used kickstart.ks for creation of livecd
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).
Finally I was able to test this with anaconda-126.96.36.199-1. It works now. Thanks
for fixing this.
*** Bug 235429 has been marked as a duplicate of this bug. ***