From d9ffb7320056e96e8bca1efc1f04c945a2a09e58 Mon Sep 17 00:00:00 2001
From: Vladimir Still <git@vstill.eu>
Date: Tue, 25 Jan 2022 20:38:47 +0100
Subject: [PATCH] bin: Update filter in journal-checker

---
 bin/journal-checker | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/journal-checker b/bin/journal-checker
index aeebedf..5789731 100755
--- a/bin/journal-checker
+++ b/bin/journal-checker
@@ -11,9 +11,11 @@ else
     SINCE="--since=$(head -n1 $STAMPFILE)"
 fi
 
+# just ignore cretain error messages
 filter() {
-    grep -v 'systemd-tmpfiles.*: Detected autofs mount point /home during canonicalization of /home.$' | \
-    grep -v 'systemd-xdg-autostart-generator'
+    grep -v 'systemd-tmpfiles\[[0-9]*\]: Detected autofs mount point /home during canonicalization of /home.$' | \
+    grep -v 'systemd-xdg-autostart-generator\[[0-9]*\]:' | \
+    grep -v 'dhcpd\[[0-9]*\]: uid lease [0-9.]* for client [0-9a-f:]* is duplicate on [0-9.]*/[0-9]*$'
 }
 
 NOW=$(date +"%Y-%m-%d %H:%M")
-- 
GitLab