On Wed, 4 Apr 2007, John wrote:> [root at magpie root]# > hm. What does /usr/lib/mozilla-seamonkey-1.0.8/mozilla-rebuild-databases.pl?> Why is this?reading the whole script, it is regenerating 'chrome' files with only the master instance running, presumeably to prevent wayward children from bollixing the process. not deleting itself, of course, as the title suggests -- just parts of what are essentially configuration matters, which may need migration as versions and releases change. -- Russ
Well, partly: I've been "converting" a RHL 7.3 system to approximately Centos 2.1, so found it necessary to "rpm -Va" I was more than a little surprised at this: [root at magpie root]# rpm -V seamonkey missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/browser missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/browser/content missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/browser/content/overlays.rdf missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/browser/skin missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/browser/skin/stylesheets.rdf missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/communicator missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/communicator/content missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/communicator/content/overlays.rdf missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/cookie missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/cookie/content missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/cookie/content/overlays.rdf missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/editor missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/editor/content missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/editor/content/overlays.rdf missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/global missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/global/content missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/global/content/overlays.rdf missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/global/skin missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/global/skin/stylesheets.rdf missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/navigator missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/navigator/content missing /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo/navigator/content/overlays.rdf etc Reinstalling the packages did no good: [root at magpie root]# rpm -q --scripts seamonkey postinstall scriptlet (through /bin/sh): # run ldconfig before regxpcom /sbin/ldconfig >/dev/null 2>/dev/null if [ -f /usr/lib/mozilla-seamonkey-1.0.8/mozilla-rebuild-databases.pl ]; then /usr/lib/mozilla-seamonkey-1.0.8/mozilla-rebuild-databases.pl fi preuninstall scriptlet (through /bin/sh): # is a final removal? if [ "$1" == "0" ]; then /bin/rm -rf /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo /bin/rm -f /usr/lib/mozilla-seamonkey-1.0.8/chrome/*.rdf fi postuninstall scriptlet (through /bin/sh): /sbin/ldconfig >/dev/null 2>/dev/null # was this an upgrade? if [ "$1" == "2" ]; then if [ -f /usr/lib/mozilla-seamonkey-1.0.8/mozilla-rebuild-databases.pl ]; then /usr/lib/mozilla-seamonkey-1.0.8/mozilla-rebuild-databases.pl fi fi [root at magpie root]# hm. What does /usr/lib/mozilla-seamonkey-1.0.8/mozilla-rebuild-databases.pl? Oh, it does [root at magpie root]# head -20 /usr/lib/mozilla-seamonkey-1.0.8/mozilla-rebuild-databases.pl #!/usr/bin/perl use File::Path; use File::Copy; use File::Glob ":glob"; use POSIX ":sys_wait_h"; $timeout = 60; %{ENV}->{"MOZILLA_FIVE_HOME"}="/usr/lib/mozilla-seamonkey-1.0.8"; %{ENV}->{"LD_LIBRARY_PATH"}="/usr/lib/mozilla-seamonkey-1.0.8"; %{ENV}->{"MOZ_DISABLE_GNOME"}="1"; umask 022; if ( -f "/usr/lib/mozilla-seamonkey-1.0.8/regxpcom" ) { # remove all of the old files rmtree("/usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo"); unlink </usr/lib/mozilla-seamonkey-1.0.8/chrome/*.rdf>; [root at magpie root]# Why is this?
Reasonably Related Threads
- regchrome causes segfault during Mozilla build
- CESA-2007:0077 Critical CentOS 3 s390(x) seamonkey - security update
- CESA-2007:0077 Critical CentOS 4 s390(x) seamonkey - security update
- CESA-2007:0077 Critical CentOS 3 x86_64 seamonkey - security update
- CESA-2007:0077 Critical CentOS 4 x86_64 seamonkey - security update