WARNING: Problems with new version of Sophos (3.74)
Julian Field
mailscanner at ecs.soton.ac.uk
Sat Sep 27 12:54:12 IST 2003
The patch is very simple. If the patch command fails, just apply the change
by hand, you'll soon find where it belongs.
At 06:24 27/09/2003, you wrote:
>I tried this patch and got:
>
>patch <patch.txt
>patching file sophos-autoupdate
>Hunk #1 FAILED at 79.
>1 out of 1 hunk FAILED -- saving rejects to file sophos-autoupdate.rej
>
>The contents of sophos-autoupdate.rej are:
>
>cat sophos-autoupdate.rej
>***************
>*** 79,84 ****
> symlink("$VDLDir/$string", $string) if -f "$VDLDir/$string";
> }
>
> # Link in this new directory to Sophos
> chdir $SophosRoot or &BailOut("Cannot cd $SophosRoot, $!");
> $OldLinkTarget = readlink $IDELink;
>--- 79,87 ----
> symlink("$VDLDir/$string", $string) if -f "$VDLDir/$string";
> }
>
>+ # Add the new swpmess.dat file too symlink("$VDLDir/swpmess.dat",
>+ "swpmess.dat") if -f "$VDLDir/swpmess.dat";
>+
> # Link in this new directory to Sophos
> chdir $SophosRoot or &BailOut("Cannot cd $SophosRoot, $!");
> $OldLinkTarget = readlink $IDELink;
>
>Did I miss something?
>
>Mike
>
>
> > -----Original Message-----
> > From: MailScanner mailing list
> > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Julian Field
> > Sent: Friday, September 26, 2003 4:59 PM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: WARNING: Problems with new version of Sophos (3.74)
> >
> >
> > At 18:28 26/09/2003, you wrote:
> > >Greetings -
> > >
> > >PLEASE BE CAREFUL WHEN UPDATING TO THE NEW (OCTOBER 2003) VERSION OF
> > >SOPHOS!
> > >
> > >It appears that two changes have been made that may well stop it
> > >working when installed using MailScanner's scripts:
> > >
> > >* It appears to be have been made aware of multiple
> > languages, meaning
> > > a new "swpmess.dat" file has been added to the directory
> > containing
> > > the vdl files.
> > >
> > > >>> A symlink is needed from the ide directory to that
> > file as well
> > > >>> as all the symlinks to the vdl files.
> >
> > Here is a patch for /usr/lib/MailScanner/sophos-autoupdate to
> > correct this
> > problem:
> >
> > --- sophos-autoupdate.old 2003-08-25 16:53:44.000000000 +0100
> > +++ sophos-autoupdate 2003-09-26 22:53:50.000000000 +0100
> > @@ -79,6 +79,9 @@
> > symlink("$VDLDir/$string", $string) if -f "$VDLDir/$string";
> > }
> >
> > +# Add the new swpmess.dat file too symlink("$VDLDir/swpmess.dat",
> > +"swpmess.dat") if -f "$VDLDir/swpmess.dat";
> > +
> > # Link in this new directory to Sophos
> > chdir $SophosRoot or &BailOut("Cannot cd $SophosRoot, $!");
> > $OldLinkTarget = readlink $IDELink;
> >
> >
> > >* It appears that the /etc/sav.conf file is now REQUIRED by sweep in
> > > order to find its swpmess.dat file. MailScanner's Sophos.install
> > > script currently removes this file and without it Sweep gives a
> > > warning about not being able to read its languages file.
> >
> > It isn't required on my Linux system. It runs quite happily
> > without it. Haven't tried it on Solaris yet (haven't got a
> > non-production Solaris box to try it on till Monday. It's
> > cooled down enough now that I can switch my other devel boxes
> > back on :-)
> >
> > >When I did the update using MajorSophos it converted our MailScanner
> > >from a Busy Bee into a Lame Duck, continually starting up
> > MailScanner
> > >processes (presumably as they died off) and not doing any scanning.
> > >
> > >Restoring the previous version of Sophos (whose directory I had
> > >fortunately tar'd up beforehand) recovered things to a working state.
> > >
> > >I've off home now, so will do more testing on Monday.
> >
> > --
> > Julian Field
> > www.MailScanner.info
> > Professional Support Services at www.MailScanner.biz
> > MailScanner thanks transtec Computers for their support
> >
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
More information about the MailScanner
mailing list