[Avcheck] Re: real virus test?

Len Conrad LConrad@Go2France.com
Sun, 11 Nov 2001 14:15:26 -0600


>Aha!!.. ;)))  Make /dev/null in your chroot jail!.. ;)  This is the
>same problem as reported several months ago by many people including
>Ralf.  kavdaemon tries to send a log to the client.  Ralf, this is
>a result from that code excerpt I sent to Michael Kubecka and you...
>Kavdaemon calls close(fileno(stdout)) but uses printf or puts in
>some other place.  This IS a log -- sent to CLIENT! :)

touch avp/null

and

freebsd's

cp -p /dev/null .

don't fix the pb:

Nov 11 12:12:36 mgw2 postfix/pipe[9995]: C7C5455408: to=<ryan@72mm.com>, 
relay=avcheck, delay=2, status=deferred (temporary failure.
  Command output: avcheck: uexpected AVP return code 70 (0x6946) )


>No, he need to have
>  /var/spool/avp/dev/null
>file, equivalent to that in real /dev directory.  I don't know how
>to "copy" device on a *BSD (linux way is just cp -a), but mknod
>should do.  Or he may just `touch /var/spool/avp/dev/null'.

don't have -a in FreeBSD cp


Len