🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Edmund Lodewijks Wed, 02 Dec 2026 13:20
Bug#989002: freshclam: apparmor denial: operation="capable" capability=2 capname="dac_read_search"
#7155
Author: Edmund Lodewijks
Date: Wed, 02 Dec 2026 13:20
40 lines
3944 bytes
On Thu, 01 Jul 2021 07:58:02 +0800 Paul Wise <pabs@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@proteamail.com>
TZ: UTC+2 / GMT+2
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads