Issue #2911 has been updated by James Turnbull. Status changed from Ready for Testing to Closed
Pushed in commit:"c2617211cf5037c5ddb7f59992c35c6dd62a529e" in branch 0.25.x ---------------------------------------- Bug #2911: SELinux type should work with uppercase letters http://projects.reductivelabs.com/issues/2911 Author: Matthias Saou Status: Closed Priority: Normal Assigned to: James Turnbull Category: SELinux Target version: 0.25.2 Affected version: 0.25.1 Keywords: Branch: http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2911 In lib/puppet/util/selinux.rb there is this : <pre> unless context =~ /^([a-z0-9_]+):([a-z0-9_]+):([a-z0-9_]+)(?::([a-zA-Z0-9:,._-]+))?/ raise Puppet::Error, "Invalid context to parse: #{context}" end </pre> I've been seeing that Error with the following context : @system_u:object_r:NetworkManager_initrc_exec_t:s0@ The fix is trivial, adding A-Z for the 3rd component just like in the 4th component, and works for me. Trivial patch attached. -- 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.
