[Bug 2045923] Re: AIDE returned with exit code 17. Invalid configuration!

Ghadi Rahme 2045923 at bugs.launchpad.net
Fri Nov 8 14:58:07 UTC 2024


Attached is the patch for jammy

** Changed in: aide (Ubuntu)
     Assignee: (unassigned) => Ghadi Rahme (ghadi-rahme)

** Changed in: aide (Ubuntu)
   Importance: Undecided => High

** Changed in: aide (Ubuntu)
   Importance: High => Medium

** Changed in: aide (Ubuntu)
   Importance: Medium => High

** Patch added: "jammy.debdiff"
   https://bugs.launchpad.net/debian/+source/aide/+bug/2045923/+attachment/5835696/+files/jammy.debdiff

** Also affects: aide (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: aide (Ubuntu Jammy)
     Assignee: (unassigned) => Ghadi Rahme (ghadi-rahme)

** Changed in: aide (Ubuntu Jammy)
   Importance: Undecided => High

** Also affects: aide (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: aide (Ubuntu Plucky)
   Importance: High
     Assignee: Ghadi Rahme (ghadi-rahme)
       Status: Triaged

** Also affects: aide (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: aide (Ubuntu Plucky)
       Status: Triaged => Fix Released

** Changed in: aide (Ubuntu Oracular)
       Status: New => Fix Released

** Changed in: aide (Ubuntu Noble)
       Status: New => Fix Released

** No longer affects: aide (Ubuntu Plucky)

** No longer affects: aide (Ubuntu Noble)

** No longer affects: aide (Ubuntu Oracular)

** Description changed:

  Thank you @muhammedibnabdullah1401 for the original bug report!
  
  [impact]
  
  Currently there is a bug in the AIDE package on Ubuntu where it would
  fail to run on certain sources and return error code 17.
  
  The fix has already been merged into Debian and this is a simple back-
  port of that patch.
  
  Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008277
  
  Debian patch:
  https://salsa.debian.org/debian/aide/-/commit/f946d19f4fd430c37aa4218be7453052eae18b74
  
+ The patch is already available in Noble and newer.
+ 
  [Test Plan]
  
  1- Install the aide package: % sudo apt install aide -y
  2- Add a corrupted sources file as the one mentioned in the original description
  3- run aide and the following error will appear:
  ******************************************************************************
  *          AIDE returned with exit code 17. Invalid configuration!           *
  ******************************************************************************
-  
+ 
  [Where problems could occur]
  
  * other files might start returning the same error and cause aide to
  crash with the same error code 17, although this risk is minimal since
  this change has been in Debian for over 2 years now with no issues
- 
  
  [original description]
  
  Hi,
  After i installed protonvpn, i got this error. aide didnt start anymore.
  aide version: 0.17.4.1
  ubuntu 22.04 LTS pro,
  
  Error code below:
  
  "
  
  ******************************************************************************
  *          AIDE returned with exit code 17. Invalid configuration!           *
  ******************************************************************************
  
  AIDE error output (1 lines):
    ERROR: /etc/aide/aide.conf.d/31_aide_apt (stdout):263:65: error in rule '/var/lib/apt/lists/repo\.protonvpn\.com_debian_dists_stable_https://esm.ubuntu.com/cis/ubuntu_binary-(amd64|all)_Packages(\.diff_Index)?$': invalid double slash (line: '/var/lib/apt/lists/repo\\.protonvpn\\.com_debian_dists_stable_https://esm.ubuntu.com/cis/ubuntu_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile')
  End of AIDE error output
  AIDE detected no changes.
  
  End of AIDE daily cron job at 2023-11-26 08:00, run time 3 seconds
  funny, AIDE did not leave a log.
  
  "
  
  Can you help me.
  Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2045923

Title:
   AIDE returned with exit code 17. Invalid configuration!

Status in aide package in Ubuntu:
  Fix Released
Status in aide source package in Jammy:
  New
Status in aide package in Debian:
  Fix Released

Bug description:
  Thank you @muhammedibnabdullah1401 for the original bug report!

  [impact]

  Currently there is a bug in the AIDE package on Ubuntu where it would
  fail to run on certain sources and return error code 17.

  The fix has already been merged into Debian and this is a simple back-
  port of that patch.

  Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008277

  Debian patch:
  https://salsa.debian.org/debian/aide/-/commit/f946d19f4fd430c37aa4218be7453052eae18b74

  The patch is already available in Noble and newer.

  [Test Plan]

  1- Install the aide package: % sudo apt install aide -y
  2- Add a corrupted sources file as the one mentioned in the original description
  3- run aide and the following error will appear:
  ******************************************************************************
  *          AIDE returned with exit code 17. Invalid configuration!           *
  ******************************************************************************

  [Where problems could occur]

  * other files might start returning the same error and cause aide to
  crash with the same error code 17, although this risk is minimal since
  this change has been in Debian for over 2 years now with no issues

  [original description]

  Hi,
  After i installed protonvpn, i got this error. aide didnt start anymore.
  aide version: 0.17.4.1
  ubuntu 22.04 LTS pro,

  Error code below:

  "

  ******************************************************************************
  *          AIDE returned with exit code 17. Invalid configuration!           *
  ******************************************************************************

  AIDE error output (1 lines):
    ERROR: /etc/aide/aide.conf.d/31_aide_apt (stdout):263:65: error in rule '/var/lib/apt/lists/repo\.protonvpn\.com_debian_dists_stable_https://esm.ubuntu.com/cis/ubuntu_binary-(amd64|all)_Packages(\.diff_Index)?$': invalid double slash (line: '/var/lib/apt/lists/repo\\.protonvpn\\.com_debian_dists_stable_https://esm.ubuntu.com/cis/ubuntu_binary-@@{APT_ARCH}_Packages(\\.diff_Index)?$ f VarFile')
  End of AIDE error output
  AIDE detected no changes.

  End of AIDE daily cron job at 2023-11-26 08:00, run time 3 seconds
  funny, AIDE did not leave a log.

  "

  Can you help me.
  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aide/+bug/2045923/+subscriptions




More information about the Ubuntu-sponsors mailing list