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

overwrite exec for inetd because respec its is executing exec #1257

Merged
merged 1 commit into from
Oct 28, 2016

Conversation

chris-rock
Copy link
Contributor

This PR fixed #1253 until #875 is in place.

$ inspec shell -t docker://1de218c4b67c
Welcome to the interactive InSpec Shell
To find out how to use it, type: help

inspec> describe inetd_conf do
inspec> inetd_conf.exec
=> ["stream", "tcp", "nowait", "root", "/usr/sbin/in.rexecd", "in.rexecd"]
inspec> describe inetd_conf do
inspec>   its('exec') { should eq nil }  
inspec> end  

Profile: inspec-shell
Version: unknown



  inetd.conf exec
     ✖  should eq nil

     expected: nil
          got: ["stream", "tcp", "nowait", "root", "/usr/sbin/in.rexecd", "in.rexecd"]

     (compared using ==)


Test Summary: 0 successful, 1 failures, 0 skipped
inspec> 

@chris-rock chris-rock force-pushed the chris-rock/inetd-exec branch 3 times, most recently from 664e443 to eef2fcb Compare October 27, 2016 13:14
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
@alexpop
Copy link
Contributor

alexpop commented Oct 28, 2016

Good workaround for now, thanks Chris!

@alexpop alexpop merged commit 9f7216c into master Oct 28, 2016
@alexpop alexpop deleted the chris-rock/inetd-exec branch October 28, 2016 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inetd_conf resource error
2 participants