Hello Bit!
Post by Bit TwisterOk, finally have the clamav package installed. Had to use the command line.
Looking in /usr/lib/systemd/system/clamav-daemon.service shows you
what systemd has to do to get a service to run. If it needs other
services/sockets/... and when the service needs to run/start.
Requires=clamav-daemon.socket indicates that socket needs to be
enabled and working.
And this section
[Install]
WantedBy=multi-user.target
Also=clamav-daemon.socket
indicates that clamav-daemon service is to be started after the
network is up and clamav-daemon.socket is active.
After pkg install I did a
# systemctl --system daemon-reload
get the list of clamav units
$ systemctl list-unit-files | grep clamav
clamav-daemon.service disabled
clamav-freshclam.service disabled
clamav-daemon.socket disabled
Just down this (but with the clamav-daemon stopped) :
ystemctl list-unit-files | grep clam
clamav-daemon.service disabled
clamav-freshclam.service enabled
clamav-daemon.socket disabled
It looks like to problem was always the fact that socket was not enabled ?
Also it is not on the list of daemon services shown in the MCC, system,
manage services.
Where is the list from which this facility takes its data (services) as
clearly not using your systemctl list-unit-files
Could this be a bug in the Mga v7 build ?
When I do a systemctl list-unit-files | grep disabled I get :
proc-sys-fs-binfmt_misc.mount disabled
accounts-daemon.service disabled
acpid.service disabled
arp-ethers.service disabled
atop.service disabled
atopacct.service disabled
blk-availability.service disabled
bluetooth.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
chrony-wait.service disabled
clamav-daemon.service disabled
console-getty.service disabled
cpupower.service disabled
cups-browsed.service disabled
debug-shell.service disabled
fedora-domainname.service disabled
firebird-superserver.service disabled
ip6tables.service disabled
ipset.service disabled
iptables.service disabled
multipathd.service disabled
nmb.service disabled
ntp-wait.service disabled
ntpdate.service disabled
powerline.service disabled
serial-***@.service disabled
shorewall.service disabled
shorewall6.service disabled
smb.service disabled
systemd-boot-check-no-failures.service disabled
systemd-journal-upload.service disabled
systemd-networkd-wait-online.service disabled
systemd-networkd.service disabled
systemd-***@.service disabled
systemd-resolved.service disabled
systemd-time-wait-sync.service disabled
vnstat.service disabled
winbind.service disabled
xdm.service disabled
clamav-daemon.socket disabled
cups-lpd.socket disabled
dm-event.socket disabled
multipathd.socket disabled
rsyncd.socket disabled
systemd-journal-gatewayd.socket disabled
systemd-journal-remote.socket disabled
systemd-networkd.socket disabled
ctrl-alt-del.target disabled
exit.target disabled
halt.target disabled
kexec.target disabled
machines.target disabled
poweroff.target disabled
reboot.target disabled
remote-cryptsetup.target disabled
runlevel0.target disabled
runlevel6.target disabled
atop-rotate.timer disabled
chrony-***@.timer disabled
fstrim.timer disabled
man-db.timer disabled
xfs_scrub_all.timer disabled
So the socket is not enabled but I would be assuming that is the fix to my
problem - or is it ?
Post by Bit TwisterEnabled each
systemctl enable clamav-daemon.service
systemctl enable clamav-freshclam.service
systemctl enable clamav-daemon.socket
started each
systemctl start clamav-daemon.socket
systemctl start clamav-freshclam.service
systemctl start clamav-daemon.service
systemctl status on each shows all active and no problems.
systemctl status clamav-daemon.service
shows man:clamd.conf so I located clamd.conf, saw the log file
location, and cat /var/log/clamav/clamd.log had no problems.
What that tells me is that clamd.conf was read by the clamav-daemon.
What would be nice is for you to provide a diff result of
your /etc/clamd.conf and the original to see what you changed.
Vincent