Bug#692271: Please migrate hwclock timezone setting when upgrade

Pierre Ynard linkfanel at yahoo.fr
Thu Feb 21 02:17:20 GMT 2019

severity 692271 normal
reassign 692271 util-linux

> When I dist-upgraded from squeeze to wheezy, initscripts package did
> not migrate the former hwclock setting (UTC=no) into /etc/adjtime.
> This causes UTC time to be written into the hardware clock in the
> shutdown process.

It seems that this was supposed to be migrated properly. From the
util-linux changelog:

> util-linux (2.20.1-5) unstable; urgency=low
>   [Roger Leigh]
>   * Improve handling of the hardware clock
>     - Migrate existing
>       UTC= setting in /etc/default/rcS to UTC/LOCAL in /etc/adjtime.
>       This removes needless duplication of the setting, and prevents the
>       behaviour of hwclock being overridden, and its configuration
>       overwritten every shutdown.  Closes: #554345
> [...]
>  -- LaMont Jones <lamont at debian.org>  Thu, 17 May 2012 12:11:44 -0600

And even:

> util-linux (2.25-5) experimental; urgency=medium
>   The "big maintainer-script cleanup" release
>   * util-linux: drop obsolete /etc/default/rcS -> /etc/adjtime migration
> [...]
>  -- Andreas Henriksson <andreas at fatal.se>  Thu, 31 Jul 2014 00:55:15 +0200

Reassigning to util-linux, but I would suppose that there is no issue
anymore with recent installations and in case there used to be a bug,
support from squeeze was already dropped so that ship has sailed; and
this can probably be closed.


Pierre Ynard

More information about the Debian-init-diversity mailing list