Dear Maintainer, On a recently installed Sid system I tried to set-up AIDE using aideinit. This failed with the following error messages: ERROR: /etc/aide/aide.conf.d/21_aide_spamassassin: stderr> /etc/aide/aide.conf.d/21_aide_spamassassin: line 13: printf: 4.0.0~rc3-3.1: invalid number ERROR: /etc/aide/aide.conf.d/21_aide_spamassassin: stderr> /etc/aide/aide.conf.d/21_aide_spamassassin: line 13: printf: 4.0.0~rc3-3.1: invalid number ERROR: /etc/aide/aide.conf.d/21_aide_spamassassin: stderr> /etc/aide/aide.conf.d/21_aide_spamassassin: line 13: printf: 4.0.0~rc3-3.1: invalid number ERROR: /etc/aide/aide.conf.d/21_aide_spamassassin: execution failed (exit status: 1) The problem is that the current version number 4.0.0~rc3-3.1 does not match the expected schema of N.N.N-N. As only the first 3 numbers are used anyway, I've created a patch (attached) making the regular expression less rigid by ignoring everything after those 3 numbers. This works for me. Best regards, Thomas
Isn't this an AIDE issue that should be fixed in that package? The spamassassin version complies with Debian's package version numbering expectations. noah
On Tue, 18 Oct 2022 07:33:47 -0700 Noah Meyerhans <noahm@debian.org> wrote: Ooops, you're right, the file /usr/share/aide/config/aide/aide.conf.d/21_aide_spamassassin belongs to aide-common. Could you forward this or should I create a new report? Best regards, Thomas PS: I just noticed that my first reply got lost - at least it does not appear on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021978
Control: reassign -1 aide Control: retitle -1 aide's spamassassin script does not correctly handle spamassassin prerelease version strings Reassinged to aide. noah
The current version of the rule does things differently. Can you verify whether the current version in sid works for you as well? Thanks! Greetings Marc
Sorry Marc, I switched my systems to Bullseye a few months ago and no longer have a Sid to test with. Best regards, Thomas
Ooops, I meant Bookworm! Best regards, Thomas