Comment 30 for bug 428306

Revision history for this message
In , Mozilla-bugs-micahscomputing (mozilla-bugs-micahscomputing) wrote :

(In reply to comment #7)
> Sounds like the same underlying issue as bug 427028. AFAICT, Ubuntu updates
> change the on-disk location of search engine description files, and the search
> service doesn't deal with having its files moved out from under it. In this
> case, search keywords and other metadata are associated with the path to the
> file on disk when that file isn't in the profile or appdir... I'm not sure why
> that's the case for Ubuntu's shipped builds.
>
> Would be nice to figure out what the exact issue is, but I don't know anything
> about how search plugins are shipped in Ubuntu builds.

Search engine plugins are symlink'd from APP_DIR/distribution/searchplugins -> /usr/lib/firefox-addons/searchplugins
So in reality, the search plugin location doesn't change, but the symlink location does (as the APP_DIR changes).
For some reason, the whole path including the app dir is being stored.
For a Mozilla build, it's stored in firefox/searchplugins/foo.xml and is stored in the DB as [app]/foo.xml
For an Ubuntu build, it's stored in /usr/lib/firefox-3.5.6/distribution/searchplugins/en-US/foo.xml and stored in the DB as /usr/lib/firefox-3.5.6/distribution/searchplugins/en-US/foo.xml