Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593306 - sys-auth/consolekit: failed to move the session leader process to cgroup
Summary: sys-auth/consolekit: failed to move the session leader process to cgroup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-09 18:18 UTC by Maciej S. Szmigiero
Modified: 2020-10-04 14:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej S. Szmigiero 2016-09-09 18:18:34 UTC
With sys-auth/consolekit-1.1.0-r1 + app-admin/cgmanager-0.41 (current ~amd64)
the following warning is logged at user login time:
"WARNING: Failed to move the session leader process to cgroup, the error was: invalid request".

According to comments at consolekit GitHub (
https://github.com/ConsoleKit2/ConsoleKit2/pull/61 and 
https://github.com/ConsoleKit2/ConsoleKit2/issues/65 comment from 17 May)
a possible solution is to add "-M name=openrc" to command_args in
/etc/init.d/cgmanager.

I can confirm that after doing this the warnings ceased.
Comment 1 Larry the Git Cow gentoo-dev 2020-10-04 14:39:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39ece3ff2467f0c1a3dc946767f3896d31055198

commit 39ece3ff2467f0c1a3dc946767f3896d31055198
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2020-10-04 14:33:57 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-10-04 14:39:06 +0000

    sys-auth/consolekit: remove last-rited pkg
    
    Bug: https://bugs.gentoo.org/727730
    Closes: https://bugs.gentoo.org/644550
    Closes: https://bugs.gentoo.org/667912
    Closes: https://bugs.gentoo.org/644548
    Closes: https://bugs.gentoo.org/601878
    Closes: https://bugs.gentoo.org/699592
    Closes: https://bugs.gentoo.org/651788
    Closes: https://bugs.gentoo.org/614658
    Closes: https://bugs.gentoo.org/593306
    
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 sys-auth/consolekit/Manifest                       |   6 -
 sys-auth/consolekit/consolekit-0.4.6.ebuild        | 125 -------------------
 sys-auth/consolekit/consolekit-1.1.0-r1.ebuild     | 120 -------------------
 sys-auth/consolekit/consolekit-1.1.2.ebuild        | 131 --------------------
 sys-auth/consolekit/consolekit-1.2.0.ebuild        | 132 ---------------------
 sys-auth/consolekit/consolekit-1.2.1.ebuild        | 132 ---------------------
 sys-auth/consolekit/consolekit-9999.ebuild         | 128 --------------------
 sys-auth/consolekit/files/90-consolekit-3          |  32 -----
 sys-auth/consolekit/files/consolekit-0.2.rc        |  25 ----
 .../files/consolekit-0.4.5-polkit-automagic.patch  |  30 -----
 sys-auth/consolekit/files/consolekit-1.0.0.initd   |  16 ---
 ...ove-the-root-restriction-for-runtime-dirs.patch |  57 ---------
 .../files/consolekit-cleanup_console_tags.patch    |  67 -----------
 ...nsolekit-shutdown-reboot-without-policies.patch |  26 ----
 .../files/consolekit-udev-acl-install_to_usr.patch |  28 -----
 sys-auth/consolekit/files/pam-foreground-compat.ck |  17 ---
 sys-auth/consolekit/metadata.xml                   |  22 ----
 17 files changed, 1094 deletions(-)