[Pkg-aide-maintainers] Bug#438429: Bug#438429: aide uses invalid command

bwoodall bwoodall at bwoodall.org
Wed Sep 5 20:45:51 UTC 2007


Hi Marc,

I recently transitioned from sarge to etch and I also get Michael's
error.
> /etc/cron.daily/aide: line 117: onexit: command not found
> /etc/cron.daily/aide: line 61: onexit: command not found
> 
> onexit does not appear to be a valid bash command.

You asked for an output, so here is mine (long);

wardrobe:~# bash -x /etc/cron.daily/aide
+ set -e
+ set -C
+ '[' -f /usr/bin/aide ']'
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ LOGDIR=/var/log/aide
+ LOGFILE=/var/log/aide/aide.log
+ CONFFILE=/var/lib/aide/aide.conf.autogenerated
+ PREFIX=aide
+ TMPBASE=/var/run/aide
+ LOCKFILE=/var/run/aide/cron.daily.lock
+ TMPDIR=/var/run/aide/cron.daily
+ AIDEARGS=-V4
++ hostname -f
+ FQDN=localhost
+ MAILSUBJ='Daily AIDE report for localhost'
++ date '+%Y-%m-%d %H:%M'
+ DATE='2007-09-05 13:43'
+ '[' -f /etc/default/aide ']'
+ . /etc/default/aide
++ MAILSUBJ='Daily AIDE report for localhost'
++ MAILTO=root
++ COMMAND=update
++ COPYNEWDB=no
++ LINES=1500
++ NOISE=
++ AIDEARGS=
+ set -u
+ umask 077
++ grep '^database=file:/'
++ head -n 1
++ cut --delimiter=: --fields=2
+ DATABASE=/var/lib/aide/aide.db
++ grep '^database_out=file:/'
++ head -n 1
++ cut --delimiter=: --fields=2
+ DATABASE_OUT=/var/lib/aide/aide.db.new
+ MAILTO=root
+ eval MAILTO=root
++ MAILTO=root
+ DATABASE=/var/lib/aide/aide.db
+ LINES=1500
+ COMMAND=update
+ COPYNEWDB=no
+ QUIETREPORTS=no
+ ONEXIT=
+ trap ' traphandler INT; trap - INT ERR' INT
+ trap ' traphandler ERR; trap - INT ERR' ERR
+ '[' -e /var/run/aide/cron.daily ']'
++ mktemp -d /var/run/aide/cron.daily.old.XXXXXXXXXX
+ NEWNAME=/var/run/aide/cron.daily.old.TIUVn26533
+ mv /var/run/aide/cron.daily /var/run/aide/cron.daily.old.TIUVn26533
+ OLDTMPDIRFOUND=yes
+ mkdir -p /var/run/aide/cron.daily
++ mytempfile errorlog
++ NAME=errorlog
++ echo /var/run/aide/cron.daily/errorlog
++ touch /var/run/aide/cron.daily/errorlog
+ ERRORLOG=/var/run/aide/cron.daily/errorlog
++ mytempfile mailfile
++ NAME=mailfile
++ echo /var/run/aide/cron.daily/mailfile
++ touch /var/run/aide/cron.daily/mailfile
+ MAILFILE=/var/run/aide/cron.daily/mailfile
+ ARETVAL=0
+ '[' '!' -f /var/lib/aide/aide.db ']'
+ printf 'Fatal error: The AIDE database does not exist!\n'
+ printf 'This may mean you haven'\''t created it, or it may mean that someone has removed it.\n'
+ onexit fatal
/etc/cron.daily/aide: line 117: onexit: command not found
++ traphandler ERR
++ trap - INT ERR
++ printf 'SIG %s received!\n\n' ERR
++ pidof aide
++ xargs --no-run-if-empty kill -9
++ onexit signal ERR
/etc/cron.daily/aide: line 61: onexit: command not found






More information about the Pkg-aide-maintainers mailing list