From 7e24531db243d7c219b332074add720bc992eb22 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 16 Feb 2015 01:22:34 +0000 Subject: [PATCH] Adjust check for fedora 21+ --- roles/rkhunter/templates/rkhunter.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/rkhunter/templates/rkhunter.conf.j2 b/roles/rkhunter/templates/rkhunter.conf.j2 index dba06adce0..572edb2a15 100644 --- a/roles/rkhunter/templates/rkhunter.conf.j2 +++ b/roles/rkhunter/templates/rkhunter.conf.j2 @@ -321,6 +321,11 @@ ALLOWHIDDENFILE=/usr/share/man/man5/.k5identity.5.gz ALLOWHIDDENFILE=/sbin/.cryptsetup.hmac ALLOWHIDDENFILE=/dev/.udev/queue.bin ALLOWHIDDENFILE=/dev/.udev/uevent_seqnum +{% if ansible_distribution == 'Fedora' and ansible_distribution_major_version > 20 %} +# Fedora 21 and higher systems has a /dev/.updated file +ALLOWHIDDENFILE=/dev/.updated +{% endif %} + # # Allow the specified processes to use deleted files.