Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Chef Client on FreeBSD 10 #1491

Closed
anandsuresh opened this issue Jun 12, 2014 · 8 comments
Closed

Support Chef Client on FreeBSD 10 #1491

anandsuresh opened this issue Jun 12, 2014 · 8 comments
Labels
Type: Enhancement Adds new functionality.

Comments

@anandsuresh
Copy link
Contributor

Running on Vagrant 1.6.3, the chef-solo run finishes, but then segfaults.

==> freebsd-01:
==> freebsd-01:
==> freebsd-01: chef client finished. 624 resources updated, took 982.441548297 seconds
==> freebsd-01: /usr/local/lib/ruby/gems/1.9/gems/chef-11.12.8/lib/chef/client.rb:222:
==> freebsd-01: [BUG]
==> freebsd-01: Segmentation fault
==> freebsd-01:
==> freebsd-01: ruby 1.9.3p484 (2013-11-22 revision 43786) [amd64-freebsd10]
==> freebsd-01: -- Control frame information -----------------------------------------------
==> freebsd-01: bash: line 2:  1187 Segmentation fault      (core dumped) chef-solo -c /vagrant/solo.rb -j /vagrant/dna.json
@btm
Copy link
Contributor

btm commented Jun 13, 2014

Line 222 of lib/chef/client.rb in Chef 11.12.8 calls Process.waitpid2(pid)

peab92691 chef/lib/chef/client.rb (Chris Roberts                  2012-05-11 14:51:06 -0700 222)         result = Process.waitpid2(pid)

@sersut
Copy link
Contributor

sersut commented Jun 17, 2014

Hrmmm we don't have FreeBSD 10 in our CI test matrix. Seems like 10 is released on Jan 2014. We should get this platform into our matrix and make sure things are working as expected.

Thanks for reporting this @anandsuresh

@anandsuresh
Copy link
Contributor Author

@sersut Let me know if I can provide any more information/testing. Interestingly, I have not seen this bug since I reported it. It seems to happen once in a blue moon.

@sersut sersut changed the title Segmentation fault on FreeBSD 10 Support Chef Client on FreeBSD 10 Jun 19, 2014
@sersut
Copy link
Contributor

sersut commented Jun 19, 2014

Thanks for the note @anandsuresh. I've changed the title to reflect the issue in a slightly better way.

@hirenp
Copy link

hirenp commented Aug 5, 2014

Is this still an issue? I can help test this.

@sersut
Copy link
Contributor

sersut commented Aug 6, 2014

Closing this issue since this doesn't seem to be a consistently reproing issue.

Let's reopen and investigate if we get another repro of this.

@sersut sersut closed this as completed Aug 6, 2014
@hirenp
Copy link

hirenp commented Aug 6, 2014

Hi,
http://www.getchef.com/chef/install/ doesn't list client for FreeBSD10. Are there any known problems with it? I'd like to know and help get them fixed if possible.

@btm
Copy link
Contributor

btm commented Aug 6, 2014

Last I knew we didn't have internal FreeBSD 10 test machines, which has been the bar for listing newer releases in the past.

It should work though, and install.sh should install on FreeBSD 10, so I think it's up to people testing and reporting specific issues right now.

@thommay thommay added Type: Enhancement Adds new functionality. and removed Enhancement labels Jan 25, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Enhancement Adds new functionality.
Projects
None yet
Development

No branches or pull requests

5 participants