-
Notifications
You must be signed in to change notification settings - Fork 64
Increase selinux coverage of the host system #2849
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
Draft
krnowak
wants to merge
71
commits into
main
Choose a base branch
from
krnowak/selinux-coverage
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a0f3db3
to
b2a06ed
Compare
e5f476b
to
f53a575
Compare
f53a575
to
fc92672
Compare
c2fd277
to
ada3e0c
Compare
ada3e0c
to
d6d1948
Compare
d6d1948
to
ff0b61e
Compare
ff0b61e
to
4527a10
Compare
4527a10
to
b9a1d06
Compare
b9a1d06
to
999890a
Compare
999890a
to
6f6bbe8
Compare
It's from Gentoo commit 86b69b5955e3e452220825a0d3e8ab4224041b42.
It's from Gentoo commit b854c7e78dfbd4c9afcadf9d2beb92e9cd24424b.
We apply the fix in a different way.
It's from Gentoo commit dd8f1e13525265315752f252be7515f18e80334a.
It's from Gentoo commit 4d201521b008785972a1f31e1284ecb847dc3831.
It's from Gentoo commit 122ebce35d3db79069ed3cdf59247dffcb74d92a.
Switching to a selinux profile caused more USE flags to be enabled (selinux, audit, caps), thus more dependencies to be pulled. More dependencies caused two things: - cyclic dependencies appeared - sys-apps/baselayout is being pulled in Cyclic dependencies need to be handled in a similar way it was done in build_packages, thus factor out the code doing it into a separate and reusable part. The dependency on baselayout needs to be handled by installing the package as a first thing in $ROOT, followed by a more careful way of copying things from $SYSROOT to $ROOT (due to split-usr differences), followed by installing the rest of the packages.
f6b26e5
to
73ea148
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/2052/cldsv/
TODO: