Hi,

The problem wasn't related to the /tmp dir, but due to an incorrectly created 
/dev/urandom entry in the chrooted directory. 
This caused clamd to wait for data which never came, resulting in a hang.

regards,

Reijer



On Sat, 15 Nov 2003 00:38:06 +0100
Tomasz Kojm <[EMAIL PROTECTED]> wrote:

> On Fri, 14 Nov 2003 16:23:29 +0100
> DWH <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > 
> > I'm having a weird problem while trying to chroot clamd (0.65)
> > It seems it is not using the new .cvd files. When I don't have
> > viruses.db and viruses.db2 in the database directory, it says "ERROR:
> > Database initialization error."
> > 
> > The main.cvd and daily.cvd are in place however.
> > When i put the viruses.db and viruses.db2 in the directory, it seems
> > to work fine. The problem now is that freshclam does not update
> > viruses.db and viruses.db2.
> > 
> > When I compile clamd en libclamav in debug mode and set ForeGround in
> > clamav.conf, clamd just hangs on 'reading main.cvd'.
> > 
> > Has anyone seen this problem aswell? It would somehow be nice to run
> > clamd chrooted, from a security perspective, and have an up2date virus
> > database.
> 
> You must create a /tmp directory in your chrooted environment. Without
> it clamd will fail to load cvd databases and to scan archives.
> 
> Best regards,
> Tomasz Kojm
> -- 
>       oo    .....             [EMAIL PROTECTED]         www.ClamAV.net
>      (\/)\.........           http://www.clamav.net/gpg/tkojm.gpg
>         \..........._         0DCA5A08407D5288279DB43454822DC8985A444B
>           //\   /\    Fri Nov 14 23:37:10 CET 2003
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to