follows this line-- > It isn't too difficult to set up a build system on Debian but there is > quite a bit to do. It would probably be worth your while to put in > the effort get on top of it. There's help here. If you use packages, > unfortunately most package maintainers seem to like a configuration > for ClamAV which is very different from that which which you'll be > familiar if you've been building it yourself. Things are in different > places, and ownerships and groups will be different. You will need to > go through all the configuration methodibcally. You can use 'clamconf' > to see most of the important configuration settings.
I built clamav from sources until recently when builds failed on both Debian ad openSuse. I gave up with version 0.104 I think but was fully up to speed on 0.103.4 which I rebuilt yesterday. Really I did not want to get involved with rust... More information. I have tried with /run/clamav with 777 permissions and owned by root, clamav and Debian-exim. The last is how it used to run. In all cases I get the same error message. I installed the most recent package for buster (0.103.6) and there is certainly something odd about it. It says # clamconf -n Checking configuration files in /usr/--sysconfdir=/etc/clamav/etc clamd.conf not found freshclam.conf not found clamav-milter.conf not found Software settings ----------------- Version: 0.103.4 Optional features supported: MEMPOOL IPv6 AUTOIT_EA06 BZIP2 LIBXML2 PCRE2 ICONV JSON RAR Database information -------------------- Database directory: /usr/--sysconfdir=/etc/clamav/share/clamav WARNING: freshclam.conf and clamd.conf point to different database directories print_dbs: Can't open directory /usr/--sysconfdir=/etc/clamav/share/clamav Platform information -------------------- uname: Linux 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 OS: linux-gnu, ARCH: x86_64, CPU: x86_64 Full OS version: Debian GnNU/Linux 10 (buster) zlib version: 1.2.11 (1.2.11), compile flags: a9 platform id: 0x0a217d7d0800000000080300 Build information ----------------- GNU C: 8.3.0 (8.3.0) CPPFLAGS: CFLAGS: -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 CXXFLAGS: -g -O2 LDFLAGS: Configure: '--with-user=Debian-exim' '--with-group=Debian-exim' '--bindir=/usr/sbin' '--prefix=/usr/--sysconfdir=/etc/clamav/' sizeof(void*) = 8 Engine flevel: 125, dconf: 125 # I am starting clamd on the command line with clamd -c /etc/clamvav/clamd The reference to --sysconfdir is certainly odd I found an old clamd binary that now seems to work. We will see! ==John ffitch _______________________________________________ clamav-users mailing list [email protected] https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/Cisco-Talos/clamav-documentation https://docs.clamav.net/#mailing-lists-and-chat
