[Bug 112242] [NEW] AIDE; 31_aide_apt; corrupt /var/lib/aide/aide.conf.autogenerated if '#' at the end of a sources.list line

Launchpad Bug Tracker 112242 at bugs.launchpad.net
Thu Feb 17 08:45:15 UTC 2011


You have been subscribed to a public bug by Daniel Holbach (dholbach):

Binary package hint: aide

aide_0.13.1-5

Running aideinit or update-aide.conf will result in a corrupt
/var/lib/aide/aide.conf.autogenerated.

If sources.list has an '#' at the end of a line this '#' makes its way into /var/lib/aide/aide.conf.autogenerated.
E.G.
following line in sources.list
 deb http://archive.canonical.com/ubuntu feisty-commercial main # Ubuntu Commercial Applications; Feisty

will give a line in /var/lib/aide/aide.conf.autogenerated:
 /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_feisty-commercial_#_binary-@@{ARCH}_Packages(\.IndexDiff)?$ VarFile

Line is generated by /etc/aide/aide.conf.d/31_aide_apt

TESTCASE
1. System > Administration > Software Sources (or run sudo software-properties-gtk)
2. Add new sources.
    a. Uncheck the "Source code" box on the first tab "Ubuntu software" if it is checked. Close, reload. If not checked, proceed to 2.b.
    b. Open Software sources again, and now check the "Source code" box on the "Ubuntu software" tab. software-properties-gtk will add the following to any new lines it added to /etc/apt/source.list: 
     #Added by software-properties
3. run 'sudo aideinit'
On failure, it will report:
  100:syntax error:"
  100:Error while reading configuration:"
  Configuration error
On success, aideinit will run to completion (which will take a while)

** Affects: aide (Ubuntu)
     Importance: High
         Status: Fix Released

-- 
AIDE; 31_aide_apt; corrupt /var/lib/aide/aide.conf.autogenerated if '#' at the end of a sources.list line
https://bugs.launchpad.net/bugs/112242
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list