-
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
gnupg IMPORT_OK error on first submission after Xenial upgrade #4202
Comments
I think I know why this happens... the fix sidestepping this (fortunately harmless) exception added in #4151 doesn't work in the upgrade in place scenario because it's an action in 0.12.0's securedrop-app-code postinst which assumes that the system is on gpg 2.1. For the upgrade in place scenario, the postinst will run while the system is on trusty, which does not have gpg 2.1. |
Wouldn't the postint run again when the xenial version of that package is installed after do-release-upgrade+reboot is done? |
hmmm you're right, and the logic in https://github.com/freedomofpress/securedrop/blob/develop/install_files/securedrop-app-code/debian/postinst#L120 runs if the priv key directory used by gpg-agent is not present ( |
What loglevel is set in the config?
|
@zenmonkeykstop can you please reply to @emkll's question here? I will try to reproduce it on Monday morning. |
I had it set to |
Tried twice from the morning, could not reproduce the error. |
Per discussion at standup today, since we've not been able to reproduce it and it appears harmless even if it does occur, we're closing this issue for now; please re-open if you see it again. |
Description
With source interface logging turned on, the following error is recorded on the first submission after a Xenial upgrade-in-place:
(This was seen on NUCs, but there's nothing obviously HW-specific about it)
It doesn't seem to have any functional impact, messages are decryptable.
Steps to Reproduce
Expected Behavior
No errors recorded in log
Actual Behavior
Above errors recorded in log
Please provide screenshots where appropriate.
The text was updated successfully, but these errors were encountered: