Skip to content

SE Linux: distinguish snapshotted vs shared RW paths#455

Open
davidcassany wants to merge 1 commit into
SUSE:mainfrom
davidcassany:relabel_snapshotted_volumes_without_force
Open

SE Linux: distinguish snapshotted vs shared RW paths#455
davidcassany wants to merge 1 commit into
SUSE:mainfrom
davidcassany:relabel_snapshotted_volumes_without_force

Conversation

@davidcassany
Copy link
Copy Markdown
Contributor

When relabelling a new OS snapshot this commits sets a force relabelling for all immutable parts and a non forced relabelling for RW and snapshotted paths (e.g. /etc). These are also a new snapshot hence there is no risk of interfering with the running system. Shared persistent volumes (e.g. /var) are excluded from this relabelling as they could be already in use by some other process in the running system.

@davidcassany davidcassany requested a review from a team as a code owner May 22, 2026 11:27
When relabelling a new OS snapshot this commits sets a force relabelling
for all immutable parts and a non forced relabelling for RW and snapshotted
paths (e.g. /etc). These are also a new snapshot hence there is no risk
of interfering with the running system. Shared persistent volumes (e.g. /var)
are excluded from this relabelling as they could be already in use
by some other process in the running system.

Signed-off-by: David Cassany <dcassany@suse.com>
@davidcassany davidcassany force-pushed the relabel_snapshotted_volumes_without_force branch from edd81b0 to 1cc3094 Compare May 22, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants