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

Bug#994168: aide-common: unexpected character: '/'

7 views
Skip to first unread message

Jochen Pawletta

unread,
Sep 13, 2021, 2:10:03 AM9/13/21
to
Package: aide-common
Version: 0.17.3-4
Severity: normal

Hello

After upgrade to Debian 11 I get this E-Mail each day:

----------------
This is an automated report generated by the Advanced Intrusion Detection environment on joshua.hin.de started
+at 2021-09-13 00:25:01.

******************************************************************************
* AIDE returned with exit code 17. Invalid configuration! *
******************************************************************************


Errors produced (1 lines):
ERROR: /etc/aide/aide.conf.d/31_aide_munin-nodes (stdout):1: unexpected character: '/' (line:
+'/var/cache/munin/www/localdomain\n/(index\.html|localhost\\.localdomain/[-_[:alnum:]]+\.(png|html))$ f
+VarFile/var/lib/munin/localdomain/localhost\\.localdomain\n-.*\.rrd$ f
+VarFile/@@{RUN}/munin/munin-(update|datafile|localdomain-localhost\\.localdomain|limits)\.lock$ f VarFile')

End of AIDE error output.

funny, AIDE did not leave a log.

End of AIDE daily cron job at 2021-09-13 00:25, run time 3 seconds
----------------

I think I didn't changed that file so I filed this bug report.


Jochen


-- System Information:
Debian Release: 11.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aide-common depends on:
ii aide 0.17.3-4+b2
ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-2
ii cdebconf [debconf-2.0] 0.260
ii debconf [debconf-2.0] 1.5.77
ii liblockfile1 1.17-1+b1
ii ucf 3.0043

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

aide-common suggests no packages.

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

Jochen Pawletta

unread,
Sep 17, 2021, 1:40:03 AM9/17/21
to
Hello again

I had some time and was able to fix the problem.

I changed these 2 lines:
printf "/var/cache/munin/www/%s/(index\\.html|%s/[-_[:alnum:]]+\\.(png|html))$ f VarFile" "${DOMAIN}\\n" "${DHOST}"
printf "/var/lib/munin/%s/%s-.*\\.rrd$ f VarFile" "${DOMAIN}" "${DHOST}\\n"

to this:

printf "/var/cache/munin/www/%s/(index\\.html|%s/[-_[:alnum:]]+\\.(png|html))$ f VarFile\\n" "${DOMAIN}" "${DHOST}"
printf "/var/lib/munin/%s/%s-.*\\.rrd$ f VarFile\\n" "${DOMAIN}" "${DHOST}"


Now it works ...


Jochen

--
ZX81 - C64 - Amiga - x86-Linux - iMac (OS X)

Marc Haber

unread,
Sep 18, 2021, 9:50:02 AM9/18/21
to
tags #994168 confirmed
thanks

On Fri, Sep 17, 2021 at 07:22:46AM +0200, Jochen Pawletta wrote:
> I changed these 2 lines:
> printf "/var/cache/munin/www/%s/(index\\.html|%s/[-_[:alnum:]]+\\.(png|html))$ f VarFile" "${DOMAIN}\\n" "${DHOST}"
> printf "/var/lib/munin/%s/%s-.*\\.rrd$ f VarFile" "${DOMAIN}" "${DHOST}\\n"
>
> to this:
>
> printf "/var/cache/munin/www/%s/(index\\.html|%s/[-_[:alnum:]]+\\.(png|html))$ f VarFile\\n" "${DOMAIN}" "${DHOST}"
> printf "/var/lib/munin/%s/%s-.*\\.rrd$ f VarFile\\n" "${DOMAIN}" "${DHOST}"

Thanks for spotting this, fixed in git.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
0 new messages