Blame SOURCES/libcgroup-0.41-api.c-fix-log-level.patch
|
|
c8d348 |
From 7e3eded57f77a606f173d6ede51585178ac3f9ee Mon Sep 17 00:00:00 2001
|
|
|
c8d348 |
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
|
|
|
c8d348 |
Date: Tue, 24 Jan 2017 15:46:31 +0100
|
|
|
c8d348 |
Subject: [PATCH] src/api.c: Fix level of warning messages informing about
|
|
|
c8d348 |
failed user/group lookup
|
|
|
c8d348 |
|
|
|
c8d348 |
---
|
|
|
c8d348 |
src/api.c | 4 ++--
|
|
|
c8d348 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
c8d348 |
|
|
|
c8d348 |
diff --git a/src/api.c b/src/api.c
|
|
|
c8d348 |
index 2102c13..931fb3e 100644
|
|
|
c8d348 |
--- a/src/api.c
|
|
|
c8d348 |
+++ b/src/api.c
|
|
|
c8d348 |
@@ -639,7 +639,7 @@ static int cgroup_parse_rules(bool cache, uid_t muid,
|
|
|
c8d348 |
uid = CGRULE_INVALID;
|
|
|
c8d348 |
gid = grp->gr_gid;
|
|
|
c8d348 |
} else {
|
|
|
c8d348 |
- cgroup_dbg("Warning: Entry for %s not"
|
|
|
c8d348 |
+ cgroup_warn("Warning: Entry for %s not"
|
|
|
c8d348 |
"found. Skipping rule on line"
|
|
|
c8d348 |
" %d.\n", itr, linenum);
|
|
|
c8d348 |
skipped = true;
|
|
|
c8d348 |
@@ -656,7 +656,7 @@ static int cgroup_parse_rules(bool cache, uid_t muid,
|
|
|
c8d348 |
uid = pwd->pw_uid;
|
|
|
c8d348 |
gid = CGRULE_INVALID;
|
|
|
c8d348 |
} else {
|
|
|
c8d348 |
- cgroup_dbg("Warning: Entry for %s not"
|
|
|
c8d348 |
+ cgroup_warn("Warning: Entry for %s not"
|
|
|
c8d348 |
"found. Skipping rule on line"
|
|
|
c8d348 |
" %d.\n", user, linenum);
|
|
|
c8d348 |
skipped = true;
|
|
|
c8d348 |
--
|
|
|
c8d348 |
2.7.4
|
|
|
c8d348 |
|