[Pkg-aide-maintainers] Bug#414268: aide: syntax errors tell wrong line number

Marc Schiffbauer marc at schiffbauer.net
Sat Mar 10 13:48:25 CET 2007

Package: aide
Version: 0.13.1-2
Severity: normal

For example I got this message:
linux:/etc/aide# aide -D -c /var/lib/aide/aide.conf.autogenerated
44:syntax error:(
44:Error while reading configuration:(
Configuration error

Correct would be "45". Look here:

linux:/etc/aide# nl -ba -nln /var/lib/aide/aide.conf.autogenerated | grep "^4[1-9] "
45      (|/srv/chroots/build|/srv/chroots/db-mysql|/srv/chroots/www)/var/log/acpid$ Logs
46      @@{CHROOTS}/var/log/acpid\.1$ RotatedLogs
47      @@{CHROOTS}/var/log/acpid\.2\.gz$ RotatedLogs+ANF
48      @@{CHROOTS}/var/log/acpid\.3\.gz$ RotatedLogs
49      @@{CHROOTS}/var/log/acpid\.4\.gz$ RotatedLogs+ARF

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages aide depends on:
ii  debconf [debconf 1.5.11                  Debian configuration management sy
ii  liblockfile1     1.06.1                  NFS-safe locking library, includes
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  ucf              2.0020                  Update Configuration File: preserv

Versions of packages aide recommends:
ii  cron                          3.0pl1-100 management of regular background p

-- debconf information:
* aide/aideinit: false
* aideinit/copynew: true
  aideinit/overwritenew: true
  aide/newlibdir: false

More information about the Pkg-aide-maintainers mailing list