daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
Blob Blame History Raw
From 0c21535392bf6296d213c35fd1a0b0bc89dbddb3 Mon Sep 17 00:00:00 2001
From: Anita Zhang <the.anitazha@gmail.com>
Date: Wed, 31 Mar 2021 14:04:09 -0700
Subject: [PATCH] sysv-generator: downgrade log warning about autogenerated to
 debug

---
 src/sysv-generator/sysv-generator.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c
index 8c7aef23c3..89599a69ee 100644
--- a/src/sysv-generator/sysv-generator.c
+++ b/src/sysv-generator/sysv-generator.c
@@ -786,9 +786,9 @@ static int enumerate_sysv(const LookupPaths *lp, Hashmap *all_services) {
                         if (!fpath)
                                 return log_oom();

-                        log_warning("SysV service '%s' lacks a native systemd unit file. "
-                                    "Automatically generating a unit file for compatibility. "
-                                    "Please update package to include a native systemd unit file, in order to make it more safe and robust.", fpath);
+                        log_debug("SysV service '%s' lacks a native systemd unit file. "
+                                  "Automatically generating a unit file for compatibility. "
+                                  "Please update package to include a native systemd unit file, in order to make it more safe and robust.", fpath);

                         service = new(SysvStub, 1);
                         if (!service)
--
2.30.2