Bug 802819

Summary: hardware clock not set on hibernate
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: pm-utilsAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 16CC: hughsient, jskarvad, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-13 16:10:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Orion Poplawski 2012-03-13 14:53:14 UTC
Description of problem:

The hardware clock needs to get set on hibernate.  Seems like pm-utils should handle that.

Version-Release number of selected component (if applicable):
pm-utils-1.4.1-12.fc16.i686

Comment 1 Jaroslav Škarvada 2012-03-13 15:48:04 UTC
This was disabled by upstream:

> * If your clock drifts across a sleep/wake cycle, you can use.
  NEED_CLOCK_SYNC="true" to force pm-utils to synchronize clocks.
  This is a change in the default behaviour of pm-utils -- 1.2.2.1 and earlier
  always synchronized clocks, but doing so is slow and most hardware stays in
  sync without assistance.

Add NEED_CLOCK_SYNC="true" to /etc/pm/config.d/clock.conf and it should work on your platform.

Comment 2 Orion Poplawski 2012-03-13 15:57:28 UTC
Hmm, I could see removing for the sleep/wake, but not hibernate/thaw.  I've added the config, sorry for not noticing that.

Comment 3 Jaroslav Škarvada 2012-03-13 16:10:34 UTC
NP, closing.