Issue #2911 has been updated by Matthias Saou.

I've never used git for more than just a "clone" before, so I'm a little at 
loss.

When I run @http://projects.reductivelabs.com/issues/2911@ I see my one-liner, 
but when I run @rake mail_patches@ it wants to send out 24 changes/emails with 
mine being the 24th. Rebasing both branches doesn't help at all... I'll 
continue trying.
----------------------------------------
Bug #2911: SELinux type should work with uppercase letters
http://projects.reductivelabs.com/issues/2911

Author: Matthias Saou
Status: Accepted
Priority: Normal
Assigned to: James Turnbull
Category: SELinux
Target version: 0.25.2
Affected version: 0.25.1
Keywords: 
Branch: 


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.


Reply via email to