

Debian bug report logs - #661 , boring messages

-----------------------------------------------------------------------

Message sent to debian-devel@pixar.com:


Subject: Bug#661: does dpkg handle conffiles right?
Reply-To: iwj10@cus.cam.ac.uk (Ian Jackson), debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: iwj10@cus.cam.ac.uk (Ian Jackson)
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Mon, 27 Mar 1995 22:48:02 GMT
Resent-Message-ID: <debian-bugs-handler.661.03272244362953@pixar.com>
X-Debian-PR-Package: dpkg
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Mon, 27 Mar 1995 22:48:02 GMT
Received: with rfc822 via encapsulated-mail id 03272244362953;
          Mon, 27 Mar 1995 22:44:36 GMT
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0rtNVF-0005YxC; Mon, 27 Mar 95 14:43 PST
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA05417
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Mon, 27 Mar 1995 
14:43:13 -0800
Received: by bootes.cus.cam.ac.uk
        (Smail-3.1.29.0 #30) id m0rtNV9-000BzgC; Mon, 27 Mar 95 23:43 
BST
Received: by chiark (Smail3.1.28.1 #3)
        id m0rtM7o-0002gOZ; Mon, 27 Mar 95 22:15 BST
Message-Id: <m0rtM7o-0002gOZ.ijackson@nyx.cs.du.edu>
Date: Mon, 27 Mar 95 22:15 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: debian-bugs@pixar.com

Package: dpkg
Version: 0.93.31

Raul Miller writes ("does dpkg handle conffiles right?"):
> I thought that dpkg was going to do something to record what a
> configuration file looked like when it was originally unpacked.  As it
> is, every time a package is upgradded with a changed conffile the
> sysadmin gets a prompt about the change -- even if the sysadmin never
> changed the conffile in question.

The user will be prompted if the version of the configuration file
shipped by the package maintainer in the new package is neither the
same as the version shipped by the maintainer in the version being
overwritten nor the same as the file currently installed on the
system.

The default answer is always to overwrite the sysadmin's file with the
package maintainer's file.

Umm, there seems to be insufficient flexibility in this area.  We have
the following possibilities, with the current default actions listed:

 Currently:                     User edited             User not edited
        Maintainer changed       prompt(overwrite)       
prompt(overwrite)
        Maintainer not changed   keep old                keep old

However, the current scheme doesn't allow you to set different values
for what to do when the user has edited the file.  Ie, you can set the
entries in each row to prompt(overwrite), prompt(keep old), overwrite
or keep old, but you can't set entries in the same row to different
values.

I think what you're asking for is:

                                User edited             User not edited
        Maintainer changed       prompt(keep old)        overwrite
        Maintainer not changed   keep old                keep old

or something like it.  Am I right ?  If so, I think this is probably a
reasonable requirement.  I've therefore sent this to debian-bugs.
Don't expect it to be implemented before the C rewrite of dpkg.

Perhaps someone would like to come up with a consistent, sensible and
reasonably helpful way of organising the setting of these cells to
sane values from the command line.

Umm, it would probably be a good thing if there wasn't any way to ask
for a cell more to the right to be less likely to install the new
file, or for a cell nearer the top to be less likely to do so than one
in the same column further down.

Ian.

-----------------------------------------------------------------------

Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: iwj10@cus.cam.ac.uk (Ian Jackson)
Subject: Bug#661: Acknowledgement (was: does dpkg handle conffiles 
right?)
In-Reply-To: <m0rtM7o-0002gOZ.ijackson@nyx.cs.du.edu>
References: <m0rtM7o-0002gOZ.ijackson@nyx.cs.du.edu>

Thank you for the problem report you have sent regarding Debian 
GNU/Linux.
This is an automatically generated reply, to let you know your message 
has
been received.  It is being forwarded to the developers' mailing list 
for
their attention; they will reply in due course.

If you wish to submit further information on your problem, please send
it to debian-bugs@pixar.com, but please ensure that the Subject
line of your message starts with "Bug#661" or "Re: Bug#661" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)

-----------------------------------------------------------------------
Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking
mechanism
This page last modified 06:43:02 GMT Wed 21 Jun