Skip to content

Conversation

@zsoltgyulai94
Copy link
Contributor

Added note about required restart when making a new fifo file.

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.
Copy link
Contributor

@kovgeri01 kovgeri01 Aug 22, 2024

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

Copy link
Contributor Author

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>
kovgeri01
kovgeri01 previously approved these changes Aug 22, 2024
@kovgeri01 kovgeri01 dismissed their stale review August 23, 2024 13:41

i missed a miswording

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>
@zsoltgyulai94
Copy link
Contributor Author

All issues seem to have been resolved one way or another, can we merge this? @mrgarris0n @kovgeri01

@zsoltgyulai94 zsoltgyulai94 merged commit 3395955 into syslog-ng:master Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants