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.