Steps to reproduce 1. Have a Debian 11.2 server 2. Install aide with apt install aide 3. Open bash shell 4. Start aideinit 5. Error appears root@srv11 ~ # aideinit -f -y Running aide --init... ERROR: /etc/aide/aide.conf.d/31_aide_apt (stdout):105:70: error in rule '/var/lib/apt/lists/deb\.debian\.org_debian_dists_bullseye-updates_http://autoinstall.plesk.com/PMM_0.1.11_source_Sources(\.diff_Index)?$': invalid double slash (line: '/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_http://autoinstall.plesk.com/PMM_0.1.11_source_Sources(\\.diff_Index)?$ f VarFile') AIDE --init return code 17
Similar issue after installing munin on Debian 11.2.
Error shows in shell:
aideinit -f -y
Running aide --init...
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')
AIDE --init return code 17
- - -
munin 2.0.67-3
aide 0.17.3-4+deb11u1
aide-common 0.17.3-4+deb11u1
This looks like an error parsing a sources.list line that contains an external repository. Can you show all sources.list lines that contain "autoinstall.plesk.com"? Greetings Marc
This looks like an error parsing a sources.list line that contains an external repository. Can you show all sources.list lines that contain "autoinstall.plesk.com"? Greetings Marc
Control: tags -1 thanks Hi, can I please see your /etc/munin/munin.conf? Greetings Marc
Good day Herr Haber,
am Sonntag, 27. März 2022 um 13:28 schrieben Sie:
Sorry, the previous sent munin.conf was from my other server.
Here is the one whose err message was reported to tracker:
# Example configuration file for Munin, generated by 'make build'
# The next three variables specifies where the location of the RRD
# databases, the HTML output, logs and the lock/pid files. They all
# must be writable by the user running munin-cron. They are all
# defaulted to the values you see here.
#
#dbdir /var/lib/munin
#htmldir /var/cache/munin/www
#logdir /var/log/munin
#rundir /var/run/munin
# Where to look for the HTML templates
#
#tmpldir /etc/munin/templates
# Where to look for the static www files
#
#staticdir /etc/munin/static
# temporary cgi files are here. note that it has to be writable by
# the cgi user (usually nobody or httpd).
#
# cgitmpdir /var/lib/munin/cgi-tmp
# (Exactly one) directory to include all files from.
includedir /etc/munin/munin-conf.d
# You can choose the time reference for "DERIVE" like graphs, and show
# "per minute", "per hour" values instead of the default "per second"
#
#graph_period second
# Graphics files are generated either via cron or by a CGI process.
# See http://munin-monitoring.org/wiki/CgiHowto2 for more
# documentation.
# Since 2.0, munin-graph has been rewritten to use the cgi code.
# It is single threaded *by design* now.
#
#graph_strategy cron
# munin-cgi-graph is invoked by the web server up to very many times at the
# same time. This is not optimal since it results in high CPU and memory
# consumption to the degree that the system can thrash. Again the default is
# 6. Most likely the optimal number for max_cgi_graph_jobs is the same as
# max_graph_jobs.
#
#munin_cgi_graph_jobs 6
# If the automatic CGI url is wrong for your system override it here:
#
#cgiurl_graph /munin-cgi/munin-cgi-graph
# max_size_x and max_size_y are the max size of images in pixel.
# Default is 4000. Do not make it too large otherwise RRD might use all
# RAM to generate the images.
#
#max_size_x 4000
#max_size_y 4000
# HTML files are normally generated by munin-html, no matter if the
# files are used or not. You can change this to on-demand generation
# by following the instructions in http://munin-monitoring.org/wiki/CgiHowto2
#
# Notes:
# - moving to CGI for HTML means you cannot have graph generated by cron.
# - cgi html has some bugs, mostly you still have to launch munin-html by hand
#
#html_strategy cron
# munin-update runs in parallel.
#
# The default max number of processes is 16, and is probably ok for you.
#
# If set too high, it might hit some process/ram/filedesc limits.
# If set too low, munin-update might take more than 5 min.
#
# If you want munin-update to not be parallel set it to 0.
#
#max_processes 16
# RRD updates are per default, performed directly on the rrd files.
# To reduce IO and enable the use of the rrdcached, uncomment it and set it to
# the location of the socket that rrdcached uses.
#
#rrdcached_socket /var/run/rrdcached.sock
# Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
# something changes (OK -> WARNING, CRITICAL -> OK, etc)
#contact.someuser.command mail -s "Munin ${var:worst}: ${var:group}::${var:host}::${var:plugin}" somejuser@fnord.comm
#contact.anotheruser.command mail -s "Munin ${var:worst}: ${var:group}::${var:host}::${var:plugin}" anotheruser@blibb.comm
#
# For those with Nagios, the following might come in handy. In addition,
# the services must be defined in the Nagios server as well.
#contact.nagios.command /usr/bin/send_nsca nagios.host.comm -c /etc/nsca.conf
# The maximum time the munin-update may take to get updates from all nodes,
# this might be interesting when using munin-async in case of large transactions and/or backlog.
# When using the munin protocol to connect to a node, then this value shouldn't be set higher than 240.
# In case it's higher, gaps might be seen in the graphs.
timeout_fetch_all_nodes 240
# The maximum amount of time in seconds we may work on 1 node.
# The value will be limited with timeout_fetch_all_nodes.
timeout_fetch_one_node 180
# a simple host tree
[localhost.localdomain]
address 127.0.0.1
use_node_name yes
#
# A more complex example of a host tree
#
## First our "normal" host.
# [fii.foo.com]
# address foo
#
## Then our other host...
# [fay.foo.com]
# address fay
#
## IPv6 host. note that the ip adress has to be in brackets
# [ip6.foo.com]
# address [2001::1234:1]
#
## Then we want totals...
# [foo.com;Totals] #Force it into the "foo.com"-domain...
# update no # Turn off data-fetching for this "host".
#
# # The graph "load1". We want to see the loads of both machines...
# # "fii=fii.foo.com:load.load" means "label=machine:graph.field"
# load1.graph_title Loads side by side
# load1.graph_order fii=fii.foo.com:load.load fay=fay.foo.com:load.load
#
# # The graph "load2". Now we want them stacked on top of each other.
# load2.graph_title Loads on top of each other
# load2.dummy_field.stack fii=fii.foo.com:load.load fay=fay.foo.com:load.load
# load2.dummy_field.draw AREA # We want area instead the default LINE2.
# load2.dummy_field.label dummy # This is needed. Silly, really.
#
# # The graph "load3". Now we want them summarised into one field
# load3.graph_title Loads summarised
# load3.combined_loads.sum fii.foo.com:load.load fay.foo.com:load.load
# load3.combined_loads.label Combined loads # Must be set, as this is
# # not a dummy field!
#
## ...and on a side note, I want them listen in another order (default is
## alphabetically)
#
# # Since [foo.com] would be interpreted as a host in the domain "com", we
# # specify that this is a domain by adding a semicolon.
# [foo.com;]
# node_order Totals fii.foo.com fay.foo.com
#
Hi, No, i think my english is understandable to give you all information you need. Sorry, I forgot to add the bug mail address to CC. Which call? After changing to CRLF line endings in conf files (see munin-aide-conf.zip) a run of aideinit -f -y in bash shell fails with this err: Running aide --init... ')(line: 'etc/aide/aide.conf.d/31_aide_munin-nodes:4: unexpected character: ' AIDE --init return code 17 It prints ASCII text. So this original had the correct Linux lineending. /usr/bin/sh and a ls -al /usr/bin/sh gives /usr/bin/sh -> dash
Hi, Removing that in apt list file did not solve the issue. # aideinit -f -y Running aide --init... ERROR: /etc/aide/aide.conf.d/31_aide_apt (stdout):103:70: error in rule '/var/lib/apt/lists/deb\.debian\.org_debian_dists_bullseye-updates_http://autoinstall.plesk.com/PMM_0.1.11_source_Sources(\.diff_Index)?$': invalid double slash (line: '/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_http://autoinstall.plesk.com/PMM_0.1.11_source_Sources(\\.diff_Index)?$ f VarFile') AIDE --init return code 17
Ok, I'm fine with that. /etc/aide/aide.conf.d/31_aide_munin-nodes I would like to see the original. What you sent me is with CRLF lineending. The rule should (must!) work with unix style line ending, but somehow an extra \n is written to the aide rule. Ok, that's the same on my reference system. Greetings Marc
Hi,
~# /etc/aide/aide.conf.d/31_aide_munin-nodes
/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
See attached tarball.
Version: 0.17.3-5 Ah, now I see. This is a duplicate of #994168. Try the following patch:--- etc/aide/aide.conf.d/31_aide_munin-nodes 2022-01-16 13:07:29.000000000 +0100 +++ /etc/aide/aide.conf.d/31_aide_munin-nodes 2021-12-31 22:10:09.905341513 +0100 @@ -17,7 +17,7 @@ DOMAIN=$(escape_dots "${HOST#*.}") DHOST=$(escape_dots "${HOST}") - 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 "/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}" done This was fixed in aide 0.17.3-5 which didn't make it into bullseye. Greetings Marc
Hi, Thanks, that patch fixes errors with 31_aide_munin-nodes.
Control: tags -1 moreinfo thanks May I remind? Greetings Marc
Control: tags -1 moreinfo thanks May I remind? Greetings Marc
Hi, Attached.
And there is no deb-src line for plesk anywhere?!? Greetings Marc
And there is no deb-src line for plesk anywhere?!? Greetings Marc
Hi, Attached.
Please try the following attached 31_aide_apt with augmented debug output (will be in the next upload) with the following call: DEBUG=1 UPAC_settingsd=/etc/aide/aide.settings.d /path/to/31_aide_apt and let me see the output. Thanks. Greetings Marc
Please try the following attached 31_aide_apt with augmented debug output (will be in the next upload) with the following call: DEBUG=1 UPAC_settingsd=/etc/aide/aide.settings.d /path/to/31_aide_apt and let me see the output. Thanks. Greetings Marc
Hi,
@@define APT_TRANSLATIONS (ca|cs|da|de|de_DE|en|eo|es|eu|fi|fr|hr|hu|id|it|ja|km|ko|nb|nl|pl|pt|pt_BR|ro|ru|sk|sr|sv|uk|vi|zh|zh_CN|zh_TW)
@@define APT_ARCH (@@{ARCH}|all)
1: deb, 2: , 3: , 4: http://deb.debian.org/debian, 5: bullseye, 6: main contrib non-free
# deb: deb
# uri http://deb.debian.org/debian
# dist: bullseye
# comp: main contrib non-free
# HOST deb\\.debian\\.org
# HOSTPATH _debian
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_main_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_main_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_main_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_main_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_contrib_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_contrib_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_contrib_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_contrib_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_non-free_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_non-free_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_non-free_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_non-free_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
!/var/lib/apt/lists/partial/deb\\.debian\\.org_debian_dists_bullseye_Release\\.gpg\\.reverify$ f
1: deb-src, 2: , 3: , 4: http://deb.debian.org/debian, 5: bullseye, 6: main contrib non-free
# deb: deb-src
# uri http://deb.debian.org/debian
# dist: bullseye
# comp: main contrib non-free
# HOST deb\\.debian\\.org
# HOSTPATH _debian
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_main_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_contrib_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_non-free_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye_(InRelease|Release(\\.gpg)?)$ f VarFile
1: deb, 2: , 3: , 4: http://deb.debian.org/debian-security/, 5: bullseye-security, 6: main contrib non-free
# deb: deb
# uri http://deb.debian.org/debian-security/
# dist: bullseye-security
# comp: main contrib non-free
# HOST deb\\.debian\\.org
# HOSTPATH _debian-security
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_main_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_main_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_main_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_main_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_contrib_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_contrib_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_contrib_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_contrib_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_non-free_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_non-free_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_non-free_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_non-free_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
!/var/lib/apt/lists/partial/deb\\.debian\\.org_debian-security_dists_bullseye-security_Release\\.gpg\\.reverify$ f
1: deb-src, 2: , 3: , 4: http://deb.debian.org/debian-security/, 5: bullseye-security, 6: main contrib non-free
# deb: deb-src
# uri http://deb.debian.org/debian-security/
# dist: bullseye-security
# comp: main contrib non-free
# HOST deb\\.debian\\.org
# HOSTPATH _debian-security
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_main_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_contrib_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_non-free_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian-security_dists_bullseye-security_(InRelease|Release(\\.gpg)?)$ f VarFile
1: deb, 2: , 3: , 4: http://deb.debian.org/debian, 5: bullseye-updates, 6: main contrib non-free
# deb: deb
# uri http://deb.debian.org/debian
# dist: bullseye-updates
# comp: main contrib non-free
# HOST deb\\.debian\\.org
# HOSTPATH _debian
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_main_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_main_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_main_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_main_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_contrib_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_contrib_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_contrib_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_contrib_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_non-free_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_non-free_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_non-free_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_non-free_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
!/var/lib/apt/lists/partial/deb\\.debian\\.org_debian_dists_bullseye-updates_Release\\.gpg\\.reverify$ f
1: deb-src, 2: , 3: , 4: http://deb.debian.org/debian, 5: bullseye-updates, 6: main contrib non-freedeb [arch=amd64] http://autoinstall.plesk.com/PMM_0.1.11 bullseye all
# deb: deb-src
# uri http://deb.debian.org/debian
# dist: bullseye-updates
# comp: main contrib non-freedeb [arch=amd64] http://autoinstall.plesk.com/PMM_0.1.11 bullseye all
# HOST deb\\.debian\\.org
# HOSTPATH _debian
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_main_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_contrib_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_non-freedeb_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_[arch=amd64]_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_http://autoinstall.plesk.com/PMM_0.1.11_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_bullseye_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_all_source_Sources(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/deb\\.debian\\.org_debian_dists_bullseye-updates_(InRelease|Release(\\.gpg)?)$ f VarFile
1: deb, 2: , 3: , 4: http://autoinstall.plesk.com/pool/PSA_18.0.42_8472/, 5: bullseye, 6: extras
# deb: deb
# uri http://autoinstall.plesk.com/pool/PSA_18.0.42_8472/
# dist: bullseye
# comp: extras
# HOST autoinstall\\.plesk\\.com
# HOSTPATH _pool_PSA_18\\.0\\.42_8472
/var/lib/apt/lists/autoinstall\\.plesk\\.com_pool_PSA_18\\.0\\.42_8472_dists_bullseye_extras_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/autoinstall\\.plesk\\.com_pool_PSA_18\\.0\\.42_8472_dists_bullseye_extras_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/autoinstall\\.plesk\\.com_pool_PSA_18\\.0\\.42_8472_dists_bullseye_extras_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/autoinstall\\.plesk\\.com_pool_PSA_18\\.0\\.42_8472_dists_bullseye_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/autoinstall\\.plesk\\.com_pool_PSA_18\\.0\\.42_8472_dists_bullseye_extras_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
!/var/lib/apt/lists/partial/autoinstall\\.plesk\\.com_pool_PSA_18\\.0\\.42_8472_dists_bullseye_Release\\.gpg\\.reverify$ f
1: deb, 2: , 3: , 4: http://autoinstall.plesk.com/PHP74_17/, 5: bullseye, 6: all
# deb: deb
# uri http://autoinstall.plesk.com/PHP74_17/
# dist: bullseye
# comp: all
# HOST autoinstall\\.plesk\\.com
# HOSTPATH _PHP74_17
/var/lib/apt/lists/autoinstall\\.plesk\\.com_PHP74_17_dists_bullseye_all_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/autoinstall\\.plesk\\.com_PHP74_17_dists_bullseye_all_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/autoinstall\\.plesk\\.com_PHP74_17_dists_bullseye_all_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/autoinstall\\.plesk\\.com_PHP74_17_dists_bullseye_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/autoinstall\\.plesk\\.com_PHP74_17_dists_bullseye_all_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
!/var/lib/apt/lists/partial/autoinstall\\.plesk\\.com_PHP74_17_dists_bullseye_Release\\.gpg\\.reverify$ f
1: deb, 2: , 3: , 4: http://autoinstall.plesk.com/PHP80_17/, 5: bullseye, 6: all
# deb: deb
# uri http://autoinstall.plesk.com/PHP80_17/
# dist: bullseye
# comp: all
# HOST autoinstall\\.plesk\\.com
# HOSTPATH _PHP80_17
/var/lib/apt/lists/autoinstall\\.plesk\\.com_PHP80_17_dists_bullseye_all_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile
/var/lib/apt/lists/autoinstall\\.plesk\\.com_PHP80_17_dists_bullseye_all_Contents-@@{APT_ARCH}((\\.diff_Index|\\.lz4))?$ f VarFile
@@ifdef FOREIGN_ARCHES
/var/lib/apt/lists/autoinstall\\.plesk\\.com_PHP80_17_dists_bullseye_all_binary-@@{FOREIGN_ARCHES}_Packages(\\.diff_Index)?$ f VarFile
@@endif
/var/lib/apt/lists/autoinstall\\.plesk\\.com_PHP80_17_dists_bullseye_(InRelease|Release(\\.gpg)?)$ f VarFile
/var/lib/apt/lists/autoinstall\\.plesk\\.com_PHP80_17_dists_bullseye_all_i18n_Translation-@@{APT_TRANSLATIONS}(\\.diff_Index)?$ f VarFile
!/var/lib/apt/lists/partial/autoinstall\\.plesk\\.com_PHP80_17_dists_bullseye_Release\\.gpg\\.reverify$ f
/var/lib/apt/lists(/(auxfiles|partial))?$ d VarDir
/var/lib/apt/lists/lock$ f VarFile
/var/lib/apt/periodic/(download-upgradeable|update)-stamp$ f VarTime
/var/lib/apt/(daily_lock|extended_states)$ f VarFile
/var/lib/apt$ d VarDir
/var/lib/systemd/timers/stamp-apt-daily(-upgrade)?\\.timer$ f VarFile
/var/log/apt/(term|history)\\.log$ f Log
/var/log/apt/(term|history)\\.log\\.1\\.@@{LOGEXT}$ f LoSerMemberLog
/var/log/apt/(term|history)\\.log\\.([2-9]|1[0-1])\\.@@{LOGEXT}$ f SerMemberLog
/var/log/apt/(term|history)\\.log\\.12\\.@@{LOGEXT}$ f HiSerMemberLog
/var/log/apt/eipp\\.log\\.xz$ f VarFile
/var/log/apt$ d VarDir
/var/backups/apt\\.extended_states\\.0$ f LowLog
/var/backups/apt\\.extended_states\\.1\\.@@{LOGEXT}$ f LoSerMemberLog
/var/backups/apt\\.extended_states\\.[2345]\\.@@{LOGEXT}$ f SerMemberLog
/var/backups/apt\\.extended_states\\.6\\.@@{LOGEXT}$ f HiSerMemberLog
Hi, No, the plesk lists have no deb-src lines.
Sorry, forgot the attachment. But what you sent was already helpful. I guess that the deb file containing something like deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free is missing its trailing newline. Is that possible? Greetings Marc
Hi, Oh, yes! I checked list now with od and saw a \n is missing in last deb-src line, wierd. After adding a new line with vim the aideinit runs file :-) Perhaps the aide config rules need some polish to be more robust.
We are already trying to be robust for hellfire. A text file without a
trailing newline is really hard to obtain ;-)
Can you break the file again and try changing the
cat ${SOURCESLIST} /dev/null
against
awk '{print}' ${SOURCESLIST} /dev/null
please?
Greetings
Marc, nearly 30 years of Unix experience and not knowing _that_ one.
Hi,
This line in 31_aide_apt works for me!
awk '{print}' ${SOURCESLIST} /dev/null | sed 's/ #.*$//' | while read -r line; do
aideinit runs without any issues now.
Nice fix!
Thanks.
Hello, Bug #1008277 in aide reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/debian/aide/-/commit/f946d19f4fd430c37aa4218be7453052eae18b74 ------------------------------------------------------------------------ 31_aide_apt: handle sources.list files without ending newline Closes: #1008277 Thanks: Lilo von Hanffstengel ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1008277
We believe that the bug you reported is fixed in the latest version of
aide, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1008277@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marc Haber <mh+debian-packages@zugschlus.de> (supplier of updated aide package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 12 Jul 2022 06:29:32 +0200
Source: aide
Architecture: source
Version: 0.17.4.1.20220711-1
Distribution: experimental
Urgency: medium
Maintainer: Aide Maintainers <aide@packages.debian.org>
Changed-By: Marc Haber <mh+debian-packages@zugschlus.de>
Closes: 1008277 1011957
Changes:
aide (0.17.4.1.20220711-1) experimental; urgency=medium
.
[ Marc Haber ]
* New upstream snapshot 0.17.4.1.20220711
* adapt debian/copyright: removed files, new year
* remove empty directory from aide-common.dirs and packages
* default configuration: new value for report_ignore_e2fsattrs
* adapt lintian overrides, explain them
* fix $HOSTNAME bashism
* New upstream version 0.17.4.1.20220711dd
* 31_aide_apt: add vim helper line
* 31_aide_apt: improve debug output
* 31_aide_apt: handle sources.list files without ending newline.
Thanks to Lilo von Hanffstengel (Closes: #1008277)
* improve samba rule
* fix wrong comment in 31_aide-postgresql-ad
* 31_aide_cups, re-introduce accidentally removed @@LOGEXT
* 31_aide_pp-fpm, allow PHPVERSION to be overridden
* 31_aide_tlp, use RUN
* rename ntp-server to ntpsec, adapt rule
.
[ Adam Jacobs ]
* 21_aide_spamassassin: improve version number detection
.
[ Hannes von Haugwitz ]
* 31_aide_amanda-server: fix handling of empty and comment lines
(Closes: #1011957)
* Bump to Standards-Version 4.6.1 (no changes)
Checksums-Sha1:
59351a3ac8e38d67c4a1329a5618865e76ccc96e 2420 aide_0.17.4.1.20220711-1.dsc
d66d48186bfa799305121dc8ac9a268fbb0a33ff 233240 aide_0.17.4.1.20220711.orig.tar.xz
af28d9a73c26d5d001a963e4e15ffba9019c2da1 98892 aide_0.17.4.1.20220711-1.debian.tar.xz
554741ed460208119b6da03b438f860292f17cd8 6583 aide_0.17.4.1.20220711-1_source.buildinfo
Checksums-Sha256:
9acf6797a10433c978ec114d4e521f368d9448f0d8accb12c8178692d43b33f3 2420 aide_0.17.4.1.20220711-1.dsc
07bde0139758743fb25afa0b4c8c83e2d3e396c86c737d54bf8c4c6ac9804fda 233240 aide_0.17.4.1.20220711.orig.tar.xz
8972b89ec3107cfb6ae8b4aadbcbab593d4b747ae67477431a8d25d84882a85b 98892 aide_0.17.4.1.20220711-1.debian.tar.xz
cb6fcbcca0e3470b5cafa906f3919534087c79f263101edf9805989380c846c4 6583 aide_0.17.4.1.20220711-1_source.buildinfo
Files:
c2b043d21e454f01fea828c83fd421a4 2420 admin optional aide_0.17.4.1.20220711-1.dsc
3f41e467acd6378153748daf56453652 233240 admin optional aide_0.17.4.1.20220711.orig.tar.xz
3610ff41bd77d9f58dc7b975e2897c7c 98892 admin optional aide_0.17.4.1.20220711-1.debian.tar.xz
c5518886b9ebcc86c1dc309761bc5f98 6583 admin optional aide_0.17.4.1.20220711-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE6QL5UJ/L0pcuNEbjj3cgEwEyBEIFAmLNAyoACgkQj3cgEwEy
BEKxsg/7BXZ2/BAH4Bb8bUx3rLabbsAvEvg7Xw7b0E6owRtb3Cut3trEuEWS3QNM
TEkqJIHFgwDEvqsey6dD7FjcP+MWvcLoodgBQyEYVVByOEmXm9yFk1ktp/ZIM69C
L+hglfrzAdlvYaRP207Ng8MlyRe5T9xQsJnhlH+LG6gVoPaq8vPf1Ess1Cj83+MI
WWEm6E1kCoBOQ6NQZ8wsWVGba+ZDQA2skHZUAG+KkP185QNSDBXZcSuCC6no1V9L
hibsQI/LlKGNwNxhwndmtVCpNzjt2LbXg/Yh1314QeM/7LMTYRibBnVDT4e4trlW
b0wUXJMalCHrUIQO/XlLkyI5tNRkqi4P7Vo9HvU/2Nn5oDP0xmWRgdDBdonVDZgd
hyCrQwmFrK1KBVv9PTs54NnCFUbBphoF5VhjWwc52oF1JvKvN0GnOrgmXjKF6xLf
G8LWEEK4VVI44lacbpvlNT9aieZSbYtRnkRfjePy4/Wmz9/EPvPc39irM2nB6jz3
eskHNUS3mrr9RIREZ6eXyCdP6MCi8dAdnNsipe1Ro3mDaCC6tyXaOJNya5fyeVk2
//bbnt2tjbHVQJmIoqQkFy5odnbpqJ/xJsuyOQB85wiAim+o4+7mvZGjXhmpneqc
oi9mL3LarL8mipgpdneng8zu4Dfz777GZ3ipPs0wUk3z8CjrF/s=
=aF4G
-----END PGP SIGNATURE-----