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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for defaulting to relabeling /etc across upgrades #2819

Open
cgwalters opened this issue Feb 17, 2023 · 0 comments
Open

Add support for defaulting to relabeling /etc across upgrades #2819

cgwalters opened this issue Feb 17, 2023 · 0 comments
Labels
difficulty/medium medium complexity/difficutly issue enhancement reward/small This is a minor fix or cleanup triaged This issue has been evaluated and is valid

Comments

@cgwalters
Copy link
Member

We hit a bug in OCP upgrades because the SELinux label for /etc/NetworkManager/dispatcher.d changed from RHEL8 to RHEL9. ostree semantics here are that we by default retain file metadata across upgrades.

But, there's a potentially strong argument here that we should relabel /etc on upgrades. I think most people would want this. I have some worries about regressing something if we made it the default, so it may need to be an opt-in...something like

[sysroot]
relabel-etc=true

in the repo?

@cgwalters cgwalters added enhancement difficulty/medium medium complexity/difficutly issue triaged This issue has been evaluated and is valid reward/small This is a minor fix or cleanup labels May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/medium medium complexity/difficutly issue enhancement reward/small This is a minor fix or cleanup triaged This issue has been evaluated and is valid
Projects
None yet
Development

No branches or pull requests

1 participant