Red Hat Bugzilla – Bug 444357
%post script not executed during install, ends up as %pre in anaconda-ks.cfg
Last modified: 2008-06-14 00:17:01 EDT
Description of problem:
%post sections are not executed during installation from a custom spin. The
ks.cfg included on the media looks like attachment ks.cfg. The output is
anaconda-ks.cfg (also attached)
Version-Release number of selected component (if applicable):
1. Compose any media with ks.cfg included on the media,
2. execute installation using ks.cfg on the ISO image / CD-ROM,
3. %post will not be executed,
4. /root/anaconda-ks.cfg has %pre where it should have had %post
%pre instead of %post in /root/anaconda-ks.cfg, %post not executed.
Execution of %post, proper /root/anaconda-ks.cfg
Created attachment 303920 [details]
ks.cfg for anaconda
Created attachment 303921 [details]
/root/anaconda-ks.cfg after installation
Can you attach /var/log/anaconda.log to this bug report?
Created attachment 304162 [details]
/var/log/anaconda.log (normal loglevel)
Testing indicates this is not a problem on F9. Can you please retest there and
verify this for us? Thanks.
This doesn't occur in Fedora 9: confirmed
Does not occur on recomposed Fedora 9 either
Still occurs in Fedora 8 though, when including the updates/ repository in the
compose. Will try again without the updates/ repository included, see if
anything broke something.
No problem when excluding updates/ repository from the compose
If I checkout r1.29-1 and revert commit
eda22251023801ff7b969c48d001e28202e6544c, then create a 1.29.1-1.fc8 package off
of it and use that to compose the media with, this problem goes away.
Oops, I was talking about pykickstart ;-)
Using Jeroen's rebuilt pykickstart package fixes the problem for me as well.
pykickstart-1.29-2.fc8 has been submitted as an update for Fedora 8
pykickstart-1.29-2.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update pykickstart'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-5227
pykickstart-1.29-2.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.