Debian Bug report logs - #661758
aide: Error while reading configuration

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: Olleg Samoylov <olleg@mipt.ru>

Date: Thu, 1 Mar 2012 02:51:01 UTC

Severity: important

Found in version aide/0.15.1-2+squeeze1

Fixed in version 0.15.1-4

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#661758; Package aide. (Thu, 01 Mar 2012 02:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to Olleg Samoylov <olleg@mipt.ru>:
New Bug report received and forwarded. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>. (Thu, 01 Mar 2012 02:51:05 GMT) (full text, mbox, link).


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

From: Olleg Samoylov <olleg@mipt.ru>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: aide: Error while reading configuration
Date: Thu, 01 Mar 2012 06:49:00 +0400
Package: aide
Version: 0.15.1-2+squeeze1
Severity: important

Strange error of just installed package. Run aideinit with default
configs.

06:45:21 root@petrel:/etc
# aideinit 
Running aide --init...
944:syntax error:��B
944:Error while reading configuration:��B
Configuration error
AIDE --init return code 17

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.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+squeeze1     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#661758; Package aide. (Thu, 01 Mar 2012 10:00:06 GMT) (full text, mbox, link).


Acknowledgement sent to Marc Haber <mh+debian-packages@zugschlus.de>:
Extra info received and forwarded to list. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>. (Thu, 01 Mar 2012 10:00:07 GMT) (full text, mbox, link).


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

From: Marc Haber <mh+debian-packages@zugschlus.de>
To: Olleg Samoylov <olleg@mipt.ru>, 661758@bugs.debian.org
Subject: Re: Bug#661758: aide: Error while reading configuration
Date: Thu, 1 Mar 2012 10:58:18 +0100
On Thu, Mar 01, 2012 at 06:49:00AM +0400, Olleg Samoylov wrote:
> Strange error of just installed package. Run aideinit with default
> configs.
> 
> 06:45:21 root@petrel:/etc
> # aideinit 
> Running aide --init...
> 944:syntax error:��B
> 944:Error while reading configuration:��B

What is in line 940 to 950 of /var/lib/aide/config.autogenerated?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062




Information forwarded to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#661758; Package aide. (Fri, 02 Mar 2012 00:42:06 GMT) (full text, mbox, link).


Acknowledgement sent to Olleg Samoylov <olleg@mipt.ru>:
Extra info received and forwarded to list. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>. (Fri, 02 Mar 2012 00:42:06 GMT) (full text, mbox, link).


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

From: Olleg Samoylov <olleg@mipt.ru>
To: Marc Haber <mh+debian-packages@zugschlus.de>
Cc: 661758@bugs.debian.org
Subject: Re: Bug#661758: aide: Error while reading configuration
Date: Fri, 02 Mar 2012 04:31:36 +0400
On Thu, 2012-03-01 at 10:58 +0100, Marc Haber wrote:
> What is in line 940 to 950 of /var/lib/aide/config.autogenerated?

After reinstallation the line number was changed.

# aideinit 
Running aide --init...
954:syntax error:�x
954:Error while reading configuration:�x
Configuration error
AIDE --init return code 17

Here lines 950-960

   950  /@@{ROOTPREFIX}dev/\.udev/links/disk\\x2fby-id\
\x2fusb-SEMC_Mass_Storage_4342354131484B33425A-0:0/b8:32$ RamdiskData
   951  /@@{ROOTPREFIX}dev/\.udev/links/snd\\x2fby-path\
\x2fpci-0000:00:14\.2$ RamdiskData
   952  /@@{ROOTPREFIX}dev/\.udev/links/snd\\x2fby-path\
\x2fpci-0000:00:14\.2/c116:9$ RamdiskData
   953  /@@{ROOTPREFIX}dev/\.udev/links/snd\\x2fby-path\
\x2fpci-0000:03:00\.1$ RamdiskData
   954  /@@{ROOTPREFIX}dev/\.udev/links/snd\\x2fby-path\
\x2fpci-0000:03:00\.1/c116:14$ RamdiskData
   955  /@@{ROOTPREFIX}dev/\.udev/links/disk\\x2fby-label\
\x2fЗарезервировано\\x5cx20системой$ RamdiskData
   956  /@@{ROOTPREFIX}dev/\.udev/links/disk\\x2fby-label\
\x2fЗарезервировано\\x5cx20системой/b8:2$ RamdiskData
   957  /@@{ROOTPREFIX}dev/\.udev/links/disk\\x2fby-uuid\
\x2f2044599544596E92$ RamdiskData
   958  /@@{ROOTPREFIX}dev/\.udev/links/disk\\x2fby-uuid\
\x2f2044599544596E92/b8:2$ RamdiskData
   959  /@@{ROOTPREFIX}dev/\.udev/links/disk\\x2fby-path\
\x2fpci-0000:00:11\.0-scsi-0:0:0:0-part2$ RamdiskData
   960  /@@{ROOTPREFIX}dev/\.udev/links/disk\\x2fby-path\
\x2fpci-0000:00:11\.0-scsi-0:0:0:0-part2/b8:2$ RamdiskData

Line 955 is looked like NTFS label from russian windows installation.
According to the man aide.conf all such symbols must be url encoded. I
tracked  it down. After disabling 70_aide_dev the error dissapear, but a
lot of warnings arise about "atime in future", etc in /dev.

-- 
Olleg Samoylov





Information forwarded to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#661758; Package aide. (Fri, 09 Mar 2012 23:15:05 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>. (Fri, 09 Mar 2012 23:15:06 GMT) (full text, mbox, link).


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

From: Hannes von Haugwitz <hannes@vonhaugwitz.com>
To: Olleg Samoylov <olleg@mipt.ru>, 661758@bugs.debian.org
Cc: Marc Haber <mh+debian-packages@zugschlus.de>
Subject: Re: [Pkg-aide-maintainers] Bug#661758: aide: Error while reading configuration
Date: Sat, 10 Mar 2012 00:12:22 +0100
[Message part 1 (text/plain, inline)]
Hi,

On Fri, Mar 02, 2012 at 04:31:36AM +0400, Olleg Samoylov wrote:
> On Thu, 2012-03-01 at 10:58 +0100, Marc Haber wrote:
> > What is in line 940 to 950 of /var/lib/aide/config.autogenerated?
> 
> After reinstallation the line number was changed.
> 
> # aideinit 
> Running aide --init...
> 954:syntax error:�x
> 954:Error while reading configuration:�x

For the broken error message see #631398[0].

> Configuration error
> AIDE --init return code 17
> 
> Here lines 950-960
> 
> […]
> 
> Line 955 is looked like NTFS label from russian windows installation.

This should have been fixed in aide 0.15.1-4.

For the stable version please try the attached patch against
/etc/aide/aide.conf.d/70_aide_dev and provide feedback if that solves
your issue.

Best regards

Hannes

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631398
[aide_70_aide_dev.patch (text/x-diff, attachment)]

Reply sent to Hannes von Haugwitz <hannes@vonhaugwitz.com>:
You have taken responsibility. (Fri, 31 May 2013 07:45:13 GMT) (full text, mbox, link).


Notification sent to Olleg Samoylov <olleg@mipt.ru>:
Bug acknowledged by developer. (Fri, 31 May 2013 07:45:13 GMT) (full text, mbox, link).


Message #25 received at 661758-done@bugs.debian.org (full text, mbox, reply):

From: Hannes von Haugwitz <hannes@vonhaugwitz.com>
To: Olleg Samoylov <olleg@mipt.ru>, 661758-done@bugs.debian.org
Cc: Marc Haber <mh+debian-packages@zugschlus.de>, Thijs Kinkhorst <thijs@debian.org>
Subject: Re: Bug#661758: aide: Error while reading configuration
Date: Fri, 31 May 2013 09:39:22 +0200
Version: 0.15.1-4

Hello,

On Sat, Mar 10, 2012 at 12:12:22AM +0100, Hannes von Haugwitz wrote:
> On Fri, Mar 02, 2012 at 04:31:36AM +0400, Olleg Samoylov wrote:
> > Configuration error
> > AIDE --init return code 17
> > 
> > Here lines 950-960
> > 
> > […]
> > 
> > Line 955 is looked like NTFS label from russian windows installation.
> 
> This should have been fixed in aide 0.15.1-4.
> 
> For the stable version please try the attached patch against
> /etc/aide/aide.conf.d/70_aide_dev and provide feedback if that solves
> your issue.

Since meanwhile this fix reached stable, I close this bug now as fixed
in 0.15.1-4.

Best regards

Hannes



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 29 Jun 2013 07:36:30 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:58:09 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.