HomeDevCentral

Avoid egrep in Salt code base

Description

Avoid egrep in Salt code base

Summary:
On recent Fedora/RHEL releases, egrep raises a deprecation warning.
That warning fails selinux.fcontext_policy_present invocations.

This is especially problematic for the SELinux module for paas-docker role.
Don't record SELinux context created several times issues with nginx logs.

Patch is not needed on FreeBSD servers as on that userland, egrep works fine.

Ref T1991

Test Plan:

  • Apply on WindRiver, check it's ignored
  • Apply on Dwellers, run nginx config state

Reviewers: DorianWinty

Reviewed By: DorianWinty

Maniphest Tasks: T1991

Differential Revision: https://devcentral.nasqueron.org/D3392

Details

Provenance
derecksonAuthored on Aug 3 2024, 12:43
derecksonPushed on Aug 21 2024, 18:19
Reviewer
DorianWinty
Differential Revision
D3392: Avoid egrep in Salt code base
Parents
rOPSe0cbc48f6a3a: Resolve conflict for Salt Vault configuration
Branches
Unknown
Tags
Unknown
Tasks
T1991: Context has again been lost on /var/log/www