[systemd-commits] 6 commits - Makefile.am NEWS TODO configure.ac src/systemctl units/emergency.service.in units/rescue.service.m4.in units/user

Lennart Poettering lennart at kemper.freedesktop.org
Mon Oct 22 15:13:27 PDT 2012


 Makefile.am                        |   12 ++---
 NEWS                               |   80 +++++++++++++++++++++++++++++++++++++
 TODO                               |    4 +
 configure.ac                       |    2 
 src/systemctl/systemctl.c          |    4 -
 units/emergency.service.in         |    2 
 units/rescue.service.m4.in         |    2 
 units/user/systemd-exit.service.in |    2 
 8 files changed, 96 insertions(+), 12 deletions(-)

New commits:
commit 5411ae4782270e8e82b05e4c7c8135f4eb774dda
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Oct 23 00:11:59 2012 +0200

    units: use numerig signal for killing systemd, to avoid incompatibilities with procps/util-linux kill

diff --git a/units/user/systemd-exit.service.in b/units/user/systemd-exit.service.in
index 95bd6b1..987fab8 100644
--- a/units/user/systemd-exit.service.in
+++ b/units/user/systemd-exit.service.in
@@ -14,4 +14,4 @@ After=shutdown.target
 
 [Service]
 Type=oneshot
-ExecStart=@KILL@ -s RTMAX-6 $MANAGERPID
+ExecStart=@KILL@ -s 58 $MANAGERPID

commit 4474d8abd09f8779b1363726bd80e59e7f9096c6
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Oct 23 00:03:26 2012 +0200

    units: also add journalctl suggestion to emergency.service
    
    More often than not we enter emergency.service due to fsck failure, so
    it makes sense to direct people to the journal to debug those.

diff --git a/units/emergency.service.in b/units/emergency.service.in
index 36db707..1815f9d 100644
--- a/units/emergency.service.in
+++ b/units/emergency.service.in
@@ -16,7 +16,7 @@ Before=shutdown.target
 Environment=HOME=/root
 WorkingDirectory=/root
 ExecStartPre=-/bin/plymouth quit
-ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to enter default mode.'
+ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -b" to view system logs. Type "systemctl reboot" to reboot.'
 ExecStart=-/sbin/sulogin
 ExecStopPost=@SYSTEMCTL@ --fail --no-block default
 Type=idle

commit 74dc2b17e6086a5b9c4260e7a8c1a8a75888ac73
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Oct 23 00:03:04 2012 +0200

    units: suggest journalctl -b in rescue.service so that only messages from the current boot are shown

diff --git a/units/rescue.service.m4.in b/units/rescue.service.m4.in
index 2c6e0ec..89059e0 100644
--- a/units/rescue.service.m4.in
+++ b/units/rescue.service.m4.in
@@ -17,7 +17,7 @@ Before=shutdown.target
 Environment=HOME=/root
 WorkingDirectory=/root
 ExecStartPre=-/bin/plymouth quit
-ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl" to view system logs. Type "systemctl reboot" to reboot.'
+ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -b" to view system logs. Type "systemctl reboot" to reboot.'
 m4_ifdef(`TARGET_FEDORA',
 `EnvironmentFile=/etc/sysconfig/init
 ExecStart=-/bin/bash -c "exec ${SINGLE}"',

commit 2609659f0dafacacb0429cd8ab60885f7d85f25f
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Oct 23 00:02:24 2012 +0200

    systemctl: refer to systemctl -n, to not overwhelm the admin

diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index b4b58c0..41dcefb 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -1331,9 +1331,9 @@ static int wait_for_jobs(DBusConnection *bus, Set *s) {
                         else if (streq(d.result, "canceled"))
                                 log_error("Job for %s canceled.", strna(d.name));
                         else if (streq(d.result, "dependency"))
-                                log_error("A dependency job for %s failed. See 'journalctl' for details.", strna(d.name));
+                                log_error("A dependency job for %s failed. See 'journalctl -n' for details.", strna(d.name));
                         else if (!streq(d.result, "done") && !streq(d.result, "skipped"))
-                                log_error("Job for %s failed. See 'systemctl status %s' and 'journalctl' for details.", strna(d.name), strna(d.name));
+                                log_error("Job for %s failed. See 'systemctl status %s' and 'journalctl -n' for details.", strna(d.name), strna(d.name));
                 }
 
                 if (streq_ptr(d.result, "timeout"))

commit 139ee8cc316a861bcc8a8ebdf4a8449dffe16f79
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Oct 23 00:01:47 2012 +0200

    build-sys: prepare 195

diff --git a/Makefile.am b/Makefile.am
index a19f8e4..da46e58 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,7 +27,7 @@ SUBDIRS = . po
 .DELETE_ON_ERROR:
 
 LIBUDEV_CURRENT=2
-LIBUDEV_REVISION=5
+LIBUDEV_REVISION=6
 LIBUDEV_AGE=1
 
 LIBGUDEV_CURRENT=1
@@ -35,7 +35,7 @@ LIBGUDEV_REVISION=2
 LIBGUDEV_AGE=1
 
 LIBSYSTEMD_LOGIN_CURRENT=3
-LIBSYSTEMD_LOGIN_REVISION=8
+LIBSYSTEMD_LOGIN_REVISION=9
 LIBSYSTEMD_LOGIN_AGE=3
 
 LIBSYSTEMD_DAEMON_CURRENT=0
@@ -43,12 +43,12 @@ LIBSYSTEMD_DAEMON_REVISION=5
 LIBSYSTEMD_DAEMON_AGE=0
 
 LIBSYSTEMD_ID128_CURRENT=0
-LIBSYSTEMD_ID128_REVISION=14
+LIBSYSTEMD_ID128_REVISION=15
 LIBSYSTEMD_ID128_AGE=0
 
-LIBSYSTEMD_JOURNAL_CURRENT=5
-LIBSYSTEMD_JOURNAL_REVISION=4
-LIBSYSTEMD_JOURNAL_AGE=5
+LIBSYSTEMD_JOURNAL_CURRENT=6
+LIBSYSTEMD_JOURNAL_REVISION=0
+LIBSYSTEMD_JOURNAL_AGE=6
 
 # Dirs of external packages
 dbuspolicydir=@dbuspolicydir@
diff --git a/NEWS b/NEWS
index b869c07..aa3aa6f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,85 @@
 systemd System and Service Manager
 
+CHANGES WITH 195:
+
+        * journalctl gained the new --since= and --until= switches to
+          filter by time. It also now supports nice filtering for
+          units via --unit=/-u.
+
+        * Type=oneshot services not may use ExecReload= and do the
+          right thing.
+
+        * The journal daemon now supports time-based rotation and
+          vacuuming, in addition to the usual disk-space based
+          rotation.
+
+        * The journal will now index the available field values for
+          each field name. This enables clients to show pretty drop
+          downs of available match values when filtering. The bash
+          completion of journalctl has been updated
+          accordingly. journalctl gained a new switch -F to list all
+          values a certain field takes in the journal database.
+
+        * More service events are now written as structured messages
+          to the journal, and made recognizable via message IDs.
+
+        * The timedated, localed and hostnamed mini-services which
+          previously only provided support for changing time, locale
+          and hostname settings from graphical DEs such as GNOME now
+          also have a minimal (but very useful) text-based client
+          utility each. This is probably the nicest way to changing
+          these settings from the command line now, especially since
+          it lists available options and is fully integrated with bash
+          completion.
+
+        * There's now a new tool "systemd-coredumpctl" to list and
+          extract coredumps from the journal.
+
+        * We now install a README each in /var/log/ and
+          /etc/rc.d/init.d explaining where the system logs and init
+          scripts went. This hopefully should help folks who go to
+          that dirs and look into the otherwise now empty void and
+          scratch their heads.
+
+        * When user-services are invoked (by systemd --user) the
+          $MANAGERPID env var is set to the PID of systemd.
+
+        * SIGRTMIN+24 when sent to a --user instance will now result
+          in immediate termination of systemd.
+
+        * gatewayd received numerous feature additions such as a
+          "follow" mode, for live syncing and filtering.
+
+        * browse.html now allows filtering and showing detailed
+          information on specific entries. Keyboard navigation and
+          mouse screen support has been added.
+
+        * gatewayd/journalctl now supports HTML5/JSON
+          Server-Sent-Events as output.
+
+        * The SysV init script compatibility logic will no
+          heuristically determine whether a script supports the
+          "reload" verb, and only then make this available as
+          "systemctl reload".
+
+        * "systemctl status --follow" has been removed, use "journal
+          -u" instead.
+
+        * journald.conf's RuntimeMinSize=, PersistentMinSize= settings
+          have been removed since they are hardly useful to be
+          configured.
+
+        * And I'd like to take the opportunity to specifically mention
+          Zbigniew for his great contributions. Zbigniew, you rock!
+
+        Contributions from: Andrew Eikum, Christian Hesse, Colin
+        Guthrie, Daniel J Walsh, Dave Reisner, Eelco Dolstra, Ferenc
+        Wágner, Kay Sievers, Lennart Poettering, Lukas Nykryn,
+        Mantas MikulÄ—nas, Martin Mikkelsen, Martin Pitt, Michael
+        Olbrich, Michael Stapelberg, Sebastian Ott, Thomas Bächler,
+        Umut Tezduyar, Wulf C. Krueger, Zbigniew Jędrzejewski-Szmek,
+        Сковорода Никита Андреевич
+
 CHANGES WITH 194:
 
         * If /etc/vconsole.conf is non-existent or empty we will no
diff --git a/configure.ac b/configure.ac
index fe367d6..7a3ee3c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
 AC_PREREQ([2.64])
 
 AC_INIT([systemd],
-        [194],
+        [195],
         [http://bugs.freedesktop.org/enter_bug.cgi?product=systemd],
         [systemd],
         [http://www.freedesktop.org/wiki/Software/systemd])

commit 06bf461193b4e7f9936abf7582e8b82e39e187c8
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Oct 22 23:24:09 2012 +0200

    update TODO

diff --git a/TODO b/TODO
index eae357f..0b5d74d 100644
--- a/TODO
+++ b/TODO
@@ -19,6 +19,10 @@ F18:
 
 Features:
 
+* journalctl/gatewayd: GELF output
+
+* journal: find a way to allow dropping history early, based on priority, other rules
+
 * journal: When interleaving journal files cache binary search results so that
   we can cheaply continue where we left off.
 



More information about the systemd-commits mailing list