** 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
+ 
+ [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')
+   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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2045923

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to