Systemovy cas preskocil o hodinu

Petr Baláš petr na balas.cz
Sobota Červen 9 18:46:42 CEST 2012


Právě se mi taky posunul čas na Debianu. A může za to update balíčku nut.

linux:~# apt-get install nut
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  nut
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 1,214 kB of archives.
After this operation, 57.3 kB disk space will be freed.
Get:1 http://security.debian.org/ squeeze/updates/main nut i386
2.4.3-1.1squeeze2 [1,214 kB]
Fetched 1,214 kB in 2s (600 kB/s)
(Reading database ... 28602 files and directories currently installed.)
Preparing to replace nut 2.4.3-1.1squeeze1 (using
.../nut_2.4.3-1.1squeeze2_i386.deb) ...
Stopping Network UPS Tools: driver(s) upsd upsmon.
Unpacking replacement nut ...
Processing triggers for man-db ...
Setting up nut (2.4.3-1.1squeeze2) ...
Starting Network UPS Tools: driver(s) upsd upsmon.
linux:~# date
Sat Jun  9 16:20:25 CEST 2012

A dohledal jsem že je použit v postinst tento příkaz
udevadm trigger --action=change
ten následně spustí
/lib/udev/rules.d/85-hwclock.rules
a ten spustí
/lib/udev/hwclock-set
a ten (pokud v /etc/default/rcS NENÍ UTC=yes) spoustí příkaz
/sbin/hwclock --systz --localtime --noadjfile
a ten posune hodiny o 2 hodiny do minulosti

Vyzná se tu někdo dostatečně v udev a spol aby dokázal říci KDE je chyba
a tuto reportoval do Debian bugtrackeru?

Petr Baláš



2011/12/2 Martin Tiršel <lk na blackpage.eu>:
> Zdravim,
>
> prave pozeram na server, ze mu ide nejako zle cas a nechapem preco, bezi tam
> ntp a este pred chvilou bolo vsetko ok. Pozeram a nieco malo po pol druhej
> preskocil cas o hodinu dopredu. V kern.log toto:
>
> Dec  2 02:37:39 tequila kernel: [494488.071210] Clocksource tsc unstable
> (delta = -2999660116409 ns)
>
> Vie mi to niekto vysvetlit co sa stalo? Je tam Debian Squeeze
>
> Linux tequila 2.6.32-5-xen-amd64 #1 SMP Mon Oct 3 07:53:54 UTC 2011 x86_64
> GNU/Linux
>
>
> Bezia tam denne desattisice uloh, ktore musia byt vykonane v presny cas a
> toto ma celkom rozhodilo :(
>
>
>
> --
> S pozdravom,
> Martin Tiršel
> _______________________________________________
> Linux mailing list
> Linux na linux.cz
> http://www.linux.cz/mailman/listinfo/linux



-- 
Petr Baláš - petr at balas dot cz


Další informace o konferenci Linux