Yosemite LoginLockout bug
Recently Yosemite users have been experiencing a “bug”, dubbed the Yosemite LoginLockout bug (credit @andrewrose), where Yosemite, freezes at 50% loading during startup. The Mac won’t be frozen, or hung, but it won’t be loading any further. There are two scenarios where this has been monitored to occur:
- post-FileVault login (FV2)
- on a ‘black-screen with white apple’, during normal boot
Other details also include Macs with the following:
- Yosemite 10.10.0 and 10.10.1
- AD Bound
- Encrypted with FileVault, or without any encryption.
We bumped heads with a few of the best and we have solutions after the jump that have been recognized by Apple Enterprise Support.
Some fixes that some admins have come up with include starting the Mac in Safe Mode, resetting the NVRAM and re-imaging, yet neither of these solve the problem permanently and resolution is inconsistent. But in our tests this has not been the case. If a computer does a clean reboot (shutdown then being turned on), after it passes the intial Apple Chime, if the computer is bound to AD, and/or encrypted with FileVault2, the boot process begins really slow and begins to crawl at 1/4 of the way, and when the progress bar reaches halfway there is no more progress. If a mouse cursor shows up at 1/3 of the progress bar, then you won’t be suffering of the LoginLockout bug.
This persists in Yosemite 10.10.0 and 10.10.1
LoginLockout by Allister Banks
If you are going to consult Apple I suggest you to run ‘sysdiagnose‘ and ‘odutil set log debug‘
The first fix was contributed by user chris.hotte from JAMFNation. His contribution goes as follows:
- boot the troubled mac into single user mode
- mount -uw /
- /usr/bin/nano /etc/rc.server
- Reboot the Mac
Regardless of whether the Mac is cleanly powered down or hard powered off that command will be called every time the laptop boots!
Once Apple does a more clean fix for this, you can remove it by running this simple script:
Another way to do the same thing, this time from @Kaltsas, “I can replicate with the tried and true rtrouton method — Setup 10.10 Bind to AD Login and pull power Boot and it’s hung.“
- /sbin/mount -uw /
- rm -rf /System/Library/Caches/* rm /private/var/db/BootCache.playlist
This issue is a confirmed OS issue that has been replicated by Apple Care Enterprise Support.
Note: Thanks to reader Arjen for pointing out AFP548 has a similar article on this same bug.