Public bug reported:

Multiple errors after installation.
Reproduce by installing `aide` and running `sudo aideinit`, it will fail with a 
return code 20.

```sh
~$ lsb_release -rd
Description:    Ubuntu Resolute Raccoon (development branch)
Release:        26.04
~$ dpkg -l | grep aide
ii  aide                              0.19.2-3                                  
 amd64        Advanced Intrusion Detection Environment - dynamic binary
ii  aide-common                       0.19.2-3                                  
 all          Advanced Intrusion Detection Environment - Common files
~$ sudo aideinit
Running aide --init...
AIDE --init return code 20
~$ sudo aide --config-check --config=/etc/aide/aide.conf
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=now'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=1 day ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=2 days ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=now'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=1 day ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=2 days ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=now'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=1 day ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=2 days ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=now'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=1 day ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=2 days ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=now'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=1 day ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=2 days ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=now'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=1 day ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: stderr> date: extra operand 
'--date=2 days ago'
  ERROR: /etc/aide/aide.conf.d/10_aide_days: execution failed (exit status: 0)
~$ find /etc/aide/ -type f -exec sudo aide --config-check --config={} \; &> 
/tmp/aide.bugs && grep -c 'ERROR: ' /tmp/aide.bugs
231

** Affects: aide (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Multiple error in AIDE configuration

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


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

Reply via email to