-
Notifications
You must be signed in to change notification settings - Fork 0
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
Focal channel in apt-test isn't serving all packages #85
Comments
In the context of the 1.7.0 (freedomofpress/securedrop#5689), this isn't a release blocker, since it only affects Focal. Still, given the priority of the overall Focal migration (freedomofpress/securedrop#4768), I'd like to identify a fix soon. |
Here are my notes so far from investigating this with @conorsch (please correct if I've gotten something wrong, Conor).
The right fix is to include the distribution in all of our We're going to hold off on this until we're done with the 1.7.0 release. Hopefully we'll have the permanent fix in by the middle of next week. For Focal hardware testing before then (@emkll), we can dump the packages in a directory on the servers and point to that in the FPF apt source. Here's the process I'm using:
Installation works, and at least the source interface is working. Have not tested more comprehensively than that. The main problem I've seen so far is that booting is extremely slow, on the order of 8-10 minutes, after we touch the machines. Focal's OK immediately after installation, so it's something we're doing. Shutting down is fine, it's coming back up that's the problem.The first installation can time out at reboots because of this. Haven't diagnosed yet, probably grsec or apparmor. |
I ran through the steps to create a local apt repo (right now i'm testing on xenial since we're also making changes to our xenial packages) and everything worked wonderfully until I got to this step:
The installation did not work. I see the error
At this point, I believe we're going to move forward with merging freedomofpress/securedrop#5765 tomorrow, and this doesn't prevent that from happening, but I am curious how I can get this working, so I'll try again tomorrow. |
Also seeing the same issue @creviera is reporting, for a Focal install on hardware UPDATE: got it to work, the issue was that I did not have all the latest built debs in the local securedrop-dev-packages-lfs/core/focal folder. After building the debs on the branch in freedomofpress/securedrop#5765 and moving them to the local lfs folder, and following the steps described, The packages are installed successfully from the local filesystem on the servers. |
Cleans out the core/{xenial,focal} directories, removing unused older versions. This cleanup is long overdue, but also required in order to fix the dual-channel support, as described in [0]. [0] #85 removes focal pkgs
a-ha! thanks @emkll, that did the trick. :) |
First noticed by @creviera yesterday. During merge of the 1.7.0~rc3 packages (#84), viewing the packages over HTTPS only didn't reflect the dual-distro support first introduced back in #57. In order to evaluate behavior, I used an apt client in a Xenial & Focal container image, with the apt-test repo configured: https://gist.github.com/conorsch/136688c28da49de9cf5c44e86f96d5e9
The same problem can be viewed in a Focal-based staging VM:
Notably missing from that list crucial packages such as
securedrop-app-code
, for which we have a Focal-specific version string. Why are they missing? Let's figure that out. N.B. the CI tests for Focal still pass because the packages are installed from local sources:The text was updated successfully, but these errors were encountered: