Reputation: 788
I have a daemon that normally loads with the operating system - except on one MacBook Pro. The daemon doesn't seem to load until the first user logs in - and then it keeps running despite log offs and log ins. The MacBook Pro boots up quite fast and when the first user logs in, there's a progress bar (in stead of the spinning wheel) and the log in seems to take a while.
I suspect that this computer is configured to some kind of fast boot mode but I haven't been able find out whether this can be switched off or somehow configured?
Secondly, I need the daemon to run before anyone logs in - is there a way to make sure that the daemon is loaded despite this fast boot mode (that I suspect) .
The MacBook Pro runs the latest El Capitan.
Upvotes: 0
Views: 772
Reputation: 125708
That computer's system volume is encrypted with FileVault 2, which means that the operating system itself cannot start until one of the users supplies their password (which is needed to derive the volume encryption key). Until the first user logs in, there is no OS running at all (the progress bar is an indicator of the OS booting), so it's not possible for your daemon to run before then.
If you need your daemon to run immediately after the computer is powered on, you must turn off FileVault on that computer. If that computer needs to be encrypted for security reasons, then you're not going to be able to have your daemon load immediately.
Upvotes: 2