User jobs not getting fed through /proc/*/fd/* after setuid

Bug #813052 reported by ValVe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart
Fix Released
Undecided
James Hunt

Bug Description

User jobs which have multi-line script stanzas are not getting fed through pipes (/proc/*/fd/*) because of access denied errors after they get SETUIDed.
Seems there must be a quite easy workaround, as this bug is kinda related to a very long-standing issue.
http://lists-archives.org/linux-kernel/18583697-problem-permission-denied-when-accessing-proc-self-fd-after-setuid.html

Single-line scripts and exec stanzas work just fine, as expected, because they are passed througs "sh -c"

James Hunt (jamesodhunt)
Changed in upstart:
assignee: nobody → James Hunt (jamesodhunt)
status: New → In Progress
James Hunt (jamesodhunt)
Changed in upstart:
status: In Progress → 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.