From a50df72b37ce2a7caf7775c70d18c3f9504b9e80 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 6 Feb 2014 19:04:51 +0100 Subject: [PATCH] logind: given that we can now relatively safely shutdown sessions copes without working cgroup empty notifications there's no need to set the stop timeout of sessions scopes low --- src/login/logind-dbus.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index 40885557c..642ba07f2 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -2228,10 +2228,6 @@ int manager_start_scope( * stop timeout for sessions, so that we don't wait * forever. */ - r = sd_bus_message_append(m, "(sv)", "TimeoutStopUSec", "t", 500 * USEC_PER_MSEC); - if (r < 0) - return r; - /* Make sure that the session shells are terminated with * SIGHUP since bash and friends tend to ignore SIGTERM */ r = sd_bus_message_append(m, "(sv)", "SendSIGHUP", "b", true); -- 2.30.2