Bug 540439 - Non-fatal POSTIN scriptlet failure in rpm package
Summary: Non-fatal POSTIN scriptlet failure in rpm package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: condor
Version: 12
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Matthew Farrellee
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-23 11:54 UTC by Rob
Modified: 2009-12-07 07:36 UTC (History)
1 user (show)

Fixed In Version: 7.4.0-1.fc12
Clone Of:
Environment:
Last Closed: 2009-12-07 07:36:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rob 2009-11-23 11:54:43 UTC
Description of problem:
Non-fatal POSTIN scriptlet failure in rpm package condor-7.2.4-1.fc12.x86_64
warning: %post(condor-7.2.4-1.fc12.x86_64) scriptlet failed, exit status 1

Version-Release number of selected component (if applicable):
7.2.4-1

How reproducible:
Every time when installing this package

Steps to Reproduce:
1. yum install condor
2. yum remove condor
3. yum install condor
  
Actual results:
Non-fatal POSTIN scriptlet failure...

Expected results:
Non-fatal message should not be there.

Additional info:
I suspect that the commands semanage and restorecon are causing the problem.
Like the other commands in the pre/post scripts of this rpm, the full path
should be given; therefore use instead:

/usr/sbin/semanage
/sbin/restorecon

in the postinstall scriptlet.

R.

Comment 1 Matthew Farrellee 2009-12-04 10:06:55 UTC
Issue appears to be the grep

Comment 2 Fedora Update System 2009-12-04 13:16:23 UTC
condor-7.4.0-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/condor-7.4.0-1.fc12

Comment 3 Fedora Update System 2009-12-07 07:36:17 UTC
condor-7.4.0-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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