Mcafee AutoUpdate Script

Lawrence E. Bartash/NPCUSA Engineering lawbar at NPCUSA.COM
Fri Feb 8 19:27:32 GMT 2002


ls -l /usr/local/mcafee/dat

It should show something like this below!

lrwxrwxrwx    1 root     root           26 Feb  8 04:02
/usr/local/mcafee/dat -> /usr/local/mcafee/20020208


-----Original Message-----
From: Steve Evans [mailto:sevans at FOUNDATION.SDSU.EDU]
Sent: Friday, February 08, 2002 1:23 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Mcafee AutoUpdate Script


I'm not really strong with Unix so could you tell me how I could check that.

Steve

-----Original Message-----
From: Lawrence E. Bartash/NPCUSA Engineering [mailto:lawbar at NPCUSA.COM]
Sent: Friday, February 08, 2002 11:22 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Mcafee AutoUpdate Script


Check to see if /usr/local/mcafee/dat is now a symlink
To your /usr/local/mcafee/20020208

The script should relink it each time it untars a new dat file archive.

The error message "A target has not been specified for scanning" is a normal
error message printed out by uvscan when the autoupdate script tests the dat
files to see if they work. Since the test is actually scanning nothing, it
returns the message!

Hope this helps.

-----Original Message-----
From: Steve Evans [mailto:sevans at FOUNDATION.SDSU.EDU]
Sent: Friday, February 08, 2002 1:14 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Mcafee AutoUpdate Script


Those changes are there.  When I run autoupdate here is what is returned.

[root at yoda mcafee]# ./autoupdate


A target has not been specified for scanning! /usr/local/mcafee/dat

/usr/local/mcafee/20020208


The tar is copied and extracted to 20020208 but they're not being moved over
to the DAT directory.

Steve

-----Original Message-----
From: Stuart Luppescu [mailto:s-luppescu at UCHICAGO.EDU]
Sent: Friday, February 08, 2002 8:34 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Mcafee AutoUpdate Script


On  $B6b (J, 2002-02-08 at 09:41, Steve Evans wrote:
> Yes.  I used the RPM.  That should have the updated script right?

One would expect, but who knows? Here is what you have to change to get this
to work (from a message on this list on 15 Jan from Lawrence E. Bartash --
gotta give credit where credit is due):

------------------------------------------------------------------------
---
OK I got this one fixed.
Taking braces out does absolutely nothing.
I changed the perl calls to system calls temporarily and noticed that
$DATlink had a trailing / on it. Very bad, perl doesn't barf on this! :-(
therefore the real fix is on line 39
<my($DATlink) = "$mcafeeroot/dat/";
>my($DATlink) = "$mcafeeroot/dat";

also line 123 needs to be changed
<print "DATDir\n";
>print "DATdir\n";

--
Stuart Luppescu -=- s-luppescu at uchicago.edu
University of Chicago -=- CCSR
 $B:MJ8$HCRF`H~$NIc (J -=-    Kernel 2.4.14-xfs
Si jeunesse savait, si vieillesse pouvait.  [If
 youth but knew, if old age but could.]   -- Henri
 Estienne



More information about the MailScanner mailing list