Hello Barry, On Sat, May 28, 2022 at 11:34:44AM -0500, Barry Trent wrote: > Yes! Removing all blank (and "#" comment) lines from disklist solved the > problem on 3 different machines. > > So you've found the issue but, of course, blanks and comments are valid in > the disklist and are even present in the disklist installed as a sample with > amanda-server in DailySet1. I had to remove the DailySet1 which was still > present on one machine to get aideinit to complete without the error.
Can you please apply the following patch and report back if it solves your issue? diff --git a/debian/aide.conf.d/31_aide_amanda-server b/debian/aide.conf.d/31_aide_amanda-server index 5750779..78424eb 100755 --- a/debian/aide.conf.d/31_aide_amanda-server +++ b/debian/aide.conf.d/31_aide_amanda-server @@ -66,7 +66,7 @@ for configfile in $(find /etc/amanda -name amanda.conf ! -path '/etc/amanda/temp printf "@@define AMANDA_INDEXDIR %s\\n" "${AMANDA_INDEXDIR}" if [ -f "disklist" ]; then while read -r host dev rest; do - if echo "${host}" | grep -q '^\\(#.*\\)\\?$'; then continue; fi + if echo "${host}" | grep -q '^(#.*)?$'; then continue; fi dev="$(echo "${dev}" | sed 's|[/:]|_|g;s|\\"||g')" if ! skip_multiline_dle; then printf "!/@@{AMANDA_INDEXDIR}/%s/%s/@@{YEAR4D}[0-9]{4}_[0123]\\.gz$ f\\n" "${host}" "${dev}" Best regards Hannes