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

Selinux.matchpathcon is deprecated, use selabel_lookup instead

    XMLWordPrintable

Details

    • Improvement
    • Status: Accepted
    • Normal
    • Resolution: Unresolved
    • PUP 4.8.2
    • None
    • None
    • Puppet 4.8.2 on SELinux enabled system

    • 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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Raffaello Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support