I have a Policy with the Dock Items payload. It's just set to remove a few of the defaults like Calendar and Mail since we use Outlook instead. We're seeing some strangeness when following this procedure:
1) Network booting and using Casper Imaging to re-image a new mac (used AutoDMG to start with a clean image). A local admin account is created with a package.
2) After the imaging process is complete, i can log into the local admin account that was created and the dock looks just fine.
3) If i create a new standard user, or if an AD user logs in for the first time, then the dock may only have 1-3 icons on it. Usually Finder, Maps, and iBooks.
That's strange because I'm not removing System Preferences, Launchpad, Safari, or many others with my Dock Icons payload. I'm also not touching "/System/Library/CoreServices/Dock.app/Contents/Resources/en.lproj/default.plist". "/Library/Preferences/com.apple.dock.plist" doesn't exist and neither does "/System/Library/User Template/English.lproj/Library/Preferences/com.apple.dock.plist" which I'm not doing anything with either.
But, if i disable the Dock Items policy then everything works fine. Has anyone seen something like this?
I'm also thinking of ways to work around this if it is a bug. Does anyone know if Mavericks/Yosemite prefer either the default.plist in the dock.app or the com.apple.dock.plist in the User Template? Would it merge those settings if they're different?
