From 59db44b9673c541a075ed509cadb211ea3c0f88b Mon Sep 17 00:00:00 2001 From: YoungHun Kim Date: Wed, 21 Aug 2024 18:28:39 +0900 Subject: [PATCH] Remove to call rms_print_model_info() to access /dev - The following error occurs when booting at debugging function : systemd[1]: Started Create Static Device Nodes in /dev rscmgr-service[292]: DLog: inotify_add_watch failed (2) Change-Id: I433bb179e62a081b75723e75c2247ae1af54fedb --- src/CResourceService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CResourceService.cpp b/src/CResourceService.cpp index 6f36317..3b2b140 100644 --- a/src/CResourceService.cpp +++ b/src/CResourceService.cpp @@ -37,6 +37,7 @@ int CResourceService::Init(GMainLoop *main_loop) { CResourceManager *rsc_mgr = new CResourceManager(); + if (rsc_mgr->RegisterResources() != RMS_OK) { SERVER_ERR("RegisterResources is failed"); g_timeout_add(RM_SERVER_INVALID_TABLE_TIME_30000_MSEC, InvalidResourceTableMsgCallback, NULL); @@ -123,6 +124,5 @@ gboolean CResourceService::WatchDogCallback(gpointer data) gboolean CResourceService::InvalidResourceTableMsgCallback(gpointer data) { SERVER_ERR("resource table not loaded!"); - rms_print_model_info(); return G_SOURCE_CONTINUE; } -- 2.34.1