Why "wakealarm" file cannot be edited without UTC option ?

Solution Verified - Updated -

Issue

  • Cannot edit wakealarm file with command : echo date '+%s' -d '+3minutes' > /sys/class/rtc/rtc0/wakealarm and does not show the edit time.
  • But if used +3minutes utc , can edit wakealarm success and shows the edit time in the wakealarm file
  • When change timezone to CST(China Beijing) has this problem, if change it to America there is no issue.
  • User can not edit wakealarm to enable rtc alarm function.

Environment

  • Red Hat Enterprise Linux 7.1

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.