summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <david@fubar.dk>2005-01-12 18:12:13 +0000
committerDavid Zeuthen <david@fubar.dk>2005-01-12 18:12:13 +0000
commit869367455153923dd68312ee6681c8d795f1e7fe (patch)
treeeec180a2198d96a0cda3f71976700a0904cdea20
parent7530cf018fecef349bc158c49eec799fde912117 (diff)
Be tough and kill the misbehaving child the hard way - suggestion from Joe
Shaw.
-rw-r--r--ChangeLog5
-rw-r--r--hald/callout.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3326798d..00be0eb2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-01-12 David Zeuthen <davidz@redhat.com>
+ * hald/callout.c (callout_timeout_handler): Be tough and kill
+ the misbehaving child the hard way - suggestion from Joe Shaw.
+
+2005-01-12 David Zeuthen <davidz@redhat.com>
+
* hald/linux/osspec.c (HOTPLUG_TIMEOUT): Increase to 25 seconds
to better cope with callouts timeout of 10 seconds
diff --git a/hald/callout.c b/hald/callout.c
index 986d925f..dca494d0 100644
--- a/hald/callout.c
+++ b/hald/callout.c
@@ -217,8 +217,8 @@ callout_timeout_handler (gpointer data)
HAL_WARNING (("Timeout (%d ms) for callout %s", CALLOUT_TIMEOUT, callout->filename));
- /* kill the child.. kill it! */
- kill (callout->pid, SIGTERM);
+ /* kill the child.. kill it the hard way */
+ kill (callout->pid, SIGKILL);
active_callout = NULL;