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

Omnibus script hangs if it can't get perms on /tmp/stderr #744

Closed
glasschef opened this issue Jun 12, 2015 · 9 comments
Closed

Omnibus script hangs if it can't get perms on /tmp/stderr #744

glasschef opened this issue Jun 12, 2015 · 9 comments

Comments

@glasschef
Copy link

https://github.com/test-kitchen/test-kitchen/blob/master/support/chef_base_install_command.sh

If /tmp/stderr is created initially by root, for example, and later another user tries the omnibus install, wget will try to output errors since install.sh exists (owned by root) but the actual /tmp/stderr file is owned by root as well, so it just hangs:

Trying wget...

sh: line 140: /tmp/stderr: Permission denied

...
@pmoosh
Copy link

pmoosh commented Jun 20, 2015

Seen this on Red Hat Enterprise Linux Server release 6.5 and chefDK 0.6.2

@phasebash
Copy link

I am experiencing this problem as well with the most recent Chef omnibus. How can one work around and/or fix this?

@deanchin
Copy link

deanchin commented Oct 2, 2015

I am experiencing the same issue. Is there a workaround or fix?

@joshwand
Copy link

+1

1 similar comment
@mgolfieri
Copy link

+1

@gwynforthewyn
Copy link

+1

I'm using test-kitchen version 1.4.0. I see this error consistently if I change the version of the chef-omnibus package being installed with chef-solo with a CentOS 6.4 virtual machine as the vagrant base box being used. All I need to do to reproduce is add:

provisioner:
  name: chef_solo
  require_chef_omnibus: 11.10.4

to my .kitchen.yml and try to run a test. So far, it's reproducible with any arbitrary version of the chef omnibus.

@cheeseplus cheeseplus added this to the Accepted Minor milestone Feb 8, 2016
@cheeseplus
Copy link

Cant' say I've ever seen this one but will try to repro - does this occur with Chef 12+ builds as well?

@mgolfieri
Copy link

mgolfieri commented Feb 8, 2016 via email

@cheeseplus cheeseplus removed this from the Accepted Minor milestone Mar 23, 2016
@cheeseplus cheeseplus removed the Minor label Mar 23, 2016
@cheeseplus
Copy link

Been unable to reproduce this one for 2 years, closing this out but happy to field a new issue opened with a repro steps against a current chef version.

@test-kitchen test-kitchen locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants