Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added batching of chown operations #146

Merged
merged 1 commit into from
Jun 19, 2023
Merged

Added batching of chown operations #146

merged 1 commit into from
Jun 19, 2023

Conversation

thirdgen88
Copy link
Owner

馃摉 Background

In some situations, with large numbers of existing files in an Ignition data volume, the existing per-file chown mechanism could fail due to a violation of bash MAX_ARGS count.

鈿欙笍 Summary

This PR adds a simple batching of the chown calls with a size of 500 per invocation. Changes applied to both 7.9 and 8.1 docker entry point scripts.

@thirdgen88 thirdgen88 added the fix Categorize as fix for automatic release notes label Jun 19, 2023
@thirdgen88 thirdgen88 added this to the 8.1.28 milestone Jun 19, 2023
@thirdgen88 thirdgen88 merged commit 9579f9c into main Jun 19, 2023
@thirdgen88 thirdgen88 deleted the fixes/chown-batching branch August 12, 2023 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Categorize as fix for automatic release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant