[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    [Bug 4556] New: dpkg fails to re-install config files when unchanged
From:       bugzilla () busybox ! net (bugzilla at busybox ! net)
Date:       2011-11-29 3:18:00
Message-ID: bug-4556-161 () https ! bugs ! busybox ! net/
[Download RAW message or body]

https://bugs.busybox.net/show_bug.cgi?id=4556

           Summary: dpkg fails to re-install config files when unchanged
           Product: Busybox
           Version: 1.19.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: damion.desoto at faiveleytransport.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


dpkg is supposed to check all files in a debian package that are listed in
'conffiles' against the currently installed versions to see if they have been
locally modified.  This is done via md5sums.
The current code is broken, and attempts to check the calculated md5sum against
the filename, which will never match. (busybox/archival/dpkg.c
filter_rename_config(archive_handle_t *archive_handle)).
Thus, local config files are never upgraded.

I assume the correct checking should be done against the contents of the debian
package control file named 'md5sums' rather than the current linked list of
'conffiles'

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic