← Back to team overview

touch-packages team mailing list archive

[Bug 1534090] Re: 'call to get_tasks_recursive failed' errors from su

 

The only reference I found to get_tasks_recursive seems far away in
cgmanager
(http://changelogs.ubuntu.com/changelogs/pool/main/c/cgmanager/cgmanager_0.32-4ubuntu1.1/changelog
and https://linuxcontainers.org/it/cgmanager/manpages/man1/cgm.1.html)

Yet I found that my Xenial Test system didn't show the issue, while Michael before mentioned it did for him.
I realized that this Xenial System had no cgmanager installed.

So I installed full lxd (which is what usually brings cgmanager to your
system) and e voila I was able to reproduce the issue on Xenial as well
now.

The output is slightly different (more and repeated on Xenial)
Trusty
call to get_tasks_recursive failed: Invalid arguments received in reply

Xenial
call to remove-on-empty (freezer:0) failed: invalid request
call to get_tasks_recursive failed: Invalid arguments received in reply
call to get_tasks_recursive failed: Invalid arguments received in reply


I removed lxd and all its dependencies again and only installed cgmanager on the Xenial system. This pulls in libcgmanager0 and libnih-dbus1 as well, but nothing else.
With those installed the issue does not yet appear, so it seems to need more of these packages to actually trigger.
I tried to separate the lxd dependencies and found that libpam-cgm, likely to hook from pam (which is what su uses) into cgmanager.

-- 
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 shadow 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/shadow/+bug/1534090/+subscriptions


References