Why "wakealarm" file cannot be edited without UTC option ?
Issue
- Cannot edit
wakealarm
file 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
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.