Red Hat Bugzilla – Bug 462221
%post failure when installed via anaconda
Last modified: 2008-11-07 00:20:37 EST
restorecon is not found on line 2 of %post, therefore the script fails.
While I don't know well about anaconda and I am not the user of darcs:
It seems that you changed to use full paths for semanage and so on, however it is
strange because (I was told that) rpm ensures that /sbin or /usr/sbin and so on
are in the paths when scriptlets are done:
Rather I guess because this is due to the missing of "Requires(post): policycoreutils"
(currently "Requires(post): coreutils" is there, however I think this is a typo).
Yeah, all that anaconda does is do a yum transaction. What I'm trying to say here is that during initial installation, on a fresh system, if you install darcs, there's a %post failure (I forget what the exact failure is, that system isn't around any longer).
If I recall, though, most of them were something about gtk-update-icon or something (not sure exactly).
I'll reproduce this test again with beta and let you know exactly what happened.
(In reply to comment #1)
> Rather I guess because this is due to the missing of "Requires(post):
Ah thanks I see. Should be better in darcs-2.0.2-3.fc10.