- From: Bryan McLellan <
>
- To:
- Subject: [chef] Re: Segmentation fault when I upload cookbooks
- Date: Fri, 16 Mar 2012 11:09:40 -0400
On Thu, Mar 15, 2012 at 8:42 PM, Gustavo
<
>
wrote:
>
I'm getting the following segfault when I upload cookbooks to chef server:
>
>
/usr/lib/ruby/vendor_ruby/chef/checksum_cache.rb:174: [BUG] Segmentation
>
fault
>
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
>
>
I'm running chef server and clients on Debian Squeeze amd64.
The 'easiest' path for Ruby segfaults most of the time is upgrading to
a newer Ruby. These patches rarely get backported.
A few routes:
1) Backporting Ruby from wheezy/testing, it contains Ruby 1.8.7.352-2.
For instance, using pbuilder:
http://edseek.com/~jasonb/articles/pbuilder_backports/
2) Upgrade to Debian wheezy/testing.
3) Remove all ruby packages from apt and install Ruby from source
4) Use RVM to install a confined Ruby (and live with the consequences
of what it does to your environment)
Bryan
Archive powered by MHonArc 2.6.16.