upstart needs subreaper prctl support for touch kernels < v3.4

Bug #1218415 reported by James Hunt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-grouper (Ubuntu)
Fix Released
Medium
Tim Gardner
linux-maguro (Ubuntu)
Fix Released
Medium
Tim Gardner

Bug Description

Upstart now manages the Touch session via an Upstart Session Init. To allow that sub-init running as a non-priv user to receive all SIGCHLD's for processes it starts, it attempts to use PR_SET_CHILD_SUBREAPER. However, that prctl was added in kernel 3.4 and the kernel on my Nexus 7 is 3.1.10-6-grouper so does not have subreaper support:

$ sudo grep subreaper /var/log/upstart/ubuntu-touch-session-phablet.log
init: Unable to register as subreaper: Invalid argument

As such, please cherry-pick the following to all Touch kernels older than 3.4 (maguro and grouper):

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ebec18a6d3aa1e7d84aab16225e87fd25170ec2b

Changed in linux-grouper (Ubuntu):
importance: Undecided → Medium
Changed in linux-maguro (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key raring saucy
Changed in linux-grouper (Ubuntu):
status: New → Triaged
Changed in linux-maguro (Ubuntu):
status: New → Triaged
Tim Gardner (timg-tpi)
Changed in linux-grouper (Ubuntu):
assignee: nobody → Tim Gardner (timg-tpi)
status: Triaged → In Progress
Changed in linux-maguro (Ubuntu):
assignee: nobody → Tim Gardner (timg-tpi)
status: Triaged → In Progress
Tim Gardner (timg-tpi)
Changed in linux-grouper (Ubuntu):
status: In Progress → Fix Committed
Tim Gardner (timg-tpi)
Changed in linux-maguro (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-grouper - 3.1.10-6.24

---------------
linux-grouper (3.1.10-6.24) saucy; urgency=low

  [ Upstream Kernel Changes ]

  * prctl: add PR_{SET,GET}_CHILD_SUBREAPER to allow simple process
    supervision
    - LP: #1218415
 -- Tim Gardner <email address hidden> Thu, 29 Aug 2013 09:50:08 -0600

Changed in linux-grouper (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-maguro - 3.0.0-3.17

---------------
linux-maguro (3.0.0-3.17) saucy; urgency=low

  [ Upstream Kernel Changes ]

  * prctl: add PR_{SET,GET}_CHILD_SUBREAPER to allow simple process
    supervision
    - LP: #1218415
 -- Tim Gardner <email address hidden> Thu, 29 Aug 2013 10:11:54 -0600

Changed in linux-maguro (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.