[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#62536: marked as done (purging timezones removes /etc/timezone, should not happen.)



Your message dated Fri, 21 Apr 2000 12:51:36 -0700
with message-id <p04310102b5265f58b924@[206.163.71.146]>
and subject line Bug#62536: purging timezones removes /etc/timezone, should  not happen.
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Apr 2000 12:00:25 +0000
Received: (qmail 16474 invoked from network); 17 Apr 2000 12:00:16 -0000
Received: from pizarro.unex.es (root@158.49.8.2)
  by master.debian.org with SMTP; 17 Apr 2000 12:00:16 -0000
Received: from guadiana.unex.es (root@guadiana.unex.es [158.49.8.233])
	by pizarro.unex.es (8.9.3/8.9.1) with ESMTP id NAA11469
	for <submit@bugs.debian.org>; Mon, 17 Apr 2000 13:59:47 +0200
Received: from cantor.unex.es (sanvila@cantor.unex.es [158.49.18.105])
	by guadiana.unex.es (8.9.3/8.9.1) with SMTP id NAA00284
	for <submit@bugs.debian.org>; Mon, 17 Apr 2000 13:59:46 +0200
Date: Mon, 17 Apr 2000 13:58:59 +0200 (CEST)
From: Santiago Vila <sanvila@unex.es>
To: Debian Bugs <submit@bugs.debian.org>
Subject: purging timezones removes /etc/timezone, should not happen.
Message-ID: <Pine.LNX.3.96.1000417135622.10330A-100000@cantor.unex.es>
X-Debbugs-CC: sanvila@unex.es
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Package: libc6
Version: 2.1.3-8
Severity: important

The timezones package does no longer exist. However, a user upgrading from
slink to potato will end up having a removed timezones package in which
the conffiles remain. This is bad, because the user will see it as an
obsolete package in dselect and will try to purge it completely.
when purging timezones, the file /etc/timezone will be lost.

Since this is a case of "data loss", I think it should be fixed before
the release.

I can think of several ways to deal with this:

1. Keep still libc6 and timezones as separate packages in potato, but
make /etc/timezone a "configuration file which is not a conffile" (as
it should always have been, like /etc/gpm.conf, for example). This way
upgrades from slink to potato will work, and upgrades from potato to
woody will work as well, because the removed timezones will no longer
contain the /etc/timezones file as a conffile and therefore may be
purged safely.

2. Modify libc6 so that it does only Conflicts the old timezones, but
not a new dummy one which is created for potato not containing the
/etc/timezone file inside.

3. libc6.postinst munges the dpkg database and zeroes both the .list 
file and the .conffiles file for timezones. This would be a hack, but
I suppose it would work as well. It certainly will not work if the dpkg
databases changes format, but this will not happen in potato at least.

Thanks.

---------------------------------------
Received: (at 62536-done) by bugs.debian.org; 21 Apr 2000 19:55:53 +0000
Received: (qmail 27338 invoked from network); 21 Apr 2000 19:55:32 -0000
Received: from cerberus.espy.org (mail@206.163.71.145)
  by master.debian.org with SMTP; 21 Apr 2000 19:55:32 -0000
Received: from hercules.espy.org ([206.163.71.146]) [::ffff:206.163.71.146] 
	by cerberus.espy.org with esmtp (Exim 3.12 #1 (Debian GNU/Linux))
	id 12ijWV-000258-01; Fri, 21 Apr 2000 12:55:31 -0700
Mime-Version: 1.0
X-Sender: jk@mail.espy.org
Message-Id: <p04310102b5265f58b924@[206.163.71.146]>
In-Reply-To: <Pine.LNX.3.96.1000417135622.10330A-100000@cantor.unex.es>
References: <Pine.LNX.3.96.1000417135622.10330A-100000@cantor.unex.es>
Date: Fri, 21 Apr 2000 12:51:36 -0700
To: 62536-done@bugs.debian.org
From: Joel Klecker <jk@espy.org>
Subject: Re: Bug#62536: purging timezones removes /etc/timezone, should
 not happen.
Content-Type: text/plain; charset="us-ascii"

At 13:58 +0200 2000-04-17, Santiago Vila wrote:
>The timezones package does no longer exist. However, a user upgrading from
>slink to potato will end up having a removed timezones package in which
>the conffiles remain. This is bad, because the user will see it as an
>obsolete package in dselect and will try to purge it completely.
>when purging timezones, the file /etc/timezone will be lost.
>
>Since this is a case of "data loss", I think it should be fixed before
>the release.

I disagree that it is data loss, I already take steps to protect the
/etc/localtime symlink from old packages, which is enough to recover the
system's timezone.
I have also now taught `tzconfig' to use this if necessary.
-- 
Joel Klecker (aka Espy)       <URL:mailto:espy@debian.org>
Debian Package Maintainer for the GNU C Library.


Reply to: