[systemd-bugs] [Bug 71092] New: loginctl kill-user totally borken

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 31 15:39:07 CET 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71092

          Priority: medium
            Bug ID: 71092
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: loginctl kill-user totally borken
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: marius.vollmer at redhat.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Created attachment 88408
  --> https://bugs.freedesktop.org/attachment.cgi?id=88408&action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20131031/fc75c38c/attachment.html>


More information about the systemd-bugs mailing list