Package: systemd Version: 208-1 Severity: normal Tags: patch fixed-upstream
Hi, The command "loginctl kill-session" does not work at all and always gives the error: Failed to issue method call: Input/output error and in the journal: May 16 00:51:59 helena systemd-logind[1230]: Failed to issue method call: Invalid argument May 16 00:51:59 helena systemd-logind[1230]: Failed to stop unit session-4.scope: Input/output error The bug was reported upstream here: https://bugs.freedesktop.org/show_bug.cgi?id=71092 and was fixed in v209, but there was a patch for v208 (which I've attached) Thanks, James -- Package-specific info: -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages systemd depends on: ii acl 2.2.52-1 ii adduser 3.113+nmu3 ii initscripts 2.88dsf-53 ii libacl1 2.2.52-1 ii libaudit1 1:2.3.6-1 ii libblkid1 2.20.1-5.7 ii libc6 2.18-6 ii libcap2 1:2.22-1.2 ii libcap2-bin 1:2.22-1.2 ii libcryptsetup4 2:1.6.4-4 ii libdbus-1-3 1.8.2-1 ii libgcrypt11 1.5.3-4 ii libkmod2 17-2 ii liblzma5 5.1.1alpha+20120614-2 ii libpam0g 1.1.8-3 ii libselinux1 2.3-1 ii libsystemd-daemon0 208-1 ii libsystemd-journal0 208-1 ii libsystemd-login0 208-1 ii libudev1 208-1 ii libwrap0 7.6.q-25 ii sysv-rc 2.88dsf-53 ii udev 208-1 ii util-linux 2.20.1-5.7 Versions of packages systemd recommends: ii libpam-systemd 208-1 Versions of packages systemd suggests: pn systemd-ui <none> -- no debconf information
>From a9ea7fae5356e64b8b7d40018a3f0eecfb949051 Mon Sep 17 00:00:00 2001 From: Marius Vollmer <mvoll...@redhat.com> Date: Thu, 31 Oct 2013 15:55:07 +0200 Subject: [PATCH] logind: use correct "who" enum values with KillUnit. --- src/login/logind-dbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index bb85c7d..583d62e 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -2799,7 +2799,7 @@ int manager_kill_unit(Manager *manager, const char *unit, KillWho who, int signo assert(manager); assert(unit); - w = who == KILL_LEADER ? "process" : "cgroup"; + w = who == KILL_LEADER ? "control" : "all"; assert_cc(sizeof(signo) == sizeof(int32_t)); r = bus_method_call_with_reply( @@ -2815,7 +2815,7 @@ int manager_kill_unit(Manager *manager, const char *unit, KillWho who, int signo DBUS_TYPE_INT32, &signo, DBUS_TYPE_INVALID); if (r < 0) { - log_error("Failed to stop unit %s: %s", unit, bus_error(error, r)); + log_error("Failed to kill unit %s: %s", unit, bus_error(error, r)); return r; } -- 1.8.3.1