-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent new daemon create on same machine #660
Prevent new daemon create on same machine #660
Conversation
duvanan13
commented
Jul 7, 2024
- Only one daemon on the machine listening to fifo
- fifo will not be unlinked by the new daemon init
Hello @duvanan13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Run other in docker and use the multinode demo in Intern Section 4 to apply.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kindly check my point
CMakeLists.txt
Outdated
@@ -94,7 +94,7 @@ option(WITH_DLT_FILE_LOGGING_SYSLOG_FALLBACK "Set to ON to enable fallback to sy | |||
option(WITH_DLT_NETWORK_TRACE "Set to ON to enable network trace (if message queue is supported)" ON) | |||
option(WITH_DLT_LOG_LEVEL_APP_CONFIG "Set to ON to enable default log levels based on application ids" OFF) | |||
|
|||
set(DLT_IPC "FIFO" | |||
set(DLT_IPC "UNIX_SOCKET" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By default the ipc is fifo, so please turn this flag inside git ci/cd script
tests/CMakeLists.txt
Outdated
@@ -105,6 +104,10 @@ if(WITH_DLT_SHM_ENABLE) | |||
list(APPEND TARGET_LIST gtest_dlt_shm) | |||
endif() | |||
|
|||
if(WITH_DLT_SHM_ENABLE AND DLT_IPC STREQUAL "UNIX_SOCKET") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also turn shm on inside ci/cd script
tests/CMakeLists.txt
Outdated
@@ -92,8 +92,7 @@ endforeach() | |||
################### | |||
# DLT daemon tests | |||
################### | |||
set(TARGET_LIST gtest_dlt_daemon_gateway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the purpose of removal here? what makes this test suite different with the other?
+ Only one daemon on the machine listening to fifo + fifo will not be unlinked by the new daemon init
Close as duplicate |