<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Yes, you want to keep my modified version. There's a lacking in the
clamd configuration in apparmor that needs extending to work with
ZendTo, or else it won't be able to scan any files in
/var/zendto/incoming.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 18/10/2021 13:44, HILLENBRAND Marita
via ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!14140078e2c6a5ad902e36f5b27625e8d69bfafa8cf445f116ddfbdc75e19fbe8e498e21452f873e015a7d14ca618b97!@mx.jul.es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}@font-face
{font-family:"MS PGothic";
panose-1:2 11 6 0 7 2 5 8 2 4;}@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}@font-face
{font-family:"\@MS PGothic";
panose-1:2 11 6 0 7 2 5 8 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-language:JA;}span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:Consolas;
mso-fareast-language:EN-US;}p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"MS PGothic",sans-serif;
mso-fareast-language:JA;}span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";
mso-fareast-language:JA;}p.HTMLPreformatted, li.HTMLPreformatted, div.HTMLPreformatted
{mso-style-name:"HTML Preformatted";
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Dear all, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I retried the
update of our</span><span style="color:#1F497D"> Ubuntu
18.04.5 LTS and at one point there was this message (sorry,
it’s a french version) :</span><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">….<o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="color:#1F497D">Fichier de
configuration « /etc/apparmor.d/usr.sbin.clamd »<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">==>
Modifié (par vous ou par un script) depuis l'installation.<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">==> Le
distributeur du paquet a fourni une version mise à jour.<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D"> Que
voulez-vous faire ? Vos options sont les suivantes :<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D"> Y ou I
: installer la version du responsable du paquet<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D"> N ou O
: garder votre version actuellement installée<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D"> D
: afficher les différences entre les versions<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D"> Z
: suspendre ce processus pour examiner la situation<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">L'action par
défaut garde votre version actuelle.<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">***
usr.sbin.clamd (Y/I/N/O/D/Z) [défaut=N] ?<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">This time, I
said « Y » and now clamav works fine after the update.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The only thing
that I didn’t get right, was the update of the version of
clamav :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span style="color:#1F497D">root@sv-ctm-zendto:/home/zendto#
freshclam<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">WARNING:
Ignoring deprecated option SafeBrowsing at
/etc/clamav/freshclam.conf:22<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">Mon Oct 18
14:33:03 2021 -> ClamAV update process started at Mon
Oct 18 14:33:03 2021<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">Mon Oct 18
14:33:03 2021 </span>
</i><i><span style="color:red">-> ^Your ClamAV installation
is OUTDATED!<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">Mon Oct 18
14:33:03 2021 -> ^Local version: 0.103.2 Recommended
version: 0.103.3<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">Mon Oct 18
14:33:03 2021 -> DON'T PANIC! Read
<a class="moz-txt-link-freetext" href="https://www.clamav.net/documents/upgrading-clamav">https://www.clamav.net/documents/upgrading-clamav</a><o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">Mon Oct 18
14:33:03 2021 -> daily.cld database is up-to-date
(version: 26326, sigs: 1938868, f-level: 90, builder:
raynman)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">Mon Oct 18
14:33:03 2021 -> main.cld database is up-to-date
(version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="color:#1F497D">Mon Oct 18
14:33:03 2021 -> bytecode.cld database is up-to-date
(version: 333, sigs: 92, f-level: 63, builder: awillia2)<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I had a look on
there website, but that didn’t help me much. I guess I’ll
wait and see.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Best regards, <o:p></o:p></span></p>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:105%;background:white"><b><span
style="font-size:9.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B">Marita
HILLENBRAND</span></b><span
style="font-family:"Verdana",sans-serif;color:#4F758B"><br>
</span><span
style="font-size:8.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B">Service
Informatique</span><span
style="font-family:"Verdana",sans-serif;color:#4F758B"><o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:105%;background:white"><b><span
style="font-size:7.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B;mso-fareast-language:FR">Centre
Administratif et Technique</span></b><span
style="font-size:7.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B;mso-fareast-language:FR"><br>
130, avenue Charles de Gaulle - 91230 Montgeron<br>
Tél : 01 70 58 93 40 Port : 06 24 04 43 58</span><span
style="font-size:7.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B"><br>
<a href="https://www.montgeron.fr/" moz-do-not-send="true"><span
style="color:#0563C1">www.montgeron.fr</span></a></span><span
style="font-size:7.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B"><br>
</span><span
style="font-family:"Verdana",sans-serif;color:#4F758B"><br>
</span><span
style="font-size:7.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B;mso-fareast-language:FR"><img
style="width:1.3333in;height:.8229in" id="_x0000_i1026"
src="cid:part1.B7iQXm0V.o40opiL3@Zend.To" class=""
width="128" height="79" border="0"></span><span
style="font-size:7.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B"><o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:8.0pt;line-height:105%"><i><span
style="font-size:7.0pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B">Participez,
vous aussi, à la protection de l'environnement en
n'imprimant ce courriel que si nécessaire.</span></i><i><span
style="font-size:7.0pt;line-height:105%;font-family:"Verdana",sans-serif;color:#3B5868"><br>
</span></i><i><span
style="font-size:7.0pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B">Le
présent courriel peut contenir des renseignements
confidentiels et ne s’adresse qu’au(x) destinataire(s)
indiqué(s) ci-dessus. Si ce courriel vous est parvenu
par erreur, veuillez le supprimer et nous en aviser
aussitôt. Merci.</span></i><span
style="font-size:12.0pt;line-height:105%;font-family:"Times
New
Roman",serif;color:#1F497D;mso-fareast-language:FR"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="mso-fareast-language:FR">De :</span></b><span
style="mso-fareast-language:FR"> ZendTo
<a class="moz-txt-link-rfc2396E" href="mailto:zendto-bounces@zend.to"><zendto-bounces@zend.to></a>
<b>De la part de</b> HILLENBRAND Marita via ZendTo<br>
<b>Envoyé :</b> lundi 18 octobre 2021 12:20<br>
<b>À :</b> ZendTo Users <a class="moz-txt-link-rfc2396E" href="mailto:zendto@zend.to"><zendto@zend.to></a><br>
<b>Cc :</b> HILLENBRAND Marita
<a class="moz-txt-link-rfc2396E" href="mailto:m.hillenbrand@montgeron.fr"><m.hillenbrand@montgeron.fr></a><br>
<b>Objet :</b> Re: [ZendTo] ClamAV error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Dear all, </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I have also the
problem, I updated our Ubuntu 18.04.5 LTS (en root) with
the commands below and got the upload error “The attempt to
virus-scan your drop-off failed. Please notify the system
administrator.”</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">apt update</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">apt upgrade
zendto</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"># systemctl
status clamav-daemon</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">●</span><span
style="color:#1F497D"> clamav-daemon.service - Clam
AntiVirus userspace daemon</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> Loaded:
loaded (/lib/systemd/system/clamav-daemon.service; enabled;
vendor preset: enabled)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> Drop-In:
/etc/systemd/system/clamav-daemon.service.d</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><span
style="color:#1F497D" lang="EN-US">└─</span><span
style="color:#1F497D">extend.conf</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> Active</span><span
style="color:red">: failed
</span><span style="color:#1F497D">(Result: exit-code) since
Mon 2021-10-18 11:32:57 CEST; 28min ago</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> Docs:
man:clamd(8)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">
man:clamd.conf(5)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> <a
href="https://www.clamav.net/documents/"
moz-do-not-send="true" class="moz-txt-link-freetext">
https://www.clamav.net/documents/</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Main PID: 11391
(code=exited, status=1/FAILURE)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">oct. 18
11:32:56 sv-ctm-zendto systemd[1]: Stopped Clam AntiVirus
userspace daemon.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">oct. 18
11:32:56 sv-ctm-zendto systemd[1]: Starting Clam AntiVirus
userspace daemon...</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">oct. 18
11:32:56 sv-ctm-zendto systemd[1]: Started Clam AntiVirus
userspace daemon.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">oct. 18
11:32:57 sv-ctm-zendto clamd[11391]: ERROR: lchown to user
'clamav' failed on</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">oct. 18
11:32:57 sv-ctm-zendto clamd[11391]: log file
'/var/log/clamav/clamav.log'.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">oct. 18
11:32:57 sv-ctm-zendto clamd[11391]: Error was 'Operation
not permitted'</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">oct. 18
11:32:57 sv-ctm-zendto clamd[11391]: Mon Oct 18 11:32:57
2021 -> ^lchown to user 'clamav' failed on log file
'/var/log/clamav/clamav.log'. Erro</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">oct. 18
11:32:57 sv-ctm-zendto systemd[1]: clamav-daemon.service:
Main process exited, code=exited, status=1/FAILURE</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">oct. 18
11:32:57 sv-ctm-zendto systemd[1]: clamav-daemon.service:
Failed with result 'exit-code'.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I got back to
the old version for now, but I suspect, I need to update the
system to make the let’s encrypt certificate function.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Best regards, </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:105%;background:white"><b><span
style="font-size:9.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B">Marita
HILLENBRAND</span></b><span
style="font-family:"Verdana",sans-serif;color:#4F758B"><br>
</span><span
style="font-size:8.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B">Service
Informatique</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:105%;background:white"><b><span
style="font-size:7.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B;mso-fareast-language:FR">Centre
Administratif et Technique</span></b><span
style="font-size:7.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B;mso-fareast-language:FR"><br>
130, avenue Charles de Gaulle - 91230 Montgeron<br>
Tél : 01 70 58 93 40 Port : 06 24 04 43 58</span><span
style="font-size:7.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B"><br>
<a href="https://www.montgeron.fr/" moz-do-not-send="true">www.montgeron.fr</a><br>
</span><span
style="font-family:"Verdana",sans-serif;color:#4F758B"><br>
</span><span
style="font-size:7.5pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B;mso-fareast-language:FR"><img
style="width:1.3333in;height:.8229in" id="Image_x0020_5"
src="cid:part2.v07YvcBX.Ln0PBA78@Zend.To" class=""
width="128" height="79" border="0"></span><o:p></o:p></p>
<p class="MsoNormal"
style="margin-bottom:8.0pt;line-height:105%"><i><span
style="font-size:7.0pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B">Participez,
vous aussi, à la protection de l'environnement en
n'imprimant ce courriel que si nécessaire.</span></i><i><span
style="font-size:7.0pt;line-height:105%;font-family:"Verdana",sans-serif;color:#3B5868"><br>
</span></i><i><span
style="font-size:7.0pt;line-height:105%;font-family:"Verdana",sans-serif;color:#4F758B">Le
présent courriel peut contenir des renseignements
confidentiels et ne s’adresse qu’au(x) destinataire(s)
indiqué(s) ci-dessus. Si ce courriel vous est parvenu
par erreur, veuillez le supprimer et nous en aviser
aussitôt. Merci.</span></i><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="mso-fareast-language:JA">De :</span></b><span
style="mso-fareast-language:JA"> ZendTo <<a
href="mailto:zendto-bounces@zend.to"
moz-do-not-send="true" class="moz-txt-link-freetext">zendto-bounces@zend.to</a>>
<b>De la part de</b> Dean Sherwood via ZendTo<br>
<b>Envoyé :</b> lundi 18 octobre 2021 09:42<br>
<b>À :</b> <a href="mailto:zendto@zend.to"
moz-do-not-send="true" class="moz-txt-link-freetext">zendto@zend.to</a><br>
<b>Cc :</b> Dean Sherwood <<a
href="mailto:Dean@tropmedres.ac"
moz-do-not-send="true" class="moz-txt-link-freetext">Dean@tropmedres.ac</a>><br>
<b>Objet :</b> [ZendTo] ClamAV error</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Dear all</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">We updated our Ubuntu 18.04.6 LTS
server with below commands and now have the upload error
“The attempt to virus-scan your drop-off failed. Please
notify the system administrator.”</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">sudo apt update
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">sudo apt upgrade</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">--- </span>
<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Checking the clamav service we see</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">systemctl status
clamav-daemon.service</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">● clamav-daemon.service - Clam
AntiVirus userspace daemon</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> Loaded: loaded
(/lib/systemd/system/clamav-daemon.service; enabled; vendor
preset: enabled)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> Drop-In:
/etc/systemd/system/clamav-daemon.service.d</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> └─extend.conf</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> Active: failed (Result:
exit-code) since Mon 2021-09-27 11:33:58 +07; 3min 59s ago</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> Docs: man:clamd(8)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> man:clamd.conf(5)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> Process: 1323
ExecStart=/usr/sbin/clamd --foreground=true (code=exited,
status=1/FAILURE)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> Process: 1317
ExecStartPre=/bin/chown clamav /run/clamav (code=exited,
status=0/SUCCESS)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> Process: 1097
ExecStartPre=/bin/mkdir -p /run/clamav (code=exited,
status=0/SUCCESS)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Main PID: 1323 (code=exited,
status=1/FAILURE)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Sep 27 11:33:51 zend2 systemd[1]:
Starting Clam AntiVirus userspace daemon...</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Sep 27 11:33:53 zend2 systemd[1]:
Started Clam AntiVirus userspace daemon.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Sep 27 11:33:58 zend2 systemd[1]:
clamav-daemon.service: Main process exited, code=exited,
status=1/FAILURE</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Sep 27 11:33:58 zend2 clamd[1323]:
ERROR: lchown to user 'clamav' failed on</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Sep 27 11:33:58 zend2 clamd[1323]:
log file '/var/log/clamav/clamav.log'.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Sep 27 11:33:58 zend2 clamd[1323]:
Error was 'Operation not permitted'</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Sep 27 11:33:58 zend2 clamd[1323]:
Mon Sep 27 11:33:58 2021 -> ^lchown to user 'clamav'
failed on log file '/var/log/clamav/clamav.log'. Error was
'Operation not permitted'</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Sep 27 11:33:58 zend2 systemd[1]:
clamav-daemon.service: Failed with result 'exit-code'.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">--- </span>
<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Reinstalled and skipped all parts
except for “Install and configure virus scanner, including
SELinux and AppArmor support for it.”</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Become root with "su -" if using
CentOS, RedHat, Debian or SuSE, or "sudo su -" if using
Ubuntu.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Download the installer:
<br>
curl -O zend.to path</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Unpack it and cd into it:
<br>
tar xzf install.ZendTo.tgz <br>
cd install.ZendTo</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Run the installer:
<br>
./install.sh</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">=================================================================</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Install and configure ClamAV</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">=================================================================</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Installing ClamAV packages</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Reading package lists... Done</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Building dependency tree</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Reading state information... Done</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">clamav is already the newest version
(0.103.2+dfsg-0ubuntu0.18.04.2).</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">clamav-daemon is already the newest
version (0.103.2+dfsg-0ubuntu0.18.04.2).</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">0 upgraded, 0 newly installed, 0 to
remove and 0 not upgraded.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Making clamd notice new signatures
much faster</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Stop freshclam daemon so we can
update signatures</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Updating signatures</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">1. Ignore errors about not being
able to notify clamd</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">2. Expect a delay after downloading
main.cvd</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">3. Expect a long delay after
downloading daily.cvd</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">WARNING: Ignoring deprecated option
SafeBrowsing at /etc/clamav/freshclam.conf:22</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Mon Sep 27 11:32:42 2021 ->
ClamAV update process started at Mon Sep 27 11:32:42 2021</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Mon Sep 27 11:32:42 2021 -> ^Your
ClamAV installation is OUTDATED!</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Mon Sep 27 11:32:42 2021 ->
^Local version: 0.103.2 Recommended version: 0.103.3</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Mon Sep 27 11:32:42 2021 -> DON'T
PANIC! Read
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Mon Sep 27 11:32:42 2021 ->
daily.cld database is up-to-date (version: 26304, sigs:
1936445, f-level: 90, builder: raynman)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Mon Sep 27 11:32:42 2021 ->
main.cld database is up-to-date (version: 62, sigs: 6647427,
f-level: 90, builder: sigmgr)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Mon Sep 27 11:32:42 2021 ->
bytecode.cld database is up-to-date (version: 333, sigs: 92,
f-level: 63, builder: awillia2)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Allowing ClamAV to read Apache files</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Allowing ClamAV through AppArmor to
read ZendTo uploads</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">No need, already done.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Ubuntu 18: may need to work around a
bug in the clamd AppArmor profile</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Good, they have fixed it. No change
needed</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">* Unloading AppArmor
profiles
[
OK ]</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">[ ok ] Starting apparmor (via
systemctl): apparmor.service.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">[ ok ] Reloading apparmor
configuration (via systemctl): apparmor.service.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">I am going to have to override the
systemd definition for</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">apache2 so it starts up with
PrivateTmp=false.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">I am creating
/etc/systemd/system/apache2.service.d/PrivateTmp_zendto.conf</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">And tell systemd about the change</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Starting ClamAV and freshclam
daemons</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">ClamAV has been setup for you to
work with ZendTo.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">--- </span>
<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">However we still have the upload
error “The attempt to virus-scan your drop-off failed.
Please notify the system administrator.”</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Best regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB">Dean</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New"" lang="EN-GB"> </span><o:p></o:p></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'The AI does not hate you, nor does it love you, but you are made
out of atoms which it can use for something else.' - Eliezer Yudkowsky
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>