Issue #2911 has been updated by Markus Roberts.

Status changed from Accepted to Ready for Testing
Branch set to http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2911

I've posted your patch to a branch 
(http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2911), after successfully 
reproducing your problem with "rake mail_patches"

(If anyone else cares, the branch needs to be both based off of and named from 
0.25.x, thus:

    git checkout 0.25.x
    git checkout -b ticket/0.25.x/2911

but not:

    git checkout 0.25.x
    git checkout -b ticket/master/2911

as this will produce patches for all the differences between 0.25.x and master.

----------------------------------------
Bug #2911: SELinux type should work with uppercase letters
http://projects.reductivelabs.com/issues/2911

Author: Matthias Saou
Status: Ready for Testing
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.


Reply via email to