← Back to team overview

touch-packages team mailing list archive

[Bug 1123330] Re: Shutdown fails when hwclock cannot be set

 

Ubuntu 15.04 and newer don't try and set the hw clock at shutdown any
more.

** Also affects: util-linux (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: util-linux (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1123330

Title:
  Shutdown fails when hwclock cannot be set

Status in util-linux package in Ubuntu:
  Fix Released
Status in util-linux source package in Trusty:
  New

Bug description:
  Kubuntu 12.04.1

  I have an older laptop with, I suspect, a failed or failing battery.
  When I shutdown or reboot the computer it hangs at the hwclock command
  in /etc/init/hwclock-save.conf.  Apparently there is no timeout
  applied to this command.  The system repeatedly keeps trying and
  failing to save the system time to the hardware clock so the shutdown
  process never completes.

  I have solved the problem for myself by commenting out the appropriate
  command in /etc/init/hwclock-save.conf.  I diagnosed the problem by
  switching to another tty and observing the shutdown sequence hang at
  the hwclock command.  However a less experienced user would wonder why
  the shutdown splash screen continues to be displayed, but the computer
  never halts.

  There should be some method for checking whether the command can be
  executed, or at least a time out applied so that it doesn't keep
  checking forever.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1123330/+subscriptions