[ZendTo] Debian Buster, apparmor and clamd

Kevin Miller kevin.miller at juneau.org
Tue Dec 31 19:46:17 GMT 2019


Thanks.  So I just say yes on 3 and no on everything else?

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357

From: ZendTo <zendto-bounces at zend.to> On Behalf Of Jules via ZendTo
Sent: Tuesday, December 31, 2019 2:11 AM
To: ZendTo Users <zendto at zend.to>
Cc: Jules <Jules at Zend.To>; Kevin Miller <kevin.miller at juneau.org>
Subject: Re: [ZendTo] Debian Buster, apparmor and clamd

EXTERNAL E-MAIL: BE CAUTIOUS WHEN OPENING FILES OR FOLLOWING LINKS
________________________________
Kevin,

Try downloading the latest installer and just run stage 3 of the Ubuntu-Debian scripts.
This should now get this right.

Cheers,
Jules.
On 30/12/2019 5:45 pm, Kevin Miller via ZendTo wrote:
I haven’t gotten back to playing around with this (just turned apparmor off for now) but one thing I did discover is that the “#” in front of include statements doesn’t turn it into a comment.  See https://gitlab.com/apparmor/apparmor/-/wikis/QuickProfileLanguage
Kind of goofy that they did it that way, but it is what it is I suppose.


...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357

From: ZendTo <zendto-bounces at zend.to><mailto:zendto-bounces at zend.to> On Behalf Of Matthieu Froment via ZendTo
Sent: Sunday, December 29, 2019 6:51 AM
To: zendto at zend.to<mailto:zendto at zend.to>
Cc: Matthieu Froment <thieume at mailoo.org><mailto:thieume at mailoo.org>
Subject: [ZendTo] Debian Buster, apparmor and clamd

EXTERNAL E-MAIL: BE CAUTIOUS WHEN OPENING FILES OR FOLLOWING LINKS
________________________________

Dear all,

I have freshly subscribed to this mailing list and I am a really newbie with Zendto. I live in France and I am not totally new with Linux.

I have installed an instance of Zendto on a Debian Buster server and I have the same problem as Kevin (recently answered by Jules) :

> AVC apparmor="DENIED" operation="getattr" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/clamd" name="var/zendto/incoming/phpW7ZXiQ" pid=469 comm="clamd" requested_mask="r" denied_mask="r" fsuid=107 ouid=33
> clamd[469]: Sun Dec 29 16:18:16 2019 -> fd[10]: Not a regular file. ERROR

- I have tried to purge the apparmor cache as requested but without any success.
- The upload works fine if I put in my preferences.php file the line : '/usr/bin/clamscan --s'
- I have checked that in my '/etc/apparmor.d/usr.sbin.clamd' file the 'include <local/usr.sbin.clamd>' is not commented (I had to remove the #).
- In /etc/apparmor.d/local/usr.sbin.clamd, I have the entry : '/var/zendto/** r,' which seems to be correct.

I'm stuck. Any idea where I can look for ?

Many thanks
Matthieu



_______________________________________________

ZendTo mailing list

ZendTo at zend.to<mailto:ZendTo at zend.to>

http://jul.es/mailman/listinfo/zendto



Jules



--

Julian Field MEng CEng CITP MBCS MIEEE MACM



The current UK shipping forecast:

Irish Sea: Southwest 4 or 5, becoming cyclonic 6 to gale 8, then north 4 to 6.

Slight or moderate, occasionally rough in south. Rain. Good, occasionally

poor.



www.Zend.To<http://www.Zend.To>

Twitter: @JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20191231/58211a7f/attachment-0001.html>


More information about the ZendTo mailing list