Bug 462221

Summary: %post failure when installed via anaconda
Product: [Fedora] Fedora Reporter: Jon Stanley <jonstanley>
Component: darcsAssignee: Jeremy Hinegardner <jeremy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: petersen
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: 2008-11-07 05:20:37 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:

Description Jon Stanley 2008-09-14 14:01:02 UTC
restorecon is not found on line 2 of %post, therefore the script fails. 

Thanks!

Comment 1 Mamoru TASAKA 2008-09-19 10:20:25 UTC
Petersen-san:

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:
http://www.redhat.com/archives/fedora-packaging/2007-August/msg00085.html

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).

Comment 2 Jon Stanley 2008-09-22 04:20:12 UTC
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.

Comment 3 Jens Petersen 2008-09-22 07:36:38 UTC
(In reply to comment #1)
> Rather I guess because this is due to the missing of "Requires(post):
> policycoreutils"

Ah thanks I see.  Should be better in darcs-2.0.2-3.fc10.