[Reportbug-maint] Bug#265554: reportbug: on receiving SIGTERM, should also signal child processes

Ben Finney ben at benfinney.id.au
Fri Jun 20 02:02:16 UTC 2008


package reportbug
retitle 265554 reportbug: on receiving SIGTERM, should also signal child processes
found 265554 3.41
tags 265554 + confirmed
thanks

Steps to reproduce:

* Start a shell session, 'shell M', to monitor the process.

* Start a shell session, 'shell R', to run 'reportbug'.

* In 'shell M':

  * Start e.g. 'htop' to watch processes.

* In 'shell R':

  * Start 'reportbug' with a specific MUA. e.g.:

    reportbug --mua 'mutt' \
        --severity normal --tag "none" --package-version "0.0" \
        --subject "foo: Lorem ipsum dolor sit amet." \
        --no-query-bts --no-check-available --no-check-installed 
        foo

  * The MUA should be invoked; in the above example, Mutt will be 
    started as a child process of 'reportbug'.

* In 'shell M':

  * Confirm that the 'reportbug' process has the MUA process as a 
    child.
  
  * Send a TERM signal to the 'reportbug' process.

  * The 'reportbug' process will end; the MUA process will continue, 
    still bound to the controlling terminal.

-- 
 \         "Pinky, are you pondering what I'm pondering?" "I think so, |
  `\        Brain, but why would anyone want to see Snow White and the |
_o__)                        Seven Samurai?"  -- _Pinky and The Brain_ |
Ben Finney <ben at benfinney.id.au>





More information about the Reportbug-maint mailing list