Update RPM postinstall.sh
script to use restorecon
in place of chcon
#532
Labels
enhancement
New feature or request
packages
Related to generated packages for this project (e.g., RPM, DEB)
Milestone
Overview
Add support for setting valid SELinux label/contexts/policy for plugins provided by this project (just one as of this writing). There is a rudimentary support already in place for setting a context via
chcon
, but as discussed elsewhere those values will be lost if the filesystem is relabeled.This GH issue is intended to track valid or "proper" SELinux values, whether that's via a policy or some other well established pattern.
I should review monitoring plugin packages available via EPEL and similar projects to see how they're handling this.
References
Prior/Related work:
Additional reading:
The text was updated successfully, but these errors were encountered: