Bug 157086 - RFE: notice if scriptlet exits with signal
Summary: RFE: notice if scriptlet exits with signal
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-05-06 18:29 UTC by Joe Orton
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-11 16:15:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch (625 bytes, patch)
2005-05-06 18:30 UTC, Joe Orton
no flags Details | Diff

Description Joe Orton 2005-05-06 18:29:15 UTC
RPM will give the confusing output per bug 155701:

error: %post(libgcc-4.0.0-0.42.i386) scriptlet failed, exit status 0

if a scriptlet is terminated by a signal.  It would be nice if it displayed that
as you'd expect.

Comment 1 Joe Orton 2005-05-06 18:30:47 UTC
Created attachment 114092 [details]
patch

Entirely untested uncompiled unreviewed patch for this.  Win more points by
using strsignal and printing the signal name ;)

Comment 2 Paul Nasrat 2005-05-11 16:15:46 UTC
Thanks commited to HEAD and 4.4.x branch.  It'll get pulled in next rpm 4.4.x
branch release.


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