Hi, File "aide-common_0.17.3-4+deb11u1_all.deb" contains "/usr/share/aide/config/aide/aide.conf.d/31_aide_munin-nodes" where the three lines below are present :
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* " printf "/@@{RUN}/munin/munin-(update|datafile|%s-%s|limits)\\.lock$ f VarFile\\n" "${DOMAIN}" "${DHOST} when I run aideinit without changes, this doesn't work. When I correct the file like that : 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} " printf "/@@{RUN}/munin/munin-(update|datafile|%s-%s|limits)\\.lock$ f VarFile\\n" "${DOMAIN}" "${DHOST} it works. >> I am using Debian GNU/Linux 2.2, kernel 2.2.17-pre-patch-13 >> and libc6 2.1.3-10. >Are you joking? Sorry for that, it's a copy/paste that I forgot to update. Here is the good configuration : Linux 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux Regards, David On Wed, 8 Feb 2023 at 17:17, Marc Haber <mh+debian-packa...@zugschlus.de> wrote: > Control: tags -1 moreinfo unreproducible > thanks > > On Wed, Feb 08, 2023 at 02:01:13PM +0100, David S wrote: > > When I invoke `aideinit' without arguments from an ordinary shell > > prompt it prints: > > > > `ERROR: /etc/aide/aide.conf.d/31_aide_munin-nodes (stdout):1: > > unexpected character: '/' (line: > > > '/var/cache/munin/www/uaegeas1/(index\.html|uaegeas1\n/[-_[:alnum:]]+\.(png|html))$ > > f VarFile/var/lib/munin/uaegeas1/uaegeas1\n-.*\.rrd$ f > > > VarFile/@@{RUN}/munin/munin-(update|datafile|uaegeas1-uaegeas1|limits)\.lock$ > > f VarFile') > > This does not happen on current sid. Can you show bash -x > /etc/aide/aide.conf.d/31_aide_munin-nodes output and probably your > munin.conf file? This looks like the parsing of your munin.conf > incorrectly includes line feeds into the parsed HOSTS variable. > > > I am using Debian GNU/Linux 2.2, kernel 2.2.17-pre-patch-13 > > and libc6 2.1.3-10. > > Are you joking? > > Grüße > Marc > > >