Bug 2424355 - SELinux is preventing /usr/bin/freshclam from 'entrypoint' accesses on the file /usr/bin/freshclam. [NEEDINFO]
Summary: SELinux is preventing /usr/bin/freshclam from 'entrypoint' accesses on the fi...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3c992256e5cdc4fcfeca7ebf643...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-22 18:51 UTC by Mr Beedell, Roke Julian Lockhart
Modified: 2025-12-23 17:08 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
8ru2u4gz: needinfo? (extras-qa)


Attachments (Terms of Use)
File: description (3.01 KB, text/plain)
2025-12-22 18:51 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details
File: os_info (712 bytes, text/plain)
2025-12-22 18:51 UTC, Mr Beedell, Roke Julian Lockhart
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2421016 0 unspecified CLOSED SELinux is preventing /usr/lib/systemd/systemd-executor from 'entrypoint' accesses on the file /usr/bin/dnf5. 2026-02-12 15:00:24 UTC
Red Hat Bugzilla 2424355 0 unspecified NEW SELinux is preventing /usr/bin/freshclam from 'entrypoint' accesses on the file /usr/bin/freshclam. 2025-12-23 17:08:52 UTC

Internal Links: 2424354 2424355 2424625

Description Mr Beedell, Roke Julian Lockhart 2025-12-22 18:51:26 UTC
Description of problem:
I invoked `run0 freshclam`, for the reasons stipulated in https://bugzilla.redhat.com/show_bug.cgi?id=2424354#c0.
SELinux is preventing /usr/bin/freshclam from 'entrypoint' accesses on the file /usr/bin/freshclam.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that freshclam should be allowed entrypoint access on the freshclam file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'freshclam' --raw | audit2allow -M my-freshclam
# semodule -X 300 -i my-freshclam.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-
                              s0:c0.c1023
Target Context                system_u:object_r:antivirus_exec_t:s0
Target Objects                /usr/bin/freshclam [ file ]
Source                        freshclam
Source Path                   /usr/bin/freshclam
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           clamav-freshclam-1.4.3-3.fc43.x86_64
Target RPM Packages           clamav-freshclam-1.4.3-3.fc43.x86_64
SELinux Policy RPM            selinux-policy-targeted-42.19-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.19-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.17.12-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sat Dec 13 05:06:24 UTC 2025
                              x86_64
Alert Count                   1
First Seen                    2025-12-22 18:33:54 GMT
Last Seen                     2025-12-22 18:33:54 GMT
Local ID                      b8621abd-8737-4c14-9339-496e79fcfebc

Raw Audit Messages
type=AVC msg=audit(1766428434.913:524): avc:  denied  { entrypoint } for  pid=47332 comm="(reshclam)" path="/usr/bin/freshclam" dev="nvme0n1p4" ino=13284498 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:antivirus_exec_t:s0 tclass=file permissive=1


type=SYSCALL msg=audit(1766428434.913:524): arch=x86_64 syscall=execve success=yes exit=0 a0=55e4132326b0 a1=55e413231f20 a2=55e41324cff0 a3=0 items=2 ppid=1 pid=47332 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 ses=5 comm=freshclam exe=/usr/bin/freshclam subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)

type=CWD msg=audit(1766428434.913:524): cwd=/home/RokeJulianLockhart

type=PATH msg=audit(1766428434.913:524): item=0 name=/usr/bin/freshclam inode=13284498 dev=00:22 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:antivirus_exec_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0

type=PATH msg=audit(1766428434.913:524): item=1 name=/lib64/ld-linux-x86-64.so.2 inode=12899313 dev=00:22 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:ld_so_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0

Hash: freshclam,unconfined_t,antivirus_exec_t,file,entrypoint

Version-Release number of selected component:
selinux-policy-targeted-42.19-1.fc43.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing /usr/bin/freshclam from 'entrypoint' accesses on the file /usr/bin/freshclam.
package:        selinux-policy-targeted-42.19-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.17.12-300.fc43.x86_64
event_log:      2025-12-22-18:34:03> Looking for similar problems in bugzilla
comment:        I invoked `run0 freshclam`, for the reasons stipulated in https://bugzilla.redhat.com/show_bug.cgi?id=2424354#c0.
component:      selinux-policy

Comment 1 Mr Beedell, Roke Julian Lockhart 2025-12-22 18:51:28 UTC
Created attachment 2119690 [details]
File: description

Comment 2 Mr Beedell, Roke Julian Lockhart 2025-12-22 18:51:30 UTC
Created attachment 2119691 [details]
File: os_info

Comment 3 Mr Beedell, Roke Julian Lockhart 2025-12-23 17:08:52 UTC
Relates to https://bugzilla.redhat.com/show_bug.cgi?id=2421016#c0. Per https://bugzilla.redhat.com/show_bug.cgi?id=2421016#c4, is this a duplicate?


Note You need to log in before you can comment on or make changes to this bug.