Noupdatesdetectedinthelogforthefreshclamdaemon (theClamAVupdateprocess). If the freshclam daemon is not running,youmayneedtorestartit.Otheroptions:以下省略
#============= antivirus_t ==============#!!!! This avc can be allowed using the boolean 'domain_kernel_load_modules'allowantivirus_tkernel_t:systemmodule_request;allowantivirus_tvar_log_t:filesetattr;
“domain_kernel_load_modules”の現在の設定を調べてみる。
[]$ sudo getsebool -a |grepdomaincron_userdomain_transition-->ondomain_can_mmap_files-->offdomain_can_write_kmsg-->offdomain_fd_use-->ondomain_kernel_load_modules-->offsamba_domain_controller-->offsge_domain_can_network_connect-->offvirt_transition_userdomain-->off
offになっていたのでONにする。
[]$ sudo setsebool -P domain_kernel_load_modules ON
freshclamを試しに動かしてみる
[]$ sudo systemctl restart clamav-freshclam.service[]$ sudo systemctl status clamav-freshclam.service結果省略
[]$ sudo ausearch -m AVC -c freshclam |sudoaudit2allow-a#============= antivirus_t ==============#!!!! This avc is allowed in the current policyallowantivirus_tkernel_t:systemmodule_request;allowantivirus_tvar_log_t:filesetattr;