SMJobBless sample code not working
Hi folks, I am currently migrating my code to Lion by removing any AuthorizeExecuteWithPrivileges call. Last week, I downloaded SMJobBless sample code and I could build and launch the app successfully. Everything worked as expected and I could see that the service was available. Now, I can't get it to work any longer, the only information from the system log is 27/10/11 16:41:49,784 launchdadd: FAILURE: Job com.apple.bsd.SMJobBlessHelper could not be installed from .../build/Release/SMJobBlessApp.app/Contents/Library/LaunchServices/com.apple.bsd.SMJobBlessHelper, reason 3. Any clue ? TIA
Hi folks, the solution was to sudo pico /private/var/db/launchd.db/com.apple.launchd/overrides.plist and change the Disabled status of com.apple.bsd.SMJobBlessHelper to <false/>. I have no idea why this was set to true, but it is working properly now. JL Jerome Laurens <Jerome.Laurens@u-bourgogne.fr> a écrit :
Hi folks,
I am currently migrating my code to Lion by removing any AuthorizeExecuteWithPrivileges call. Last week, I downloaded SMJobBless sample code and I could build and launch the app successfully. Everything worked as expected and I could see that the service was available.
Now, I can't get it to work any longer, the only information from the system log is
27/10/11 16:41:49,784 launchdadd: FAILURE: Job com.apple.bsd.SMJobBlessHelper could not be installed from .../build/Release/SMJobBlessApp.app/Contents/Library/LaunchServices/com.apple.bsd.SMJobBlessHelper, reason 3.
Any clue ?
TIA _______________________________________________ launchd-dev mailing list launchd-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev
participants (1)
-
Jerome Laurens