Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 157086 - RFE: notice if scriptlet exits with signal
Summary: RFE: notice if scriptlet exits with signal
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
Depends On:
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:
Last Closed: 2005-05-11 16:15:46 UTC

Attachments (Terms of Use)
patch (deleted)
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]

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.