Issue #3114 has been updated by Markus Roberts.

Status changed from Investigating to Needs more information
Assigned to deleted (Markus Roberts)

I've just tested this (running Process.groups directly) with ruby 1.8.5 on 
Centos 5.3 as root, and was unable to reproduce the error.  However, playing 
around (and taking a peek at the process.c in the ruby source tree) did suggest 
a possible explanation.

Could you try (in irb again):

<pre>
Process.maxgroups = 1024
Process.groups
</pre>

and see if that generates the same error?  If not, could you report the results 
of:

<pre>
Process.groups.length
</pre>

-- Markus
----------------------------------------
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