Bug 911688

Summary: uwsgi emperor mode defaults limiting/should use posix capabilities
Product: [Fedora] Fedora Reporter: Guido Berhoerster <guido+fedora>
Component: uwsgiAssignee: Jorge Gallegos <kad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: kad
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: uwsgi-1.9.17-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-15 06:38:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Guido Berhoerster 2013-02-15 16:15:45 UTC
The current default configuration starts uwsgi in emperor mode but runs as the uwsgi user which prevents uwsgi from setuid/setgid'ing and only allows to run all vassals as the same user which is rather limiting and insecure. uwsgi can be built with support for POSIX capabilities which can allow for setuid/setgid use without running the emperor with full root privileges.

See https://github.com/gber/uwsgi/commit/a2e686d5fbfef370fbe50b46588e2313ad30375e for a suggested fix.

Comment 1 Fedora End Of Life 2013-04-03 15:32:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Fedora Update System 2013-10-04 23:54:35 UTC
uwsgi-1.9.17-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/uwsgi-1.9.17-1.fc20

Comment 3 Fedora Update System 2013-10-06 05:31:28 UTC
Package uwsgi-1.9.17-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing uwsgi-1.9.17-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18427/uwsgi-1.9.17-1.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-10-09 16:55:32 UTC
uwsgi-1.9.17-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/uwsgi-1.9.17-2.fc20

Comment 5 Fedora Update System 2013-10-15 06:38:10 UTC
uwsgi-1.9.17-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.