On 2024-07-22 02:37, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: Tumbleweed - error enabling freshclam? Message-ID : <20240721182038.6e8c7bd0@acer-suse.fritz.box> Date & Time: Sun, 21 Jul 2024 18:20:38 +0100
[DH] == Dave Howorth <dave@howorth.org.uk> has written:
DH> On Sun, 21 Jul 2024 20:42:45 +0900 DH> Masaru Nomiya <nomiya@lake.dti.ne.jp> wrote:
MN> > The correct procedure is as follows;
MN> > 1. $ systemctl enable freshclam.timer
MN> > 2. $ systemctl start freshclam.timer
MN> > 3. $ systemctl start freshclam.service
MN> > 4. $ systemctl enable clamd.service
MN> > 5. $ sudo clamd
DH> If you need sudo to run clamd, don't you also need sudo to run DH> systemctl (except for systemctl status ) ?
My Bad!
In the Message;
Subject : Re: Tumbleweed - error enabling freshclam? Message-ID : <049bc92b-c4d0-4f92-9d46-2e6a127e6a6e@telefonica.net> Date & Time: Sun, 21 Jul 2024 19:50:52 +0200
[CER] == "Carlos E. R." <robin.listas@telefonica.net> has written:
[...] CER> In this case, freshclam in Leap doesn't have a timer, so the CER> instructions in the wiki are appropriate for Leap. TW is subject CER> to quick changes, so somebody apparently decided to use a timer CER> instead.
CER> Telcontar:~ # systemctl status freshclam.timer CER> Unit freshclam.timer could not be found. CER> Telcontar:~ #
CER> Somebody changed the instructions, and now talks of a timer, CER> which is incorrect for Leap 15.5 at least. [...]
I don't know what you are talking about, but leap15.6 has a freshclam.timer.
Leap 15.5 doesn't. Telcontar:~ # locate freshclam.timer Telcontar:~ # cat /etc/os-release NAME="openSUSE Leap" VERSION="15.5" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.5" PRETTY_NAME="openSUSE Leap 15.5"
To be precise, freshclam.timer was added as a customization by openSUSE after clamav 1.0.0, and is not present in upstream.
I guess leap 15.5 was provided with pre-1.0.0 clamav.
Telcontar:~ # rpm -q clamav clamav-0.103.11-150000.3.50.1.x86_64 Telcontar:~ #
Needless to say, David is talking about Tumbleweed.
Yes. But the instructions on the wiki were for the previous version. This change also means that the settings in: /etc/freshclam.conf may not apply. Specifically I am thinking of: # Number of database checks per day. # Default: 12 (every two hours) Checks 4 I don't see advantage of changing upstream defaults. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)