Bug 911688 - uwsgi emperor mode defaults limiting/should use posix capabilities
Summary: uwsgi emperor mode defaults limiting/should use posix capabilities
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: uwsgi
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jorge Gallegos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-15 16:15 UTC by Guido Berhoerster
Modified: 2013-10-15 06:38 UTC (History)
1 user (show)

Fixed In Version: uwsgi-1.9.17-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-15 06:38:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.