Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bruno_friedmann
clamav
clamav-conf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File clamav-conf.patch of Package clamav
diff -rup a/etc/clamav-milter.conf.sample b/etc/clamav-milter.conf.sample --- a/etc/clamav-milter.conf.sample 2024-02-07 03:53:14.000000000 +0100 +++ b/etc/clamav-milter.conf.sample 2024-02-16 10:47:48.957369801 +0100 @@ -1,11 +1,7 @@ ## -## Example config file for clamav-milter +## config file for clamav-milter ## -# Comment or remove the line below. -Example - - ## ## Main options ## @@ -17,7 +13,7 @@ Example # inet6:port@[hostname|ip-address] - to specify an ipv6 socket # # Default: no default -#MilterSocket /run/clamav/clamav-milter.sock +MilterSocket /run/clamav/clamav-milter.sock #MilterSocket /tmp/clamav-milter.sock #MilterSocket inet:7357 @@ -38,7 +34,7 @@ Example # to work) # # Default: unset (don't drop privileges) -#User clamav +User vscan # Waiting for data from clamd will timeout after this time (seconds). # Value of 0 disables the timeout. @@ -49,7 +45,7 @@ Example # Don't fork into background. # # Default: no -#Foreground yes +Foreground yes # Chroot to the specified directory. # Chrooting is performed just after reading the config file and before @@ -93,7 +89,7 @@ Example # # Default: no default #ClamdSocket tcp:scanner.mydomain:7357 -#ClamdSocket unix:/run/clamav/clamd.sock +ClamdSocket unix:/run/clamav/clamd.sock ## @@ -243,13 +239,13 @@ Example # 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. # diff -rup a/etc/clamd.conf.sample b/etc/clamd.conf.sample --- a/etc/clamd.conf.sample 2024-02-07 03:53:14.000000000 +0100 +++ b/etc/clamd.conf.sample 2024-02-16 10:52:53.616032961 +0100 @@ -1,12 +1,8 @@ ## -## Example config file for the Clam AV daemon +## Config file for the Clam AV daemon ## Please read the clamd.conf(5) manual before editing this file. ## - -# Comment or remove the line below. -Example - # Uncomment this option to enable logging. # LogFile must be writable for the user running daemon. # A full path is required. @@ -41,12 +37,12 @@ Example # 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 @@ -98,7 +94,7 @@ Example # Path to a local socket file the daemon will listen on. # Default: disabled (must be specified by a user) -#LocalSocket /run/clamav/clamd.sock +LocalSocket /run/clamav/clamd.sock #LocalSocket /tmp/clamd.sock # Sets the group ownership on the unix socket. @@ -231,13 +227,14 @@ Example # Run as another user (clamd must be started by root for this option to work) # Default: don't drop privileges #User clamav +User vscan # Stop daemon when libclamav reports out of memory condition. #ExitOnOOM yes # Don't fork into background. # Default: no -#Foreground yes +Foreground yes # Enable debug messages in libclamav. # Default: no @@ -708,7 +705,7 @@ Example # multiple OnAccessIncludePath directives but each directory must be added # in a separate line. # Default: disabled -#OnAccessIncludePath /home +OnAccessIncludePath /home #OnAccessIncludePath /students # Set the exclude paths. All subdirectories are also excluded. @@ -779,6 +776,7 @@ Example # OnAccessExcludeUID option. # Default: disabled #OnAccessExcludeUname clamav +OnAccessExcludeUname vscan # Number of times the OnAccess client will retry a failed scan due to # connection problems (or other issues). diff -rup a/etc/freshclam.conf.sample b/etc/freshclam.conf.sample --- a/etc/freshclam.conf.sample 2024-02-07 03:53:14.000000000 +0100 +++ b/etc/freshclam.conf.sample 2024-02-16 10:54:15.253234627 +0100 @@ -1,12 +1,8 @@ ## -## Example config file for freshclam +## Config file for freshclam ## Please read the freshclam.conf(5) manual before editing this file. ## - -# Comment or remove the line below. -Example - # Path to the database directory. # WARNING: It must match clamd.conf's directive! # Default: hardcoded (depends on installation options) @@ -35,12 +31,12 @@ Example # 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. # Default: LOG_LOCAL6 -#LogFacility LOG_MAIL +LogFacility LOG_MAIL # Enable log rotation. Always enabled when LogFileMaxSize is enabled. # Default: no @@ -58,6 +54,7 @@ Example # "clamav" user. This directive allows you to change the database owner. # Default: clamav (may depend on installation options) #DatabaseOwner clamav +DatabaseOwner vscan # Use DNS to verify virus database version. FreshClam uses DNS TXT records # to verify database and software versions. With this directive you can change @@ -148,7 +145,7 @@ DatabaseMirror database.clamav.net # Send the RELOAD command to clamd. # Default: no -#NotifyClamd /path/to/clamd.conf +NotifyClamd /etc/clamd.conf # Run command after successful database update. # Use EXIT_1 to return 1 after successful database update.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor