Why "wakealarm" file cannot be edited without UTC option ?
Issue
- Cannot edit
wakealarmfile with command : echodate '+%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
wakealarmto 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
