From d33bcbe5d6bea965d9bf79b6cab4f65c4c132376 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 20 Sep 2023 11:34:32 +0200 Subject: [PATCH] journalwatch config --- modules/journalwatch.nix | 42 +++++++++++++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 5 deletions(-) diff --git a/modules/journalwatch.nix b/modules/journalwatch.nix index 4bce1cb..77c0443 100644 --- a/modules/journalwatch.nix +++ b/modules/journalwatch.nix @@ -48,13 +48,19 @@ filters = '' .* ''; - match = "_SYSTEMD_UNIT = bluetooth.service"; + match = "_SYSTEMD_UNIT = /(bluetooth\.service|cups\.service)/"; } - { # yodaTux + { # yodaYoga filters = '' - .* + # Somebody evil trying to connect over SSH ^^ + error: kex_exchange_identification: read: Connection reset by peer + # Somebody evil connected with a non-SSH client to the SSH server. + error: kex_exchange_identification: banner line contains invalid characters + # Somebody evil ... + error: kex_exchange_identification: client sent invalid protocol identifier "GET / HTTP/1.1" + error: kex_exchange_identification: Connection closed by remote host ''; - match = "_SYSTEMD_UNIT = cups.service"; + match = "_SYSTEMD_UNIT = sshd.service"; } { # yodaTux. If the user `yoda` runs a command with `sudo`. filters = '' @@ -100,9 +106,17 @@ { # yodaTux filters = '' .+ error name="org\.bluez\.MediaEndpoint1\.Error\.NotImplemented" .+ + # Open issue: https://github.com/NixOS/nixpkgs/issues/79220 + Unknown username .+ in message bus configuration file ''; match = "_SYSTEMD_UNIT = dbus.service"; } + { # yodaTux + filters = '' + .+ Setting AttentionNeeded to FALSE because EnsureCredentials\(\) succeded + ''; + match = "_SYSTEMD_USER_UNIT = dbus.service"; + } { # yodaTux filters = '' .* @@ -111,12 +125,30 @@ } { # yodaTux filters = '' + # ACPI: FW issue: working around C-state latencies out of order # Kernel WiFi driver bug. - iwlwifi 0000:01:00.0: Unhandled alg: 0x707 + # api flags index 2 larger than supported by driver + # https://wiki.gentoo.org/wiki/Iwlwifi#Troubleshooting + # Probably no action required: https://www.spinics.net/lists/linux-wireless/msg239088.html + iwlwifi 0000:01:00.0: .* + # + random: crng reseeded on system resumption ''; match = "SYSLOG_IDENTIFIER = kernel"; } + { # yodaTux + filters = '' + .* + ''; + match = "SYSLOG_IDENTIFIER = simple-scan"; + } + { # yodaTux + filters = '' + .* + ''; + match = "_SYSTEMD_USER_UNIT = /(org\.gnome\..+\.service|pipewire\.service|wireplumber\.service)/"; + } ]; }; }