[Bug 1683592] Re: tzdata doesn't set a reasonable default via debconf

Adam Conrad adconrad at 0c3.net
Tue Apr 18 15:39:48 UTC 2017


We *do* select Etc/UTC as the default if the package is completely
unconfigured, as far as I can tell?

(zesty-amd64)root at nosferatu:~# apt-get purge tzdata
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  tzdata*
0 upgraded, 0 newly installed, 1 to remove and 117 not upgraded.
After this operation, 3082 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 11681 files and directories currently installed.)
Removing tzdata (2017b-1) ...
Purging configuration files for tzdata (2017b-1) ...
(zesty-amd64)root at nosferatu:~# rm -f /etc/localtime /etc/timezone 
(zesty-amd64)root at nosferatu:~# apt-get install tzdata
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  tzdata
0 upgraded, 1 newly installed, 0 to remove and 117 not upgraded.
Need to get 0 B/203 kB of archives.
After this operation, 3082 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package tzdata.
(Reading database ... 9783 files and directories currently installed.)
Preparing to unpack .../tzdata_2017b-1_all.deb ...
Unpacking tzdata (2017b-1) ...
Setting up tzdata (2017b-1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Tue Apr 18 15:38:41 UTC 2017.
Universal Time is now:  Tue Apr 18 15:38:41 UTC 2017.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

(zesty-amd64)root at nosferatu:~#


** Changed in: tzdata (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/1683592

Title:
  tzdata doesn't set a reasonable default via debconf

Status in tzdata package in Ubuntu:
  Incomplete

Bug description:
  In cases where we don't prompt the user for a timezone value, the
  tzdata package should have a default value - Etc/UTC, which
  debootstrap currently populates for us but should really be handled in
  the package.

  This matters more now that we are demoting tzdata from the minimal set
  and users might have occasion to non-interactively install it on an
  existing system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1683592/+subscriptions



More information about the foundations-bugs mailing list