Your message dated Sat, 11 Oct 2014 18:05:58 +0000
with message-id <e1xd13g-0007hg...@franck.debian.org>
and subject line Bug#764552: fixed in util-linux 2.25.1-4
has caused the Debian Bug report #764552,
regarding hwclock-set misconfigures kernel for NTP when RTC holds local time
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 ow...@bugs.debian.org
immediately.)


-- 
764552: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764552
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: util-linux,linux
Severity: important
Tags: patch

With the new armmp kernel, RTC drivers are built as modules, and thus
the kernel doesn't set the system clock from the hardware clock when
the module is loaded, as explained in the RTC_HCTOSYS_DEVICE KConfig
option:

| The driver for this RTC device must be loaded before late_initcall
| functions run, so it must usually be statically linked.

In that case, util-linux should set the system clock from the RTC
itself. This is correctly done through /etc/init.d/hwclock.sh when udev
is not used. When using udev, the rule 85-hwclock.rules call
hwclock-set, which assumes that the system clock has already been set
earlier by the kernel and that the only remaining thing to do is the
correct it to the local timezone (--systz). While this was true with
the wheezy kernels, it's not longer true with the jessie one, and the
--systohc option has to be used instead.

This is the purpose of the patch below:

--- util-linux-2.20.1/debian/hwclock-set
+++ util-linux-2.20.1/debian/hwclock-set
@@ -24,5 +24,5 @@
 if [ yes = "$BADYEAR" ] ; then
-    /sbin/hwclock --rtc=$dev --systz --badyear
+    /sbin/hwclock --rtc=$dev --hctosys --badyear
 else
-    /sbin/hwclock --rtc=$dev --systz
+    /sbin/hwclock --rtc=$dev --hctosys
 fi
--- util-linux-2.20.1/debian/hwclock.rules
+++ util-linux-2.20.1/debian/hwclock.rules
@@ -1,4 +1,4 @@
-# Reset the System Clock to UTC if the hardware clock from which it was
-# copied by the kernel was in localtime.
+# Set the System Time from the Hardware Clock and set the kernel's timezone
+# value to the local timezone when the kernel clock module is loaded.
 
 KERNEL=="rtc0", RUN+="/lib/udev/hwclock-set $root/$name"

-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 3.13-0.bpo.1-armmp (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---
Source: util-linux
Source-Version: 2.25.1-4

We believe that the bug you reported is fixed in the latest version of
util-linux, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 764...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Henriksson <andr...@fatal.se> (supplier of updated util-linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 11 Oct 2014 17:45:20 +0200
Source: util-linux
Binary: util-linux util-linux-locales mount bsdutils fdisk-udeb cfdisk-udeb 
libblkid1 libblkid1-udeb libblkid-dev libmount1 libmount-dev libsmartcols1 
libsmartcols1-udeb libsmartcols-dev libuuid1 uuid-runtime libuuid1-udeb 
uuid-dev util-linux-udeb
Architecture: source amd64 all
Version: 2.25.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian util-linux Maintainers <ah-util-li...@debian.org>
Changed-By: Andreas Henriksson <andr...@fatal.se>
Description:
 bsdutils   - basic utilities from 4.4BSD-Lite
 cfdisk-udeb - Manually partition a hard drive (cfdisk) (udeb)
 fdisk-udeb - Manually partition a hard drive (fdisk) (udeb)
 libblkid-dev - block device id library - headers and static libraries
 libblkid1  - block device id library
 libblkid1-udeb - stripped down block device id library, for debian-installer 
(udeb)
 libmount-dev - device mounting library - headers and static libraries
 libmount1  - device mounting library
 libsmartcols-dev - smart column output alignment library - headers and static 
librar
 libsmartcols1 - smart column output alignment library
 libsmartcols1-udeb - stripped down smart column output aligment library, for 
debian-in (udeb)
 libuuid1   - Universally Unique ID library
 libuuid1-udeb - stripped down universally unique id library, for 
debian-installer (udeb)
 mount      - Tools for mounting and manipulating filesystems
 util-linux - Miscellaneous system utilities
 util-linux-locales - Locales files for util-linux
 util-linux-udeb - stripped down miscellaneous system utilities, for 
debian-installe (udeb)
 uuid-dev   - universally unique id library - headers and static libraries
 uuid-runtime - runtime components for the Universally Unique ID library
Closes: 764159 764244 764392 764418 764552 764660
Changes:
 util-linux (2.25.1-4) unstable; urgency=medium
 .
   [ Sebastian Ramacher ]
   * Use usermod instead of chsh in postinst user migration (Closes: #764244)
 .
   [ Andreas Henriksson ]
   * Use a single usermod call in postinst user migration
   * Silence the attempt to stop uuidd before migration (Closes: #764159)
 .
   [ Helmut Grohne ]
   * Pass -std=gnu99 to CC when cross-building. (Closes: #764392)
 .
   [ Andreas Henriksson ]
   * Add debian/patches/libmount-fix-mnt_is_readonly-ifdef.patch
     - Cherry-picked from upstream commit 473c5fb86c43eed
       "libmount: fix mnt_is_readonly() #ifdef"
     - Fixes Hurd build failure.
     Thanks to Pino Toscano for fixing this upstream! (Closes: #764418)
   * hwclock-set: use both systz and hctosys.
     Thanks to Ben Hutchings for debugging this. (Closes: #764552)
   * Add debian/patches/flock-zero-timeout-is-valid.patch
     - Cherry-picked from upstream commit c4604c38b503c8c46e
       "flock: zero timeout is valid" (Closes: #764660)
   * Trigger update of initramfs on upgrades
Checksums-Sha1:
 1a4db0ca9f5fe72eae47fbd8c553b01f44368387 3440 util-linux_2.25.1-4.dsc
 aa5c0e1e2c35e5c3a7ca7e2770d79c20b0f742c5 70016 
util-linux_2.25.1-4.debian.tar.xz
 42cc76ad15306b1500ef27358329a350b4fedb40 92590 bsdutils_2.25.1-4_amd64.deb
 b5dd515b77b18703d9232d2e18c6a5f58262a6a2 852576 util-linux_2.25.1-4_amd64.deb
 061c3c23a05a34f31375e02c8607c04f160e4359 818956 
util-linux-locales_2.25.1-4_all.deb
 d66ee146b43792d06236a95349ca076066a1594c 167034 mount_2.25.1-4_amd64.deb
 33dbcd2354121ffd94219753996cbb0651e1aebe 121816 fdisk-udeb_2.25.1-4_amd64.udeb
 8fb878bfc0e84199514346d98685913658d29a24 895762 cfdisk-udeb_2.25.1-4_amd64.udeb
 36730d9e05f435375c64bdde62e0582d1e1ee1bb 154990 libblkid1_2.25.1-4_amd64.deb
 970d061dc248563958b08941a1b15c93fb263b62 98844 
libblkid1-udeb_2.25.1-4_amd64.udeb
 76a440dd89001034f369642ed005d574c1141a64 179126 libblkid-dev_2.25.1-4_amd64.deb
 7f711a56f56242455c1f8cd97e36eacb535c66c5 162792 libmount1_2.25.1-4_amd64.deb
 44d1aefb108e32390851ef932b476f11ae87434e 180068 libmount-dev_2.25.1-4_amd64.deb
 00ab41e94cf613b762307995030cf3fdb7c71e69 108924 
libsmartcols1_2.25.1-4_amd64.deb
 17dd6e6c3cd2c6668aa83217d2e993718ceface8 52804 
libsmartcols1-udeb_2.25.1-4_amd64.udeb
 00f71e82954086f8a41653d2d5a365808f10a937 118824 
libsmartcols-dev_2.25.1-4_amd64.deb
 a31be4d15599547b18302b5d8ebe60c6d8235803 63312 libuuid1_2.25.1-4_amd64.deb
 80eb1af1c9dd3ffef7e332fdb6cb4bcda96ac0d8 72866 uuid-runtime_2.25.1-4_amd64.deb
 babeddd9ba906db21261fd7d5912c4b75a953558 7158 libuuid1-udeb_2.25.1-4_amd64.udeb
 584a41d0f61918051de3e0aeba3f10a96681ecba 76986 uuid-dev_2.25.1-4_amd64.deb
 fbc91f7e4b9bc1298130459ef7208b31fdf3de55 27722 
util-linux-udeb_2.25.1-4_amd64.udeb
Checksums-Sha256:
 cd03215201c3b36ebb14774251a443315a38661e3584ef656c6b9dcf90ab0d30 3440 
util-linux_2.25.1-4.dsc
 0df690097b355d24bea57521508f356e242174c747347ddb7e6b2a933161e17b 70016 
util-linux_2.25.1-4.debian.tar.xz
 11da2a3df341273c6e5ddb145cd075e2f5d46cbefa50a762859d637519925064 92590 
bsdutils_2.25.1-4_amd64.deb
 2255d480384ff29b3d17412d605c233dfe4fffeb75fbe7f2aad8eddd3cfca704 852576 
util-linux_2.25.1-4_amd64.deb
 16a9f605dc2cca82917a1d74e7e2014e13b8346b4bffced7ababbdd739788fc4 818956 
util-linux-locales_2.25.1-4_all.deb
 0fa5de788bd7efcea75961995d1aa81610fcd6d875d770ba207bf736ab103011 167034 
mount_2.25.1-4_amd64.deb
 6b978acd58769fc62c1bba57be48538a5c8be1f695277e414fea102a2010f18e 121816 
fdisk-udeb_2.25.1-4_amd64.udeb
 b4f64b68524e376461caa12aa7430eeefd1c857ceb01669f75ab2cef1d5d6189 895762 
cfdisk-udeb_2.25.1-4_amd64.udeb
 05bfe62dd01708016140f62d9183e0f38843b190713e3b4a975ad4cb1a4ff564 154990 
libblkid1_2.25.1-4_amd64.deb
 37cc5e6d19294460bb3af9c968819c96b94f3e7e2151cd7b3ef312dc3de0a260 98844 
libblkid1-udeb_2.25.1-4_amd64.udeb
 de4fafa65b706c4af01583c9fc87e0cbdb7c11703f0c8178bc78d738d335d7c2 179126 
libblkid-dev_2.25.1-4_amd64.deb
 eec6b6a09eed7f883019ef98e545e5eec7c4e02f4902059fd759132e21bdceca 162792 
libmount1_2.25.1-4_amd64.deb
 3b59613a5428fd61a182179a9dbd2cea469a377c1e0922f7776278d66d933589 180068 
libmount-dev_2.25.1-4_amd64.deb
 a554954dc747a7b40190f8428576d6bc96459d6ab4028369fbedb1ac76cc4170 108924 
libsmartcols1_2.25.1-4_amd64.deb
 89a27526c9eed2b2188d55507f7fda0b970cbf12c19de013e24aa644a93763d6 52804 
libsmartcols1-udeb_2.25.1-4_amd64.udeb
 9d6fa3f192695bc370c4f65b63649f96b6fb29dbee258a3a83a10edf3d1bcb0c 118824 
libsmartcols-dev_2.25.1-4_amd64.deb
 21e75cfff326444c7aa69ee0c670d384ed0aaf8bcdc21f33d2743f301d6dbc36 63312 
libuuid1_2.25.1-4_amd64.deb
 b64d0f99e23c56c940554ebe09995c106a4c44ca65df6fceaaa1b63644542b2a 72866 
uuid-runtime_2.25.1-4_amd64.deb
 ce68fd0c6c4e81e79fc9fa3954fce3261511c357b1bf2c0372dac8bac69be289 7158 
libuuid1-udeb_2.25.1-4_amd64.udeb
 f6168e92ff994b3f54aa6cf884f2d13f2b6cd8b54355b246d124247a997651ee 76986 
uuid-dev_2.25.1-4_amd64.deb
 3a6def1631f729685b2f45713290ee7e4bca349651503fbf1a34921e183492f5 27722 
util-linux-udeb_2.25.1-4_amd64.udeb
Files:
 ccab40a35aa7224ec169760e42a7ecb3 3440 base required util-linux_2.25.1-4.dsc
 2c0f4e3cf19cbb1da72d4f6be8c85b36 70016 base required 
util-linux_2.25.1-4.debian.tar.xz
 cec13e53f12bc3103c21dbd935c99e3f 92590 utils required 
bsdutils_2.25.1-4_amd64.deb
 800327804ce41377ea48c60d447c3fec 852576 utils required 
util-linux_2.25.1-4_amd64.deb
 9d2c566001e34d25b32107e9ef1be7f4 818956 localization optional 
util-linux-locales_2.25.1-4_all.deb
 451e87c487fdf14deda88423daee92b3 167034 admin required mount_2.25.1-4_amd64.deb
 c2bbbcf6a1c553d4ce78a55c252dd688 121816 debian-installer extra 
fdisk-udeb_2.25.1-4_amd64.udeb
 21c5aa72df24521214488d1aa640b33c 895762 debian-installer extra 
cfdisk-udeb_2.25.1-4_amd64.udeb
 ee7847575df98642c42904be4d579468 154990 libs required 
libblkid1_2.25.1-4_amd64.deb
 8d42e7531587ab8bbdd0e9d2a9c32fab 98844 debian-installer optional 
libblkid1-udeb_2.25.1-4_amd64.udeb
 ccf1f0654a4c067fbff7887f67050ee4 179126 libdevel optional 
libblkid-dev_2.25.1-4_amd64.deb
 2dc350db14e5cddba77e545b1084b297 162792 libs required 
libmount1_2.25.1-4_amd64.deb
 6606d6279cf912c9835035d3d407a7e1 180068 libdevel optional 
libmount-dev_2.25.1-4_amd64.deb
 3dcc19bdec71b42265281d65c20bbc5a 108924 libs required 
libsmartcols1_2.25.1-4_amd64.deb
 fa8ae0cac7ba6ffea184e0e8b23a3957 52804 debian-installer optional 
libsmartcols1-udeb_2.25.1-4_amd64.udeb
 6e91417a545e64dd4e94412e88bd9f14 118824 libdevel optional 
libsmartcols-dev_2.25.1-4_amd64.deb
 7cab039ba222545012d2528125f65864 63312 libs required 
libuuid1_2.25.1-4_amd64.deb
 d206cfd3c11eb054483c03433c24dc11 72866 utils optional 
uuid-runtime_2.25.1-4_amd64.deb
 66a5c8afea90dfc1703849255442b4c3 7158 debian-installer optional 
libuuid1-udeb_2.25.1-4_amd64.udeb
 86ecbd548b44d9ade404f1eebe6a8d9a 76986 libdevel optional 
uuid-dev_2.25.1-4_amd64.deb
 4a0864dfb66c711feb174a225120f9f0 27722 debian-installer optional 
util-linux-udeb_2.25.1-4_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJUOW1pAAoJEAvEfcZNE1MGmIMP/2sOCjAFUfqD9Yulwovxp8v8
5Ido4cZH96/SlJO+SOOmnUMcQZU5hXCNb3bbysJDPs5XK7FS8Oh6x+rXmQ/nJm7S
IX4JpauODJUuIO6syhQXVSriMXfkWfoa+JI5OnWH0lYqn2n4smggA3iw7DXVfEpY
YOda7Ldh6S/fdOSRJtv4ScUzv+QAgsHUCs/OhTX43JqWUVal08ZIcna9IuGJ/X/G
6Yd9jsuMTpzyrIDGQShqTX+xtMw5Pue4miIfdihelXlv1LL/Xa5ANroRjezVPhRO
QmpEe4WUc2ysa3BNMK2ucPh38B6Uj40fmqVh+ERkPlv9H9qwqcmDQqVjwoodUgde
naolHy6Fyuofy+70vwtOfUTBVWxzix23a7oOs1vv/b5XgfJQwcahUYXpLsy+Jzqo
NQFMaUNR+7AMXRzCaJ13xnC/rG3gKqKtnRDv8VwEumYZHaHCg9nXVdprjwbLSrmM
zc9A8wRYUsb6gbEc1dEIlpLVkaDbwDXto5weIOvhuS2F7ygnOUiolQlyFS+PHCez
7lcUIyMfyRVcBqRp9pShtBhxA3kzVT3ExtdV6rHsFfuxZsTj7XVCDPEwMO6PAHn1
2r0Vnn9ciWGh6roaPW3RQryxoQ2gtEgdUYzM9t+q9GOF/e7iHyVHvAAN1pTE2ZBk
pup5RElD4jXzSvE6TNoq
=eeRA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to