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

setsebool - No such file or directory #93

tnguyen14 opened this Issue Nov 26, 2018 · 2 comments


None yet
3 participants
Copy link

tnguyen14 commented Nov 26, 2018

Cookbook version


Chef-client version


Platform Details



I have the following resource to enable support for NGINX

selinux_policy_boolean 'httpd_can_network_connect' do
  value true

Expected Result:

This works every time.

Actual Result:

It works on the first chef run, but on some later chef runs, I get this error instead:

selinux_policy_boolean[httpd_can_network_connect] (cookbook::nginx line 26) had an error: Errno::ENOENT: execute[selinux-setbool-httpd_can_network_connect-on] (/var/chef/cache/cookbooks/selinux_policy/providers/boolean.rb line 21) had an error: Errno::ENOENT: No such file or directory - setsebool

This comment has been minimized.

Copy link

tnguyen14 commented Nov 26, 2018

I think this might be related to #85

@sspans sspans referenced this issue Nov 28, 2018


use chef/mixin/which to locate selinux binaries #97

3 of 3 tasks complete

This comment has been minimized.

Copy link

sspans commented Nov 29, 2018

I guess this can be closed.

@damacus damacus closed this Nov 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment