[python-daemon-Bugs][315239] 2.1 requires root permissions

python-daemon-bugs at alioth.debian.org python-daemon-bugs at alioth.debian.org
Sat Nov 28 14:29:03 UTC 2015


python-daemon-Bugs item #315239 was changed at 2015-11-28 15:29 by Adrian M
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413098&aid=315239&group_id=100328

Status: Open
Priority: 3
Submitted By: Adrian M (thiefmaster-guest)
Assigned to: Nobody (None)
Summary: 2.1 requires root permissions 


Initial Comment:
Since version 2.1, python-daemon always tries to setuid+setgid even if no uid change is necessary.  This fails when running without root privileges (which is a perfectly valid use case).

This kind of breaking change seem pretty inappropriate for a minor version number change, and additionally it doesn't seem to make sense at all - especially not in a way that cannot be disabled without using monkeypatching.

----------------------------------------------------------------------

Comment By: Adrian M (thiefmaster-guest)
Date: 2015-11-28 15:29

Message:
After having a closer look: this happens only with `initgroups=True` which didn't exist before. Maybe it would be better to make it default to `False`?

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413098&aid=315239&group_id=100328



More information about the python-daemon-bugs mailing list