[sos-devel] [RFC] wrap commands in /usr/bin/timeout when available

Bryn M. Reeves bmr at redhat.com
Tue Mar 20 17:49:14 UTC 2012


On 03/20/2012 05:44 PM, Adam Stokes wrote:
> If timeout is set with this application does it give control back to 
> sosreport if sending a TERM fails to stop the process? If not, we would 
> need to investigate some asynchronous way to handle those cases in which 
> case my proposed solution may resolve that.

Yes - timeout effectively runs the child as a daemon which detaches from
the controlling process/terminal and then allows the parent to escape
the clutches of whatever dragged the child into the swamp.

Regards,
Bryn.




More information about the sos-devel mailing list