Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7126

Selinux.matchpathcon is deprecated

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PUP 4.8.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Puppet 4.8.2 on SELinux enabled system

    • Template:
    • Team:
      Platform OS
    • QA Risk Assessment:
      Needs Assessment

      Description

      Investigating PUP-2169 i've discovered that the Selinux.matchpathcon function is marked as deprecated.

      man 3 matchpathcon

      This family of functions is deprecated. For new code, please use selabel_open(3) with the SELABEL_CTX_FILE backend in place of matchpath‚Äźcon_init(), use selabel_close(3) in place of matchpathcon_fini(), and use selabel_lookup(3) in place of matchpathcon().

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Raffaello Thomas Mueller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support