Your message dated Sat, 04 Oct 2014 03:23:33 +0000
with message-id <e1xafwt-0005nf...@franck.debian.org>
and subject line Bug#763823: fixed in util-linux 2.20.1-5.10
has caused the Debian Bug report #763823,
regarding hwclock-set script should protect against being run twice
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.)
--
763823: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763823
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: util-linux
Version: 2.20.1-5.8
Severity: important
Tags: patch
initramfs-tools has started mounting and fscking both / and /usr in
the initramfs, and that means we need to set the system clock properly
as well. (#763777)
Currently /lib/udev/hwclock-set will happily adjust the system time
twice if the RTC uses local time and it is run in both the
initramfs and the main init system.
Please apply the following patch to make it do that only once.
The patch should also be applicable to util-linux/experimental, with
some fuzz (--systz was changed to --hctosys). When using the
--hctosys option there is no longer a problem of adjusting for local
time twice, but it is still undesirable to step the system time
unnecessarily.
Ben.
--- util-linux-2.20.1/debian/hwclock-set
+++ util-linux-2.20.1/debian/hwclock-set
@@ -8,6 +8,10 @@
exit 0
fi
+if [ -e /run/udev/hwclock-set ]; then
+ exit 0
+fi
+
if [ -f /etc/default/rcS ] ; then
. /etc/default/rcS
fi
@@ -25,3 +29,5 @@
else
/sbin/hwclock --rtc=$dev --systz
fi
+
+touch /run/udev/hwclock-set
--- END ---
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages util-linux depends on:
ii debconf [debconf-2.0] 1.5.53
ii dpkg 1.17.13
ii initscripts 2.88dsf-53.4
ii install-info 5.2.0.dfsg.1-4
ii libblkid1 2.20.1-5.8
ii libc6 2.19-11
ii libncurses5 5.9+20140913-1
ii libselinux1 2.3-2
ii libslang2 2.3.0-1
ii libtinfo5 5.9+20140913-1
ii libuuid1 2.20.1-5.8
ii lsb-base 4.1+Debian13
ii tzdata 2014g-1
ii zlib1g 1:1.2.8.dfsg-2
util-linux recommends no packages.
Versions of packages util-linux suggests:
ii dosfstools 3.0.26-3
ii kbd 1.15.5-1
ii util-linux-locales 2.20.1-5.8
-- debconf information excluded
--- End Message ---
--- Begin Message ---
Source: util-linux
Source-Version: 2.20.1-5.10
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 763...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ben Hutchings <b...@decadent.org.uk> (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, 04 Oct 2014 03:15:30 +0100
Source: util-linux
Binary: util-linux util-linux-locales mount bsdutils fdisk-udeb cfdisk-udeb
libblkid1 libblkid1-udeb libblkid-dev libmount1 libmount1-udeb libmount-dev
libuuid1 uuid-runtime libuuid1-udeb uuid-dev util-linux-udeb
Architecture: all source
Version: 2.20.1-5.10
Distribution: unstable
Urgency: medium
Maintainer: LaMont Jones <lam...@debian.org>
Changed-By: Ben Hutchings <b...@decadent.org.uk>
Closes: 763823
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)
libblkid1 - block device id library
libblkid1-udeb - block device id library (udeb)
libblkid-dev - block device id library - headers and static libraries
libmount1 - block device id library
libmount1-udeb - block device id library (udeb)
libmount-dev - block device id library - headers and static libraries
libuuid1-udeb - stripped down universally unique id library, for
debian-installer (udeb)
libuuid1 - Universally Unique ID library
mount - Tools for mounting and manipulating filesystems
util-linux-locales - Locales files for util-linux
util-linux - Miscellaneous system utilities
util-linux-udeb - Miscellaneous system utilities (udeb)
uuid-dev - universally unique id library - headers and static libraries
uuid-runtime - runtime components for the Universally Unique ID library
Changes:
util-linux (2.20.1-5.10) unstable; urgency=medium
.
* Non-maintainer upload
* hwclock-set: Use stamp file in /run/udev to ensure we set the clock
only once if installed in the initramfs (Closes: #763823)
Checksums-Sha1:
4a8befc4e98a782a4a60106a33a261314fcaeb0d 3094 util-linux_2.20.1-5.10.dsc
98f47581f032552ae46ab117e80219c6dfde7866 281427 util-linux_2.20.1-5.10.diff.gz
2848b19be767703997aad963fe98f8471b282301 741646
util-linux-locales_2.20.1-5.10_all.deb
Checksums-Sha256:
236d0514bf6d53acc292dddb6792192c330e941ed6c3d444a1c36d2f19e61965 3094
util-linux_2.20.1-5.10.dsc
c3aa383d3d4eb22aeff46c8d135d6bdd2947a6fea1f6cc3fc0c2a2a0ca07d034 281427
util-linux_2.20.1-5.10.diff.gz
38d1ca7902cec3a6236a72957b1f1ef9b868feeecbc6e05d71a94b54937d21fc 741646
util-linux-locales_2.20.1-5.10_all.deb
Files:
a8d5f268662e6d9eab9ac1f8f518bfc8 3094 base required util-linux_2.20.1-5.10.dsc
a5f1eb3335d9f183c90a26bac5849bc1 281427 base required
util-linux_2.20.1-5.10.diff.gz
8cf54ee2634d0a2cdbdb60f6a4db6cc8 741646 utils optional
util-linux-locales_2.20.1-5.10_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUBVC9cB+e/yOyVhhEJAQpiMhAAisgDgU8jesiEnCbA28tYK/coilAtg4ya
foSx3TfESO/iKuVPqmci2I4OVSL8TzDAelSgFv/nMGKNOiBz3jf8Bn3e52o/4qwZ
OjsqpLuBcUnu7dV5LoMSC+rMHVG7zLbw6LLmZQYf7S3ofTL+VkKUxw9eGErX1X8q
DMkjo+OLgMar1yv8ggogbC7zWX2PH7xuTAS06d2/REMhZWUJTpW93i6r2Byy3mXV
vUOBq08JtMvuwiInS2lJwFxaPoM7m0IORNbZhI7/G1QP6Ep3WWZVDLGqcJ6gzmGF
LHROE2ydsc0GM3vS8rNn2LIfFc3DrDTuLUKfw8Um14P4JveBqpPCnt45AYcZ5u7c
IxW0de+M3ZjUZHQ3oPA4SEPKzQPLIBUhSgsqGDb0FK1IohFOhByumVHtOi3/OTPb
q1CPBf0Je3mVwrWqP82T2XTnqDMiXrTnKH0+GqBeGrvuBmWEnNx7s5M59LKiJqJJ
mQqxA+98HTWN82hBa8AugXr6ywQ415bUkYEzVA0BYi19IZjN6rBEfo4rhCgDcG4t
rxgnTiyUTv5GoxSn3Z2PPnKHSuLCoVpsCa1b081XZC8ORuK+PXr6KAizJ4vTWRHy
OnyQR4J1Ca19EzQmBrfsaC+fOKLZZ04gCSf7z9+WhYo0UGZIcqDLe77T47TGZH/N
vbFhRDbHJpo=
=9x4r
-----END PGP SIGNATURE-----
--- End Message ---