Commit Graph

25 Commits

Author SHA1 Message Date
Patrik Koncity
43cdcea6e5 RHEL-9.9 ERRATUM
Support for included files in /etc/aide.d/
Resolves: RHEL-178122
Increase default values for num_workers
Resolves: RHEL-178123
Add pre-configured systemd timer for aide check
Resolves: RHEL-178121
2026-06-05 08:15:04 +02:00
Cropi
64a9adb85d aide: add aide-migrate-config to automate config migration from pre-0.19
Users upgrading from RHEL 9 (aide 0.16) to RHEL 10 (aide 0.19.2) face
breaking config changes: removed options, renamed options, dropped hashsums,
and deprecated syntax. Without migration the first aide run after upgrade
fails with a fatal parse error (exit code 17).

Adds aide-migrate-config, a script that automatically migrates aide.conf
and all @@include'd files on install or upgrade. It also ships as a
standalone tool for users who need to run it manually.

verbose= is removed without adding replacement log_level= and
report_level= settings; both options default to 'warning' and
'changed_attributes' in AIDE 0.19, so injecting them only clutters
user configs.

Introduce append_setting() to guarantee that any value appended to a
config file starts on a fresh line. Without this, a file lacking a
trailing newline at the point of append would have the new field
concatenated onto the preceding line, silently corrupting the config.

The H group check in needs_migration caused migrate_config_file to run
even when no actual config content needed changing. The result was a
spurious backup and mtime change on the config file during every
0.19.2-5 -> 0.19.2-6 upgrade with an unmodified aide.conf. Move the H
group check to check_and_warn, which runs unconditionally after the
migration loop.

Resolves: RHEL-178317
Signed-off-by: Cropi <alakatos@redhat.com>
2026-06-02 09:13:25 +02:00
Cropi
65c6d119fd aide: re-add syslog_format option for 0.19.2
syslog_format was a downstream-only RHEL patch against aide 0.16 that
was lost during the rebase to 0.19.2. Users with syslog_format=yes in
their config received a fatal parse error (exit code 17) after upgrade.

Re-implements the option as REPORT_FORMAT_SYSLOG using the 0.19.2
report format module system rather than the old standalone boolean,
fitting the new architecture cleanly. syslog_format=yes/true is
equivalent to report_format=syslog; both spellings are accepted.

Resolves: RHEL-178317
Signed-off-by: Cropi <alakatos@redhat.com>
2026-06-02 09:11:38 +02:00
Cropi
933cd57e60 Add ci plan for upgrade
Resolves: RHEL-178317
Signed-off-by: Cropi <alakatos@redhat.com>
2026-06-02 09:07:12 +02:00
Cropi
b7a59b3044 Adjust default config to avoid false positives in /etc
Resolves: RHEL-83776
2025-10-15 14:28:20 +02:00
Cropi
80bd0578fa Add explanatory comment for /boot/grub2/grubenv exclusion
Document why /boot/grub2/grubenv is excluded from AIDE monitoring.  The
file's timestamp gets modified continuously due to the "boot_success"
implementation, which would cause unnecessary noise in security
monitoring reports.
Do not monitor link count in /var/log/journal.

Resolves: RHEL-83776
2025-10-09 08:49:17 +02:00
Cropi
3a6519a69a Do not monitor link count in /var/log/journal
Resolves: RHEL-83776
2025-09-30 11:40:48 +02:00
Cropi
5703b38aae RHEL 9.8.0 ERRATUM
Modernize config file
Resolves: RHEL-83776
2025-09-26 07:47:45 +02:00
Cropi
0cc0108c29 RHEL 9.8.0 ERRATUM
rebase to 0.19.2
Resolves: RHEL-110573
Switch to libnettle for hashing
prevent aide from crashing if database is a HTTPS URL
Resolves: RHEL-76014
prevent aide from exiting if a file is truncated during check
Resolves: RHEL-1569
2025-09-16 11:57:09 +02:00
Cropi
4638788abc RHEL 9.7 ERRATUM
CVE-2025-54389 aide: improper output neutralization enables bypassing
Resolves: RHEL-109912
2025-08-21 09:48:15 +02:00
Cropi
445369c9ce RHEL 9.7 ERRATUM
CVE-2025-54389 aide: improper output neutralization enables bypassing
Resolves: RHEL-109912
2025-08-20 16:57:34 +02:00
Patrik Koncity
4ed7b12b1e Add ci plan for gating and adjust gating rules 2025-02-06 13:42:32 +01:00
Radovan Sroka
c0e6b8f143 RHEL 9.6.0 ERRATUM
- /boot/grub2/grubenv's timestamp is getting modified continuously due to "boot_success" implementation
Resolves: RHEL-4331

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
2025-01-17 17:35:49 +01:00
Radovan Sroka
9c3605c60c RHEL 9.5.0 ERRATUM
- AIDE fails when using root_prefix option
Resolves: RHEL-28882
2024-08-20 15:32:47 +02:00
Radovan Sroka
fcfb8ebde3
RHEL 9.5.0 ERRATUM
- aide fails with "Not enough parameters in db:15384. Trying to continue." unexpectedly
Resolves: RHEL-27606

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
2024-05-20 16:56:49 +02:00
Radovan Sroka
32051f4193 Backport fix for CVE-2021-45417
Resolves: rhbz#2041950
2022-01-24 11:29:39 +01:00
Mohan Boddu
d838342cc6 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 19:19:16 +00:00
Zoltan Fridrich
f5fcbe0e98 Fix important issues from static analysis 2021-05-27 14:55:03 +02:00
Zoltan Fridrich
d550a7a774 do not use sha1 and md5 by default 2021-05-20 10:21:28 +02:00
Zoltan Fridrich
b43ff98e62 config cleanup 2021-05-18 09:48:20 +02:00
Mohan Boddu
7a1774b640 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-15 22:30:27 +00:00
DistroBaker
fb13f6a627 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/aide.git#0ddcbdc00e9ecd5575db63416675c72c567ecbe9
2021-02-03 10:41:00 +01:00
DistroBaker
fcb8ec9d78 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/aide.git#894a715ceaa3f8b3602d2644295a4287274a8718
2020-11-20 12:51:48 +01:00
Petr Šabata
bcefe4c60f RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/aide#894a715ceaa3f8b3602d2644295a4287274a8718
2020-10-14 21:34:29 +02:00
Release Configuration Management
c5d2eeef55 New branch setup 2020-10-08 10:38:28 +00:00