Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1010717: Spamassassin config causes errors on ubuntu 22.04

181 views
Skip to first unread message

Adam Jacobs

unread,
May 8, 2022, 4:10:03 AM5/8/22
to
Package: aide
Version: 
0.17.4-2

When running AIDE on Ubuntu 22.04 with spamassassin installed I get this error:

Errors produced (4 lines):
ERROR: /etc/aide/aide.conf.d/21_aide_spamassassin: stderr> /etc/aide/aide.conf.d/21_aide_spamassassin: line 13: printf: 3.4.6-1build3: invalid number
ERROR: /etc/aide/aide.conf.d/21_aide_spamassassin: stderr> /etc/aide/aide.conf.d/21_aide_spamassassin: line 13: printf: 3.4.6-1build3: invalid number
ERROR: /etc/aide/aide.conf.d/21_aide_spamassassin: stderr> /etc/aide/aide.conf.d/21_aide_spamassassin: line 13: printf: 3.4.6-1build3: invalid number
ERROR: /etc/aide/aide.conf.d/21_aide_spamassassin: execution failed (exit status: 1)


It looks like it’s caused by changes in 21_aide_spamassassin introduced late 2021.

I’ve submitted a PR to fix.




Adam

Kamil Jonca

unread,
Sep 25, 2022, 11:30:04 PM9/25/22
to
Package: aide-common
Version: 0.17.4-2
Followup-For: Bug #1010717
X-Debbugs-Cc: kjo...@poczta.onet.pl

I am not sure if this bug should be against aide-common and not against spamassasin package, but it seems
that expressions in "21_aide_spamassassin" file cannot deal with non - numbers version e.g.
4.0.0~rc3-1

KJ



-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.19.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aide-common depends on:
ii aide 0.17.4-2
ii bsd-mailx [mailx] 8.1.2-0.20220412cvs-1
ii debconf [debconf-2.0] 1.5.79
ii liblockfile1 1.17-1+b1
ii mailutils [mailx] 1:3.15-3
ii ucf 3.0043

Versions of packages aide-common recommends:
ii cron 3.0pl1-149

aide-common suggests no packages.

-- debconf information:
aide/aideinit: false
aideinit/copynew: false
aideinit/overwritenew: true

Marc Haber

unread,
Sep 26, 2022, 9:00:04 AM9/26/22
to
Control: tags -1 confirmed pending
thanks

On Sun, May 08, 2022 at 12:48:51AM -0700, Adam Jacobs wrote:
> I’ve submitted a PR to fix.

I have merged this PR on May 8. Thanks for helping

The links to the improved rule files are

https://salsa.debian.org/debian/aide/-/blob/master/debian/aide.conf.d/21_aide_spamassassin
and
https://salsa.debian.org/debian/aide/-/blob/master/debian/aide.conf.d/31_aide_spamassassin

Both files are needed.

Other people affected by this issue are advised to use those files
pulled from salsa. They're conffiles and handled by ucf, so updating the
package to a later version that will have this fix should go without
trouble.

Greetings
Marc
0 new messages