On Mon, May 08, 2023 at 12:13:38PM +0200, Helmut Grohne wrote:
> The severity for this bug was kinda non-obvious, because
> serial-getty@*.service seems really uncommon, but restarting it can
> cause data loss. Thus I'm ranking it right below rc-severity and attach
> the obvious patch.

Yeah, I missed the attachment. Sorry for the noise.

Helmut
Subject: do not restart serial-getty@*.service
Author: Helmut Grohne <hel...@subdivi.de>

--- a/ex/needrestart.conf
+++ b/ex/needrestart.conf
@@ -98,6 +98,7 @@ $nrconf{override_rc} = {
 
     # gettys
     qr(^getty@.+\.service) => 0,
+    qr(^serial-getty@.+\.service) => 0,
 
     # systemd --user
     qr(^user@\d+\.service) => 0,

Reply via email to