From 340ff2655b5ffd434b3482235dc4cc5e8821b3aa Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Mon, 6 Jan 2025 10:44:25 +0100 Subject: [PATCH] systemctl: print warning about missing /proc only as debug message rhel-only 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 3f2b0029cad..883a5b75f4d 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.",