From 4bd8d13a739b2f1f46e0e88c0b99e29dda23999d Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Sun, 3 Apr 2022 16:47:35 +0100 Subject: [PATCH] ignore systemd-logind noise Bug: https://github.com/Bumblebee-Project/Bumblebee/issues/582 Origin: commit:b506a03abab85bc202109f8eeda5c337ee956935 Applied-Upstream: commit:b506a03abab85bc202109f8eeda5c337ee956935 This "error" appears when not run under logind. As it is not fatal, ignore it. (It also appears on my KDE desktop using KDM.) Gbp-Pq: Name ignore-systemd-logind-noise.patch --- src/bblogger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bblogger.c b/src/bblogger.c index aaadba9..c882275 100644 --- a/src/bblogger.c +++ b/src/bblogger.c @@ -145,6 +145,7 @@ static void parse_xorg_output(char * string){ if (strncmp(string, "(EE)", 4) == 0){ if (strstr(string, "Failed to load module \"kbd\"") || strstr(string, "No input driver matching") || + strstr(string, "systemd-logind: failed to get session:") || strstr(string, "Server terminated successfully")) { /* non-fatal errors */ prio = LOG_DEBUG; @@ -201,7 +202,7 @@ static void parse_xorg_output(char * string){ } } } - + /* do the actual logging */ bb_log(prio, "[XORG] %s\n", string); } -- 2.30.2