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
...
Info: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[clean-module-ovcd_hostname]: Scheduling refresh of Exec[build-module-ovcd_hostname]
Notice: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[build-module-ovcd_hostname]/returns: mkdir: cannot create directory ‘tmp’: File exists
Error: /opt/puppetlabs/puppet/cache/puppet-selinux/bin/selinux_build_module_simple.sh ovcd_hostname /opt/puppetlabs/puppet/cache/puppet-selinux/modules || (rm -f /opt/puppetlabs/puppet/cache/puppet-selinux/modules/ovcd_hostname.pp /opt/puppetlabs/puppet/cache/puppet-selinux/modules/ovcd_hostname.loaded && exit 1) returned 1 instead of one of [0]
Error: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[build-module-ovcd_hostname]/returns: change from notrun to 0 failed: /opt/puppetlabs/puppet/cache/puppet-selinux/bin/selinux_build_module_simple.sh ovcd_hostname /opt/puppetlabs/puppet/cache/puppet-selinux/modules || (rm -f /opt/puppetlabs/puppet/cache/puppet-selinux/modules/ovcd_hostname.pp /opt/puppetlabs/puppet/cache/puppet-selinux/modules/ovcd_hostname.loaded && exit 1) returned 1 instead of one of [0]
Notice: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[build-module-ovcd_hostname]/returns: mkdir: cannot create directory ‘tmp’: File exists
Error: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[build-module-ovcd_hostname]: Failed to call refresh: /opt/puppetlabs/puppet/cache/puppet-selinux/bin/selinux_build_module_simple.sh ovcd_hostname /opt/puppetlabs/puppet/cache/puppet-selinux/modules || (rm -f /opt/puppetlabs/puppet/cache/puppet-selinux/modules/ovcd_hostname.pp /opt/puppetlabs/puppet/cache/puppet-selinux/modules/ovcd_hostname.loaded && exit 1) returned 1 instead of one of [0]
Error: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[build-module-ovcd_hostname]: /opt/puppetlabs/puppet/cache/puppet-selinux/bin/selinux_build_module_simple.sh ovcd_hostname /opt/puppetlabs/puppet/cache/puppet-selinux/modules || (rm -f /opt/puppetlabs/puppet/cache/puppet-selinux/modules/ovcd_hostname.pp /opt/puppetlabs/puppet/cache/puppet-selinux/modules/ovcd_hostname.loaded && exit 1) returned 1 instead of one of [0]
Notice: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[install-module-ovcd_hostname]: Dependency Exec[build-module-ovcd_hostname] has failures: true
Warning: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[install-module-ovcd_hostname]: Skipping because of failed dependencies
...
What behaviour did you expect instead
Info: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[clean-module-ovcd_hostname]: Scheduling refresh of Exec[build-module-ovcd_hostname]
Notice: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[build-module-ovcd_hostname]/returns: executed successfully
Info: /Stage[main]/Ito_systlinux_colruyt::Setup/Zz_selinux_systlinux_colruyt::Module[ovcd_hostname]/Selinux::Module[ovcd_hostname]/Exec[build-module-ovcd_hostname]: Scheduling refresh of Exec[install-module-ovcd_hostname]
Output log
See above
Any additional information you'd like to impart
After modifying the following in config.pp, things worked as expected:
# created by refpolicy builder and our simple builder# ensure it does not get purgedfile {"${module_build_dir}/tmp":
ensure => directory,
selinux_ignore_defaults => true
}
The text was updated successfully, but these errors were encountered:
oranenj
added a commit
to oranenj/puppet-selinux
that referenced
this issue
Apr 29, 2017
oranenj
changed the title
config.pp creates tmp as file but selinux_build_module_simple.sh want to create a dir
config.pp creates tmp as file but selinux_build_module_simple.sh wants to create a dir
May 4, 2017
EmRowlands
pushed a commit
to EmRowlands/puppet-selinux
that referenced
this issue
Mar 29, 2023
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
Output log
See above
Any additional information you'd like to impart
After modifying the following in config.pp, things worked as expected:
The text was updated successfully, but these errors were encountered: