Op vrijdag 28 november 2014 12:35:05 schreef Freek de Kruijf:
Op woensdag 26 november 2014 12:08:53 schreef Freek de
I am trying to set up a mail server on my RPi and
need freshclam and
A problem seems to be that they start before ntp has properly set the date
I tried adding in the files /usr/lib/systemd/system/freshclam.service and
/usr/lib/systemd/system/clamd.service that they should run after finishing
the ntpd.service and also tried ntp-wait.service but that did not work.
When asking for the systemctl status for these services I still see log
entries with "Jan 01" as date. Only the last log line has the than current
Enabling the debug log in clamd I found that clamd takes a very long time to
start. This triggers the timeout in systemd, which allows only 90s for a
process to start. So I did put a line TimeoutStartSec=600s in the file
/usr/lib/systemd/system/clamd.service which allows more time for clamd to
finish properly. When looking at the log 270s should be enough.
At first I had the idea the problem came from the fact that freshclam and
clamd showed dates in its log at moments ntp did not set the time properly. So
still Jan 01, 1970 was shown. But this appears not to be a problem at all. So
only the long time it takes for clamd to load is the problem.
Freek de Kruijf
To unsubscribe, e-mail: opensuse-arm+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-arm+owner(a)opensuse.org