touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #129375
[Bug 1534090] Re: 'call to get_tasks_recursive failed' errors from su
cgmanager is a service you can reach via dbus for cgroup management.
It is used in this case via libpam-cgm to "Create cgroups for user login sessions"
I stopped the service and reran it in verbose mode
sudo /sbin/cgmanager -m name=systemd -v
Then in another console I tried to trigger the issue again with
su testuser -c "/bin/true"
On the triggering task I still get:
su -m testuser -c "/bin/true"
call to remove-on-empty (freezer:1) failed: invalid request
call to get_tasks_recursive failed: Invalid arguments received in reply
On the verbose log I get:
Connection from private client
ListControllers: Client fd is: 6 (pid=21503, uid=0, gid=1000)
MovePid: Client fd is: 6 (pid=21503, uid=0, gid=1000)
21503 moved to freezer:/ by 21503's request
Create: Client fd is: 6 (pid=21503, uid=0, gid=1000)
Created /run/cgmanager/fs/freezer/user/paelzer for 21503 (0:1000)
cgmanager_create: returning 0; existed is 1
MovePid: Client fd is: 6 (pid=21503, uid=0, gid=1000)
21503 moved to freezer:user/paelzer by 21503's request
Create: Client fd is: 6 (pid=21503, uid=0, gid=1000)
Created /run/cgmanager/fs/freezer/user/paelzer/0 for 21503 (0:1000)
cgmanager_create: returning 0; existed is 1
Create: Client fd is: 6 (pid=21503, uid=0, gid=1000)
Created /run/cgmanager/fs/freezer/user/paelzer/1 for 21503 (0:1000)
cgmanager_create: returning 0; existed is -1
Chown: Client fd is: 6 (pid=21503, uid=0, gid=1000)
RemoveOnEmpty: Client fd is: 6 (pid=21503, uid=0, gid=1000)
cgmanager: remove-on-empty request for pre-mounted controller
MovePid: Client fd is: 6 (pid=21503, uid=0, gid=1000)
21503 moved to freezer:1 by 21503's request
Disconnected from private client
Connection from private client
ListControllers: Client fd is: 6 (pid=21503, uid=0, gid=1000)
MovePid: Client fd is: 6 (pid=21503, uid=0, gid=1000)
21503 moved to freezer:/ by 21503's request
ListChildren: Client fd is: 6 (pid=21503, uid=0, gid=1000)
GetTasksRecursive: Client fd is: 6 (pid=21503, uid=0, gid=1000)
GetTasksRecursive: Client fd is: 6 (pid=21503, uid=0, gid=1000)
Remove: Client fd is: 6 (pid=21503, uid=0, gid=1000)
Removed /run/cgmanager/fs/freezer/user/paelzer/1 for 21503 (0:1000)
GetTasksRecursive: Client fd is: 6 (pid=21503, uid=0, gid=1000)
Disconnected from private client
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1534090
Title:
'call to get_tasks_recursive failed' errors from su
Status in cgmanager package in Ubuntu:
Confirmed
Bug description:
In Ubuntu 14.04 all of a sudden I'm seeing these two error messages coming up every time I use su -, whether in a script or interactive shell:
call to remove-on-empty (freezer:0) failed: invalid request
call to get_tasks_recursive failed: Invalid arguments received in reply
Example and how to reproduce:
root@localhost:~# su - test "echo hello"
call to remove-on-empty (freezer:0) failed: invalid request
-su: echo hello: No such file or directory
call to get_tasks_recursive failed: Invalid arguments received in reply
call to get_tasks_recursive failed: Invalid arguments received in reply
root@localhost:~# su - test
call to remove-on-empty (freezer:0) failed: invalid request
test@localhost:~$
This only seems to affect Ubuntu 14.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgmanager/+bug/1534090/+subscriptions
References