rkhunter / osbs: newest fedora doesn't use network-scripts by default, so don't check ifup/ifdown.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-08-22 23:12:44 +00:00 committed by Pierre-Yves Chibon
parent a1e49de8d6
commit ddad0d396c

View file

@ -650,8 +650,14 @@ SCRIPTWHITELIST=/usr/bin/whatis
SCRIPTWHITELIST=/usr/bin/ldd
SCRIPTWHITELIST=/usr/bin/groups
SCRIPTWHITELIST=/usr/bin/GET
{% if inventory_hostname.startswith(('osbs')) %}
# no network-scripts on newest fedora
#SCRIPTWHITELIST=/sbin/ifup
#SCRIPTWHITELIST=/sbin/ifdown
{% else %}
SCRIPTWHITELIST=/sbin/ifup
SCRIPTWHITELIST=/sbin/ifdown
{% endif %}
{% if inventory_hostname.startswith(('db','pagure','retrace','anitya','upstream')) %}
# Set this size very large on postgres running servers.
IPC_SEG_SIZE=100000000000