Login Items fail to load and are disabled.

Originator:juan.ignacio.porta
Number:rdar://24007084 Date Originated:24-Dec-2015 01:34 PM
Status:Open Resolved:
Product:OS X Product Version:10.11.2 (15C50)
Classification: Reproducible:Sometimes
 
Summary:
From time to time, when the computer boots, otherbsd process fails to launch login items (at least, but not necessarily limited to, the ones added with ServiceManagement's SMLoginItemSetEnabled() function) and they're disabled.

Steps to Reproduce:
1. Restart computer, so login items will be launched.

Expected Results:
otherbsd process launches all login items.

Actual Results:
All login items fail to be launched with error code 119 and they're disabled. The file /var/log/system.log contains messages from "otherbsd" process stating that it couldn't submit the login items (see attached log) reporting error code 119.

Version:
10.11.2 (15C50), 10.10.3 (14D136), possibly all intermediate versions.

Notes:
Searching the internet, you can find plenty of system log dumps with the same error, mostly from users posting the logs because of other problems, so this issue seems to be widespread.

Configuration:
I couldn't find any circumstance or configuration to make it consistently fail or succeed.

Attachments:
Here's the relevant part of the uploaded log file

12/24/15 7:02:26.872 AM	com.apple.xpc.launchd[1]	(com.apple.xpc.launchd.user.501.100005.Aqua) Could not import service from caller: caller = otherbsd.203, service = com.apple.photostream-agent, error = 119: Service is disabled
12/24/15 7:02:26.873 AM	otherbsd[203]	Could not submit LoginItem job com.apple.photostream-agent: 119: Service is disabled

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!