Bug#1011957: aideinit fails in amanda-server processing

2022-05-31 Thread Hannes von Haugwitz
On Tue, May 31, 2022 at 09:36:43PM +0200, Marc Haber wrote: > Hannes, do you want me to commit the fix or do you prefer doing it > yourself? Done via 778c4a0 Best regards Hannes

Bug#1011957: aideinit fails in amanda-server processing

2022-05-31 Thread Marc Haber
On Tue, May 31, 2022 at 09:48:44AM -0500, Barry Trent wrote: > Yes. After applying this patch aideinit succeeds on all 3 machines I have it > running on with amanda-server Hannes, do you want me to commit the fix or do you prefer doing it yourself? Greetings Marc --

Bug#1011957: aideinit fails in amanda-server processing

2022-05-31 Thread Barry Trent
Yes. After applying this patch aideinit succeeds on all 3 machines I have it running on with amanda-server On 5/31/22 5:13 AM, Hannes von Haugwitz wrote: On Mon, May 30, 2022 at 09:46:30AM -0500, Barry Trent wrote: Applied the patch and added some blank lines back to the disklist. Still

Bug#1011957: aideinit fails in amanda-server processing

2022-05-31 Thread Marc Haber
On Tue, May 31, 2022 at 12:47:21PM +0200, Hannes von Haugwitz wrote: > On Tue, May 31, 2022 at 12:29:04PM +0200, Marc Haber wrote: > > how about > > > >cat --squeeze-blank disklist | while read ... > >done > > > > ? > > `--squeeze-blank` does only suppress repeated empty lines, (not >

Bug#1011957: aideinit fails in amanda-server processing

2022-05-31 Thread Hannes von Haugwitz
On Tue, May 31, 2022 at 12:29:04PM +0200, Marc Haber wrote: > how about > >cat --squeeze-blank disklist | while read ... >done > > ? `--squeeze-blank` does only suppress repeated empty lines, (not all blank lines) and does not suppress comment lines. Best regards Hannes

Bug#1011957: aideinit fails in amanda-server processing

2022-05-31 Thread Marc Haber
Hi, thanks for helping, Hannes. I just had pretty busy days and didnt get around to respond. On Sat, May 28, 2022 at 09:10:45PM +0200, Hannes von Haugwitz wrote: > if [ -f "disklist" ]; then >while read -r host dev rest; do > -if echo "${host}" | grep -q '^\\(#.*\\)\\?$';

Bug#1011957: aideinit fails in amanda-server processing

2022-05-31 Thread Hannes von Haugwitz
On Mon, May 30, 2022 at 09:46:30AM -0500, Barry Trent wrote: > Applied the patch and added some blank lines back to the disklist. Still > doesn't work. Argh, I overlooked the missing -E flag for grep. Please try again. diff --git a/debian/aide.conf.d/31_aide_amanda-server

Bug#1011957: aideinit fails in amanda-server processing

2022-05-30 Thread Barry Trent
Applied the patch and added some blank lines back to the disklist. Still doesn't work. amalthea:~# patch /etc/aide/aide.conf.d/31_aide_amanda-server -i aide.patch patching file /etc/aide/aide.conf.d/31_aide_amanda-server Hunk #1 succeeded at 66 with fuzz 2. amalthea:~# cd /etc/amanda/Trent/

Bug#1011957: aideinit fails in amanda-server processing

2022-05-28 Thread Hannes von Haugwitz
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

Bug#1011957: aideinit fails in amanda-server processing

2022-05-28 Thread Barry Trent
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

Bug#1011957: aideinit fails in amanda-server processing

2022-05-28 Thread Hannes von Haugwitz
Hi Barry, On Fri, May 27, 2022 at 04:29:54PM -0500, Barry Trent wrote: > *** disklist > zmoby.atcorp.com / comp-root-tar > > symposium.atcorp.com / comp-root-tar > symposium.atcorp.com /bbb

Bug#1011957: aideinit fails in amanda-server processing

2022-05-27 Thread Barry Trent
Package: aide Version: 0.17.3-4+deb11u1 Severity: important X-Debbugs-Cc: barry.tr...@atcorp.com Dear Maintainer, I upgraded two hosts which function as amanda backup servers from buster to bullseye and ran into issues running aideinit. It failed: root@archive:~# aideinit Overwrite existing