Creates a symlink to the .so file in postint for mod_wsgi #5489
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.
Status
Ready for review
Description of Changes
Fixes in part of #4768
On Focal, mod_wsgi expects a shared library for the python module at:
But, the real shared library path is
So we are creating a symlink with the proper path if we are using Python 3.8 (that is on Focal)
Testing
make build-deps
on this branchmake staging
to create a fresh staging environment from the debian packages. There should not be any error in the postinstall sectionmolecule -s libvirt-staging-xenial -h app-staging
(on mac point to virtualbox) and see that the following file does not exist.sudo touch /usr/bin/python3.8
to emulate a python3.8 env in focalsecuredrop-app-code
package or reconfigure it, it should create a symlink as mentioned above.Deployment
Any special considerations for deployment? Consider both:
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:
If you made changes to documentation:
make docs-lint
) passed locallyIf you added or updated a code dependency:
Choose one of the following: