saltstack/salt — pull request #9917 by bdenning (2014-01-24 01:03:15+00:00)
Title: Modified the parsing the output from ls -lZ to use regex instead of split() in order to resolve issue 9845

This change aims to address the problem documented in: #9845.

A pull request was originally raised to fix this issue (https://github.com/saltstack/salt/pull/9846) but after discussion I believe that the modifications made in this PR are more appropriate.

Further work will be done under a different ticket to modify selinux related code to using the python selinux module (rather than calling cmd.run) in order to avoid similar bugs in the future.

-
Bowen