[antispam-f] Re: AODT with RO5.27 nightly build 181101

  • From: Frank de Bruijn <antispam@xxxxxxxxx>
  • To: antispam@xxxxxxxxxxxxx
  • Date: Wed, 14 Nov 2018 18:39:56 +0100

In article <3368e85657.DaveMeUK@xxxxxxxxxxxx>,
   David Higton <dave@xxxxxxxxxxxxxxxx> wrote:

In message <5756cdad53antispam@xxxxxxxxx>
          Frank de Bruijn <antispam@xxxxxxxxx> wrote:

In article <c7a8845657.DaveMeUK@xxxxxxxxxxxx>,
  David Higton <dave@xxxxxxxxxxxxxxxx> wrote:

I quit AS, renamed the existing installation as !AntiSpOld,

There's your original problem. You didn't remove the !, so that's still
an application directory and one that hadn't been booted yet. So after
!AntiSpam.!Run ran, !AntiSpOld.!Boot was booted and by the time the
templates were loaded, <AntiSpam$Dir> had become !AntiSpOld. Always
remove the ! from an old application directory if you don't want it
booted. That's a lesson I learned many years ago.

There's a problem with that explanation, though, Frank.  The first
two lines of the !Run file are:

Unset AntiSpam*
Run <Obey$Dir>.!Boot

so, on running the new AS app, all AS's old sysvars were unset and
replaced with ones pointing at the new app.  Unless of course I've
missed something - or in some way booted the old one after running
the new one.

That's exactly what I've seen happen in the past and why I always
remove the ! of any old/obsolete application directory. In this case:

- !AntiSpam.!Run runs and calls !AntiSpam.!Boot to set up <AntiSpam$Dir>
- The filer notices (don't ask me how this works - I have no idea)
  there's an application in the same directory as !AntiSpam which has
  not been booted yet: !AntiSpOld
- !AntiSpOld.!Boot runs and resets <AntiSpam$Dir>
- !AntiSpam.!RunImage gets to the point where it wants to load the
  templates and picks the wrong file

This is the only way to explain how the new version of AS could get hold
of the old templates. If you have a better explanation...

Regards,
Frank


Other related posts: