Bug 83707 - Give notice when signals are blocked.
Give notice when signals are blocked.
Status: CLOSED WONTFIX
Product: Red Hat Public Beta
Classification: Retired
Component: rpm (Show other bugs)
phoebe
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-07 05:57 EST by David Balažic
Modified: 2007-04-18 12:50 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-08 10:38:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Balažic 2003-02-07 05:57:13 EST
Due to to people kill-9'ing rpm when it waits with signals blocked ( see for 
example bug #73097 ), I suggest using a signal handler that prints a notice and 
continues, so people would not use kill -9 right away.

Something like "rpm is currently busy doing this-and-this, please wait a monent"
or whatever is more informative.
Comment 1 Jeff Johnson 2003-02-07 15:29:34 EST
Nobody wants to know when signals are blocked. What is
desired is functionality, not ever more obscure and
arcane messages.
Comment 2 David Balažic 2003-02-08 04:26:30 EST
I think you misunderstood me.
The message should not be printed alwys, but only if a blocked signal is 
received.

Example, current behavior :
 - rpm is running, signals are blocked, no appareng disc activity
 - user : "hmm, weird, I'll stop it."
 - user press ctrl-c
 - user : "Uh, nothing happened. It is hung. I'll kill -9 it."

Example, proposed behavior :
 - rpm is running, signals are blocked, no appareng disc activity
 - user : "hmm, weird, I'll stop it."
 - user press ctrl-c
 - rpm : "Hey! I'm busy doing stuff"
 - user : "Oh, in that case I'll wait a bit longer"
Comment 3 Jeff Johnson 2003-02-08 10:38:52 EST
The signal handlers are localed in rpmlib which is
used in graphical contexts where there is no guarantee
that output is possible, let alone desireable.

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