aide: wrong file permissions, wrong configuration?

Bug #254633 reported by dhuser
2
Affects Status Importance Assigned to Milestone
aide (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: aide

on a fresh new ubuntu 8.04 lts x64 we installed the aide package:

   ii aide 0.13.1-8ubuntu1 Advanced Intrusion Detection Environment - s

the daily cron task failed with following error:

   ******************************************************************************
   * AIDE returned with exit code 17. Invalid configuration! *
   ******************************************************************************
   Errors produced (3 lines):
   46:syntax error:(
   46:Error while reading configuration:(
   Configuration error
  End of AIDE error output.

according to http://<email address hidden>/msg535471.html we changed the file permissions of the mentioned scripts to 755.

seems that the package has got wrong permissions for some files, hasn't it?

after that, we receive the following error:

   /etc/cron.daily/aide:
   /etc/aide/aide.conf.d/31_aide_apt-listbugs: line 2: syntax error near unexpected token `critical'
   /etc/aide/aide.conf.d/31_aide_apt-listbugs: line 2: `!/var/cache/apt-listbugs/%2Findices%2Findex.db-(critical|grave|serious)\.gz$'

the file /etc/aide/aide.conf.d/31_aide_apt-listbugs contains the following lines:

##+# this needs to go in the package
!/var/cache/apt-listbugs/%2Findices%2Findex.db-(critical|grave|serious)\.gz$
#!/var/cache/apt-listbugs/%2F~taru%2Fapt-listbugs%2Fdb-h%2F[0-9]{2}%2F[0-9]{6}\.status$
/var/cache/apt-listbugs$ VarDir

we will comment this file just to get aide running, but would be grateful if that could be fixed.

kirnd regards, dieter huser

------------------------------------------------------------------------

technical infos:

root@mail3:~# lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

root@mail3:~# apt-cache policy aide
aide:
  Installed: 0.13.1-8ubuntu1
  Candidate: 0.13.1-8ubuntu1
  Version table:
 *** 0.13.1-8ubuntu1 0
        500 ftp://mirror.hetzner.de hardy/main Packages
        500 http://de.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Steve Beattie (sbeattie) wrote :

Hi Dieter,

Thank you for taking the time to report this bug and helping to make Ubuntu better. The permissions bug has already been reported and is a duplicate of bug 157858, so it is being marked as such. The subsequent error you're seeing about the syntax error is because I believe you've accidentally made /etc/aide/aide.conf.d/31_aide_apt-listbugs executable, as that's the only way I'm able to reproduce that error. If you are able to reproduce it without the execution bits set on /etc/aide/aide.conf.d/31_aide_apt-listbugs, please open a new bug about that specific issue.

Any further discussion regarding the permissions bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Thanks again!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.