<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000"><br>
<blockquote style="border: 0px none;" 
cite="mid:56156E85-DAE5-41D7-A3DE-44F9106F6B51@apple.com" type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px">   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
           <a moz-do-not-send="true" href="mailto:dsorresso@apple.com" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Damien Sorresso</a></div>   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#9FA2A5"><span style="padding-left:6px">November
 16, 2015 at 9:25 AM</span></font></div>    </div></div>
  <div style="color: rgb(136, 136, 136); margin-left: 24px; 
margin-right: 24px;" __pbrmquotes="true" class="__pbConvBody"><meta 
content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">On 13 
Nov, 2015, at 18:32, James Bucanek &lt;<a moz-do-not-send="true" 
class="" href="mailto:subscriber@gloaming.com">subscriber@gloaming.com</a>&gt;
 wrote:<div><blockquote class="" type="cite">
    <div class="" bgcolor="#FFFFFF" text="#000000">So now you're telling
 me that per-user Background agents aren't 
supported either? :head desk:<br class=""></div>
<div class="">
<meta class="" http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1"></div></blockquote><br class=""></div><div>I'm not 
sure what you mean by "either".</div></div>
</blockquote>
What I mean by "either" is this:<br>
<br>
(1) Admin installed per-user background agents (/Library/LaunchAgents) 
don't work because the new launchctl can't seem to address them (see 
previous thread in July).<br>
<br>
(2) Home-folder installed per-user background agents 
(~/Library/LaunchAgents) don't work, because they just don't work. 
launchd never starts them.<br>
<br>
So if I want to use per-user agents that run in the Background session, 
I'm essentially out of luck.<br>
<br>
<blockquote style="border: 0px none;" 
cite="mid:56156E85-DAE5-41D7-A3DE-44F9106F6B51@apple.com" type="cite">
  <div style="color: rgb(136, 136, 136); margin-left: 24px; 
margin-right: 24px;" __pbrmquotes="true" class="__pbConvBody">
    <div>launchd cannot reliably support loading background agents from a
 user's home directory because the home directory might not be available
 until a GUI login has happened.</div>
  </div>
</blockquote>
<br>
I understand that, but the discussion of loading background agents from 
the user's home directory has always been qualified by the edge cases 
("the home directory *might* not be available until a GUI login" so 
blah, blah, blah).<br>
<br>
I'm saying it's broken because these jobs never load under any 
circumstances. I can install a virgin copy of OS X on an iMac with a 
single volume, no encryption, no legacy FileVault, no NFS mounts, 
nothing special. The home folder is constantly available from the moment
 the power button come on until the system shuts down again, and a 
background user agent installed in the home folder won't start&#8212;ever.<br>
<br>
Now if by "launchd cannot reliably support loading background agents 
from a user's home directory" you mean "because loading background 
agents from the user's home folder is unreliable, launchd doesn't even 
try", then we're in 100% agreement. :)<br>
<br>
Which, inevitably, brings me back to looking for a solution to running a
 per-user agent in the background session so that (a) it will, with a 
little help, be started before the user logs in (ignoring edge cases 
where the user's home folder might not be available), (b) can be 
dependably controlled via launchctl so that all instances of the agent 
can be started, stopped, installed, and uninstalled to support installs,
 upgrades, and uninstalls, and (c) will continue to run after the user 
logs out.<br>
<br>
James<br>
<br>
</body></html>