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

The securedrop-app-code package dependencies are incomplete #4875

Closed
rmol opened this issue Sep 27, 2019 · 0 comments · Fixed by #4876
Closed

The securedrop-app-code package dependencies are incomplete #4875

rmol opened this issue Sep 27, 2019 · 0 comments · Fixed by #4876

Comments

@rmol
Copy link
Contributor

rmol commented Sep 27, 2019

Description

When folding mod_wsgi into the securedrop-app-code package, its apt dependencies should have been added as well. The omission of libpython3.5 could cause the installation of securedrop-app-code to fail, as Apache wouldn't be able to load mod_wsgi due to the missing shared library. This was missed because libpython3.5 is installed as part of the ubuntu-server metapackage when following the usual SecureDrop server installation. It should be explicitly required.

Steps to Reproduce

Remove libpython3.5 from a working staging or production VM and restart the Apache service.

Expected Behavior

That you wouldn't be able to remove libpython3.5 without also having to remove securedrop-app-code, or since that's possible, that the SecureDrop services would continue to work.

Actual Behavior

Apache fails to restart because of the missing shared library from libpython3.5.

Comments

The securedrop-app-code dependencies just need to be better specified.

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 a pull request may close this issue.

1 participant