#81 ✓wontfix
Alex (via GPGTools)

to be validated: launchctl/gpg-agent error

Reported by Alex (via GPGTools) | January 16th, 2012 @ 09:54 PM | in 2.0.18 (closed)

From our build server:

Jan 16 21:49:41 hekla com.apple.launchctl.Background[71348]: launchctl: CFURLCreateDataAndPropertiesFromResource(/Library/LaunchAgents/org.gpgtools.macgpg2.gpg-agent.plist.plist) failed: -10
Jan 16 21:49:41 hekla com.apple.launchctl.Background[71348]: launchctl: no plist was returned for: /Library/LaunchAgents/org.gpgtools.macgpg2.gpg-agent.plist.plist
Jan 16 21:49:41 hekla org.gpgtools.macgpg2.gpg-agent[71350]: gpg-agent[71350]: error binding socket to `/Network/Servers/hekla.scnr.ch/Users/gpgtools/.gnupg/S.gpg-agent': Invalid argument
Jan 16 21:49:41 hekla com.apple.launchd.peruser.7000[71346] (org.gpgtools.macgpg2.gpg-agent[71350]): Exited with exit code: 2
Jan 16 21:51:30 hekla com.apple.launchctl.Background[71422]: launchctl: missing the Label key: /Library/LaunchAgents/org.gpgtools.macgpg2.gpg-agent.plist.plist
Jan 16 21:51:30 hekla org.gpgtools.macgpg2.gpg-agent[71423]: gpg-agent[71423]: launchd only supported for real users - ie UID >= 500
Jan 16 21:51:30 hekla com.apple.launchd.peruser.0[71421] (org.gpgtools.macgpg2.gpg-agent[71423]): Exited with exit code: 1

Comments and changes to this ticket

  • Chris Burgess

    Chris Burgess February 29th, 2012 @ 01:53 AM

    • Tag set to launchd

    I see much the same -

    Feb 29 13:40:51 nine org.gpgtools.macgpg2.gpg-agent[30578]: gpg-agent[30578]: launchd only supported for real users - ie UID >= 500
    Feb 29 13:40:51 nine com.apple.launchd.peruser.89[30576] (org.gpgtools.macgpg2.gpg-agent[30578]): Exited with code: 1

    AFAICT this is because the file org.gpgtools.macgpg2.gpg-agent.list is trying to launch for other users (in this case, uid=89 for Spotlight).

    This error is written to /var/log/system.log repeatedly.

    I'm on OSX Lion 10.7.2 currently.

  • Luke Le

    Luke Le August 27th, 2012 @ 12:18 AM

    • State changed from “open” to “wontfix”

    Newer MacGPG2 versions no longer use this launchd file. Shouldn't be a problem anymore.

  • steve

    steve August 14th, 2013 @ 01:29 PM

    • Tag cleared.
    • Importance changed from “” to “Low”
  • BambiB

    BambiB September 19th, 2014 @ 08:53 PM

    Seems the problem (or a closely related one) is back:

    9/19/14 2:46:57.246 PM com.apple.launchd.peruser.502[207]: (org.gpgtools.macgpg2.gpg-agent[49079]) Exited with code: 2
    9/19/14 2:46:57.246 PM com.apple.launchd.peruser.502[207]: (org.gpgtools.macgpg2.gpg-agent) Throttling respawn: Will start in 10 seconds

  • steve

    steve September 27th, 2014 @ 09:43 PM

    Bambi: could you please download and install our latest nightly build and see if the problem persists. If it does, please open a discussion on our support platform and include a link to this ticket as a reference.

    You can find sig and SHA1 on the GPGTools Nightlies page.

    All the best, steve

    Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins