Issue #9901 has been updated by James Turnbull.

Status changed from Needs More Information to Accepted
Assignee changed from Daniel Pittman to Nick Lewis

I commented out this on the master (2.7.9) and it all works:

lib/puppet/util/monkey_patches.rb

<pre>
class Object
  # ActiveSupport 2.3.x mixes in a dangerous method
  # that can cause rspec to fork bomb
  # and other strange things like that.
  def daemonize
    raise NotImplementedError, "Kernel.daemonize is too dangerous, please don't 
try to use it."
  end   
end
</pre>

The client is Ubuntu 2.6.3 and the master is Apache/Passenger running 2.7.9 on 
Ubuntu with Apache/Passenger config straight from the puppetmaster-passenger 
package on Ubuntu 10.04.


----------------------------------------
Bug #9901: 2.7.3 ubuntu package triggers 'Kernel.daemonize is too dangerous' 
where 2.6.3 did not
https://projects.puppetlabs.com/issues/9901

Author: Jos Boumans
Status: Accepted
Priority: High
Assignee: Nick Lewis
Category: server
Target version: 2.7.x
Affected Puppet version: 
Keywords: 
Branch: 


Hi, when trying to update to 2.7.3, our (2.6.3) clients started getting puppet 
errors. The
logs show the following line:

<pre>
Oct  4 21:09:59 puppet-agent[2753]: Could not retrieve catalog from remote 
server: Error 400 on SERVER: Kernel.daemonize is too dangerous, please don't 
try to use it.
</pre>

We're running Ubuntu 10.04 on EC2 using the official canonical images. The 
server
was running 2.6.3 from mathiaz' ppa and is again after a downgrade which made
the issues go away:

<pre>
$ dpkg -l|grep puppet
ii  puppet                            2.6.3-0ubuntu1~lucid1             
Centralized configuration management - agent
ii  puppet-common                     2.6.3-0ubuntu1~lucid1             
Centralized configuration management
ii  puppet-dashboard                  1.1.0-1                           
Dashboard for Puppet
ii  puppetmaster-common               2.6.3-0ubuntu1~lucid1             Puppet 
master common scripts
ii  puppetmaster-passenger            2.6.3-0ubuntu1~lucid1             
Centralised configuration management - master
</pre>


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