Signs of Triviality

Opinions, mostly my own, on the importance of being and other things.
[homepage] [index] [jschauma@netmeister.org] [@jschauma] [RSS]

Mac OS X NFS share vs. Garritan Personal Orchestra

If Garritan Personal Orchestra is installed on workstations using NFS home directories, it may require different license keys. These are generally stored on each workstation in '/Library/Preferences/GARRITAN PERSONAL ORCHESTRA.plist'). Starting Garritan works just fine for any regular user, but Garritan then creates the file '~/Library/Preferences/GARRITAN PERSONAL ORCHESTRA.plist' in which it copies the licensing information (including the hardware key) for the version installed on that machine.

This has the side effect that if the user logs out and logs in on another machine and starts Garritan there, it will claim that it is not licensed (since it finds another machines key in the preferences file).

Removing the file '~/Library/Preferences/GARRITAN PERSONAL ORCHESTRA.plist' then allows you to start Garritan on that machine as well.

Native Instruments (which handles the licensing for Garritan) confirmed this problem, and admits there is at the moment no bugfix available.

Solution/Workaround:
Add a ``LoginHook'' to the LoginWindows preferences that removes the file for each user upon login:

/Library/Management/login.sh:


#!/bin/sh

if [ x"$1" = x ]; then
        return 1
fi

sudo su - $1 -c 'rm ~/Library/Preferences/GARRITAN\ PERSONAL\
ORCHESTRA.plist'

    

Lines added to /Library/Preferences/com.apple.loginwindow.plist:


        <key>LoginHook</key>
        <string>/Library/Management/login.sh</string>

    

See also http://www.bombich.com/mactips/loginhooks.html.

March 6, 2006


[Netbooting vs. spanning tree] [index] [Mac OS X: amanda vs. launchd]