Hi,
I just installs NIS 4.0 in my SL box, with a case sensitive file system, It works well, except when tries to run the LiveUpdate to updates the Virus definitions.
In this case it says "LiveUpdate had an error updating the virus definitions"
Looking in /var/log/system.log file, I found the follow messages:
Mar 1 18:20:54 chip [0x0-0x3a93a9].com.Symantec.LiveUpdate[45673]: Patching /private/tmp/liveupdate.2.926Vp1/CATALOG.999
Mar 1 18:20:54 chip [0x0-0x3a93a9].com.Symantec.LiveUpdate[45673]: Failure!
Mar 1 18:20:54 chip [0x0-0x3a93a9].com.Symantec.LiveUpdate[45673]: chmod: /Library/Application Support/Symantec/AntiVirus/EngineTemp: No such file or directory
I download the antivirus updtae definitions from your webpage, and when I running the installation package, it works well.
May this error be caused due I uses a Case Sensitive Filesystem?
Thanks in advance
H. Molina
Yes, I believe this error is caused by the case sensitivity. The intelligent updater from the Web site is the only way to update the virus definitions on case sensitive volumes, sorry.
Ryan
Hi,
I found an error in your IntelligentUpdater distribution packages, which do not update the virus definitions in a case sensitive file system HFS+ (sorry, I though your Intelligent updater works, but do not).
In the pax.gz distribution file, all the files comes with a lowercase name (at least the versions march 02 and march 03). In your postinstall/postupgrade scripts you have the follow lines:
[code]
# Create symbolic links for files on Case-Sensitive HFS+ systems...
oldwd=`/bin/pwd`
# Create the symbolic links locally, so they don't point out of the directory.
cd "${srcEngine}"
for aFile in `/bin/ls -1 .`
do
dcase=`echo $aFile | sed -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/`
if [ ! -e "${srcEngine}/${dcase}" ]; then
/bin/ln -s "${aFile}" "${dcase}"
fi
done
cd "${oldwd}"
[/code]
Which converts the name from uppercase to lowercase and verifies if the lowercase name exists, if it do not exists, create the symbolic link.
So, due the files are comming with lowercase name, these commands found the lowercase version, and do not create the uppercase links to lowercase files. Then the upgrade fails.
Just exchanging the sed line to the follow
[code]
dcase=`echo $aFile | sed -e y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/`
[/code]
And now the IntelligentUpdate works well.
Thanks for your help, and I hope someday the LiveUpdate will works well in a case sensitive filesystem (sorry, I am comming form a serious Unix filesystem, so I do not like the case insensitive filesystems....)
H. Molina-Bulla