27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
|
From 79d0bc06110b46171990990afb5e1cdd56920324 Mon Sep 17 00:00:00 2001
|
||
|
From: Michal Sekletar <msekleta@redhat.com>
|
||
|
Date: Mon, 6 Jan 2025 10:44:25 +0100
|
||
|
Subject: [PATCH] systemctl: print warning about missing /proc only as debug
|
||
|
message
|
||
|
|
||
|
rhel-only: bugfix
|
||
|
|
||
|
Resolves: RHEL-3906
|
||
|
---
|
||
|
src/systemctl/systemctl.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
|
||
|
index 3f2b0029ca..883a5b75f4 100644
|
||
|
--- a/src/systemctl/systemctl.c
|
||
|
+++ b/src/systemctl/systemctl.c
|
||
|
@@ -1156,7 +1156,7 @@ static int run(int argc, char *argv[]) {
|
||
|
goto finish;
|
||
|
|
||
|
if (proc_mounted() == 0)
|
||
|
- log_full(arg_no_warn ? LOG_DEBUG : LOG_WARNING,
|
||
|
+ log_full(LOG_DEBUG,
|
||
|
"%s%s/proc/ is not mounted. This is not a supported mode of operation. Please fix\n"
|
||
|
"your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway.\n"
|
||
|
"Your mileage may vary.",
|