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

Bug#305619: marked as done (dpkg: Check MD5SUM of a package's non-config files and query user about replacing changed files.)



Your message dated Thu, 21 Apr 2005 15:11:22 +1000
with message-id <1114060282.8985.6.camel@localhost.localdomain>
and subject line Bug#305619: dpkg: Check MD5SUM of a package's non-config files and query user about replacing changed files.
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Apr 2005 04:09:26 +0000
>From chris@chrisdos.com Wed Apr 20 21:09:26 2005
Return-path: <chris@chrisdos.com>
Received: from windwalker.open-innovations.com (muaddib) [71.33.251.73] (user)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DOT0I-000409-00; Wed, 20 Apr 2005 21:09:26 -0700
Received: by muaddib (Postfix, from userid 1000)
	id 12C7D3AC58; Wed, 20 Apr 2005 22:09:24 -0600 (MDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Chris Dos <chris@chrisdos.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg: Check MD5SUM of a package's non-config files and query user about
 replacing changed files.
X-Mailer: reportbug 3.9
Date: Wed, 20 Apr 2005 22:09:24 -0600
Message-Id: <[🔎] 20050421040924.12C7D3AC58@muaddib>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: dpkg
Version: 1.10.27
Severity: important

It would be prudent if dpkg check the md5sum of a system file and
questioning the user if they want it replaced, rather than just
replacing the file without checking.  

Examples:

Squirrelmail:  I've changed the Squirrelmail login graphic and modified
the HTML to specify how to log into the mail server.  Upon upgrading
Squirrelmail, these two files get over written and no backups were made.

Hylafax: I've modified the fax receive script to print out all incoming
faxes.  Upon upgrading, this script gets over written and no backups
were made.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages dpkg depends on:
ii  dselect                     1.10.27      a user tool to manage Debian packa
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an

-- no debconf information

---------------------------------------
Received: (at 305619-done) by bugs.debian.org; 21 Apr 2005 05:11:26 +0000
>From scott@netsplit.com Wed Apr 20 22:11:26 2005
Return-path: <scott@netsplit.com>
Received: from populous.netsplit.com (mailgate.netsplit.com) [62.49.129.34] (qmailr)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DOTyI-0004I3-00; Wed, 20 Apr 2005 22:11:26 -0700
Received: (qmail 5857 invoked from network); 21 Apr 2005 05:11:21 -0000
Received: from unknown (HELO ?172.24.2.28?) (scott@150.203.247.9)
  by populous.netsplit.com with RC4-MD5 encrypted SMTP; 21 Apr 2005 05:11:21 -0000
Subject: Re: Bug#305619: dpkg: Check MD5SUM of a package's non-config files
	and query user about replacing changed files.
From: Scott James Remnant <scott@netsplit.com>
To: 305619-done@bugs.debian.org, Chris Dos <chris@chrisdos.com>
In-Reply-To: <[🔎] 20050421040924.12C7D3AC58@muaddib>
References: <[🔎] 20050421040924.12C7D3AC58@muaddib>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-s+osbdCc1hOLfZujmGaN"
Date: Thu, 21 Apr 2005 15:11:22 +1000
Message-Id: <1114060282.8985.6.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1.1 
Delivered-To: 305619-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--=-s+osbdCc1hOLfZujmGaN
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2005-04-20 at 22:09 -0600, Chris Dos wrote:

> It would be prudent if dpkg check the md5sum of a system file and
> questioning the user if they want it replaced, rather than just
> replacing the file without checking. =20
>=20
> Examples:
>=20
> Squirrelmail:  I've changed the Squirrelmail login graphic and modified
> the HTML to specify how to log into the mail server.  Upon upgrading
> Squirrelmail, these two files get over written and no backups were made.
>=20
Use dpkg-divert with the --rename flag to divert the package's login
graphic to an alternate location, and place your own in the right place.

Alternately, file a wishlist bug on the Squirrelmail package requesting
that the login graphic be made a conffile.

> Hylafax: I've modified the fax receive script to print out all incoming
> faxes.  Upon upgrading, this script gets over written and no backups
> were made.
>=20
Use dpkg-divert (without --rename flag) to divert any future version's
fax receive script to an alternate location, and then modify the one in
the original location (which dpkg will not touch).

Alternately, file a wishlist bug on the Hylafax package requesting that
the fax recieve script be made a conffile.

Scott
--=20
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

--=-s+osbdCc1hOLfZujmGaN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCZzX6IexP3IStZ2wRAjyvAKCvprCVbEV4PLwE3kFirX5KxkUzxQCfXeUb
EMXlO9WKCopFKYAeueK2x44=
=+A5w
-----END PGP SIGNATURE-----

--=-s+osbdCc1hOLfZujmGaN--



Reply to: