Fedora Account System
Red Hat Associate
Red Hat Customer
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
Created attachment 2119690 [details] File: description
Created attachment 2119691 [details] File: os_info
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?