diff -uNr clamav-0.91.orig/etc/clamd.conf clamav-0.91/etc/clamd.conf --- clamav-0.91.orig/etc/clamd.conf 2007-07-05 23:52:20.000000000 +0200 +++ clamav-0.91/etc/clamd.conf 2007-07-12 14:45:44.125622000 +0200 @@ -5,13 +5,13 @@ # Comment or remove the line below. -Example +#Example # Uncomment this option to enable logging. # LogFile must be writable for the user running daemon. # A full path is required. # Default: disabled -#LogFile /tmp/clamd.log +#LogFile /var/log/clamd.log # By default the log file is locked for writing - the lock protects against # running clamd multiple times (if want to run another clamd, please @@ -40,12 +40,12 @@ # Use system logger (can work together with LogFile). # Default: no -#LogSyslog yes +LogSyslog yes # Specify the type of syslog messages - please refer to 'man syslog' # for facility names. # Default: LOG_LOCAL6 -#LogFacility LOG_MAIL +LogFacility LOG_MAIL # Enable verbose logging. # Default: no @@ -54,7 +54,7 @@ # This option allows you to save a process identifier of the listening # daemon (main thread). # Default: disabled -#PidFile /var/run/clamd.pid +PidFile /var/run/clamav/clamd.pid # Optional path to the global temporary directory. # Default: system specific (usually /tmp or /var/tmp). @@ -69,11 +69,11 @@ # Path to a local socket file the daemon will listen on. # Default: disabled (must be specified by a user) -LocalSocket /tmp/clamd.socket +LocalSocket /var/lib/clamav/clamd.socket # Remove stale socket after unclean shutdown. # Default: no -#FixStaleSocket yes +FixStaleSocket yes # TCP port address. # Default: no @@ -142,11 +142,11 @@ # Run as another user (clamd must be started by root to make this option # working). # Default: don't drop privileges -#User clamav +User clamav # Initialize supplementary group access (clamd must be started by root). # Default: no -#AllowSupplementaryGroups no +AllowSupplementaryGroups yes # Stop daemon when libclamav reports out of memory condition. #ExitOnOOM yes @@ -328,15 +328,15 @@ # Set access mask for Clamuko. # Default: no -#ClamukoScanOnOpen yes -#ClamukoScanOnClose yes -#ClamukoScanOnExec yes +ClamukoScanOnOpen yes +ClamukoScanOnClose yes +ClamukoScanOnExec yes # Set the include paths (all files inside them will be scanned). You can have # multiple ClamukoIncludePath directives but each directory must be added # in a seperate line. # Default: disabled -#ClamukoIncludePath /home +ClamukoIncludePath /home #ClamukoIncludePath /students # Set the exclude paths. All subdirectories are also excluded. diff -uNr clamav-0.91.orig/etc/freshclam.conf clamav-0.91/etc/freshclam.conf --- clamav-0.91.orig/etc/freshclam.conf 2007-02-17 20:13:49.000000000 +0100 +++ clamav-0.91/etc/freshclam.conf 2007-07-12 14:49:25.623464750 +0200 @@ -2,10 +2,14 @@ ## Example config file for freshclam ## Please read the freshclam.conf(5) manual before editing this file. ## - +## PLD NOTE: Note that freshclam is called periodically via cron +## Check /etc/sysconfig/clamd for details +## Seems better to run task once per period than keep daemon running +## only for that. +## But if you have arguments please tell us. # Comment or remove the line below. -Example +#Example # Path to the database directory. # WARNING: It must match clamd.conf's directive! @@ -18,11 +22,11 @@ # Enable verbose logging. # Default: no -#LogVerbose yes +LogVerbose yes # Use system logger (can work together with UpdateLogFile). # Default: no -#LogSyslog yes +LogSyslog yes # Specify the type of syslog messages - please refer to 'man syslog' # for facility names. @@ -36,7 +40,7 @@ # By default when started freshclam drops privileges and switches to the # "clamav" user. This directive allows you to change the database owner. # Default: clamav (may depend on installation options) -#DatabaseOwner clamav +DatabaseOwner clamav # Initialize supplementary group access (freshclam must be started by root). # Default: no @@ -70,7 +74,7 @@ # Number of database checks per day. # Default: 12 (every two hours) -#Checks 24 +Checks 2 # Proxy settings # Default: disabled @@ -92,7 +96,7 @@ # Send the RELOAD command to clamd. # Default: no -#NotifyClamd /path/to/clamd.conf +#NotifyClamd /etc/clamd.conf # Run command after successful database update. # Default: disabled