I see the same on 14.04, even without "-" on the su.
The test also lacked the -c for the command, and "-" would need to be at the 
end or specified as "-l".
Also we might execute something that doesn't add output, to easen debugging 
(/bin/true)

Anyway - that just refines the simple test, the issue is there as
reported.

Simplified test:
su testuser -c "/bin/true"

-- 
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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to