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

Revert "Add intel-microcode package" #3955

Merged
merged 1 commit into from
Dec 3, 2018
Merged

Revert "Add intel-microcode package" #3955

merged 1 commit into from
Dec 3, 2018

Conversation

emkll
Copy link
Contributor

@emkll emkll commented Dec 3, 2018

Status

Ready for review

Description of Changes

Fixes #3954
Reopens #3663

Removes intel-microcode from the list of dependencies for securedrop-grsec:
intel-microcode is in trusty-security, however, the package on which in depends, iucode-tool is in trusty-multiverse. Because cron-apt will only pull in packages from trusty-security, iucode-tool cannot be installed, therefore intel-microcode cannot be installed, and securedrop-grsec is in a broken state.

Testing

  1. Checkout 0.10.0
  2. vagrant up /staging/
  3. Checkout this branch
  4. make build-debs
  5. vagrant provision /staging/
  6. observe linux-{image,firmware}-4.4.162 are installed
  7. securedrop-grsec-4.4.162 is properly installed

To confirm #3954 is properly fixed, the package will need to be put on apt-test to ensure the cron-apt job installs the packages correctly (sans intel-microcode)

Deployment

Deployed via apt packages

Checklist

If you made changes to the system configuration:

If you made non-trivial code changes:

  • I have written a test plan and validated it for this PR

This reverts commit aeb9f1d.

intel-microcode is in trusty-security, however, the package on which in
depends, iucode-tool is in trusty-multiverse. Because cron-apt will only
pull in packages from trusty-security, iucode-tool cannot be installed,
therefore intel-microcode cannot be installed, and securedrop-grsec is
in a broken state.
@emkll emkll requested a review from conorsch December 3, 2018 16:23
@emkll emkll requested a review from msheiny as a code owner December 3, 2018 16:23
@kushaldas
Copy link
Contributor

Testing this one.

@redshiftzero redshiftzero self-requested a review December 3, 2018 16:52
Copy link
Contributor

@redshiftzero redshiftzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After upgrade testing from 0.10.0, confirmed the issue is resolved:

vagrant@app-staging:~$ apt-cache policy linux-firmware-image-4.4.162-grsec
linux-firmware-image-4.4.162-grsec:
  Installed: 4.4.162-grsec-1
  Candidate: 4.4.162-grsec-1
  Version table:
 *** 4.4.162-grsec-1 0
        500 https://apt-test.freedom.press/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
vagrant@app-staging:~$ apt-cache policy linux-image-4.4.162-grsec
linux-image-4.4.162-grsec:
  Installed: 4.4.162-grsec-1
  Candidate: 4.4.162-grsec-1
  Version table:
 *** 4.4.162-grsec-1 0
        500 https://apt-test.freedom.press/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
vagrant@app-staging:~$ uname -r
4.4.162-grsec

@zenmonkeykstop
Copy link
Contributor

@redshiftzero I get the same results for the above checks on an upgraded system from 0.10.0 to 0.11.0-rc2 - is this a valid test?

@emkll
Copy link
Contributor Author

emkll commented Dec 3, 2018

@zenmonkeykstop what about the securedrop-grsec package? In your scenario is should be kept at 4.4.144

@zenmonkeykstop
Copy link
Contributor

Yup, securedrop-grsec installed version is 4.4.144-1 and candidate is 4.4.162 in rc2.

@emkll
Copy link
Contributor Author

emkll commented Dec 3, 2018

Installing the deb should resolve (and upgrade to 4.4.162, but it's not a complete test because it's not being pulled in by cron-apt) The only way to fully test this is by uploading the packages to apt-test, which I will do when we release rc3.

@emkll emkll merged commit 618c741 into develop Dec 3, 2018
@emkll emkll deleted the remove-microcode branch December 3, 2018 20:29
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.

intel-microcode cannot be installed in upgrade scenario
4 participants