Quoth Erwann Chenede on Sun, Jun 15, 2008 at 10:00:11PM +0200: > David Bustos wrote: > > Quoth Erwann Chenede on Thu, Jun 12, 2008 at 08:02:37PM +0200: > >> you can now also browse the code via opengrok : > >> http://src.opensolaris.org/source/xref/jds/desktop-cache/trunk/ > > > > desktop-mime-cache/desktop-mime-cache ... > > 84: SMF_EXIT_MON_DEGRADE isn't documented in smf_method(5). Please > > choose another exit code. > > Done, changed to SMF_EXIT_ERR_FATAL. I'll do all the other scripts > later. note fc-cache uses > this exit code too. What is the different between these 2 exit code ?
Currently the difference is that SMF_EXIT_MON_DEGRADE is treated as SMF_EXIT_ERR_OTHER, which causes SMF to retry running the script. SMF_EXIT_ERR_FATAL causes SMF to stop running the script and put the service into maintenance right away. If fc-cache uses SMF_EXIT_MON_DEGRADE, then that is a bug. > > desktop-mime-cache/desktop-mime-cache.xml > > 86: Would you mind including "MIME cache" in this description? > > I've added a reference to the update-desktop-database manpage No, I mean including "MIME cache" in the common_name. "GNOME Desktop file Cache Builder" is pretty generic, and it seems that update-desktop-database specifically updates the MIME cache. Does the author intend to expand the scope of the cache later? David