Re: [launchd-dev] 100% repeatable Kernel panic caused by launchd

2016-06-01 Thread Joe Auricchio
Camden, OtherJobEnabled is documented to be a dictionary of booleans, not a single string. Launchd should log an error message pointing this out and ignore the key. Instead it crashes, which is definitely a bug! :) The bug will be addressed in a future release; meanwhile you can work around by

Re: [launchd-dev] Replacements for deprecated SMJobSubmit and SMJobRemove

2016-10-18 Thread Joe Auricchio
Hi Graham, Please *do not* shell out to launchctl. It's better to keep using the deprecated SM functions than to run launchctl. Sorry, but replacements are not yet available. There isn't presently API for a system-wide LaunchDaemon to open a Mach IPC or XPC connection to a LaunchAgent, which I

Re: [launchd-dev] Penalty box property?

2016-10-28 Thread Joe Auricchio
That indicates there was a problem when launchd tried to spawn the job. Likely, execing the main executable failed because of transient network problems; maybe the filesystem was temporarily unreachable and returned an IO error or ENOENT, or the script wasn't readable because credentials (kerbero