Hi Vaughn, Thanks for testing the RC2 and for writing in!
The intention is to install the macOS packages under /usr/local/clamav so they can be easily removed, because there is no easy way to uninstall the macOS package at this time other than to rm the files (or if it had installed as intended, the /usr/local/clamav directory). There was a configuration issue with our build pipeline for building the macOS PKG for 0.104.0-rc2. By mistake, the install prefix and packaging install prefix for the macOS build did not match, so it actually installed to /usr/local instead of /usr/local/clamav. I have verified that the issue has been fixed for the PKG for the final release. I apologize for the issue. If you installed with the clamav-0.104.0-rc2.macos.universal.pkg installer and wish to remove it, you may need to individually remove: * clam*, freshclam, and sigtool files from /usr/local/bin, * clamd from /usr/local/sbin, * libclam*, libfreshclam* files from /usr/local/lib, * libclamav.pc file from /usr/local/lib/pkgconfig, * clamav* files from /usr/local/include, * plus the database directory /usr/local/share/clamav, if it exists. This command should take care of it. Please take care when copy/pasting this command as a mistake when running `rm -rf` with sudo could be catastrophic: sudo rm -rf /usr/local/bin/freshclam /usr/local/bin/clam* /usr/local/bin/sigtool /usr/local/sbin/clamd /usr/local/lib/libclam* /usr/local/lib/libfreshclam.* /usr/local/lib/pkgconfig/libclamav.pc /usr/local/share/doc/ClamAV /usr/local/etc/freshclam.conf* /usr/local/etc/clam* /usr/local/share/clamav The install path for the 0.104.0 macOS package for the stable release will be /usr/local/clamav, so that it is easier to remove. In a future release, I would also like to include an uninstaller script for macOS but sadly I don’t have anything ready today. Regards, Micah Micah Snyder ClamAV Development Talos Cisco Systems, Inc. ________________________________ From: clamav-users <[email protected]> on behalf of Vaughn A. Hart <[email protected]> Sent: Sunday, August 29, 2021 7:55 PM To: [email protected] <[email protected]> Subject: [clamav-users] Configuration Error Hi Team, I have run the configuration command, after installation of clamav-0.104.0-rc2.macos.universal.pkg, to generate the conf files from the default configuration. I get no output errors and it looks like all is well, however when I run clamconf I get the following message: vaughna.hart@NaCl4 ~ % clamconf -g clamav-milter.conf > clamav-milter.conf vaughna.hart@NaCl4 ~ % clamconf -g clamd.conf > clamd.conf vaughna.hart@NaCl4 ~ % clamconf -g freshclam.conf > freshclam.conf vaughna.hart@NaCl4 ~ % clamconf Checking configuration files in /usr/local/clamav/etc clamd.conf not found freshclam.conf not found clamav-milter.conf not found Software settings ----------------- Version: 0.104.0-rc2 Optional features supported: AUTOIT_EA06 BZIP2 LIBXML2 PCRE2 ICONV JSON Database information -------------------- Database directory: /usr/local/clamav/share/clamav WARNING: freshclam.conf and clamd.conf point to different database directories print_dbs: Can't open directory /usr/local/clamav/share/clamav Platform information -------------------- uname: Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:27 PDT 2021; root arm64 OS: Darwin, ARCH: arm64, CPU: arm64 zlib version: 1.2.11 (1.2.11), compile flags: a9 platform id: 0x04038c8c0800000000040201 Build information ----------------- Clang: Apple LLVM 12.0.5 (clang-1205.0.22.11) (4.2.1) sizeof(void*) = 8 Engine flevel: 140, dconf: 140 I am concerned about the database location message. This is on 11.5.2 on an M1. Thanks! -Vaughn -- Vaughn A. Hart General Manager Aegis IT, LLC 646-284-4291 [email protected]<mailto:[email protected]> https://www.linkedin.com/in/vahart
_______________________________________________ clamav-users mailing list [email protected] https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
