-
Notifications
You must be signed in to change notification settings - Fork 403
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
Application and RouDi lock files are not removed after termination #1216
Comments
elfenpiff
added a commit
to ApexAI/iceoryx
that referenced
this issue
Mar 3, 2022
…platform Signed-off-by: Christian Eltzschig <me@elchris.org>
elfenpiff
added a commit
to ApexAI/iceoryx
that referenced
this issue
Mar 3, 2022
…oves file Signed-off-by: Christian Eltzschig <me@elchris.org>
21 tasks
elfenpiff
added a commit
to ApexAI/iceoryx
that referenced
this issue
Mar 3, 2022
Signed-off-by: Christian Eltzschig <me@elchris.org>
elfenpiff
added a commit
to ApexAI/iceoryx
that referenced
this issue
Mar 3, 2022
Signed-off-by: Christian Eltzschig <me@elchris.org>
elfenpiff
added a commit
to ApexAI/iceoryx
that referenced
this issue
Mar 3, 2022
Signed-off-by: Christian Eltzschig <me@elchris.org>
elfenpiff
added a commit
to ApexAI/iceoryx
that referenced
this issue
Mar 3, 2022
Signed-off-by: Christian Eltzschig <me@elchris.org>
elfenpiff
added a commit
to ApexAI/iceoryx
that referenced
this issue
Mar 3, 2022
Signed-off-by: Christian Eltzschig <me@elchris.org>
elfenpiff
added a commit
that referenced
this issue
Mar 3, 2022
…emoves-file iox-#1216 enable unlock file functionality in windows platform
elfenpiff
added a commit
to ApexAI/iceoryx
that referenced
this issue
Mar 3, 2022
Signed-off-by: Christian Eltzschig <me@elchris.org>
elfenpiff
added a commit
to ApexAI/iceoryx
that referenced
this issue
Mar 3, 2022
Signed-off-by: Christian Eltzschig <me@elchris.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Required information
When an application or roudi is starting a lock file is created, e.g.
/tmp/iox-unique-roudi.lock
. When running applications/roudi as different users or in a docker environment and the lock file remains there the applications are unable to acquire the file lock.This ends up in the error message:
To solve this the
FileLock
posix wrapper, which creates the file in the first place in the constructor, has to also remove the file in the destructor.Currently the file lock only closes the file descriptor but never unlocks it!
The text was updated successfully, but these errors were encountered: