
13 Aug
2012
13 Aug
'12
7:56 a.m.
Hi, On Friday 03 August 2012 16:52:15 Gerd v. Egidy wrote:
With SysV-init libvirt-guests wrote status information to the console during shutdown of the guests.
Since the move to systemd libvirt-guests doesn't output this progress information anymore. This patch brings back this feature.
It is helpful to show the admin what the system is waiting for and what is left of the timeout (e.g. for calibrating the shutdown timing of a ups).
Rewriting the current line with \r doesn't work anymore in the context of systemd. So always write new lines, but move to 5 second intervals to avoid flooding the console.
It would be nice if anybody could look at the patch I sent and comment or commit. Thanks. Kind regards, Gerd