Na upgraden naar Yosemite heb ik een vreemd probleem, warvan ik me afvraag of anderen dit ook hebben. Waar gaat het over?
Ik had een issue met een bestaande gebruiker en heb - om te testen - even een nieuwe gebruiker aangemaakt. Deze kreeg UID=504. Na testen heb ik deze account weer verwijderd.
Als ik overschakel naar het Login Window, dan duurt het meer dan 2 minuten voordat deze verschijnt. Al dat ik zie is een zwart scherm.
In de log file /var/log/messages vind ik deze meldingen die er een relatie mee lijken te hebben:
Nov 15 22:40:07 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1068]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:40:08 iMac2007.local WindowServer[114]: _CGXGetWindowOrderingGroup: Operation on a window 0x53 requiring rights 0x5 by caller System Preferences
Nov 15 22:40:10 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 2 seconds. Pushing respawn out by 8 seconds.
Nov 15 22:40:18 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1069]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:40:44 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1072]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:40:45 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:40:55 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1074]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:40:55 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:41:04 iMac2007.local loginwindow[1075]: Login Window Application Started
Nov 15 22:41:05 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1090]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:41:05 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:41:15 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1092]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:41:15 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:41:25 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1094]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:41:25 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:41:35 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1095]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:41:35 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:41:45 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1096]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:41:45 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:41:55 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1097]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:41:55 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:42:05 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1098]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:42:05 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:42:15 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1099]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:42:16 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:42:26 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1110]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:42:26 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:42:36 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1115]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:42:36 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:42:46 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1116]): Could not find uid associated with service: 0: Undefined error: 0 504
Nov 15 22:42:46 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 22:42:56 iMac2007 com.apple.xpc.launchd[1] (com.apple.cfprefsd.xpc.agent[1118]): Could not find uid associated with service: 0: Undefined error: 0 504
Zoekend met google kwam ik er achter dat het getal "504" de UID is. Ik heb daarna de test gebruiker weer aangemaakt (krijgt weer UID=504) en daarna verscheen het login window weer binnen een paar seconden.
Verwijderen account -> meer dan 2 minuten!
Ik heb dit op de Feedback pagina van Apple gemeld, maar vraag mij af of dit een uitzondering is of dat dit bij anderen ook voorkomt.
Is er iemand die dit wil testen? Let op: als je dit doet, zit je vast aan een account waar je niets mee kan, anders heb je een zwart scherm bij schakelen naar Login Window.
Ik heb ook nog geen oplossing voor dit gedrag gevonden ...