Issue #2951 has been updated by Markus Roberts. Assigned to deleted (Markus Roberts)
---------------------------------------- Bug #2951: 5 closely related errors in spec/unit/util/selinux.rb under OS X http://projects.reductivelabs.com/issues/2951 Author: Markus Roberts Status: Ready for Testing Priority: Normal Assigned to: Category: Target version: 0.25.2 Affected version: 0.25.1 Keywords: Branch: http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2951 1) NoMethodError in 'Puppet::Util::SELinux set_selinux_context should use lsetfilecon to set a context' undefined method `close' for nil:NilClass ./spec/unit/util/selinux.rb:206: /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 2) NoMethodError in 'Puppet::Util::SELinux set_selinux_context should use lsetfilecon to set user_u user context' undefined method `close' for nil:NilClass ./spec/unit/util/selinux.rb:213: /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 3) NoMethodError in 'Puppet::Util::SELinux set_selinux_context should use lsetfilecon to set role_r role context' undefined method `close' for nil:NilClass ./spec/unit/util/selinux.rb:220: /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 4) NoMethodError in 'Puppet::Util::SELinux set_selinux_context should use lsetfilecon to set type_t type context' undefined method `close' for nil:NilClass ./spec/unit/util/selinux.rb:227: /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 5) NoMethodError in 'Puppet::Util::SELinux set_selinux_context should use lsetfilecon to set s0:c3,c5 range context' undefined method `close' for nil:NilClass ./spec/unit/util/selinux.rb:234: /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/markus/projects/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' Finished in 0.091929 seconds 41 examples, 5 failures These are caused by a loophole in the patch for #1963 for the case where /proc/mounts does not exist. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
