cron.daily/aide does not consider whitespace in aide.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aide (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: aide
This report relates to aide 0.13.1-8ubuntu1, from a Ubuntu 8.04.1 installation.
By default, the aide.conf file included in the package looks as follows:
bolad03@
# AIDE conf
database=
database_
Checksums = md5+sha1+
OwnerMode = p+u+g
Size = s+b
InodeData = OwnerMode+n+i+Size
...
According to the aide.conf man page, "these lines have the format parameter=value". It seemed clear that whitespace was allowed before and after the "=" character however since the package wasn't broken out of the box.
Eventually, I decided that the database[
/etc/cron.
cp: cannot stat `': No such file or directory
run-parts: /etc/cron.
I tracked the problem down, and have included the patch so that the changes to my aide.conf are parsed correctly.
Correction - exit *before* the copy is attempted, if the file we intend to copy does not exist. Sorry.