From f57c2234413f59c95d23b3edd218e22baae7f0d9 Mon Sep 17 00:00:00 2001 From: Huaxin Lu Date: Wed, 21 Aug 2024 17:23:22 +0800 Subject: [PATCH] Fix the log level of IMA digest_list --- Add-digest-list-plugin.patch | 2 +- rpm.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Add-digest-list-plugin.patch b/Add-digest-list-plugin.patch index 6ad84c1..14c89b5 100644 --- a/Add-digest-list-plugin.patch +++ b/Add-digest-list-plugin.patch @@ -432,7 +432,7 @@ index 0000000..715b8d6 + /* the character \0xa is append to MAGIC */ + offset = magic_len + 1; + if (file_size < offset) { -+ rpmlog(RPMLOG_ERR, "digest_list: not have sig, do nothing\n"); ++ rpmlog(RPMLOG_DEBUG, "digest_list: not have sig, do nothing\n"); + return 0; + } + diff --git a/rpm.spec b/rpm.spec index 7fa341c..95bf940 100644 --- a/rpm.spec +++ b/rpm.spec @@ -1,6 +1,6 @@ Name: rpm Version: 4.18.2 -Release: 14 +Release: 15 Summary: RPM Package Manager License: GPLv2+ URL: http://www.rpm.org/ @@ -343,6 +343,9 @@ make clean %exclude %{_mandir}/man8/rpmspec.8.gz %changelog +* Wed Sep 11 2024 luhuaxin - 4.18.2-15 +- Fix the log level of IMA digest_list + * Wed Sep 4 2024 gengqihu - 4.18.2-14 - Backport some patches from upstream