-
Notifications
You must be signed in to change notification settings - Fork 687
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
Creates Focal-specific kernel metapackage #5691
Conversation
Creates a Focal-only version of the "securedrop-grsec" metapackage, so we can provide distro-specific behavior, namely: * use paxctld, rather than paxctl * pin explicit kernel version via grub Much of the new metapackage logic is taken from the comparable work already implemented in: https://github.com/freedomofpress/securedrop-debian-packaging/tree/cee267e7dfebd9553cdf4b02ecbe54783049121c/securedrop-workstation-grsec/debian Also tweaks the package build logic to support per-distro packages.
A bit of per-distro logic, but mostly verifying the paxctl/paxctld settings are as expected. These tests aren't actually passing yet, because the "securedrop-grsec" metapackage isn't installed from scratch.
The "securedrop-grsec" metapackage isn't included in the "install-local-packages" logic, for the staging environment. That makes evaluationg metapackage changes difficult. Let's add support for local metapackages to aid in adjusting kernel-related settings.
bd6c578
to
842787a
Compare
Codecov Report
@@ Coverage Diff @@
## develop #5691 +/- ##
========================================
Coverage 85.54% 85.54%
========================================
Files 52 52
Lines 3771 3771
Branches 474 474
========================================
Hits 3226 3226
Misses 440 440
Partials 105 105 Continue to review full report at Codecov.
|
Note that post-merge, we should upload the new focal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally against Focal target. Also did visual review. Looks good.
Built post-merge of freedomofpress/securedrop#5691
Built after merge of [0], build logs at [1]. [0] freedomofpress/securedrop#5691 [1] freedomofpress/build-logs@06916a4
This will pull in and install 5.4 series kernels for Focal installs, thanks to the split metapackage logic introduced in #5691
This will pull in and install 5.4 series kernels for Focal installs, thanks to the split metapackage logic introduced in #5691
This will pull in and install 5.4 series kernels for Focal installs, thanks to the split metapackage logic introduced in #5691
Status
Ready for review.
Description of Changes
Fixes #5690. Fixes #4134.
Changes proposed in this pull request:
securedrop-grsec
metapackage, for pinning kernel and configuring paxctldsecuredrop-grsec
in staging environment (previously we only used the package from apt-test in staging)Testing
make build-debs-focal
and inspect thesecuredrop-grsec
metapackage that's createdDeployment
Focal-only.
Checklist
If you made changes to the server application code:
make lint
) and tests (make test
) pass in the development containerIf you made changes to
securedrop-admin
:make -C admin test
) pass in the admin development containerIf you made changes to the system configuration:
If you made non-trivial code changes:
Choose one of the following:
If you added or updated a code dependency:
Choose one of the following: