View Full Version : Restored image misbehaves without LaunchServices rebuild

09-27-2007, 02:27 PM
A recent thread (http://www.shirt-pocket.com/forums/showthread.php?t=2687) discussed strange problems some 10.4.10 users (including myself) have encountered after restoring an SD! backup. The issues include messed up dock icons, applications not starting properly, and links pointing to random resources instead of their true targets. Fixing these problems only requires rebuilding the LaunchServices database, but I have to say my faith in the exactness of my backups has been somewhat shaken. Can anyone explain exactly what the problem is and why rebuilding the LaunchServices DB is required after restoring in some cases? I think I'd feel better if I understood exactly what the problem is and why my restored image didn't behave exactly like the original.

09-27-2007, 02:32 PM
It's due to changes Apple has made in LaunchServices. What those changes are, no one can say, because it's a "black box".

Some caches, including part of LaunchServices' cache, aren't copied when we copy a drive. That's because the cache itself is invalid. But, when OSX rebuilds the cache automatically in recent versions of OSX, it does it wrong, which is why -- in some situations -- it has to be rebuilt by hand.

The files are the same, though -- and, hopefully, Apple will resolve the problem in a future release of OSX.

09-27-2007, 03:50 PM
Thanks for the reply. I suppose none of my data was really in jeopardy, so I can live with that. If I have to recover again I'll just make a note of manually rebuilding the LanchServices DB as soon as my machine comes up, at least until I move past 10.4.10.

09-27-2007, 04:07 PM
You might not even have to, Derekasaurus -- as I said, it's only needed in some situations...