Summary: | loginctl kill-user totally borken | ||
---|---|---|---|
Product: | systemd | Reporter: | Marius Vollmer <marius.vollmer> |
Component: | general | Assignee: | systemd-bugs |
Status: | VERIFIED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | logind: use correct "who" enum values with KillUnit. |
Any news? Fixed in git (during the libsystemd-bus conversion). Thanks! Nice, thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 88408 [details] logind: use correct "who" enum values with KillUnit. systemd 208-4 in Fedora 20. loginctl kill-user fails reliably with Failed to issue method call: Input/output error with this in the journal: Failed to issue method call: Invalid argument Failed to stop unit user-1000.slice: Input/output error This happens because user_kill in login-user.c passes "process" or "cgroup" to the systemd KillUnit method, while the latter expects "main", "control", or "all". The attached patch fixes this. I am not sure whether to use "main" or "control" for KILL_LEADER, though.