Red Hat Bugzilla – Bug 486373
anaconda does not remove /etc/init.d/livesys* and /etc/rc*.d/*livesys*
Last modified: 2009-03-17 14:48:06 EDT
Description of problem:
when performing fedora installation from a live-cd, anaconda does not remove livesys* services
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.launch a fedora live-cd
2.run install by double-clicking icon on the desktop
3.reboot when install is finished
livesys and livesys-late services are still there, and enabled (even if they automatically detect we're not running fedora from a live cd)
no more livesys and livesys-late services
the commands I performed to remove the services are :
chkconfig --del livesys
chkconfig --del livesys-late
rm /etc/init.d/livesys /etc/init.d/livesys-late
I believe it should be easy to add this in anaconda post-install script, but there is maybe something that prevents it and that i am not aware of...
I have not tested anaconda's behavior with the F11a release, maybe this issue also exists with this release...
ping ? what about F11 ?
The problem is there's no generic way for anaconda to know this. The livesys initscripts are put in by each live image's kickstart config and there is nothing to tell anaconda what exists and would want to have this done in a generic fashion. And hardcoding means that it won't work for customizers
The initscripts immediately exit as soon as they run, so having them isn't a problem.