From 4432f9304485c0c1615b8772d19065c5fc7e7e4c Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 1 Apr 2020 16:32:52 +0200 Subject: [LOGG-2190] skip mysqld related entries --- include/tests_logging | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'include/tests_logging') diff --git a/include/tests_logging b/include/tests_logging index 7f254147..292940e3 100644 --- a/include/tests_logging +++ b/include/tests_logging @@ -534,12 +534,7 @@ LSOF_GREP="WARNING|Output information" # MySQL versions prior to 5.6 leave lots of deleted in-use files in /tmp, ignoring those - if [ -n "${DPKGBINARY}" ]; then - EARLY_MYSQL=$(${DPKGBINARY} -l | ${EGREPBINARY} mysql-server-5.[0-5]) - elif [ -n "${RPMBINARY}" ]; then - EARLY_MYSQL=$(${RPMBINARY} -qa mariadb | ${EGREPBINARY} mariadb-5.[0-5]) - fi - if [ -n "${EARLY_MYSQL}" ]; then LSOF_GREP="${LSOF_GREP}|mysqld"; fi + LSOF_GREP="${LSOF_GREP}|mysqld" # grsecurity causes Fail2Ban to hold onto deleted in-use files in /var/tmp if [ ${GRSEC_FOUND} -eq 1 ]; then LSOF_GREP="${LSOF_GREP}|fail2ban"; fi -- cgit v1.2.3