Skip to content

Commit

Permalink
LTE-2173:[XLE][23Q4] XLE and XB are in split brain mode always (#178)
Browse files Browse the repository at this point in the history
* LTE-2173: [XLE][23Q4] XLE and XB are in split brain mode always

Reason for change: Because of a permissions issue with the /tmp/.rbus directory, the provider is unable to access the subscribers' component ID file.
Signed-off-by: Netaji Panigrahi [email protected]

* Updated debug message to error

* LTE-2173:[XLE][23Q4] XLE and XB are in split brain mode always

Reason for change: Because of a permissions issue with the /tmp/.rbus directory, the provider is unable to access the subscribers' component ID file.
Signed-off-by: Netaji Panigrahi [email protected]
  • Loading branch information
NetajiPanigrahi authored and karuna2git committed Nov 9, 2023
1 parent 885f1f6 commit 62cd231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/rbus/rbus_subscriptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,10 +571,10 @@ static void rbusSubscriptions_loadCache(rbusSubscriptions_t subscriptions)
rbusSubscriptions_getListenerPid(sub->listener), sub->componentId);
if(access(filename, F_OK) != 0)
{
RBUSLOG_ERROR("file doesn't exist %s", filename);
subscriptionFree(sub);
needSave = true;
continue;
RBUSLOG_DEBUG("file doesn't exist %s", filename);
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/rtmessage/rtrouted.c
Original file line number Diff line number Diff line change
Expand Up @@ -1773,8 +1773,7 @@ int main(int argc, char* argv[])
rtLog_Warn("another instance of rtrouted is already running");
exit(12);
}

mkdir("/tmp/.rbus", 0700);
mkdir("/tmp/.rbus", 0666);
#ifdef ENABLE_RDKLOGGER
rdk_logger_init("/etc/debug.ini");
#endif
Expand Down

0 comments on commit 62cd231

Please sign in to comment.