[Pkg-clamav-devel] Bug#989002: freshclam: apparmor denial: operation="capable" capability=2 capname="dac_read_search"
Edmund Lodewijks
edmund at proteamail.com
Wed Dec 2 13:10:02 GMT 2026
On Thu, 01 Jul 2021 07:58:02 +0800 Paul Wise <pabs at debian.org> wrote:
> On Wed, 2021-06-30 at 21:51 +0200, Sebastian Andrzej Siewior wrote:
>
> > You still see it I guess?
>
> I just tried it now. The first time I restarted freshclam it happened,
> but the second time and third times it did not happen but then the
> fourth time it did happen. Then I did a shell loop restarting 4 times
> with 0.5s sleep in between and it happened 3 out of 4 times. Then I did
> it 4 times again with 1s sleep in between and it happened 0 times. Then
> I did it with 4 times again with 0.1s sleep and it happened only once.
> Repeating the 0.5s restarts a bit later I got it 0 times.
>
> So I'm guessing it is caused by some kind of race condition.
>
> > Based on your log you run systemd
>
> Correct.
Hi!
I just wanted to find out if this is still happening?
I tried to replicate this myself, with 1.4.7+dfsg-1~deb13u2, and
apparmor enabled plus the freshclam profile in enforce mode. I am not
seeing any warnings when I run:
for i in $(seq 1 50); do
sudo systemctl reset-failed clamav-freshclam.service 2>/dev/null;
sudo systemctl restart clamav-freshclam;
sleep 0.3; done
Am I doing something very different from what you do / did?
I notice that there haven't been any changes to the freshclam apparmor
profile since before this bug report.
--
Edmund Lodewijks <edmund at proteamail.com>
TZ: UTC+2 / GMT+2
More information about the Pkg-clamav-devel
mailing list