[PUP-7126] Selinux.matchpathcon is deprecated Created: 2017/01/22  Updated: 2018/05/21

Status: Accepted
Project: Puppet
Component/s: None
Affects Version/s: PUP 4.8.2
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Thomas Mueller Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: linux, selinux
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
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().


Generated at Tue Oct 15 02:44:28 PDT 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.