[Bug 4556] New: dpkg fails to re-install config files when unchanged

bugzilla at busybox.net bugzilla at busybox.net
Tue Nov 29 03:18:00 UTC 2011


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.


More information about the busybox-cvs mailing list