Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1398

selinux_config_policy should handle whitespace

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: FACT 3.1.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Platform OS

      Description

      Here we have a regex that is grabbing the selinux_config_policy from /etc/selinux/config. We had a customer here who had a space in their /etc/selinux/config which was breaking the regex as shown here

      This, and any other relevant regexes should be able to handle some whitespace at the end of the setting as it does not affect the functionality of SELinux at all.

      Suggested fix: Add whitespace to regex

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                dylan.ratcliffe Dylan Ratcliffe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: