[Bug 603446] [NEW] rtcwake sets alarm 1 hour in the past

Indie 603446 at bugs.launchpad.net
Fri Jul 9 05:36:31 UTC 2010

Public bug reported:

Binary package hint: util-linux

Ubuntu 9.10
Local timezone Europe\London UTC+1

My dev box is set to use the hwclock in localtime due to it dual booting with windows. When I use
  rtcwake -l -m no -t $( date --date="10 min" +%s ) -v
to set the wakeup time the output of cat /proc/driver/rtc shows that it has been set to 1 hour in the past (minus 10 minutes). If I use --date="1 hour 10 min" it then produces the expected output. Changing the hwclock format to use UTC results in the correct behaviour. After that fix it does then result in the box waking up at the correct time after a 'poweroff'.

I've also tried the same under a separate install of Lucid and that
produces the expected result when using both localtime and UTC.

ProblemType: Bug
Architecture: amd64
Date: Fri Jul  9 06:01:38 2010
DistroRelease: Ubuntu 9.10
Package: util-linux 2.16-1ubuntu5
ProcVersionSignature: Ubuntu 2.6.31-22.60-hostname
SourcePackage: util-linux
Uname: Linux 2.6.31-22-server x86_64

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: amd64 apport-bug

rtcwake sets alarm 1 hour in the past
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to util-linux in ubuntu.

More information about the kernel-bugs mailing list