Hello! 1) clamav-devel-20040127: clamd crashes without any log records when virus bases reloading command sent. It appears _only_ when UseProcesses in clamav.conf is enable.
Steps to reproduce: - start clamd - erase daily.cvd - start freshclam with "daemon-notify" ======= Debug log: LibClamAV debug: Loading databases from /usr/local/clamav/bases LibClamAV debug: Loading /usr/local/clamav/bases/main.cvd LibClamAV debug: /usr/local/clamav/bases/main.cvd: CVD file detected LibClamAV debug: in cli_cvdload() LibClamAV debug: MD5(.tar.gz) = 46b4b24055925f69a6d5d7802dbd1479 LibClamAV debug: Decoded signature: 46b4b24055925f69a6d5d7802dbd1479 LibClamAV debug: Digital signature is correct. LibClamAV debug: in cli_untgz() LibClamAV debug: Unpacking /var/tmp//8548d795bb919ad9/COPYING LibClamAV debug: Unpacking /var/tmp//8548d795bb919ad9/viruses.db LibClamAV debug: Loading databases from /var/tmp//8548d795bb919ad9 LibClamAV debug: Loading /var/tmp//8548d795bb919ad9/viruses.db LibClamAV debug: Initializing trie. LibClamAV debug: Loading /usr/local/clamav/bases/daily.cvd LibClamAV debug: /usr/local/clamav/bases/daily.cvd: CVD file detected LibClamAV debug: in cli_cvdload() LibClamAV debug: MD5(.tar.gz) = 30026198a02d30a7bc70dd0d220551e2 LibClamAV debug: Decoded signature: 30026198a02d30a7bc70dd0d220551e2 LibClamAV debug: Digital signature is correct. LibClamAV debug: in cli_untgz() LibClamAV debug: Unpacking /var/tmp//e368b490ddfee329/COPYING LibClamAV debug: Unpacking /var/tmp//e368b490ddfee329/viruses.db2 LibClamAV debug: Loading databases from /var/tmp//e368b490ddfee329 LibClamAV debug: Loading /var/tmp//e368b490ddfee329/viruses.db2 Broken pipe === clamd log: Wed Jan 28 21:24:19 2004 -> Reading databases from /usr/local/clamav/bases Wed Jan 28 21:24:23 2004 -> Database correctly reloaded (20583 viruses) And that's all here. === freshclam log: ClamAV update process started at Wed Jan 28 21:24:13 2004 Reading CVD header (main.cvd): OK main.cvd is up to date (version: 19, sigs: 19987, f-level: 1, builder: ddm) Reading CVD header (daily.cvd): OK Downloading daily.cvd [*] daily.cvd updated (version: 110, sigs: 596, f-level: 1, builder: tomek) Database updated (20583 signatures) from database.clamav.net (64.69.64.158). Clamd successfully notified about the update. ========= My system: $uname -a FreeBSD xx.xx.xx 4.7-RELEASE FreeBSD 4.7-RELEASE #6: Sun Mar 9 12:38:46 KRAT 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/INET i386 $ gcc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] ========= configured with: ./configure --prefix=/usr/local/clamav --with-user=root --with-group=wheel - -with-dbdir=/usr/local/clamav/bases ========= My configs clamav.conf: LogFile /var/log/clamd.log LogFileMaxSize 0 LogTime LogVerbose PidFile /usr/local/clamav/run/clamd.pid LocalSocket /usr/local/clamav/socket/clamd.sock FixStaleSocket MaxConnectionQueueLength 100 UseProcesses MaxThreads 20 ThreadTimeout 500 MaxDirectoryRecursion 1 Foreground Debug ScanOLE2 ScanMail ScanArchive ScanRAR ArchiveMaxFileSize 30M ArchiveMaxRecursion 50 ArchiveMaxFiles 1000 ArchiveMaxCompressionRatio 500 === freshclam.conf: LogVerbose DatabaseMirror database.clamav.net MaxAttempts 3 NotifyClamd So clamd and freshclam starts au root. 2) Question: LibClamAV uses /var/tmp as temporary directory: LibClamAV debug: Unpacking /var/tmp//8548d795bb919ad9/COPYING How I can change this setting? For example, use /usr/local/clamav/tmp? Creating soft link instead of /var/tmp is not decision - for my case :) Thanks. Sorry for large message :) -- With best regards, Andrey V. Malyshev. E-mail: [EMAIL PROTECTED] ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users