[launchd-dev] Cause of "Service cannot load in requested session"?

Damien Sorresso dsorresso at apple.com
Thu Nov 5 17:04:09 PST 2015


On 5 Nov, 2015, at 16:46, Mihai Moldovan <ionic at ionic.de> wrote:
> On 06.11.2015 01:41 AM, Damien Sorresso wrote:
>> Perhaps the best way to answer would be the statement that the only time a home directory guaranteed to be available is when the user is logged in at the GUI console. Once that GUI login session goes away, there is no guarantee of home directory availability.
> 
> I think console sessions should also be included here.
> 
> It's probably a very unknown feature that a console session can be spawned by logging with the user name ">console" (no password) and then logging on with the user credentials on the console, but at least on 10.9 this is still supported. Not sure about later versions.
> 
> I'd like to add that I never tried that for a user with a non-local, already mounted home directory.

That thing still works? News to me! ;)

In all seriousness, I'm not sure that it will mount a network home for you as it just authenticates through PAM, and I'm not sure if PAM does the network home magic. I'm pretty sure it doesn't do the OG FileVault magic though.
-damien

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3327 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/launchd-dev/attachments/20151105/0558a87b/attachment.p7s>


More information about the launchd-dev mailing list