#79 rkhunter: removing taskotron group references
Merged 3 years ago by tflink. Opened 3 years ago by tflink.

@@ -398,7 +398,7 @@

  ALLOWDEVFILE=/dev/shm/squid-cf__queues.shm

  ALLOWDEVFILE=/dev/shm/squid-cf__metadata.shm

  {% endif %}

- {% if inventory_hostname in groups['virtservers'] or inventory_hostname in groups['openqa_workers'] or inventory_hostname in groups['openqa_stg_workers'] or inventory_hostname in groups['taskotron_stg_client_hosts'] or inventory_hostname in groups['taskotron_dev_client_hosts']  %}

+ {% if inventory_hostname in groups['virtservers'] or inventory_hostname in groups['openqa_workers'] or inventory_hostname in groups['openqa_stg_workers']  %}

  # libvirt spice device makes a /dev/shm/spice file

  ALLOWDEVFILE=/dev/shm/spice.*

  {% endif %}

I forgot to remove references to the taskotron client host groups from rkhunter.conf when I removed those groups from inventory. Removing the references so that the template rendering doesn't error out.

Build succeeded.

Pull-Request has been merged by tflink

3 years ago