It is a barely troublesome situation to explain exactly however I will do my greatest. About six weeks in the past, my set up of Catalina (10.15.7, MacBook Professional 13″ 2020 / MacBookPro16,2
) began to exhibit some unusual behaviour when left operating in a single day (or presumably: when left operating unattended for a number of hours).
Typically, however not at all daily, I will return to the machine within the morning and wake the display screen to see a gray lock display screen (no background picture) and a immediate that can usually solely settle for my password (i.e. not Contact ID). Upon unlocking the machine I will see a collection of errors and password prompts, which appear to be caught in a loop (or possibly there are simply sufficient of them queued up that it looks like a loop). These messages embody:
Unapproved caller. SecurityAgent could solely be invoked by Apple software program
---
Unrecoverable error. SecurityAgent was unable to create requested mechanism builtin:unlock-keychain.
---
accountsd needs to make use of the “login” keychain. Please enter the keychain password.
---
callservicesd needs to make use of the “login” keychain. Please enter the keychain password.
---
identityservicesd needs to make use of the “login” keychain. Please enter the keychain password.
---
CallHistorySyncHelper needs to make use of the “login” keychain. Please enter the keychain password.
---
assistantd needs to make use of the “login” keychain. Please enter the keychain password.
---
CommCenter needs to make use of the “login” keychain. Please enter the keychain password.
The system will give the looks of being usable however is not actually. Signs embody:
- Finder and Dock repeatedly restarting
- Typically unable to work together with menubar, e.g. to close down
- Inconsistent potential to tab between apps and work together with or stop them
- Unable to begin new apps from Dock or menubar shortcuts (icons simply bounce for some time)
Thus far I’ve by no means been in a position to cleanly shut down the machine on this state and have needed to energy it off utilizing the Contact ID / energy button.
When booting again up, every part appears superb besides generally Contact ID preferences have been reset (i.e. I’ve to enrol my finger once more) and on one event my saved Bluetooth units, aside from mouse and keyboard, had been deleted. For what it is value, it does appear that if I “catch” the issue rapidly sufficient, e.g. returning to the machine late at evening, the injury is extra restricted and Contact ID shouldn’t be all the time reset, nonetheless the opposite points stay. I’ve additionally tried placing the machine into standby in a single day by closing the lid, fairly than leaving it operating, however no less than as soon as the difficulty has nonetheless occurred (presumably the machine is waking up in some unspecified time in the future in a single day to do one thing).
I am a bit stumped as to how you can diagnose this. My hunch is that it is one thing to do with the system one way or the other shedding entry to Keychain – based mostly on mentions within the error messages above. I did have iCloud Keychain enabled beforehand, however disabled it a few weeks in the past, and the difficulty has occurred no less than as soon as since then.
A solution to one other query mentions Keychain permissions – these are mine, in case they’re related:
# /Library/Keychains:
0 drwxr-xr-x 9 root wheel 288B 9 Feb 08:07 Keychains
# /Library/Keychains/System.keychain
248 -rw-r--r-- 1 root wheel 120K 7 Jan 13:16 /Library/Keychains/System.keychain
# ~/Library/Keychains/ [with redactions]
whole 928
0 drwx--x--x 7 james employees 224B 14 Feb 10:07 .
0 drwx------@ 85 james employees 2.7K 10 Feb 12:22 ..
0 -r--r--r-- 1 james employees 0B 7 Dec 2020 .XXXXXXXXXX
0 -r-------- 1 james employees 0B 7 Dec 2020 .XXXXXXXXXX
0 drwx------ 11 james employees 352B 14 Feb 09:06 XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
880 -rw-r--r--@ 1 james employees 439K 14 Feb 10:07 login.keychain-db
48 -rw------- 1 james employees 23K 14 Feb 09:41 metadata.keychain-db
Any gentle that anybody may have the ability to shed on this might be a lot appreciated! I’ve a TODO listing merchandise to improve to Massive Sur, at which stage this may change into moot, however till then I would love to know it higher and keep away from having to do these forced-shutdowns once in a while.
Thanks for studying and if I can present any extra information or knowledge please ask.