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

selinux_config_policy should handle whitespace

    XMLWordPrintable

Details

    • Bug
    • Status: Accepted
    • Normal
    • Resolution: Unresolved
    • FACT 3.1.5
    • None
    • None
    • 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

          People

            Unassigned Unassigned
            dylan.ratcliffe Dylan Ratcliffe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Zendesk Support