Tons of messages in system log, gpg-agent constantly respawning...
Similar to http://support.gpgtools.org/discussions/beta-feedback/144-lots-of-m... except this is happening with the production GPG Tools 2015.06 (the latest released) on Yosemite 10.10.4. I followed the recommendations from the above beta discussion, to no avail. Help is appreciated!
Here's excerpt from my system log:
.......
7/20/15 00:24:38.810 com.apple.xpc.launchd[1]: (org.macports.gpg-agent[23948]) Service exited with abnormal code: 1
7/20/15 00:24:38.810 com.apple.xpc.launchd[1]: (org.macports.gpg-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
7/20/15 00:24:48.835 com.apple.xpc.launchd[1]: (org.macports.gpg-agent[23950]) Service exited with abnormal code: 1
7/20/15 00:24:48.835 com.apple.xpc.launchd[1]: (org.macports.gpg-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
7/20/15 00:24:58.860 com.apple.xpc.launchd[1]: (org.macports.gpg-agent[23951]) Service exited with abnormal code: 1
7/20/15 00:24:58.860 com.apple.xpc.launchd[1]: (org.macports.gpg-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
7/20/15 00:25:08.887 com.apple.xpc.launchd[1]: (org.macports.gpg-agent[23952]) Service exited with abnormal code: 1
7/20/15 00:25:08.887 com.apple.xpc.launchd[1]: (org.macports.gpg-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
7/20/15 00:25:18.913 com.apple.xpc.launchd[1]: (org.macports.gpg-agent[23953]) Service exited with abnormal code: 1
7/20/15 00:25:18.913 com.apple.xpc.launchd[1]: (org.macports.gpg-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
7/20/15 00:25:28.935 com.apple.xpc.launchd[1]: (org.macports.gpg-agent[23954]) Service exited with abnormal code: 1
7/20/15 00:25:28.935 com.apple.xpc.launchd[1]: (org.macports.gpg-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
.......
Also, I observe this in the
2015-07-19 23:53:49: [fixGpgHome] started with arguments: mouse /Users/mouse/.gnupg
2015-07-19 23:53:49: Overwrite UID: mouse
2015-07-19 23:53:49: Overwrite GNUPGHOME: /Users/mouse/.gnupg
90ebba401e3485030031c58fd372c65dd526ffb5 /usr/local/MacGPG2/bin/gpg2
cc78d7505d7a58bff842520ae16d415e0ad7fe37 /usr/local/MacGPG2/bin/gpg-agent
2015-07-19 23:53:49: [fixGpgHome] Fixing '/Users/mouse/.gnupg'...
gpg: WARNING: unsafe ownership on configuration file `/Users/mouse/.gnupg/gpg.conf'
2015-07-19 23:53:49: [fixGpgHome] Fixing done
2015-07-19 23:53:49: [fixGpgHome] fixGPGAgent started
2015-07-19 23:53:49: [fixGpgHome] Fixing '/Users/mouse/.gnupg/gpg-agent.conf'...
2015-07-19 23:53:49: [fixGpgHome] No working pinentry found. Abort!
2015-07-19 23:53:49: [fixGpgHome] done
Here's the content of ~/.gnupg/gpg-agent.conf file:
pinentry-program /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac
default-cache-ttl 600
max-cache-ttl 7200
enable-ssh-support
use-standard-socket
Here's what fixGpgHome says:
$ /usr/local/MacGPG2/libexec/fixGpgHome
tee: /Users/mouse/Library/Logs/gpg-home-fixer.log: Permission denied
2015-07-20 00:35:30: [fixGpgHome] started with arguments:
90ebba401e3485030031c58fd372c65dd526ffb5 /usr/local/MacGPG2/bin/gpg2
cc78d7505d7a58bff842520ae16d415e0ad7fe37 /usr/local/MacGPG2/bin/gpg-agent
2015-07-20 00:35:30: [fixGpgHome] Fixing '/Users/mouse/.gnupg'...
2015-07-20 00:35:30: [fixGpgHome] Fixing done
2015-07-20 00:35:30: [fixGpgHome] fixGPGAgent started
2015-07-20 00:35:30: [fixGpgHome] Fixing '/Users/mouse/.gnupg/gpg-agent.conf'...
2015-07-20 00:35:30: [fixGpgHome] fixGPGAgent done
2015-07-20 00:35:30: [fixGpgHome] done
Troubled gpg-agent messages keep arriving at the system
log:
......
7/20/15 01:21:46.576 com.apple.xpc.launchd[1]: (org.macports.gpg-agent[24185]) Service exited with abnormal code: 1
7/20/15 01:21:46.576 com.apple.xpc.launchd[1]: (org.macports.gpg-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
7/20/15 01:21:56.599 com.apple.xpc.launchd[1]: (org.macports.gpg-agent[24186]) Service exited with abnormal code: 1
7/20/15 01:21:56.599 com.apple.xpc.launchd[1]: (org.macports.gpg-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
7/20/15 01:22:06.624 com.apple.xpc.launchd[1]: (org.macports.gpg-agent[24187]) Service exited with abnormal code: 1
7/20/15 01:22:06.624 com.apple.xpc.launchd[1]: (org.macports.gpg-agent) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
......
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by mouse008 on 21 Jul, 2015 02:13 AM
I guess I need to add that Apple Mail hangs almost every time it is invoked, on the "Opening mailbox..." step.
Support Staff 2 Posted by Luke Le on 21 Jul, 2015 06:07 AM
Hi,
would you mind uninstalling your macports version of gpg-agent (it's causing this excessive logging) and check if thing's are working after that?
It's possible that you have to uninstall your whole macports version of gpg. If you so that, please also uninstall and re-install GPG Suite afterwards.
While GPG Suite works well with custom GPG installations, it might take some fiddling and tweaking. In your case however it looks like macports' gpg-agent has gone rogue
3 Posted by mouse008 on 21 Jul, 2015 01:05 PM
I followed your suggestion, and right now the log is clean from that garbage. I will observe how it behaves today, and post here the final report - asking to either close this discussion, or for more help.
Thank you!
4 Posted by mouse008 on 21 Jul, 2015 10:46 PM
@Luke,
Thank you - I confirm that the issue has not re-appeared. So we can consider (hopefully :) this problem solved, and the issue closed.
Support Staff 5 Posted by Steve on 22 Jul, 2015 12:02 PM
Perfect. Glad, this is solved for you. I'm closing this discussion. If you need further assistance or have questions you can re-open this discussion here or open a new one any time.
Best, steve
Steve closed this discussion on 22 Jul, 2015 12:02 PM.