daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
5428b6
From 0c21535392bf6296d213c35fd1a0b0bc89dbddb3 Mon Sep 17 00:00:00 2001
5428b6
From: Anita Zhang <the.anitazha@gmail.com>
5428b6
Date: Wed, 31 Mar 2021 14:04:09 -0700
5428b6
Subject: [PATCH] sysv-generator: downgrade log warning about autogenerated to
2029d5
 debug
5428b6
5428b6
---
5428b6
 src/sysv-generator/sysv-generator.c | 6 +++---
5428b6
 1 file changed, 3 insertions(+), 3 deletions(-)
5428b6
5428b6
diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c
5428b6
index 8c7aef23c3..89599a69ee 100644
5428b6
--- a/src/sysv-generator/sysv-generator.c
5428b6
+++ b/src/sysv-generator/sysv-generator.c
5428b6
@@ -786,9 +786,9 @@ static int enumerate_sysv(const LookupPaths *lp, Hashmap *all_services) {
5428b6
                         if (!fpath)
5428b6
                                 return log_oom();
2029d5
5428b6
-                        log_warning("SysV service '%s' lacks a native systemd unit file. "
5428b6
-                                    "Automatically generating a unit file for compatibility. "
5428b6
-                                    "Please update package to include a native systemd unit file, in order to make it more safe and robust.", fpath);
2029d5
+                        log_debug("SysV service '%s' lacks a native systemd unit file. "
2029d5
+                                  "Automatically generating a unit file for compatibility. "
2029d5
+                                  "Please update package to include a native systemd unit file, in order to make it more safe and robust.", fpath);
2029d5
5428b6
                         service = new(SysvStub, 1);
5428b6
                         if (!service)
2029d5
--
5428b6
2.30.2
5428b6