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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content