From 3f6f5b1513570318711bee315c3d954c0d785d47 Mon Sep 17 00:00:00 2001 From: "Zsolt Gyulai (zgyulai)" Date: Thu, 15 Aug 2024 11:09:36 +0200 Subject: [PATCH 1/2] Added note about possible failure and workaround for pipe sources. Signed-off-by: Zsolt Gyulai (zgyulai) --- _includes/doc/admin-guide/options/create-dirs.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_includes/doc/admin-guide/options/create-dirs.md b/_includes/doc/admin-guide/options/create-dirs.md index 343e861c..06a66ae4 100644 --- a/_includes/doc/admin-guide/options/create-dirs.md +++ b/_includes/doc/admin-guide/options/create-dirs.md @@ -5,3 +5,6 @@ *Description:* Enable creating non-existing directories when creating files or socket files. + +**NOTE:** If syslog-ng cannot create the pipe, it aborts and produces an error. This could be caused by the lack of a write permission, or missing directory. The latter of the two can be fixed by using the `create-dirs(yes)` option. +{: .notice--info} \ No newline at end of file From f2fdfbe82c7225abf06922c98b616916c49be1c3 Mon Sep 17 00:00:00 2001 From: "Zsolt Gyulai (zgyulai)" Date: Thu, 15 Aug 2024 11:27:03 +0200 Subject: [PATCH 2/2] Included the note in the main pipe topic as well. Signed-off-by: Zsolt Gyulai (zgyulai) --- doc/_admin-guide/060_Sources/110_Pipe/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/_admin-guide/060_Sources/110_Pipe/README.md b/doc/_admin-guide/060_Sources/110_Pipe/README.md index a55af9f7..bc6b5875 100644 --- a/doc/_admin-guide/060_Sources/110_Pipe/README.md +++ b/doc/_admin-guide/060_Sources/110_Pipe/README.md @@ -12,6 +12,9 @@ The pipe driver has a single required parameter, specifying the filename of the pipe to open. For the list of available optional parameters, see pipe() source options. +**NOTE:** If syslog-ng cannot create the pipe, it aborts and produces an error. This could be caused by the lack of a write permission, or missing directory. The latter of the two can be fixed by using the `create-dirs(yes)` option. +{: .notice--info} + **Declaration** ```config