← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1386357] [NEW] Need to recursively search pids when detecting if pid is in a cgroup

 

Public bug reported:

When searching through the list of pids to detect if they are in the
cgroup we care about, u-a-l currently only gets the top pid due to
calling GetTasks.  Instead, we should call GetTasksRecursive to get the
whole list.

This is needed when trying to start up X applications inside a container
using XMir.

** Affects: ubuntu-app-launch
     Importance: Medium
     Assignee: Christopher Townsend (townsend)
         Status: In Progress

** Affects: ubuntu-app-launch (Ubuntu)
     Importance: Medium
     Assignee: Christopher Townsend (townsend)
         Status: In Progress

** Also affects: ubuntu-app-launch (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-app-launch
       Status: New => In Progress

** Changed in: ubuntu-app-launch (Ubuntu)
       Status: New => In Progress

** Changed in: ubuntu-app-launch
   Importance: Undecided => Medium

** Description changed:

  When searching through the list of pids to detect if they are in the
  cgroup we care about, u-a-l currently only gets the top pid due to
  calling GetTasks.  Instead, we should call GetTasksRecursive to get the
  whole list.
+ 
+ This is needed when trying to start up X applications inside a container
+ using XMir.

** Changed in: ubuntu-app-launch
     Assignee: (unassigned) => Christopher Townsend (townsend)

** Changed in: ubuntu-app-launch (Ubuntu)
   Importance: Undecided => Medium

** Changed in: ubuntu-app-launch (Ubuntu)
     Assignee: (unassigned) => Christopher Townsend (townsend)

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Ubuntu Application Launcher.
https://bugs.launchpad.net/bugs/1386357

Title:
  Need to recursively search pids when detecting if pid is in a cgroup

Status in Ubuntu Application Launcher:
  In Progress
Status in “ubuntu-app-launch” package in Ubuntu:
  In Progress

Bug description:
  When searching through the list of pids to detect if they are in the
  cgroup we care about, u-a-l currently only gets the top pid due to
  calling GetTasks.  Instead, we should call GetTasksRecursive to get
  the whole list.

  This is needed when trying to start up X applications inside a
  container using XMir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-app-launch/+bug/1386357/+subscriptions


Follow ups

References