daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
923a60
From 0b78cbf29f02adc3cc490bf2b4e9365057ed7d7b Mon Sep 17 00:00:00 2001
923a60
From: Umut Tezduyar Lindskog <umut.tezduyar@axis.com>
923a60
Date: Fri, 20 Feb 2015 10:53:28 +0100
923a60
Subject: [PATCH] core: downgrade unit type not supported message
923a60
923a60
Otherwise every daemon reload prints out warnings like:
923a60
923a60
systemd[1]: Unit type .busname is not supported on this system.
923a60
systemd[1]: Unit type .swap is not supported on this system.
923a60
923a60
(cherry picked from commit 03afec3c9aa849ba13161c253b129b834298fd40)
923a60
---
923a60
 src/core/manager.c | 2 +-
923a60
 1 file changed, 1 insertion(+), 1 deletion(-)
923a60
923a60
diff --git a/src/core/manager.c b/src/core/manager.c
923a60
index 4775219e4a..bc9b7ec620 100644
923a60
--- a/src/core/manager.c
923a60
+++ b/src/core/manager.c
923a60
@@ -961,7 +961,7 @@ int manager_enumerate(Manager *m) {
923a60
                 int q;
923a60
 
923a60
                 if (unit_vtable[c]->supported && !unit_vtable[c]->supported(m)) {
923a60
-                        log_info("Unit type .%s is not supported on this system.", unit_type_to_string(c));
923a60
+                        log_debug("Unit type .%s is not supported on this system.", unit_type_to_string(c));
923a60
                         continue;
923a60
                 }
923a60