Package: aide
Version: 0.10-6
Severity: normal

After upgrading from 0.10-4 to the 0.10-6 version of the aide package
the following error was generated from the nightly cron script.

  From: Cron Daemon
  Date: Wed,  2 Feb 2005 06:33:44 -0700 (MST)
  To: root
  Subject: Cron <root> test -x /usr/sbin/anacron || run-parts --report 
/etc/cron.daily

  /etc/cron.daily/aide:
  grep: /var/lib/aide/aide.conf.autogenerated: No such file or directory

My /etc/aide files are as follows:

  find /etc/aide
  /etc/aide
  /etc/aide/aide.conf.d
  /etc/aide/aide.conf

At the first time that the /etc/cron.daily/aide script is run the
autogenerated configuration file is not yet present.  The
/usr/bin/aide script wrapper has not yet run and the new
update-aide.conf has not yet generated the new autogenerated file.

This then caused the DATABASE variable to be empty.  However my
database is at the default location and the setting of default values
after that point recovered and running /usr/bin/aide then ran
update-aide.conf which created the autogenerated config file.

Perhaps the following addition to the cron script would be
appropriate?  Ensure that /var/lib/aide/aide.conf.autogenerated is
always created by the cron script?

  update-aide.conf
  DATABASE=`grep "^database=file:/" $CONFFILE | head -1 | cut --delimiter=: 
--fields=2`

Bob Proulx <[EMAIL PROTECTED]>
http://www.proulx.com/~bob/

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-10-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages aide depends on:
ii  debconf        1.4.42                    Debian configuration management sy
ii  libc6          2.3.2.ds1-20.0.0.1.pure64 GNU C Library: Shared libraries an
ii  mailx          1:8.1.2-0.20040524cvs-4   A simple mail user agent

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to