Your message dated Mon, 28 Dec 2020 00:25:30 +0100
with message-id <[email protected]>
and subject line Re: Bug#539347: util-linux: rtcwake reads rtc time 1 hour 
ahead (delta=-3600)
has caused the Debian Bug report #539347,
regarding util-linux: rtcwake reads rtc time 1 hour ahead (delta=-3600)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
539347: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539347
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: util-linux
Version: 2.15.1~rc1-1
Severity: normal

In spite of the fact that I get the correct restult from 
$date
Tue Jul 28 23:55:01 EDT 2009
$sudo hwclock
Tue 28 Jul 2009 23:54:48 EDT  -0.969058 seconds

I get

$ sudo rtcwake -v -a -s 10 -m standby
Using local time.
        delta   = -3600
        tzone   = 18000
        tzname  = EDT
        systime = 1248839626, (UTC) Wed Jul 29 03:53:46 2009
        rtctime = 1248843226, (UTC) Wed Jul 29 04:53:46 2009
alarm 0, sys_time 1248839626, rtc_time 1248843226, seconds 10
rtcwake: wakeup from "standby" using /dev/rtc0 at Wed Jul 29 00:53:57 2009

Of course the system UTC is correct. The rtc UTC is ahead 1 hour (hence the 
delta=-3600). 
I think that it may not be accounting for the fact that I'm currently in 
daylight savings time.
So I'm 4 hours behind UTC, not 5. 

Kevin


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'testing'), (400, 'stable'), (300, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc3.017 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages util-linux depends on:
ii  libc6                  2.9-23            GNU C Library: Shared libraries
ii  libncurses5            5.7+20090613-1    shared libraries for terminal hand
ii  libselinux1            2.0.82-1          SELinux shared libraries
ii  libslang2              2.1.4-3           The S-Lang programming library - r
ii  libuuid1               1.41.8-2          Universally Unique ID library
ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
ii  tzdata                 2009k-2           time zone and daylight-saving time
ii  zlib1g                 1:1.2.3.3.dfsg-14 compression library - runtime

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  console-tools            1:0.2.3dbs-65.1 Linux console and font utilities
ii  dosfstools               3.0.5-1         utilities for making and checking 
pn  util-linux-locales       <none>          (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 2.17

* Kevin Mitchell <[email protected]>:
> In spite of the fact that I get the correct restult from 
> $date
> Tue Jul 28 23:55:01 EDT 2009
> $sudo hwclock
> Tue 28 Jul 2009 23:54:48 EDT  -0.969058 seconds
> 
> I get
> 
> $ sudo rtcwake -v -a -s 10 -m standby
> Using local time.
>         delta   = -3600
>         tzone   = 18000
>         tzname  = EDT
>         systime = 1248839626, (UTC) Wed Jul 29 03:53:46 2009
>         rtctime = 1248843226, (UTC) Wed Jul 29 04:53:46 2009
> alarm 0, sys_time 1248839626, rtc_time 1248843226, seconds 10
> rtcwake: wakeup from "standby" using /dev/rtc0 at Wed Jul 29 00:53:57 2009

It appears upstream fixed this in commit
1da17ec6c1a22ae15fd4bf219d693e612b4bfe58.

Best,
Chris

--- End Message ---

Reply via email to