Blame SOURCES/libcgroup-0.41-fix-log-level.patch

1c5b3f
From 7c99c167f41d3f8810808436d2ac58afc3a7d6c7 Mon Sep 17 00:00:00 2001
1c5b3f
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
1c5b3f
Date: Tue, 17 Apr 2018 13:33:03 +0200
1c5b3f
Subject: [PATCH 5/6] api.c: Fix level of failed user/group lookup warnings
1c5b3f
MIME-Version: 1.0
1c5b3f
Content-Type: text/plain; charset=UTF-8
1c5b3f
Content-Transfer-Encoding: 8bit
1c5b3f
1c5b3f
Signed-off-by: Nikola Forró <nforro@redhat.com>
1c5b3f
---
1c5b3f
 src/api.c | 4 ++--
1c5b3f
 1 file changed, 2 insertions(+), 2 deletions(-)
1c5b3f
1c5b3f
diff --git a/src/api.c b/src/api.c
1c5b3f
index 51081b4..efde2d1 100644
1c5b3f
--- a/src/api.c
1c5b3f
+++ b/src/api.c
1c5b3f
@@ -639,7 +639,7 @@ static int cgroup_parse_rules(bool cache, uid_t muid,
1c5b3f
 				uid = CGRULE_INVALID;
1c5b3f
 				gid = grp->gr_gid;
1c5b3f
 			} else {
1c5b3f
-				cgroup_dbg("Warning: Entry for %s not"
1c5b3f
+				cgroup_warn("Warning: Entry for %s not"
1c5b3f
 						"found.  Skipping rule on line"
1c5b3f
 						" %d.\n", itr, linenum);
1c5b3f
 				skipped = true;
1c5b3f
@@ -656,7 +656,7 @@ static int cgroup_parse_rules(bool cache, uid_t muid,
1c5b3f
 				uid = pwd->pw_uid;
1c5b3f
 				gid = CGRULE_INVALID;
1c5b3f
 			} else {
1c5b3f
-				cgroup_dbg("Warning: Entry for %s not"
1c5b3f
+				cgroup_warn("Warning: Entry for %s not"
1c5b3f
 						"found.  Skipping rule on line"
1c5b3f
 						" %d.\n", user, linenum);
1c5b3f
 				skipped = true;
1c5b3f
-- 
1c5b3f
2.17.0
1c5b3f