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: add SELinux contexts, mention relevance for other Nitrokey Apps #286

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

boredsquirrel
Copy link

I added the mention that these rules also apply for all other nitrokey apps.

Additionally added a command to fix the files to carry the correct SELinux labels, as those are

unconfined_u:object_r:user_home_t:s0 41-nitrokey.rules

by default. This can be an issue and should be implemented in as many locations as possible.

mv -Z does not work either, as mv is SELinux aware but that argument makes it keep the default context unconfined.

A systemwide relabelling may be an alternative solution, which should not cause any breakages and would fixup incorrect contexts in many other areas.

I added the mention that these rules also apply for all other nitrokey apps.

Additionally added a command to fix the files to carry the correct SELinux labels, as those are

```
unconfined_u:object_r:user_home_t:s0 41-nitrokey.rules
```

by default. This can be an issue and should be implemented in as many locations as possible.

`mv -Z` does not work either, as `mv` is SELinux aware but that argument makes it keep the default context unconfined.

A systemwide relabelling may be an alternative solution, which should not cause any breakages and would fixup incorrect contexts in many other areas.
@jans23
Copy link
Member

jans23 commented Nov 13, 2024

Re restructured our documentation. Please change this PR to branch "main".

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.

2 participants