python-daemon 2.1.0 introduced breaking changes

Peter Urda peter.urda at gmail.com
Wed Jan 6 18:16:49 UTC 2016


I'm posting this as I could not find any release notes or announcements on
2.1.0.

It appears that the latest version of python-daemon requires a `initgroups`
kwarg to be included with  `DaemonContext`. If it's not set, python-daemon
will fail to launch with error:

in ... daemon/daemon.py", line 635, in change_process_owner
    os.initgroups(username, gid)
PermissionError: [Errno 1] Operation not permitted

This requires users who upgrade from 2.0.6 to 2.1.0 (which should have been
a version which only added functionality in a backwards-compatible manner)
to have to set `initgroups` to `False`.

~ Peter Urda

http://urda.cc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-daemon-devel/attachments/20160106/54f38a42/attachment.html>


More information about the python-daemon-devel mailing list