From ee510b954cff86f644000dfbfd579d23634ab200 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 16 Feb 2015 00:35:08 +0000 Subject: [PATCH] Add case for notifs-backend shm file in rkhunter --- roles/rkhunter/templates/rkhunter.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/rkhunter/templates/rkhunter.conf.j2 b/roles/rkhunter/templates/rkhunter.conf.j2 index da90d2508d..dba06adce0 100644 --- a/roles/rkhunter/templates/rkhunter.conf.j2 +++ b/roles/rkhunter/templates/rkhunter.conf.j2 @@ -365,6 +365,9 @@ ALLOWDEVFILE=/dev/.udev/db/* ALLOWDEVFILE=/dev/.udev/rules.d/99-root.rules ALLOWDEVFILE=/dev/.udev/uevent_seqnum ALLOWDEVFILE=/dev/md/autorebuild.pid +{% if ansible_hostname == 'notifs-backend01' %} +ALLOWDEVFILE=/dev/shm/fmn-cache.dbm +{% endif %} # # This setting tells rkhunter where the inetd configuration