Issue #3114 has been updated by Jason Rojas.

<pre>
# irb
irb(main):001:0> Process.groups.length
Errno::EINVAL: Invalid argument
        from (irb):1:in `groups'
        from (irb):1
irb(main):002:0> exit
[r...@shared-xen-008 ~]# irb
irb(main):001:0> Process.groups
Errno::EINVAL: Invalid argument
        from (irb):1:in `groups'
        from (irb):1
irb(main):002:0> Process.maxgroups=1024
=> 1024
irb(main):003:0> Process.groups
=> [0, 1, 2, 3, 4, 6, 10, 99, 500, 1011, 2531, 2532, 2533, 2534, 2535, 2540, 
2546, 2547, 2557, 2562, 2563, 2564, 2565, 2567, 2576, 2581, 2583, 2588, 2592, 
2596, 10001, 10027, 10028, 10040, 10047, 10048, 10049, 10050, 10055, 10068, 
10069, 10072, 10073, 10077, 10080, 10086, 10088, 10089, 10099, 10101, 10115, 
10131, 10143, 10144, 10148, 10149, 10150]
irb(main):004:0> Process.groups.length
=> 57
irb(main):005:0> 

</pre>

I have used this as a fix for some of my clients last night, adding it to 
configurer.rb in class << self (Process.maxgroups=256). It seems to work OK, 
but I wasn't sure if it was the proper solution. However, 3 clients still 
"exited" last night without error.


----------------------------------------
Bug #3114: Puppet crashes after run
http://projects.reductivelabs.com/issues/3114

Author: Jason Rojas
Status: Needs more information
Priority: Normal
Assigned to: 
Category: 
Target version: 
Affected version: 0.25.3
Keywords: 
Branch: 


Upgraded puppet client to match the master 0.25.3, it runs once and at the end 
of the run exits.

Here is the output of the trace:

/usr/lib/ruby/site_ruby/1.8/puppet/util/suidmanager.rb:29:in `asuser': Invalid 
argument (Errno::EINVAL)
  from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:731:in `writesub'
  from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:717:in `write'
  from /usr/lib/ruby/site_ruby/1.8/puppet/indirector/ssl_file.rb:158:in `write'
  from /usr/lib/ruby/site_ruby/1.8/puppet/indirector/ssl_file.rb:98:in `save'
  from /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:199:in 
`find'
  from /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find'
  from /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:208:in `ssl_store'
  from /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:115:in 
`setup_ssl'
   ... 7 levels...
  from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
  from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
  from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
  from /usr/sbin/puppetd:159


Let me know if there is anything else needed to help debug this. I can 
definitely reproduce this.


-- 
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://reductivelabs.com/redmine/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