-
Notifications
You must be signed in to change notification settings - Fork 2k
Fix exit status 1 on Ensure a GPG agent is running #1622
base: master
Are you sure you want to change the base?
Fix exit status 1 on Ensure a GPG agent is running #1622
Conversation
I did a scratch install of an Ubuntu 16.04.6 Server, HWE kernel on KVM on libvirt. The only non-default installation option I took was to add "OpenSSH server" to the list of roles. (It starts out with "standard system packages" checked; I did not uncheck that.) I installed Streisand to localhost as a standard user, and the run completed successfully. The bug that this is purporting to fix can't be reproduced from the information given. But I can see how if somebody was screwing around with their Ubuntu box before running a Streisand install, they might have running gpg-agents that need to be killed, and we should cope with that. |
The thing that really puzzles me is: how could the rest of the file work without |
Fixes #1521.
When running Streisand against a self-hosted Ubuntu 16.04 machine as a regular user it will fail on "Ensure a GPG agent is running". This can be fixed by running the command using sudo. This pull request fixes that issue.
When running the command manually I was able to reproduce the issue, the exact error was: