-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENT-10429: Guarded against race condition in install scriptlets with restorecon #1300
Conversation
@cf-bottom jenkins please |
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/9896/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-9896/ |
waiting on #1303 to be merged, then will rebase and re-run CI here. |
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
1bb9ee0
to
ee76818
Compare
@cf-bottom jenkins |
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/9905/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-9905/ |
sequential test failure has the following issues
So I think this is "good to go" @nickanderson ack? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 🤞
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