Bug#1008277: aideinit stops with error in rule

2022-03-30 Thread Lilo von Hanffstengel
Hi, > Can you break the file again and try changing the > > cat ${SOURCESLIST} /dev/null > > against > > awk '{print}' ${SOURCESLIST} /dev/null > > please? This line in 31_aide_apt works for me! awk '{print}' ${SOURCESLIST} /dev/null | sed 's/ #.*$//' | while read -r line; do aideinit runs

Bug#1008277: aideinit stops with error in rule

2022-03-30 Thread Marc Haber
On Wed, Mar 30, 2022 at 11:44:15AM +0200, Lilo von Hanffstengel wrote: > 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

Bug#1008277: aideinit stops with error in rule

2022-03-30 Thread Lilo von Hanffstengel
Hi, > 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? Oh, yes! I checked list now with od and saw a \n is missing in last deb-src line, wierd. After

Bug#1008277: aideinit stops with error in rule

2022-03-30 Thread Marc Haber
Sorry, forgot the attachment. But what you sent was already helpful. On Wed, Mar 30, 2022 at 11:22:45AM +0200, Lilo von Hanffstengel wrote: > 1: deb-src, 2: , 3: , 4: http://deb.debian.org/debian, 5: bullseye-updates, > 6: main contrib non-freedeb [arch=amd64] >

Bug#1008277: aideinit stops with error in rule

2022-03-30 Thread Lilo von Hanffstengel
Hi, > On Wed, Mar 30, 2022 at 09:51:19AM +0200, Lilo von Hanffstengel wrote: >> > On Sun, Mar 27, 2022 at 01:03:30PM +0200, Marc Haber wrote: >> >> On Fri, Mar 25, 2022 at 09:36:12PM +0100, Gwen wrote: >> >> > ERROR: /etc/aide/aide.conf.d/31_aide_apt (stdout):105:70: error in >> >> > rule >>

Bug#1008277: aideinit stops with error in rule

2022-03-30 Thread Lilo von Hanffstengel
Hi, > 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. @@define APT_TRANSLATIONS

Bug#1008277: aideinit stops with error in rule

2022-03-30 Thread Marc Haber
On Wed, Mar 30, 2022 at 09:51:19AM +0200, Lilo von Hanffstengel wrote: > 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

Bug#1008277: aideinit stops with error in rule

2022-03-30 Thread Marc Haber
On Wed, Mar 30, 2022 at 09:51:19AM +0200, Lilo von Hanffstengel wrote: > > On Sun, Mar 27, 2022 at 01:03:30PM +0200, Marc Haber wrote: > >> On Fri, Mar 25, 2022 at 09:36:12PM +0100, Gwen wrote: > >> > ERROR: /etc/aide/aide.conf.d/31_aide_apt (stdout):105:70: error in > >> > rule > >> >

Bug#1008277: aideinit stops with error in rule

2022-03-30 Thread Lilo von Hanffstengel
Hi, > On Sun, Mar 27, 2022 at 01:03:30PM +0200, Marc Haber wrote: >> On Fri, Mar 25, 2022 at 09:36:12PM +0100, Gwen wrote: >> > ERROR: /etc/aide/aide.conf.d/31_aide_apt (stdout):105:70: error in rule >> >

Bug#1008277: aideinit stops with error in rule

2022-03-30 Thread Marc Haber
Control: tags -1 moreinfo thanks On Sun, Mar 27, 2022 at 01:03:30PM +0200, Marc Haber wrote: > On Fri, Mar 25, 2022 at 09:36:12PM +0100, Gwen wrote: > > ERROR: /etc/aide/aide.conf.d/31_aide_apt (stdout):105:70: error in rule > >

Bug#1008277: aideinit stops with error in rule

2022-03-27 Thread Lilo von Hanffstengel
Hi, >> deb [arch=amd64] http://autoinstall.plesk.com/PMM_0.1.11 bullseye all > > I guess that the apt aide rule code doesn't handle the [arch=amd64] part > correctly yet. That's a relatively new notation. Can you try removing it > just to check? Removing that in apt list file did not solve the

Bug#1008277: aideinit stops with error in rule

2022-03-27 Thread Marc Haber
On Fri, Mar 25, 2022 at 09:36:12PM +0100, Gwen wrote: > 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

Bug#1008277: aideinit stops with error in rule

2022-03-25 Thread Gwen
Package: aide Version: 0.17.3-4+deb11u1 Severity: important 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