- From: "John E. Vincent (lusis)" <
>
- To: James <
>
- Cc:
- Subject: [chef] Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies
- Date: Wed, 10 Aug 2011 15:14:45 -0400
There's a bug on RHEL5 with prelinking. I think it was x86_64 only but
I'm not positive at this point.
I had an RPM of 1.9.2 I build monolithically and packaged with fpm. It
install in the system path (we explicitly didn't install RHEL ruby at
all)
Every morning at 4AM all our ruby-based cronjobs and chef itself would
stop working. Prelink was the only cronjob of importance that ran at
that time so a bit of googling lead to this (iirc)
http://www.tsheffler.com/blog/?p=491
I opted to just remove prelink from the system since this isn't the
first time I've seen it cause issues. In your case, you'd probably add
the exclusion as part of the RPM.
It's easy enough to test, uninstall/disable the prelink cron job and
see if it still happens.
On Wed, Aug 10, 2011 at 2:44 PM, James
<
>
wrote:
>
John,
>
Please elaborate?
>
Thanks,
>
James
>
On Wed, Aug 10, 2011 at 5:07 AM, John E. Vincent (lusis)
>
<
>
>
wrote:
>
>
>
> After a day? Sounds like the prelinking bug.
>
>
>
> On Aug 10, 2011 6:04 AM, "Titov Alexander"
>
> <
>
>
> wrote:
>
> > Hi James,
>
> >
>
> > Problem is still persist:
>
> >
>
> > [Tue, 09 Aug 2011 15:13:15 +0000] DEBUG: Sending HTTP Request via GET
>
> > to api.opscode.com:443/organizations/qik/search/node
>
> > /usr/lib/ruby/1.8/net/protocol.rb:135: [BUG] Segmentation fault
>
> > ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
>
> >
>
> > It happens after a day chef working. New binaries didn't help=(.
>
> >
>
> > On 8 August 2011 22:25, James
>
> > <
>
>
> > wrote:
>
> >> Titov,
>
> >> We use different build methods, but largely the same spec files, for
>
> >> all of
>
> >> the dependencies. Some of the versions of dependencies are different.
>
> >> The
>
> >> spec files for the rubygems are going to be different as well. Sergio
>
> >> uses
>
> >> gem2rpm whereas I use fpm.
>
> >> These have so far only been tested on my own test systems, I would
>
> >> really
>
> >> appreciate other people testing them because I'll move them to the
>
> >> stable
>
> >> repo and start building out the rest of the Server dependencies, as
>
> >> well as
>
> >> builds for el6 and potentially FC.
>
> >> James
>
> >>
>
> >> On Mon, Aug 8, 2011 at 4:50 AM, Titov Alexander
>
> >> <
>
>
> >> wrote:
>
> >>>
>
> >>> What is the difference between spec files for your ruby rpm and RBEL?
>
> >>> How long did you test this rpms for segfaults?
>
> >>>
>
> >>> On 6 August 2011 01:06, James
>
> >>> <
>
>
> >>> wrote:
>
> >>> > All of the el5 i386 and x86_64 ruby, chef, and chef dependency
>
> >>> > packages
>
> >>> > have
>
> >>> > been rebuilt, along with dependencies for 0.10.4/5. These are
>
> >>> > currently
>
> >>> > in
>
> >>> > the testing.aegisco.com repo, and will be moved to the stable one
>
> >>> > after
>
> >>> > vetting.
>
> >>> > The rubygem-chef 0.10.5 package itself is held up on what I think is
>
> >>> > an
>
> >>> > incompatibility between rubygem's pessimistic version constraint [1]
>
> >>> > and
>
> >>> > rpm's lack of support for this feature. If someone can confirm this
>
> >>> > and
>
> >>> > write a translation layer for fpm, that would be wonderful. In the
>
> >>> > interim,
>
> >>> > I'll build these rpms by hand with modifications to the
>
> >>> > fpm-generated
>
> >>> > spec
>
> >>> > files.
>
> >>> > I have tested the i386 install for the segfaulting issues we were
>
> >>> > seeing
>
> >>> > previously, and they seem to be resolved. Further confirmation on
>
> >>> > this
>
> >>> > would
>
> >>> > be helpful as well.
>
> >>> > Example bootstrap:
>
> >>> > https://gist.github.com/1128513
>
> >>> > List of packages:
>
> >>> > autoconf-2.68-2
>
> >>> > flex-2.5.35-7
>
> >>> > gecode-3.5.0-1
>
> >>> > gecode-devel-3.5.0-1
>
> >>> > gecode-doc-3.5.0-1
>
> >>> > gecode-examples-3.5.0-1
>
> >>> > m4-1.4.16-2
>
> >>> > ruby-1.8.7.352-1
>
> >>> > ruby-devel-1.8.7.352-1
>
> >>> > ruby-irb-1.8.7.352-1
>
> >>> > ruby-libs-1.8.7.352-1
>
> >>> > ruby-rdoc-1.8.7.352-1
>
> >>> > ruby-ri-1.8.7.352-1
>
> >>> > ruby-static-1.8.7.352-1
>
> >>> > ruby-tcltk-1.8.7.352-1
>
> >>> > rubygem-bunny-0.7.1
>
> >>> > rubygem-bunny-0.7.4
>
> >>> > rubygem-chef-0.10.2
>
> >>> > rubygem-erubis-2.7.0
>
> >>> > rubygem-highline-1.6.2
>
> >>> > rubygem-json-1.5.2
>
> >>> > rubygem-json-1.5.3
>
> >>> > rubygem-mime-types-1.16
>
> >>> > rubygem-mixlib-authentication-1.1.4
>
> >>> > rubygem-mixlib-cli-1.2.0
>
> >>> > rubygem-mixlib-config-1.1.2
>
> >>> > rubygem-mixlib-log-1.3.0
>
> >>> > rubygem-moneta-0.6.0
>
> >>> > rubygem-net-ssh-2.1.4
>
> >>> > rubygem-net-ssh-gateway-1.1.0
>
> >>> > rubygem-net-ssh-multi-1.0.1
>
> >>> > rubygem-net-ssh-multi-1.1
>
> >>> > rubygem-ohai-0.6.4
>
> >>> > rubygem-polyglot-0.3.1
>
> >>> > rubygem-polyglot-0.3.2
>
> >>> > rubygem-rest-client-1.6.3
>
> >>> > rubygem-systemu-2.2.0
>
> >>> > rubygem-treetop-1.4.10
>
> >>> > rubygem-treetop-1.4.9
>
> >>> > rubygem-uuidtools-2.1.2
>
> >>> > rubygem-yajl-ruby-0.8.2
>
> >>> > rubygems-1.8.5-1
>
> >>> > [1] http://docs.rubygems.org/read/chapter/16
>
> >>>
>
> >>>
>
> >>>
>
> >>> --
>
> >>> Titov Alexander
>
> >>
>
> >>
>
> >
>
> >
>
> >
>
> > --
>
> > Titov Alexander
>
>
- [chef] New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, James, 08/05/2011
- [chef] Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, Titov Alexander, 08/08/2011
- [chef] Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, James, 08/08/2011
- [chef] Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, Titov Alexander, 08/10/2011
- [chef] Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, John E. Vincent (lusis), 08/10/2011
- [chef] Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, James, 08/10/2011
- [chef] Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, John E. Vincent (lusis), 08/10/2011
- [chef] Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, James, 08/10/2011
- [chef] Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, James, 08/10/2011
- [chef] Re: Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, Titov Alexander, 08/10/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, James, 08/10/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, Sergio Rubio, 08/12/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, James, 08/12/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, Titov Alexander, 08/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, James, 08/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, Titov Alexander, 08/20/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: New ruby 1.8.7 and rubygem-chef 0.10.2 rpms and dependencies, James, 08/20/2011
Archive powered by MHonArc 2.6.16.