Article View: linux.debian.bugs.dist
Article #7155Bug#989002: freshclam: apparmor denial: operation="capable" capability=2 capname="dac_read_search"
From: Edmund Lodewijks
Date: Wed, 02 Dec 2026 13:20
Date: Wed, 02 Dec 2026 13:20
40 lines
3944 bytes
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
Technical Details
Message-ID:
<O5Spz-fy09-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<ChKjT-5B2-1@gated-at.bofh.it> <CvP0l-6s5-3@gated-at.bofh.it> <CvSrf-8e-1@gated-at.bofh.it> <CvSrf-8e-1@gated-at.bofh.it> <ChKjT-5B2-1@gated-at.bofh.it> <CvSrf-8e-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Edmund Lodewijks <edmund@proteamail.com> Newsgroups: linux.debian.bugs.dist Subject: Bug#989002: freshclam: apparmor denial: operation="capable" capability=2 capname="dac_read_search" Date: Wed, 02 Dec 2026 14:20:01 +0100 Message-ID: <O5Spz-fy09-1@gated-at.bofh.it> References: <ChKjT-5B2-1@gated-at.bofh.it> <CvP0l-6s5-3@gated-at.bofh.it> <CvSrf-8e-1@gated-at.bofh.it> <CvSrf-8e-1@gated-at.bofh.it> <ChKjT-5B2-1@gated-at.bofh.it> <CvSrf-8e-1@gated-at.bofh.it> X-Original-To: 989002@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Dec 2 13:13:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Edmund Lodewijks <edmund@proteamail.com>, 989002@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-clamav-devel@lists.alioth.debian.org X-Debian-Pr-Message: followup 989002 X-Debian-Pr-Package: clamav-freshclam X-Debian-Pr-Source: clamav X-Dkim-Filter: PhoenixDKIM Filter v1.0.0 mail.proteamail.com via nbg-mx-proteamail-1 4jfdQh6prqz2xd2 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB X-Dkim-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/60/6085ec65b1af80e57983ddcee072a3cb.pem Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006502 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 40 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 2 Dec 2026 15:10:02 +0200 X-Original-Message-ID: <5f5880cd-b4bb-4ff4-be93-1651fcd54cfc@proteamail.com> X-Original-References: <32497ca37ca7d2201b8f0e62234a6b6d73695a89.camel@debian.org> <20210630195152.old6yo4iiv3e7chf@flow> <0e8997ea20da74bfd680d6eae700c5c7c7f7406d.camel@debian.org> <0e8997ea20da74bfd680d6eae700c5c7c7f7406d.camel@debian.org> <32497ca37ca7d2201b8f0e62234a6b6d73695a89.camel@debian.org> <0e8997ea20da74bfd680d6eae700c5c7c7f7406d.camel@debian.org>