-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guarded against race condition in install scriptlets with restorecon
Try to run restorecon with the least number of processes/services running that might make changes to /var/cfengine and /opt/cfengine restorecon seems to gather a list of files up-front and then process which can take more than a few seconds. When services such as database or cf-execd/cf-agent/etc are running files can change causing restorecon to error out when files are removed. The files being removed doesn't create a risk of bad SELinux labels since they are gone. Ticket: ENT-10429 Changelog: title
- Loading branch information
1 parent
bb4287d
commit ee76818
Showing
2 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters