From 2029d527a35e3f6c551a04af6b1c3fad1479b3b8 Mon Sep 17 00:00:00 2001 From: Anita Zhang Date: Apr 01 2021 09:08:06 +0000 Subject: 247.3-7: downgrade sysv-generator log to debug --- diff --git a/SOURCES/0001-sysv-generator-downgrade-log-warning-about-autogener.patch b/SOURCES/0001-sysv-generator-downgrade-log-warning-about-autogener.patch index 9f87fef..df2bbee 100644 --- a/SOURCES/0001-sysv-generator-downgrade-log-warning-about-autogener.patch +++ b/SOURCES/0001-sysv-generator-downgrade-log-warning-about-autogener.patch @@ -2,7 +2,7 @@ From 0c21535392bf6296d213c35fd1a0b0bc89dbddb3 Mon Sep 17 00:00:00 2001 From: Anita Zhang Date: Wed, 31 Mar 2021 14:04:09 -0700 Subject: [PATCH] sysv-generator: downgrade log warning about autogenerated to - info + debug --- src/sysv-generator/sysv-generator.c | 6 +++--- @@ -15,16 +15,16 @@ index 8c7aef23c3..89599a69ee 100644 @@ -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_info("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 diff --git a/SPECS/systemd.spec b/SPECS/systemd.spec index 1541b9a..cdacde0 100644 --- a/SPECS/systemd.spec +++ b/SPECS/systemd.spec @@ -26,7 +26,7 @@ Name: systemd Url: https://www.freedesktop.org/wiki/Software/systemd Version: 247.3 -Release: 6%{?dist} +Release: 7%{?dist} # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: System and Service Manager @@ -97,7 +97,7 @@ Patch0103: https://github.com/systemd/systemd/pull/18621.patch # Downstream-only patches (0500–9999) # https://github.com/systemd/systemd/pull/17050 Patch0501: https://github.com/systemd/systemd/pull/17050/commits/f58b96d3e8d1cb0dd3666bc74fa673918b586612.patch -# Downgrade sysv-generator messages from warning to info +# Downgrade sysv-generator messages from warning to debug Patch0502: 0001-sysv-generator-downgrade-log-warning-about-autogener.patch %ifarch %{ix86} x86_64 aarch64 @@ -957,6 +957,9 @@ fi %endif %changelog +* Thu Apr 1 2021 Anita Zhang - 247.3-7 +- Downgrade sysv-generator warning even more (to debug) + * Wed Mar 31 2021 Anita Zhang - 247.3-6 - Backport PR#18621 (Ignore attempts at hidepid and subset for older kernels) - Downgrade sysv-generator warning about missing native systemd unit