[Pkg-samba-maint] Bug#785295: samba: cannot connect to clamav unix socket
Risto Paavola
risto.paavola at gmail.com
Thu May 14 12:31:17 UTC 2015
Package: samba
Version: 2:4.1.17+dfsg-2
Severity: normal
Dear Maintainer,
Hello.
For some reason samba cannot connect to clamav socket with scannedonly vfs module. I've installed all the packages from default Jessie repository.
smb.conf:
[files]
path = /files
read only = no
vfs object = scannedonly
scannedonly:domain_socket = True
scannedonly:socketname = /run/clamav/clamd.ctl
root at fileserver:~# ls -la /run/clamav/clamd.ctl
srw-rw-rw- 1 clamav clamav 0 May 14 15:17 /run/clamav/clamd.ctl
root at fileserver:~# ps -ef |grep clamd
clamav 25754 1 1 15:21 ? 00:00:05 /usr/sbin/clamd --foreground=true
log.smbd:
[2015/05/14 15:29:27.039454, 2] ../source3/modules/vfs_scannedonly.c:306(flush_sendbuffer)
scannedonly flush_sendbuffer: failed to send files to AV scanner, discarding files.failed to connect to socket /run/clamav/clamd.ctl
BR,
-Risto
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages samba depends on:
ii adduser 3.113+nmu3
ii dpkg 1.17.25
ii libasn1-8-heimdal 1.6~rc2+dfsg-9
ii libbsd0 0.7.0-2
ii libc6 2.19-18
ii libcomerr2 1.42.12-1.1
ii libhdb9-heimdal [heimdal-hdb-api-8] 1.6~rc2+dfsg-9
ii libkdc2-heimdal 1.6~rc2+dfsg-9
ii libkrb5-26-heimdal 1.6~rc2+dfsg-9
ii libldb1 2:1.1.17-2
ii libpam-modules 1.1.8-3.1
ii libpam-runtime 1.1.8-3.1
ii libpopt0 1.16-10
ii libpython2.7 2.7.9-2
ii libroken18-heimdal 1.6~rc2+dfsg-9
ii libtalloc2 2.1.1-2
ii libtdb1 1.3.1-1
ii libtevent0 0.9.21-1
ii lsb-base 4.1+Debian13+nmu1
ii multiarch-support 2.19-18
ii procps 2:3.3.9-9
ii python 2.7.9-1
ii python-dnspython 1.12.0-1
ii python-ntdb 1.0-5
ii python-samba 2:4.1.17+dfsg-2
pn python2.7:any <none>
ii samba-common 2:4.1.17+dfsg-2
ii samba-common-bin 2:4.1.17+dfsg-2
ii samba-dsdb-modules 2:4.1.17+dfsg-2
ii samba-libs 2:4.1.17+dfsg-2
ii tdb-tools 1.3.1-1
ii update-inetd 4.43
Versions of packages samba recommends:
ii attr 1:2.4.47-2
ii logrotate 3.8.7-1+b1
ii samba-vfs-modules 2:4.1.17+dfsg-2
Versions of packages samba suggests:
pn bind9 <none>
pn bind9utils <none>
pn ctdb <none>
pn ldb-tools <none>
ii ntp 1:4.2.6.p5+dfsg-7
pn smbldap-tools <none>
pn winbind <none>
-- no debconf information
More information about the Pkg-samba-maint
mailing list