Bug 830819

Summary: yast2-mail sets wrong configuration in /etc/clamd.conf
Product: [openSUSE] openSUSE 12.3 Reporter: Wolfgang Rosenauer <wolfgang>
Component: YaST2Assignee: Peter Varkoly <varkoly>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Wolfgang Rosenauer 2013-07-23 09:31:59 UTC
That is another regex issue in the yast2 mail module.

/etc/clamd.conf ends up like this:

# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
LocalSocket /var/lib/clamav/clamd-socket

# Sets the group ownership on the unix socket.
# Default: disabled (the primary group of the user running clamd)
LocalSocket /var/lib/clamav/clamd-socket

# Sets the permissions on the unix socket to the specified mode.
# Default: disabled (socket is world accessible)
LocalSocket /var/lib/clamav/clamd-socket

The original config looks like:
# Path to a local socket file the daemon will listen on.
# Default: disabled (must be specified by a user)
LocalSocket /var/run/clamav/clamd-socket

# Sets the group ownership on the unix socket.
# Default: disabled (the primary group of the user running clamd)
#LocalSocketGroup virusgroup

# Sets the permissions on the unix socket to the specified mode.
# Default: disabled (socket is world accessible)
#LocalSocketMode 660


The regex matches everything starting with "LocalSocket" apparently.
Comment 1 Peter Varkoly 2018-01-13 19:56:20 UTC
yast2 mail do not adapt clamd.conf anymore