Skip to content

support: don't dump file in bind mounted folders (bsc#1243297) #583

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

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

cbosdo
Copy link
Contributor

@cbosdo cbosdo commented May 19, 2025

What does this PR change?

Dumping the content of all the files in a bind-mounted folder can take a lot of time and even be eating a lot of memory. Only dumping the bind-mounted files in the supportconfig since those could contain configuration tuning.

Test coverage

  • No tests: supportconfig is not unit tested yet

  • DONE

Links

Issue(s): https://github.com/SUSE/spacewalk/issues/27251
Port: https://github.com/SUSE/uyuni-tools/pull/78

  • DONE

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

  • No changelog needed

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Before you merge

Check How to branch and merge properly!

@cbosdo cbosdo requested a review from mbussolotto May 19, 2025 09:15
Copy link
Member

@mbussolotto mbussolotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Dumping the content of all the files in a bind-mounted folder can take a
lot of time and even be eating a lot of memory. Only dumping the
bind-mounted files in the supportconfig since those could contain
configuration tuning.
Copy link

sonarqubecloud bot commented Jun 5, 2025

@aaannz aaannz merged commit acc2212 into uyuni-project:main Jun 5, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants