-
Couldn't load subscription status.
- Fork 12
Pipe fifo file removal #121
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
Conversation
Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
| therefore it is not recommended to be used on special files like | ||
| /proc/kmsg. | ||
|
|
||
| **NOTE:** If the `fifo` file is deleted, syslog-ng OSE automatically recreates it. When a new `pipe()` is created, syslog-ng OSE continues to use the old file until the system is restarted. |
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.
Sorry my wording was a little bit confusing in the issue. I tried to describe the following scenario, but it was unclear. The process flows like this:
- The file is deleted.
- Then someone recreates the file (syslog-ng will not automatically recreate it).
- After the file is recreated syslog-ng will not read it even if there are no remaining writer on the old FIFO syslog-ng will still try to read the old one regardless until restart
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.
Thanks for clarifying, I modified the note. Hopefully it's correct now.
Signed-off-by: Zsolt Gyulai (zgyulai) <zsolt.gyulai@quest.com>
Co-authored-by: Kovács Gergő Ferenc <kovgeri01@gmail.com> Signed-off-by: zsoltgyulai94 <147834757+zsoltgyulai94@users.noreply.github.com>
Co-authored-by: Gergely Karácsonyi <64634678+mrgarris0n@users.noreply.github.com> Signed-off-by: zsoltgyulai94 <147834757+zsoltgyulai94@users.noreply.github.com>
|
All issues seem to have been resolved one way or another, can we merge this? @mrgarris0n @kovgeri01 |
Added note about required restart when making a new fifo file.