#65 ✓released
timcrawf

Installer puts Services in the wrong place

Reported by timcrawf | May 12th, 2011 @ 07:54 PM | in 20110711 (closed)

Greetings and thanks for the great product.
The installer for Tools puts the Services into /private/tmp instead of into /Library/Services or ~/Library/Services.
The separate installer for Services puts them in /Library/Services

Comments and changes to this ticket

  • Alex (via GPGTools)

    Alex (via GPGTools) May 12th, 2011 @ 10:33 PM

    • State changed from “new” to “open”
    • Assigned user set to “Alex (via GPGTools)”

    Thank you for the report. I'll have a look.

  • Alex (via GPGTools)

    Alex (via GPGTools) May 13th, 2011 @ 01:06 AM

    • State changed from “open” to “hold”
    • Milestone set to 20110711
    • Importance changed from “Medium” to “”

    Could you please double check what's happening on your system? I cannot confirm your issue:

    $ ls -lad -rf /Library/Services/GPGServices.service ~/Library/Services/GPGServices.service
    ls: /Library/Services/GPGServices.service: No such file or directory
    ls: /Users/willner/Library/Services/GPGServices.service: No such file or directory
    $ open /Volumes/GPGTools/GPGTools.pkg 
    $ ls -lad -rf /Library/Services/GPGServices.service ~/Library/Services/GPGServices.service
    ls: /Users/willner/Library/Services/GPGServices.service: No such file or directory
    drwxr-xr-x  3 willner  staff  102 22 Mär 13:59 /Library/Services/GPGServices.service
    

    Here is what is happening internally: https://github.com/GPGTools/GPGTools/blob/master/payload/gpgservice...

  • timcrawf

    timcrawf May 14th, 2011 @ 03:38 AM

    If I run the installer. The services do not show up in the Keyboard Preference Pane. If I choose Show Files and look where the Services are being installed, it shows /private/tmp.
    I have attached a screen shot.

  • Alex (via GPGTools)

    Alex (via GPGTools) May 14th, 2011 @ 08:41 AM

    Have you been asked to provide your admin password within the
    installer? If not, this might be the issue. It's intended to install
    the services to /private first, but afterwards they should have been
    moved.

    -- sent from my mobile phone,
    please excuse my brevity

  • timcrawf

    timcrawf May 14th, 2011 @ 04:29 PM

    Yes, I was asked for the admin password.
    By the way, I was able to install using the separate installer, but I wanted you to know about the issue.

  • Alex (via GPGTools)

    Alex (via GPGTools) May 14th, 2011 @ 08:49 PM

    Sure,just to figure out why it's not working for you. Could you send
    us the output of the command at the end of
    https://github.com/GPGTools/GPGTools/wiki/Troubleshooting ?
    Thx.

    -- sent from my mobile phone,
    please excuse my brevity

  • timcrawf

    timcrawf May 14th, 2011 @ 11:00 PM

    It looks like this has something to do with the email portion.
    I ran both commands (obviously the second won't run without the first one). It asks me for a user ID.
    Not sure what to put there.

  • Alex (via GPGTools)

    Alex (via GPGTools) May 15th, 2011 @ 06:08 PM

    Could you send us the output of this command?

    $ curl -OL http://github.com/GPGTools/GPGTools_Core/raw/master/scripts/debugGPGTools.sh
    $ sh debugGPGTools.sh
    
  • timcrawf

    timcrawf May 15th, 2011 @ 11:56 PM

    This one is also asking me for a user ID. What do I use?

  • Alex (via GPGTools)

    Alex (via GPGTools) May 16th, 2011 @ 07:53 AM

    In this case you don't have a secret key. You should either create one using GPG Keychain Access or just press enter.

  • timcrawf

    timcrawf May 16th, 2011 @ 01:23 PM

    OK, here is the file that was generated.

  • Alex (via GPGTools)

    Alex (via GPGTools) May 16th, 2011 @ 04:08 PM

    Thank you. Ok, last try. The following commands are executed within the installer and the end of the installation process. Could you please run the GPGTools installer, execute these lines as root (sudo) and give us the result?

    rm -rf $HOME/Library/Services/GPGServices.service
    rm -rf /Library/Services/GPGServices.service
    mkdir -p /Library/Services/
    mv /private/tmp/GPGServices.service /Library/Services/
    

    I'm curious why it shouldn't work on your system.

  • timcrawf

    timcrawf May 16th, 2011 @ 04:36 PM

    Boy is that strange. Now I ran the installer and low and behold the services are in the /Library/Services folder.
    And the choices are available in the Keyboard Preference pane.

    Don't know why it didn't work the first or second times. I guess third time's a charm.

    Sorry to have bothered you with this.

    Last question. Why not just have the services installed into the Services folder, like the separate installer does?

  • Alex (via GPGTools)

    Alex (via GPGTools) May 16th, 2011 @ 05:18 PM

    • State changed from “hold” to “resolved”

    Good to hear that. At least I might know why it haven't shown up in the preference pane. Should be fixed in the next release.
    We install most of the applications to /tmp first and then move them in order to enable us choosing the target folder depending on the users configuration (just enabled it for GPGServices). This means if you have ~/Library/Services/GPGService.service we'll update this version instead of installing it to /Library/Services

  • timcrawf

    timcrawf May 16th, 2011 @ 05:34 PM

    That makes sense.
    Can I ask one non related question?
    I have a client that has only 10.5.8 on their systems. How do I decrypt a file without the services (which as you know run only on 10.6)?

  • Alex (via GPGTools)

    Alex (via GPGTools) May 16th, 2011 @ 05:39 PM

    Then you've to use the command line:

    $ gpg -d FILENAME
    
  • timcrawf
  • steve

    steve June 18th, 2015 @ 04:30 PM

    • State changed from “resolved” to “released”
    • Importance cleared.

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

People watching this ticket

Pages