Does not support uid's and gid's above 65535 on x86-64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mpm-itk (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am having a problem where in my AssignUserID <Location> blocks mpm-itk will fail with an internal server error. This shows up in the log:
(itkmpm: pid=29765 uid=33, gid=33) itk_post_
I downloaded the source code and noticed I could compile it without HAVE_LIBCAP and the error goes away. I figured this meant there was something wrong with mpm-itk's use of capabilities. In itk_pre_
I modified the code mostly through trial and error since I'm not that familiar with capabilities to come up with the patch below. This explicitly gives the process CAP_SETUID and CAP_SETGID in itk_pre_
This is mpm-itk 2.4.6-01 on Ubuntu 14.04.
summary: |
- failed call to setgid causes 500 internal server error + Does not support uid's and gid's above 65535 on x86-64 |
The attachment "Set-setuid- setgid- capabilities- before- privilege- drop.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]