[systemd-commits] 3 commits - TODO man/sd_session_is_active.xml src/journal

Lennart Poettering lennart at kemper.freedesktop.org
Thu Apr 18 13:35:47 PDT 2013


 TODO                         |    9 +++++----
 man/sd_session_is_active.xml |    5 +++--
 src/journal/sd-journal.c     |    3 +++
 3 files changed, 11 insertions(+), 6 deletions(-)

New commits:
commit a3e6f050de81a9830e52af09d5d38dad9a356e3b
Author: Marius Vollmer <marius.vollmer at redhat.com>
Date:   Thu Apr 18 22:34:36 2013 +0200

    journal: when iterating through a file we might lose messages when changing direction.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=63672

diff --git a/TODO b/TODO
index 1221b39..cd66914 100644
--- a/TODO
+++ b/TODO
@@ -32,6 +32,8 @@ Fedora 19:
 
 Features:
 
+* truncate whitespace of var names the same way as values in parse_env_file_internal()
+
 * dbus: when a unit failed to load (i.e. is in UNIT_ERROR state), we
   should be able to safely try another attempt when the bus call LoadUnit() is invoked.
 
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index 88af68c..e021d98 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -109,6 +109,9 @@ static void set_location(sd_journal *j, LocationType type, JournalFile *f, Objec
 
         init_location(&j->current_location, type, f, o);
 
+        if (j->current_file)
+                j->current_file->current_offset = 0;
+
         j->current_file = f;
         j->current_field = 0;
 

commit cc400110ffe1fb29b32e995e770819c1817bbfbc
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Apr 18 22:20:56 2013 +0200

    man: document the new login class 'background'

diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml
index 76f6f95..6fa803b 100644
--- a/man/sd_session_is_active.xml
+++ b/man/sd_session_is_active.xml
@@ -179,8 +179,9 @@
                 be used to determine the class of the session
                 identified by the specified session identifier. The
                 returned string is one of <literal>user</literal>,
-                <literal>greeter</literal> or
-                <literal>lock-screen</literal> and needs to be freed
+                <literal>greeter</literal>,
+                <literal>lock-screen</literal>, or
+                <literal>background</literal> and needs to be freed
                 with the libc
                 <citerefentry><refentrytitle>free</refentrytitle><manvolnum>3</manvolnum></citerefentry>
                 call after use.</para>

commit 461bd8e47cafacfcd38389e7558330bfb6e902ad
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Apr 18 22:19:33 2013 +0200

    update TODO

diff --git a/TODO b/TODO
index 966418d..1221b39 100644
--- a/TODO
+++ b/TODO
@@ -13,10 +13,6 @@ Bugfixes:
 
 Fedora 19:
 
-* timedatectl: NTP enabled: n/a
-
-* fix match logic to add another level of disjunction/conjunction
-
 * external: maybe it is time to patch procps so that "ps" links to
   libsystemd-logind to print a pretty service name, seat name, session
   name in its output. Currently it only shows cgroup membership, but
@@ -36,6 +32,9 @@ Fedora 19:
 
 Features:
 
+* dbus: when a unit failed to load (i.e. is in UNIT_ERROR state), we
+  should be able to safely try another attempt when the bus call LoadUnit() is invoked.
+
 * for instanced unit drop-ins we should look in foo at bar.service.d/ as well as foo at .service.d/
 
 * if pam_systemd is invoked by su from a process that is outside of a



More information about the systemd-commits mailing list