rkhunter: adjust for f41+ journald.conf default
On Fedora 41 /etc/systemd/journald.conf isn't shipped by default anymore. Instead /usr/lib/systemd/journalc.conf is the default On RHEL and older Fedora's we can just not set this and it will find the default one. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
5b9d067a31
commit
09e932080c
1 changed files with 7 additions and 0 deletions
|
@ -507,6 +507,13 @@ PASSWORD_FILE=/etc/shadow
|
|||
# usually need to be set.
|
||||
#
|
||||
#SYSLOG_CONFIG_FILE=/etc/syslog.conf
|
||||
{% if ansible_distribution_major_version|int >= 40 %}
|
||||
# On Fedora 41 /etc/systemd/journald.conf isn't shipped by default anymore.
|
||||
# Instead /usr/lib/systemd/journalc.conf is the default
|
||||
# Oh RHEL and older Fedora's we can just not set this and it will
|
||||
# find the default one.
|
||||
SYSLOG_CONFIG_FILE="/etc/rsyslog.conf /usr/lib/systemd/journald.conf"
|
||||
{% endif %}
|
||||
|
||||
#
|
||||
# This option permits the use of syslog remote logging.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue