Debian Bug report logs - #631398
aide: Broken 'Error in expression' message

version graph

Package: aide; Maintainer for aide is Aide Maintainers <aide@packages.debian.org>; Source for aide is src:aide (PTS, buildd, popcon).

Reported by: Zed Pobre <zed@debian.org>

Date: Thu, 23 Jun 2011 15:18:01 UTC

Severity: normal

Tags: fixed-upstream

Found in version aide/0.15.1-2

Fixed in version aide/0.15.1-6

Done: Hannes von Haugwitz <hannes@vonhaugwitz.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#631398; Package aide. (Thu, 23 Jun 2011 15:18:04 GMT) (full text, mbox, link).


Acknowledgement sent to Zed Pobre <zed@debian.org>:
New Bug report received and forwarded. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>. (Thu, 23 Jun 2011 15:18:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Zed Pobre <zed@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: aideinit fails: Error in expression
Date: Thu, 23 Jun 2011 11:09:09 -0400
Package: aide
Version: 0.15.1-2
Severity: important

I cannot initialize the aide database on a fresh Squeeze build.
Running "aideinit" results in lines like the following:

Running aide --init...
471:Error in expression:�Qe
Configuration error
AIDE --init return code 17

The characters that follow "Eror in expression" change from run to
run, though they always seem to start with that inverse-text
questionmark symbol.  That text does not appear in
/var/lib/aide/aide.conf.autogenerated, nor does there appear to be any
special unicode character on line 471.

Since I'm not seeing lots of bug reports on a completely broken AIDE,
I can only assume there's something odd in my environment causing it,
but it persists even after I remove all of my custom rulesets in
aide.conf.d and forcibly remove
/var/lib/aide/aide.conf.autogenerated.  It happens on both i386 and
amd64 Squeeze boxes.  The version in Lenny (0.13.1-10) works fine.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (350, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aide depends on:
ii  aide-common        0.15.1-2              Advanced Intrusion Detection Envir
ii  bsd-mailx          8.1.2-0.20100314cvs-1 simple mail user agent
ii  liblockfile1       1.08-4                NFS-safe locking library, includes
ii  ucf                3.0025+nmu1           Update Configuration File: preserv

Versions of packages aide recommends:
ii  cron                          3.0pl1-116 process scheduling daemon

aide suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#631398; Package aide. (Thu, 23 Jun 2011 18:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to Hannes von Haugwitz <hannes@vonhaugwitz.com>:
Extra info received and forwarded to list. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>. (Thu, 23 Jun 2011 18:03:06 GMT) (full text, mbox, link).


Message #10 received at 631398@bugs.debian.org (full text, mbox, reply):

From: Hannes von Haugwitz <hannes@vonhaugwitz.com>
To: Zed Pobre <zed@debian.org>, 631398@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: [Pkg-aide-maintainers] Bug#631398: aideinit fails: Error in expression
Date: Thu, 23 Jun 2011 19:58:00 +0200
tags 631398 moreinfo
thanks

Hi,

On Thu, Jun 23, 2011 at 11:09:09AM -0400, Zed Pobre wrote:
> I cannot initialize the aide database on a fresh Squeeze build.
> Running "aideinit" results in lines like the following:
> 
> Running aide --init...
> 471:Error in expression:�Qe
> Configuration error
> AIDE --init return code 17
> 
> The characters that follow "Eror in expression" change from run to
> run, though they always seem to start with that inverse-text
> questionmark symbol.  That text does not appear in
> /var/lib/aide/aide.conf.autogenerated, nor does there appear to be any
> special unicode character on line 471.

The wrong expression output is caused by a upstream bug which has
been fixed[0] in aide 0.16a1.

Could you please send me the content of the lines 469 to 473 in
/var/lib/aide/aide.conf.autogenerated ?

Thanks

Hannes

[0] http://aide.git.sourceforge.net/git/gitweb.cgi?p=aide/aide;a=commit;h=5075146a25392a364f5ea248ff8d05b480a2d447




Added tag(s) moreinfo. Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com> to control@bugs.debian.org. (Thu, 23 Jun 2011 18:03:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#631398; Package aide. (Thu, 23 Jun 2011 18:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to Zed Pobre <zed@resonant.org>:
Extra info received and forwarded to list. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>. (Thu, 23 Jun 2011 18:33:05 GMT) (full text, mbox, link).


Message #17 received at 631398@bugs.debian.org (full text, mbox, reply):

From: Zed Pobre <zed@resonant.org>
To: Hannes von Haugwitz <hannes@vonhaugwitz.com>
Cc: 631398@bugs.debian.org
Subject: Re: [Pkg-aide-maintainers] Bug#631398: aideinit fails: Error in expression
Date: Thu, 23 Jun 2011 14:23:06 -0400
[Message part 1 (text/plain, inline)]
On Thu, Jun 23, 2011 at 07:58:00PM +0200, Hannes von Haugwitz wrote:
>
> The wrong expression output is caused by a upstream bug which has
> been fixed[0] in aide 0.16a1.
>
> Could you please send me the content of the lines 469 to 473 in
> /var/lib/aide/aide.conf.autogenerated ?

!/@@{ROOTPREFIX}tmp/krb5cc_[0-9]+_[[:alnum:]]+$
/@@{ROOTPREFIX}var/lib/krb5kdc/principal$ VarFile+s+b+i
/@@{ROOTPREFIX}var/lib/krb5kdc/principal\.ok$ VarTime

/@@{ROOTPREFIX}var/run/laptop-mode-tools/(state|enabled|start-stop-undo-actions)$ VarFile


Regards,

--
Zed Pobre <zed@resonant.org> a.k.a. Zed Pobre <zed@debian.org>
PGP key and fingerprint available on finger; encrypted mail welcomed.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#631398; Package aide. (Thu, 23 Jun 2011 20:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Hannes von Haugwitz <hannes@vonhaugwitz.com>:
Extra info received and forwarded to list. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>. (Thu, 23 Jun 2011 20:54:03 GMT) (full text, mbox, link).


Message #22 received at 631398@bugs.debian.org (full text, mbox, reply):

From: Hannes von Haugwitz <hannes@vonhaugwitz.com>
To: Zed Pobre <zed@resonant.org>
Cc: 631398@bugs.debian.org
Subject: Re: [Pkg-aide-maintainers] Bug#631398: aideinit fails: Error in expression
Date: Thu, 23 Jun 2011 22:50:26 +0200
On Thu, Jun 23, 2011 at 02:23:06PM -0400, Zed Pobre wrote:
> On Thu, Jun 23, 2011 at 07:58:00PM +0200, Hannes von Haugwitz wrote:
> > Could you please send me the content of the lines 469 to 473 in
> > /var/lib/aide/aide.conf.autogenerated ?
> 
> !/@@{ROOTPREFIX}tmp/krb5cc_[0-9]+_[[:alnum:]]+$
> /@@{ROOTPREFIX}var/lib/krb5kdc/principal$ VarFile+s+b+i
> /@@{ROOTPREFIX}var/lib/krb5kdc/principal\.ok$ VarTime
> 
> /@@{ROOTPREFIX}var/run/laptop-mode-tools/(state|enabled|start-stop-undo-actions)$ VarFile

Is the VarTime group defined before line 471 respectively in
/etc/aide/aide.conf ?

Greetings

Hannes




Information forwarded to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#631398; Package aide. (Thu, 23 Jun 2011 21:36:04 GMT) (full text, mbox, link).


Acknowledgement sent to Zed Pobre <zed@resonant.org>:
Extra info received and forwarded to list. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>. (Thu, 23 Jun 2011 21:36:04 GMT) (full text, mbox, link).


Message #27 received at 631398@bugs.debian.org (full text, mbox, reply):

From: Zed Pobre <zed@resonant.org>
To: Hannes von Haugwitz <hannes@vonhaugwitz.com>
Cc: 631398@bugs.debian.org
Subject: Re: [Pkg-aide-maintainers] Bug#631398: aideinit fails: Error in expression
Date: Thu, 23 Jun 2011 17:32:04 -0400
[Message part 1 (text/plain, inline)]
On Thu, Jun 23, 2011 at 10:50:26PM +0200, Hannes von Haugwitz wrote:
> 
> Is the VarTime group defined before line 471 respectively in
> /etc/aide/aide.conf ?

Bingo.  We'd brought forward our old aide.conf file from Lenny, and it
was missing VarTime, VarInode, VarDirTime, and VarDirInode.  Adding
those back in appears to allow initialization to go through.

That said, a somewhat more informative error message would definitely
have been nice.

Thanks,

-- 
Zed Pobre <zed@resonant.org> a.k.a. Zed Pobre <zed@debian.org>
PGP key and fingerprint available on finger; encrypted mail welcomed.
[signature.asc (application/pgp-signature, inline)]

Removed tag(s) moreinfo. Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com> to control@bugs.debian.org. (Fri, 24 Jun 2011 08:51:03 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com> to control@bugs.debian.org. (Fri, 24 Jun 2011 08:51:04 GMT) (full text, mbox, link).


Changed Bug title to 'aide: Broken 'Error in expression' message' from 'aideinit fails: Error in expression' Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com> to control@bugs.debian.org. (Fri, 24 Jun 2011 08:51:05 GMT) (full text, mbox, link).


Severity set to 'normal' from 'important' Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com> to control@bugs.debian.org. (Fri, 24 Jun 2011 08:51:05 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com> to control@bugs.debian.org. (Tue, 10 Apr 2012 05:21:03 GMT) (full text, mbox, link).


Reply sent to Hannes von Haugwitz <hannes@vonhaugwitz.com>:
You have taken responsibility. (Wed, 20 Jun 2012 15:06:06 GMT) (full text, mbox, link).


Notification sent to Zed Pobre <zed@debian.org>:
Bug acknowledged by developer. (Wed, 20 Jun 2012 15:06:06 GMT) (full text, mbox, link).


Message #42 received at 631398-close@bugs.debian.org (full text, mbox, reply):

From: Hannes von Haugwitz <hannes@vonhaugwitz.com>
To: 631398-close@bugs.debian.org
Subject: Bug#631398: fixed in aide 0.15.1-6
Date: Wed, 20 Jun 2012 15:02:16 +0000
Source: aide
Source-Version: 0.15.1-6

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:

aide-common_0.15.1-6_all.deb
  to main/a/aide/aide-common_0.15.1-6_all.deb
aide-dynamic_0.15.1-6_amd64.deb
  to main/a/aide/aide-dynamic_0.15.1-6_amd64.deb
aide-xen_0.15.1-6_amd64.deb
  to main/a/aide/aide-xen_0.15.1-6_amd64.deb
aide_0.15.1-6.debian.tar.gz
  to main/a/aide/aide_0.15.1-6.debian.tar.gz
aide_0.15.1-6.dsc
  to main/a/aide/aide_0.15.1-6.dsc
aide_0.15.1-6_amd64.deb
  to main/a/aide/aide_0.15.1-6_amd64.deb



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 631398@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hannes von Haugwitz <hannes@vonhaugwitz.com> (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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 20 Jun 2012 14:46:28 +0200
Source: aide
Binary: aide aide-xen aide-dynamic aide-common
Architecture: source amd64 all
Version: 0.15.1-6
Distribution: unstable
Urgency: low
Maintainer: Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>
Changed-By: Hannes von Haugwitz <hannes@vonhaugwitz.com>
Description: 
 aide       - Advanced Intrusion Detection Environment - static binary
 aide-common - Advanced Intrusion Detection Environment - Common files
 aide-dynamic - Advanced Intrusion Detection Environment - dynamic binary
 aide-xen   - Advanced Intrusion Detection Environment - static binary for XEN
Closes: 545852 631398
Changes: 
 aide (0.15.1-6) unstable; urgency=low
 .
   * lowered dependency on aide-common (closes: #545852):
     - aide, aide-xen, aide-dynamic:
       - moved aide-common from Depends to Recommends
       - added Breaks/Replaces: aide-common (<< 0.15.1-6)
     - moved aide.1 and aide.conf.5 from aide-common to binary packages
     - aide-common: replaced dependency on aide | aide-binary with
       versionised dependency on aide | aide-xen | aide-dynamic
   * debian/patches/06-conf_yacc.y_conftext_declaration_fix.dpatch: new
     - fixed broken 'Error in expression' message (closes: #631398)
   * 31_aide_lighttpd:
     - adjusted log file rules
   * 31_aide_postgresql:
     - handle moved pgstat.stat file
   * 31_aide_resolvconf:
     - extended rule for files in /@@{LIBINITRW}/resolvconf/interface/
   * 31_aide_cron-apt:
     - adjusted rule for files in mailchanges/
   * 31_aide_initramfs-tools: new
     - handle /@@{DEVDOT}initramfs
   * 31_aide_util-linux: new
     - handle utab file and mount dir
   * 31_aide_xdm: new
     - handle auth files
     - handle pid file
   * 31_aide_libvirt-bin:
     - handle .monitor files
     - handle /var/lib/libvirt
     - handle /@@{RUNLOCK}/libvirt-guests
     - handle /@@{RUN}/libvirt/uml-guest
   * 31_aide_laptop-mode-tools:
     - handle lock files
     - handle state-brightness-command and nolm-mountopts state file
   * 31_aide_munin,31_aide_munin-nodes:
     - /var/www/munin has been moved to /var/cache/munin/www
   * 70_aide_run:
     - handle /@@{RUNLOCK}/.ramfs
   * removed optional aide-config-zg2 package
   * debian/aide-common.prerm: removed (/usr/doc/ handling is obsolete)
   * Migrated to dpkg-source 3.0 (quilt) format:
     - converted dpatch patches to quilt
     - use dh7 syntax
     - use dh-autoreconf
     - removed debian/aide_fixperms (not needed anymore)
     - removed build-dep on dpatch
     - set debian/compat to 7
     - build depend on debhelper >= 7.0.50~ and dh-autoreconf
   * debian/patches/07-db_file.c_missing_format_string_fix.patch: new
     - added missing format string in dofprintf calls
   * Switched to debhelper 9
     - set debian/compat to 9
     - build depend on debhelper >= 9
   * aide.conf.in:
     - added X group and use it instead of 'acl+xattrs+e2fsattrs_SELINUX_'
     - fixed typo in comment
     - removed I from HiSerMemberLog
   * Moved aide.conf.in back to aide.conf and adjusted debian/rules
   * debian/control:
     - removed build-dep on libgcrypt11-dev (not needed anymore)
     - adjusted URLs of Vcs-* fields
     - removed pointer to configuration from description of binary packages
     - bumped to Standards-Version 3.9.3 (no changes necessary)
Checksums-Sha1: 
 429e0621a1942e9305327565babf41b14606d1bd 2122 aide_0.15.1-6.dsc
 b7d191505d0f125e90c483edc1c1ca50025cf617 80617 aide_0.15.1-6.debian.tar.gz
 b3dc1a3fa7d0671bb700e362b989173aca050bba 639404 aide_0.15.1-6_amd64.deb
 2c8a1c9c8761601e97084226e1af275689b3d89f 639434 aide-xen_0.15.1-6_amd64.deb
 85c4204d41df6b71bab34139f01131a8fa31c770 129466 aide-dynamic_0.15.1-6_amd64.deb
 4050b1b17d587bec04d0d411b907682f8ca4ce25 101858 aide-common_0.15.1-6_all.deb
Checksums-Sha256: 
 47c2d5e85fdc1d4b7fc85e8d58bf8f724d734ec07b836a83b71c429747115946 2122 aide_0.15.1-6.dsc
 e777efe51048e21ef36a194d9cf096a6f1076298eeabf67e8149970ecd54b265 80617 aide_0.15.1-6.debian.tar.gz
 b4af72dd982e0545b68bf38aa4f4c2345830baf25917f8000c2cae0ded5ce350 639404 aide_0.15.1-6_amd64.deb
 6e3a15aac032dbcdf0f97cfdb20da4e432b639e4148386f59a95c8be8c8eeb87 639434 aide-xen_0.15.1-6_amd64.deb
 2d51f315e25e04d848bcea5e4e0ff167d84992bfb4cfccdc435b19ea61834c1b 129466 aide-dynamic_0.15.1-6_amd64.deb
 6aabfc79d9ed63adb99e232b81b117770c6faf00204bf70f1632b526632f8800 101858 aide-common_0.15.1-6_all.deb
Files: 
 75b5041a088bd71bb054ee4057ff70d4 2122 admin optional aide_0.15.1-6.dsc
 39d0005c404f49276221383ae4bc7e33 80617 admin optional aide_0.15.1-6.debian.tar.gz
 50bc2e4535e590ddc5fb7ec798be6ad8 639404 admin optional aide_0.15.1-6_amd64.deb
 6dfb77e9ec4b41a52f399f3f0b1ab7bf 639434 admin extra aide-xen_0.15.1-6_amd64.deb
 610d906163914eaef512c2bca86a8bc3 129466 admin extra aide-dynamic_0.15.1-6_amd64.deb
 ab5c8f2ce4083b9baafb5a13c5727af7 101858 admin optional aide-common_0.15.1-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQGcBAEBCAAGBQJP4dNcAAoJEBjuhjhgIu9XaP8MAKr7piRl735xtQYX8BcbpFp4
z4xGbQ4KjK1jxXhH1qFh4+BtaiWf9KDw2CafxUDOM7DS1zQ6cB03A0k6iOQSiPZA
DTRC6XbHss7Tkek4iCU+rDnDMjShJFf4LBEo2Oo6yZ/fsujNsQug7n0quCbztfEt
U4iuCatCq9fZYHAoT50V/wj6EYrojsB5ZUv7MZY31gNSB08YWW4mT8Ytrf5oJ2fj
lAHo3UNWAe54UfDo4SRINDEsa8yAXyubmyBklmgh3qCqTiYi28J53BVWnbrL+H6V
yJzabSVjFzD5elz3JXxlr4h2FJafwenrkjabGeJgF+gT7PhIlseynviWRmUXE7zq
EKHFjLHcRYKB0HG9F1ke3ZHXoFW1SNejuUu8h+6aX7jAYVLGnf3XHTsbUrzoPGUS
tDHm+LhXQw1nDz44poKlvaHn7owTIIQH+JbwLembXcsxwoXP3jjhIOoaH5U4xC6I
EC3WtFZaSADvm55VDm1CJVp0klUCLflcAaQtHxLIhA==
=7Ozi
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 19 Jul 2012 07:36:31 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 08:40:29 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.