chiark / gitweb /
core/manager: print status messages about running jobs
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 27 Feb 2013 23:03:22 +0000 (00:03 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Thu, 28 Feb 2013 01:24:02 +0000 (02:24 +0100)
commit03b717a3c4f9348807fc56e7a7d711d72d4ec0cb
treee629fbd5f143b966434acdc5a2e917115d5d8ba0
parent7ed9f6cd785634dd093e1b1550c3c6183177abf6
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.
src/core/manager.c
src/core/manager.h
src/shared/util.h