[systemd-commits] Changes to 'stat2'

Michal Schmidt michich at kemper.freedesktop.org
Wed Feb 27 17:25:00 PST 2013


New branch 'stat2' available with the following commits:
commit 03b717a3c4f9348807fc56e7a7d711d72d4ec0cb
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Thu Feb 28 00:03:22 2013 +0100

    core/manager: print status messages about running jobs
    
    Sometimes the boot gets stuck until a timeout hits. The usual timeouts
    are on the order of minutes, so users may lose patience.
    
    Print animated status messages telling the names of units with running
    jobs to make it easy to see what systemd is waiting for.
    
    The animation looks cooler with a shorter interval, but 1 s is OK and
    should not be too hard on slow serial console users.

commit 7ed9f6cd785634dd093e1b1550c3c6183177abf6
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Thu Feb 28 00:01:10 2013 +0100

    core: count active units that may mind our printing to /dev/console

commit 6ac8fdc9554a40024827ad9f64d02b4d8d2ab8ba
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Thu Feb 28 01:36:55 2013 +0100

    core/execute: determine if ExecContext may fiddle with /dev/console
    
    There is some guesswork, but it should work satisfactorily for the
    purpose of knowing when to suppress printing of status messages.

commit 3a1286b66883ef2cf577b29364e4b5fd43a295c8
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Thu Feb 28 01:35:47 2013 +0100

    core/execute: add internal is_terminal_output()
    
    Similar to already existing is_terminal_input().
    
    Note that the only current user (connect_logger_as) is never called
    for EXEC_OUTPUT_TTY, so it won't mind whether we accept it.

commit 21baf21ae526d0180177cf4a26ce82d45b6103e2
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Thu Feb 28 01:30:38 2013 +0100

    util: split resolving of /dev/console into a new function

commit 546ac4f0078228ef0bdd764dc7566cacf684c562
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Wed Feb 27 23:58:10 2013 +0100

    core/unit: use a temp variable for manager pointer in unit_notify()

commit 984a2be450abac81474889b8bea4b3fbeddb26c5
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Wed Feb 27 22:52:43 2013 +0100

    util, core: add support for ephemeral status lines
    
    Ephemeral status lines do not end with a newline and they expect to be
    overwritten by the next printed status line.

commit 297d0749dd82ea2442203d53c23ee401bdf46fca
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Wed Feb 27 23:31:35 2013 +0100

    core/transaction: replace a bare status_printf()
    
    Like other status messages, this one too should not be printed
    unconditionally, but it should take the manager state into account.
    unit_status_printf() does that.

commit 49b1d377263f33991a03235779e50f61273ba649
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Wed Feb 27 22:54:14 2013 +0100

    core: redefine unit_status_printf()
    
    Take advantage of the fact that almost all callers want to pass unit
    description as the last parameter. Those who don't can use the more
    flexible manager_status_printf().

commit 6084e22e57afd588ad205697c0af119d93db1e39
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Thu Feb 28 00:14:47 2013 +0100

    core/manager: make a couple of functions static
    
    They're not used outside manager.c anymore.

commit 25cee55076a7c00c0a584731c2705686cc843210
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Thu Feb 28 00:14:40 2013 +0100

    core: add manager_status_printf()
    
    unit_status_printf() checks the state of the manager, not of the unit
    as such. Move it to manager.c and rename it to manager_status_printf().
    
    Temporarily keep unit_status_printf as a wrapper macro.

commit 637f8b8eb5decb6dd626276ea9e3a545c895e086
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Tue Feb 26 12:09:41 2013 +0100

    core: keep track of the number of JOB_RUNNING jobs



More information about the systemd-commits mailing list