[systemd-commits] man/sd_journal_open.xml

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Mon Jun 10 07:22:31 PDT 2013


 man/sd_journal_open.xml |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 7699b6eb9859ef7fecb1a0e2e156d65ed7d86b2a
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Mon Jun 10 10:22:08 2013 -0400

    man: add note that sd_journal_open_files is racy

diff --git a/man/sd_journal_open.xml b/man/sd_journal_open.xml
index 4ac94c4..182840e 100644
--- a/man/sd_journal_open.xml
+++ b/man/sd_journal_open.xml
@@ -125,7 +125,11 @@
                 of file paths to open. All files will be opened and
                 interleaved automatically. This call also takes a
                 flags argument, but it must be passed as 0 as no flags
-                are currently understood for this call.</para>
+                are currently understood for this call. Please note
+                that in case of a live journal, this function is only
+                useful for debugging, because individual journal files
+                can be rotated at any moment, and the opening of
+                specific files in inherently racy.</para>
 
                 <para><function>sd_journal_close()</function> will
                 close the journal context allocated with



More information about the systemd-commits mailing list