-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Advertise SELinux support #122
Conversation
Qubes OS no longer supports either.
No point in including them, and they might be trusted when they should not be.
qvm-template will use this to set the selinux feature, which tells qubesd to enable SELinux in this qube.
Besides specific comments above, this needs also:
All of the above should be conditional on some template option/flavor, you can for example use |
Otherwise a partially-relabeled system could result, which is bad.
What is the advantage of making this conditional? The SELinux package is not very large and disabling it after the fact is easy. |
(I'm not sure how to make a comment to a whole commit in a PR, so I'm posting it here) Please drop the google-chrome removing commit in its current shape. First of all, the claim in the commit message is false - packages seems to be signed with DSA key, not RSA. But then, if you read the comment you remove, you can see where you can get a signing key. The file under that URL contains actually two keys: DSA 1024 used to sign packages, and RSA 4096 used to sign repo metadata. So, a much better fix is to update the repo to actually use the latter. But please do that in a separate PR. |
First of all, adding it unconditionally will break all template builds for R4.1, as selinux policy is only in R4.2. But also, it will pull in extra dependencies on minimal template - which already is quite big as a "minimal" one. And no, don't just add another check for qubes version - the correct place for this selection in builder config. This will avoid the need for any further changes here, for example if somebody would want centos template with selinux enabled (possibly after adjusting few other packages first). |
9d67edf
to
7a2420a
Compare
|
This avoids needing a relabel after system installation.
Flash is long since end of life.
This will cause qubes-core-agent to pull in qubes-core-agent-selinux via RPM rich dependencies.
This avoids pulling in unnecessary dependencies, fixes the R4.1 build, and allows using SELinux on CentOS Stream later.
Do not use the list file.
bcfaee7
to
23203bc
Compare
Ok, now relabeling works. There are two remaining issues:
|
Suggested-by: Marek Marczykowski-Górecki <[email protected]>
Otherwise SELinux provides no security advantages for those who do not turn it on manually.
PipelineRetryFailed |
Also some cleanups. See individual commit messages for details.
Marked as draft because this has received no testing (yet).