Control: tags -1 -wontfix
thanks
On Mon, Jul 22, 2024 at 09:42:36AM +0200, Marc Haber wrote:
> I regret that bug and easily find your report plausible.
>
> This is however not going to be fixed in a stable release update. The
> next stable release will most probably contain aide 0.19, which does the
> reading of the .d directory itself. The faulty code will therefore not
> be present in the next release.
I was on the wrong path when writing this. Hannes has pointed out that
this is not fixed by aide 0.19 doing the .d directory itself, since the
bug is actually in an executable rule. I should have seen this when
reading the bug report for the same time.
I have committed a fix to git. This won't be in a stable point release
of Debian 12 though.
You may want to apply the fix locally:
--- a/debian/aide.settings.d/10_aide_sourceslist
+++ b/debian/aide.settings.d/10_aide_sourceslist
@@ -6,7 +6,7 @@ if [ -e "/etc/apt/sources.list" ]; then
fi
for file in /etc/apt/sources.list.d/*; do
- if [ -e "$file" ]; then
- SOURCESLIST="$SOURCESLIST $file"
+ if [ -f "${file}" ] || [ -L "${file}" ]; then
+ SOURCESLIST="${SOURCESLIST} ${file}"
fi
done
Greetings
Marc