[RFC] PEP 3143: supplementary group list concerns
in the light of a recent spot in Python Paste , I've come across
the python-daemon  implementation and found it also lacks support
for supplementary groups.
First, I just wanted to post a patch to the author, but realized
the broader context of PEP 3143 that would probably deserve
revisiting at the first place. As the target Python version
seems not to be decided yet, I see a space for it.
If the spirit of solution  was to be followed (i.e., initialize
this list with all groups of which user derived from `uid` is
a member + group derived from `gid` (regardless if `uid`/`gid`
is explicit), no change of the PEP would be necessary.
This fact of intented handling of supplementary groups under the hood
still could be mentioned so the users and authors of compatible
interfaces are aware of this "detail".
Another way (in the spirit of systemd ) is to extend the interface
with an option (named, e.g., supplementary_groups) for optional
specification of supplemental groups. The default would be something
as in the previous paragraph.
To be honest, I am not sure how consistently is the concept of
supplementary groups used across various *nixes.
POSIX seems to admit variances, e.g. (via ):
The System Interfaces volume of IEEE Std 1003.1-2001 does not specify
whether the effective group ID of a process is included in its
supplementary group list.
But I believe this should be addressed before the PEP in question is
brought into effect.
Re: [RFC] PEP 3143: supplementary group list concerns
On 12/03/12 09:27 +1100, Ben Finney wrote:
> Jan PokornÃ½ <firstname.lastname@example.org> writes:
>> in the light of a recent spot in Python Paste , I've come across
>> the python-daemon  implementation and found it also lacks support
>> for supplementary groups.
> Thank you for your interest in â€˜python-daemonâ€™.
> To know specifically what you're referring to in most of this message,
> I think your reference â€˜â€™ is necessary; but you didn't provide it.
My bad, I've sent it with unfinished renumbering.
Please swap + in the quoted part and the missing reference is
(for some reason, this points to 1.5.5, even though 1.6 is also there:
|All times are GMT. The time now is 01:31 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.