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

Acceptance test fails for /tmp/test_selinux_fcontext on Fedora 24 #157

Closed
vinzent opened this issue Dec 27, 2016 · 1 comment
Closed

Acceptance test fails for /tmp/test_selinux_fcontext on Fedora 24 #157

vinzent opened this issue Dec 27, 2016 · 1 comment

Comments

@vinzent
Copy link
Contributor

vinzent commented Dec 27, 2016

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.8.2
  • Distribution: Fedora 24
  • Module version: 0.7.1-rc0

How to reproduce (e.g Puppet code you use)

run acceptance tests:

PUPPET_INSTALL_TYPE=agent bundle exec rake beaker:fedora-24-x64`

right now there is no upstream fedora 24 vagrant box. built myself with puppetlabs/puppetlabs-packer#169 and puppetlabs/puppetlabs-packer#168

What are you seeing

rspec ./spec/acceptance/class_spec.rb[1:1:2] # selinux class behaves like a idempotent resource applies a second time without changes
rspec ./spec/acceptance/class_spec.rb:58 # selinux class the test file should have the specified file context File "/tmp/test_selinux_fcontext" selinux_label sh
 "/tmp/test_selinux_fcontext" selinux_label should match /^.*:puppet_selinux_test_policy_exec_t:s0$/

What behaviour did you expect instead

  • the /tmp/test_selinux_fcontext is expected to match
  • the first error is a known problem with selmodule
@vinzent
Copy link
Contributor Author

vinzent commented Dec 31, 2016

could no more reproduce, all seems fine. see #162

@vinzent vinzent closed this as completed Dec 31, 2016
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

No branches or pull requests

1 participant