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

feat: label mounts and data directories #9648

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

dsseng
Copy link
Member

@dsseng dsseng commented Nov 6, 2024

  • feat: add SELinux labels to mounts
  • test: check labels for mounts and files in there

internal/pkg/mount/v2/mount.go Outdated Show resolved Hide resolved
internal/pkg/mount/v2/mount.go Outdated Show resolved Hide resolved
internal/pkg/selinux/selinux.go Outdated Show resolved Hide resolved
pkg/filetree/relabel.go Outdated Show resolved Hide resolved
@dsseng dsseng force-pushed the selinux-etc branch 2 times, most recently from 0b4819d to dc71f15 Compare November 16, 2024 12:37
@dsseng dsseng changed the title feat: label mounts feat: label mounts and data directories Nov 16, 2024
@dsseng dsseng marked this pull request as ready for review November 16, 2024 12:44
internal/pkg/mount/v2/mount.go Outdated Show resolved Hide resolved
@dsseng dsseng force-pushed the selinux-etc branch 2 times, most recently from 823826c to da14b75 Compare November 21, 2024 07:30
Label mounted filesystems like ephemeral, overlay mounts, as well as data directories (going to become volumes later).

Signed-off-by: Dmitry Sharshakov <[email protected]>
@dsseng
Copy link
Member Author

dsseng commented Nov 21, 2024

/m

@talos-bot talos-bot merged commit 1a8cc5f into siderolabs:main Nov 21, 2024
50 checks passed
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.

4 participants