Issue #3419 has been updated by Krzysztof Wilczynski.

Nigel Kersten wrote:
> Krzysztof Wilczynski wrote:
> > Nigel Kersten wrote:
> > 
> > > Krzysztof, would you like to do the pull request or would you like one of 
> > > us to do it?
> > 
> > Under [kwilczynski/puppet](https://github.com/kwilczynski/puppet) we have 
> > to distinct approaches.
> > 
> > First that catches Errno::EINVAL assuming that we are on OS X:
> > 
> > [issue-3419-1](https://github.com/kwilczynski/puppet/tree/issue-3419-1) 
> > [e14b5f8de8c7dea95db89a97c047aabd0c005505](https://github.com/kwilczynski/puppet/commit/e14b5f8de8c7dea95db89a97c047aabd0c005505)
> > 
> > Second simply introduces an array of major versions for look-up:
> > 
> > [issue-3419-2](https://github.com/kwilczynski/puppet/tree/issue-3419-2) 
> > [27c2cfb162e5ffffdb5535ea5e8848aba8ba810f](https://github.com/kwilczynski/puppet/commit/27c2cfb162e5ffffdb5535ea5e8848aba8ba810f)
> > 
> > Which solution / branch would you like me to use to create a pull request? 
> > :-)
> 
> You're awesome :)
> 
> Lets catch "Errno::EINVAL". I don't think this going to get fixed soon. 
> 
> Can we put a comment near the rescue to explain why we're doing it?

No problem :)

Already in 
[issue-3419-1](https://github.com/kwilczynski/puppet/tree/issue-3419-1) 
[abb61b0934c98de42e9b5586744fd4dbc8e3ce14](https://github.com/kwilczynski/puppet/commit/abb61b0934c98de42e9b5586744fd4dbc8e3ce14)

I hope that helps :)

KW
----------------------------------------
Bug #3419: OS X 10.6 Ruby can't set supplementary groups
https://projects.puppetlabs.com/issues/3419

Author: Nigel Kersten
Status: Needs Decision
Priority: Normal
Assignee: Nigel Kersten
Category: OSX
Target version: 2.7.4
Affected Puppet version: 0.25.4
Keywords: 
Branch: 


<pre>
nigelk$ sudo ruby -e "old_groups = Process.groups; Process.groups = old_groups"
-e:1:in `groups=': Invalid argument (Errno::EINVAL)
        from -e:1
</pre>

This causes suidmanager to blow up.

I'm marking this to be fixed for 0.25.5 unless anyone violently objects. It's a 
platform bug yes, but look at all the stuff you guys do for RHEL :)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to