NetworkManager killing dispatched scripts too quickly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
/usr/lib/
See similar issue in fedora where it was recently "fixed": https:/
--- network-
+++ network-
@@ -246,7 +246,6 @@
next_script (script->request);
}
-#define SCRIPT_TIMEOUT 60
static gboolean
script_timeout_cb (gpointer user_data)
{
@@ -256,7 +255,7 @@
script-
script-
- g_warning ("Script '%s' took too long (>%d); killing it.", script->script, SCRIPT_TIMEOUT);
+ g_warning ("Script '%s' took too long; killing it.", script->script);
if (kill (script->pid, 0) == 0)
kill (script->pid, SIGKILL);
@@ -351,7 +350,7 @@
if (g_spawn_async ("/", argv, request->envp, G_SPAWN_
request-
- request-
+ request-
} else {
g_warning ("Failed to execute script '%s': (%d) %s",
Status changed to 'Confirmed' because the bug affects multiple users.