Bug 157086

Summary: RFE: notice if scriptlet exits with signal
Product: [Fedora] Fedora Reporter: Joe Orton <jorton>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED UPSTREAM QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: n3npq
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-11 16:15:46 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:
Attachments:
Description Flags
patch none

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.