On 9 March 2011 14:00, Todd Zullinger <[email protected]> wrote:
> Paul Nasrat wrote:
>> You've also changed the rule to use Current mode not Mode from
>> config file, was this intentiional have you tested on rhel4, rhel5,
>> rhel6 and non-rhel selinux systems?
>
> It seems like a different bug that the current fact was grepping
> "Policy from config file:" from the sestatus output for selinux_mode.
> That's not the mode, it's the policy type.  Using "Mode from config
> file:" would have been more accurate for selinux_mode.  But IMO using
> "Current mode:" seems even better (assuming it falls back properly if
> older systems lack that in the sestatus output).
>
> Whether folks were using the selinux_mode fact to get what was really
> the selinux policy type and will be burned by this change is another
> matter, of course.

Yeah - poorly defined fact purposes bite us again. I'd say for 1.5.x
we might want to maintain old behaviour to not break policy type
clients and breaking changes when we break the world in 2.0.

Paul

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to