System clock is out of sync after cold boot if battery-backed RTC is not rtc0

Solution Verified - Updated -

Issue

The system time gets reset after unplugging the power cord if the battery-backed real-time clock (RTC) is not registered as /dev/rtc0 in the system.

Environment

  • RHEL5
  • RHEL6
  • RHEL7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.