[
https://issues.apache.org/jira/browse/MINIFICPP-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522352#comment-16522352
]
ASF GitHub Bot commented on MINIFICPP-538:
------------------------------------------
Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/364#discussion_r197820271
--- Diff: main/MiNiFiMain.cpp ---
@@ -71,7 +71,7 @@ int main(int argc, char **argv) {
std::string nifi_configuration_class_name = "yamlconfiguration";
std::string content_repo_class = "filesystemrepository";
- running = sem_open("MiNiFiMain", O_CREAT, 0644, 0);
+ running = sem_open("/MiNiFiMain", O_CREAT, 0644, 0);
--- End diff --
Err, what I meant was put this in a header relative to this one. I recall
having several at one point during dev, MiNiFiMain, /MiNiFiMain, Controller,
and /Controller. The non-path variants were names to be printed into log
statements. Further, may be useful to print the error to the log instead of
stderr with strerror later down.
> Warning on Fedora 28 when stopping minifi
> -----------------------------------------
>
> Key: MINIFICPP-538
> URL: https://issues.apache.org/jira/browse/MINIFICPP-538
> Project: NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Dustin Rodrigues
> Priority: Minor
>
> "sem_wait: No such file or directory" is printed when stopping minifi on
> Fedora 28
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)