[Bug 1018554] [NEW] write timestamp to console on halt/reboot/shutdown

Scott Moser smoser at ubuntu.com
Wed Jun 27 19:53:51 UTC 2012


Public bug reported:

In EC2 and other cloud platforms, the console data is programmatically
available.

Our tests in EC2 collect this console output on shutdown / reboot
/terminate.  The data is very useful.

in cloud-init i've added timestamps to output so that information is available in the console log.
One thing missing (which cloud-init has no hooks for) is 'shutdown' or 'reboot'.

I'd like for upstart to write a message to /dev/console saying:
 rebooting Wed, 27 Jun 2012 15:52:45 -0400

or something like that.
I'd be happy if the 'nih_info' messages in util/reboot.c
had at timestamp on them, and got written to /dev/console by default (they do not seem to).

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: upstart 1.5-0ubuntu7
ProcVersionSignature: User Name 3.5.0-2.2-generic 3.5.0-rc4
Uname: Linux 3.5.0-2-generic x86_64
ApportVersion: 2.2.5-0ubuntu1
Architecture: amd64
Date: Wed Jun 27 19:45:52 2012
ProcEnviron:
 TERM=screen
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1018554

Title:
  write timestamp to console on halt/reboot/shutdown

Status in “upstart” package in Ubuntu:
  New

Bug description:
  In EC2 and other cloud platforms, the console data is programmatically
  available.

  Our tests in EC2 collect this console output on shutdown / reboot
  /terminate.  The data is very useful.

  in cloud-init i've added timestamps to output so that information is available in the console log.
  One thing missing (which cloud-init has no hooks for) is 'shutdown' or 'reboot'.

  I'd like for upstart to write a message to /dev/console saying:
   rebooting Wed, 27 Jun 2012 15:52:45 -0400

  or something like that.
  I'd be happy if the 'nih_info' messages in util/reboot.c
  had at timestamp on them, and got written to /dev/console by default (they do not seem to).

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: upstart 1.5-0ubuntu7
  ProcVersionSignature: User Name 3.5.0-2.2-generic 3.5.0-rc4
  Uname: Linux 3.5.0-2-generic x86_64
  ApportVersion: 2.2.5-0ubuntu1
  Architecture: amd64
  Date: Wed Jun 27 19:45:52 2012
  ProcEnviron:
   TERM=screen
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1018554/+subscriptions




More information about the foundations-bugs mailing list