You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know whether it's failing in Docker, but in the Beaker tests in Vagrant, puppet-nginx is failing:
# ./spec/acceptance/nginx_mail_spec.rb:22:in `block (2 levels) in <top (required)>'
2) nginx::resource::mailhost define: Port "587" should be listening
Failure/Error: it { is_expected.to be_listening }
expected Port "587" to be listening
# ./spec/acceptance/nginx_mail_spec.rb:31:in `block (3 levels) in <top (required)>'
3) nginx::resource::mailhost define: Port "465" should be listening
Failure/Error: it { is_expected.to be_listening }
expected Port "465" to be listening
# ./spec/acceptance/nginx_mail_spec.rb:35:in `block (3 levels) in <top (required)>'
wyardley
changed the title
acceptance test fails because of SELinux when trying to bind to mail ports
(non-Docker) acceptance test fails because of SELinux when trying to bind to mail ports
Aug 30, 2017
I don't know whether it's failing in Docker, but in the Beaker tests in Vagrant, puppet-nginx is failing:
This is failing because of SELinux.
In the Audit log:
The Puppet Selinux module and
semanage
are not enabled. Not sure if the best approach is:spec_helper_acceptance
but make no changes to the modulesemanage port -a -t http_port_t -p tcp 465
won't work, because it's already insmtp_port_t
.The text was updated successfully, but these errors were encountered: