Chef-client 0.8.6 is broken


#1

I ran the chef-client -l debug and got the following error in the log.

/var/lib/gems/1.8/gems/ohai-0.5.0/lib/ohai/plugins/linux/network.rb:79:
[BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]

What’s the cause of this?

Thanks
Dikang.


#2

On Fri, Mar 19, 2010 at 6:07 PM, Dikang Gu dikang85@gmail.com wrote:

I ran the chef-client -l debug and got the following error in the log.
/var/lib/gems/1.8/gems/ohai-0.5.0/lib/ohai/plugins/linux/network.rb:79:
[BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
What’s the cause of this?

Ruby 1.8.7 p174, which ships on Ubuntu 9.10 (Karmic) is very buggy and
has a number of segmentation faults still. Most of those that occur
are periodic and won’t occur on subsequent runs of chef-client.

Some history of our work to backport ruby patches from upstream to
karmic-updates is in CHEF-530 [1].

Bryan

[1] http://tickets.opscode.com/browse/CHEF-530