[Yum] Why is yum not interruptible with SIGTERM/ctrl-c?

seth vidal skvidal at linux.duke.edu
Thu May 4 15:20:41 UTC 2006


On Thu, 2006-05-04 at 12:04 -0300, Juergen Botz wrote:
> Maybe this is a stupid question... and to be honest I have not
> looked at the code.  But there have been many times that I 
> really needed to terminate a running yum, and right now I have
> to use SIGKILL and then I usually need do a 'clean metadata'.
> At best this seems to be bad UI... users need a way to cleanly
> stop any process on the system.

in the majority of the situation it is due to rpm grabbing those signals
so that a user will not cancel a process in the middle of its database
being written to which could leave the system in a bad state.

-sv





More information about the Yum mailing list