Your message dated Sat, 04 Oct 2014 16:20:38 +0000
with message-id <[email protected]>
and subject line Bug#763823: fixed in util-linux 2.20.1-5.11
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 [email protected]
immediately.)


-- 
763823: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763823
Debian Bug Tracking System
Contact [email protected] 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.11

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Sat, 04 Oct 2014 15:18:02 +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.11
Distribution: unstable
Urgency: medium
Maintainer: LaMont Jones <[email protected]>
Changed-By: Ben Hutchings <[email protected]>
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.11) unstable; urgency=medium
 .
   * Non-maintainer upload
   * hwclock-set: Don't use 'touch' to create stamp file, as it may not be
     included in an initramfs (Really closes: #763823)
Checksums-Sha1: 
 9fc3c5c3570ebf62699a1f02a10fc7302ad1c64e 3094 util-linux_2.20.1-5.11.dsc
 42a86dfd664c573d978488ca70e54a3f5b050f48 281484 util-linux_2.20.1-5.11.diff.gz
 74c52a4d9de5c6cb7e1600401b68641bd5f84d9c 740934 
util-linux-locales_2.20.1-5.11_all.deb
Checksums-Sha256: 
 e4da31ad9a3fb460c550386f7df9008c956dea172b867c536609e2fb6b61c2ff 3094 
util-linux_2.20.1-5.11.dsc
 9b50ce4d3c72b6f477b8b2d2bf706e259bba65c1c562c23d60f7dbca2152f0e9 281484 
util-linux_2.20.1-5.11.diff.gz
 eaea4571a5bd1361437ced8e9ffeae781ff7d231a7301c13798ba269de0c5963 740934 
util-linux-locales_2.20.1-5.11_all.deb
Files: 
 d955c89abb8ce87045124ff32a3db0d5 3094 base required util-linux_2.20.1-5.11.dsc
 daaabfbbebad09e8ee147eede16cbc00 281484 base required 
util-linux_2.20.1-5.11.diff.gz
 052d1421e2cf53651451aac874ec8c24 740934 utils optional 
util-linux-locales_2.20.1-5.11_all.deb

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

iQIVAwUBVDAZqOe/yOyVhhEJAQo3+w//ZNotBJCe9W+j3CUm2o9TrmI+vZmszqIh
CW2ipThgI5rwXvX0jvA3hBvLXaNxW6IT7MHZ4Sh+J1pPngW9KaeHjXbXYznqqdih
fJDxtS4YvfQso+VfYwlk7rvrLMDcc4/gIXvH0TXzSUijEzXhAkuWVJ0uEWaGzJV9
MXY3/60y92TRoO97de1ywOL3oMdXW9Ab92oD++9lj2k7Gb5mT1Dgnu8x8rKRX9uS
+mVuaARyD2IqISbJGfcBK1KCTIYHw+eYt2dFH9wRFaE3O+9h3ySyMD89bHHvs2F4
mbbiaQIIyvkXgNdFz8BKuqjODjMBCQoKxwk6svMdwjLpqYSZdIpLQSHJyagTDBy/
qwwmBNIRgpHkBG3ZifgoUyUEp8YfVvY8zTQSpYHHq7GH7B9WoAIwzs72YoTnVMW8
MChDrehsuuw4gTjaTMqDRkvaqwDkkjyJFdITEterPDqnIRTz645NYVH+QgtKX67H
/GA8iJiZEwkBGBPf37pOb9xIzjw289p3EMG90FIB0NyaTVyMbUZtPfx5SaS/CqsP
OfJO6CffYbNFF80ZlxS+2/ppYWZa/WKN61NPjry3FZyE/cczc4UyuV0JDiSaZsXH
aW/8t0tbEC7aA7RCZ4YD/1EVsyxjq0kJwGN9V56+jfzM5b6godGJFQBH1gNvoSho
IuD2DbS/tio=
=UQCl
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to