Bug 2136977

Summary: no necessary dependencies for clamav-milter
Product: [Fedora] Fedora EPEL Reporter: f1outsourcing <info>
Component: clamavAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: anon.amish, bennie.joubert, gbcox, hanspeter.gosteli, janfrode, j, lee.jnk, ondrejj, orion, pgnet.dev, redhat-bugzilla, rh-bugzilla, sergio, steve
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: clamav-0.103.7-4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 02:49:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description f1outsourcing 2022-10-22 08:15:50 UTC
I just need clamav-milter to send to a remote container, so why do I need 215MB of data??? I just need 1MB to create a socket and send the requests to clamd


Packages Altered:
    Install clamav-data-0.103.7-1.el9.noarch       @CentOS9_64-epel
    Install clamav-filesystem-0.103.7-1.el9.noarch @CentOS9_64-epel
    Install clamav-lib-0.103.7-1.el9.x86_64        @CentOS9_64-epel
    Install clamav-milter-0.103.7-1.el9.x86_64     @CentOS9_64-epel
    Install libprelude-5.2.0-9.el9.x86_64          @CentOS9_64-epel
    Install sendmail-milter-8.16.1-10.el9.x86_64   @crb

[@~]# yum history info 24
Transaction ID : 24
Begin time     : Sat 22 Oct 2022 12:17:11 AM CEST
Begin rpmdb    : 94e7629fe877f1bdd583ae7bddee4c4dd411544c6ae28f848c84271761407242
End time       : Sat 22 Oct 2022 12:17:20 AM CEST (9 seconds)
End rpmdb      : b5d8342a85c86e13b58688f98de8b9b948b18b045585125b5936c1a2f4a40d85
User           : root <root>
Return-Code    : Success
Releasever     : 9
Command Line   : install clamav-milter
Comment        :
Packages Altered:
    Install clamav-data-0.103.7-1.el9.noarch       @CentOS9_64-epel
    Install clamav-filesystem-0.103.7-1.el9.noarch @CentOS9_64-epel
    Install clamav-lib-0.103.7-1.el9.x86_64        @CentOS9_64-epel
    Install clamav-milter-0.103.7-1.el9.x86_64     @CentOS9_64-epel
    Install libprelude-5.2.0-9.el9.x86_64          @CentOS9_64-epel
    Install sendmail-milter-8.16.1-10.el9.x86_64   @crb

Comment 1 Orion Poplawski 2022-10-23 00:11:33 UTC
You could do this instead:

sudo dnf install clamav-milter clamav-update

Installing:
 clamav-milter           x86_64       0.103.7-1.el9         epel        62 k
 clamav-update           x86_64       0.103.7-1.el9         epel        94 k
Installing dependencies:
 clamav-filesystem       noarch       0.103.7-1.el9         epel        19 k
 clamav-lib              x86_64       0.103.7-1.el9         epel       821 k
 libprelude              x86_64       5.2.0-9.el9           epel       330 k
 sendmail-milter         x86_64       8.16.1-10.el9         crb         41 k

It is unfortunate that clamav-data gets pulled in over clamav-update.  Not sure if it makes sense to drop the data(clamav) requires from clamav-lib or not.

Are you running clamav itself on another server?

Comment 2 Sergio Basto 2022-10-23 03:22:47 UTC
(In reply to Orion Poplawski from comment #1)
> You could do this instead:
> 
> sudo dnf install clamav-milter clamav-update
> 
> Installing:
>  clamav-milter           x86_64       0.103.7-1.el9         epel        62 k
>  clamav-update           x86_64       0.103.7-1.el9         epel        94 k
> Installing dependencies:
>  clamav-filesystem       noarch       0.103.7-1.el9         epel        19 k
>  clamav-lib              x86_64       0.103.7-1.el9         epel       821 k
>  libprelude              x86_64       5.2.0-9.el9           epel       330 k
>  sendmail-milter         x86_64       8.16.1-10.el9         crb         41 k
> 
> It is unfortunate that clamav-data gets pulled in over clamav-update.  Not
> sure if it makes sense to drop the data(clamav) requires from clamav-lib or
> not.
> 
> Are you running clamav itself on another server?

so is only clamd [1] that requires data(clamav) ? 

[1]
rpm -qf /usr/sbin/clamd
clamd-0.103.7-1.fc35.x86_64

Comment 3 Sergio Basto 2022-10-23 03:35:24 UTC
so is "only" clamd [1] and clamav [2] that requires data(clamav) ? 

while clamdscan (clamav package [2]) can run without clamd, also needs data(clamav)  

[2]
rpm -qf /usr/bin/clamdscan 
clamav-0.103.7-1.fc35.x86_64

Comment 4 f1outsourcing 2022-10-24 13:23:37 UTC
Are you asking me?

(In reply to Orion Poplawski from comment #1)
> You could do this instead:
> 
> sudo dnf install clamav-milter clamav-update
> 
> Installing:
>  clamav-milter           x86_64       0.103.7-1.el9         epel        62 k
>  clamav-update           x86_64       0.103.7-1.el9         epel        94 k
> Installing dependencies:
>  clamav-filesystem       noarch       0.103.7-1.el9         epel        19 k
>  clamav-lib              x86_64       0.103.7-1.el9         epel       821 k
>  libprelude              x86_64       5.2.0-9.el9           epel       330 k
>  sendmail-milter         x86_64       8.16.1-10.el9         crb         41 k
> 
> It is unfortunate that clamav-data gets pulled in over clamav-update.  Not
> sure if it makes sense to drop the data(clamav) requires from clamav-lib or
> not.
> 
> Are you running clamav itself on another server?

I just did a clamav-milter install. clamd is indeed running separately somewhere else ( remote container in original post)

Comment 5 Sergio Basto 2022-11-01 01:06:31 UTC
(In reply to f1outsourcing from comment #4)
> Are you asking me?

Sorry I just saw your reply today  

No :) , I'm asking to the developers CC on this bug report .

If no one responds, will I change the package to just only clamd and clamav requires the data(clamav)

Comment 6 Fedora Update System 2022-11-07 12:17:40 UTC
FEDORA-EPEL-2022-cbdcfc18d6 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-cbdcfc18d6

Comment 7 Fedora Update System 2022-11-07 21:42:34 UTC
FEDORA-EPEL-2022-cbdcfc18d6 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-cbdcfc18d6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2022-11-15 02:49:14 UTC
FEDORA-EPEL-2022-cbdcfc18d6 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.