Bug 462221 - %post failure when installed via anaconda
Summary: %post failure when installed via anaconda
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: darcs
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Hinegardner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-14 14:01 UTC by Jon Stanley
Modified: 2008-11-07 05:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-07 05:20:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.