wrestling with El Capitan...
I am experiencing completely different behaviours of the OS on a MacBook-Pro-2010 and a MacMini-Server-2013.
The MacMini just works.
The MacBook is a nightmare. It is currently running on the third installation, following crashes and failures to boot.
This problem was solved (fingers crossed) by booting into "resume mode" (command+R), disabling the
SIP (csrutil disable), rebooting in "resume mode", then running the Disk Doctor only to see that all was OK with
the system disk, then re-installing OSX from the network. The system now boots, at last.
The next problem in line was the backup: the folder /.MobileBackups.trash could not be deleted automatically.
This problem was caused by locked sub-folders, and solved by "sudo chflags -R nouchg /.MobileBackups.trash".
The next problem in line was com.apple.lsdschemes unable to write in the folder /private/var/db/lsd.
The problem was the absence of the folder, and the program being unable to create it by itself.
Ownership and permissions are a mystery: they are now root:wheel with 0775, however, the daemon
seems to trigger for each user: it writes in the folder with the Admin account, and it fails to write
for the Standard account.
I hope the above will be useful to others.
Now the nasty part. All that follows occurs both on the Admin account and a new Standard test account,
and it occurs systematically.
Keychain Access
=============
The following is the console when first running the program:
2015-10-7 17:44:42.618 Console[4459]: Marker - 2015-10-7, 17:44:42
2015-10-7 17:44:47.000 syslogd[72]: ASL Sender Statistics
2015-10-7 17:44:48.066 Keychain Access[4643]:
Failed to connect (_showExpiredCerts) outlet from (KeychainApp) to (NSMenuItem): missing setter or instance variable
The following is the result of clicking on Category > Keys:
2015-10-7 17:44:51.630 Keychain Access[4643]:
Failed to connect (_modified) outlet from (KeyPreview) to (NSTextField): missing setter or instance variable
App Store
========
The following is the console when first running the program, no buttons pressed:
2015-10-7 17:49:52.686 Console[4459]: Marker - 2015-10-7, 17:49:52
2015-10-7 17:49:57.066 App Store[4661]: Unknown class FRToolbar in Interface Builder file
at path /System/Library/PrivateFrameworks/StoreUI.framework/Resources/Base.lproj/FRStor eViewController.nib.
2015-10-7 17:49:57.533 XPCKeychainSandboxCheck[4663]: Can't get dir or base (likely out of memory) for
2015-10-7 17:49:57.534 XPCKeychainSandboxCheck[4663]: Can't get sandbox fs extension for , status=-1 errno=No such file or directory ext=(null)
2015-10-7 17:49:57.882 storeaccountd[430]: XPC error for connection com.apple.backupd.sandbox.xpc: Connection invalid
2015-10-7 17:49:57.891 sandboxd[224]: ([4664]) launchctl(4664) System Policy: allow mach-priv-task-port
2015-10-7 17:49:57.904 storeaccountd[430]: XPC error for connection com.apple.backupd.sandbox.xpc: Connection invalid
2015-10-7 17:49:57.907 sandboxd[224]: ([4665]) launchctl(4665) System Policy: allow mach-priv-task-port
2015-10-7 17:49:57.914 sandboxd[224]: ([4666]) launchctl(4666) System Policy: allow mach-priv-task-port
2015-10-7 17:49:57.934 storeaccountd[430]: XPC error for connection com.apple.backupd.sandbox.xpc: Connection invalid
2015-10-7 17:49:57.947 storeaccountd[430]: XPC error for connection com.apple.backupd.sandbox.xpc: Connection invalid
2015-10-7 17:49:59.425 sandboxd[224]: ([430]) storeaccountd(430) deny mach-lookup com.apple.backupd.sandbox.xpc
2015-10-7 17:49:59.433 sandboxd[224]: ([430]) storeaccountd(430) deny mach-lookup com.apple.backupd.sandbox.xpc
2015-10-7 17:49:59.440 sandboxd[224]: ([430]) storeaccountd(430) deny mach-lookup com.apple.backupd.sandbox.xpc
Now click on "Apps made by apple", "Apple Configurator", get, install App:
2015-10-7 17:54:07.607 App Store[4684]: Could not find image named 'NSImage'.
The program asks for the Apple ID. Given the ID, the console says...
2015-10-7 17:55:49.053 accountsd[359]: AIDA Notification plugin running
The program sits there forever. The only way to close it is, by force quit.
Apple programs usually note a force quit, and prompt the user to send a report to Apple. However, in this case,
there is no report to send: the program just crashes, helpless.
iTunes
=====
The following is the console when first running the program, no buttons pressed:
2015-10-7 18:00:34.715 Console[4459]: Marker - 2015-10-7, 18:00:34
2015-10-7 18:00:49.838 iTunes[4719]: ApplePushService: APSConnection being used without a delegate queue
2015-10-7 18:00:57.215 iTunes[4719]: Could not find image named 'NSImage'.
The program finds App updates, and prompts the user for the Apple ID. The behaviour here is identical to
the above with the Apple Store. The console says:
2015-10-7 18:02:13.632 accountsd[359]: AIDA Notification plugin running
and again, the program sits there forever. The only way to close it is, by force quit.
This time, there is a (hidden) crash report on the CPU spinning too much:
2015-10-7 18:02:13.632 accountsd[359]: AIDA Notification plugin running
2015-10-7 18:03:02.027 com.apple.xpc.launchd[1]: (com.apple.ReportCrash[4724])
Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
2015-10-7 18:03:02.067 ReportCrash[4724]: Invoking spindump for pid=4719 thread=119993
percent_cpu=62 duration=146 because of excessive cpu utilization
2015-10-7 18:03:10.054 spindump[427]: Saved cpu_resource.diag report for iTunes
version 12.3 (12.3.0.44) to /Library/Logs/DiagnosticReports/iTunes_2015-10-07-180309_alice.cpu_resource.dia g
2015-10-7 18:03:29.960 com.apple.xpc.launchd[1]: (com.apple.iTunes.6432[4719])
Service exited due to signal: Terminated: 15
MacBook Pro (13-inch Mid 2010), OS X Yosemite (10.10)