Your message dated Sat, 26 Apr 2014 23:19:07 +0000 with message-id <[email protected]> and subject line Bug#724457: fixed in ucf 3.0028 has caused the Debian Bug report #724457, regarding ucf: database corruption if ucfr is used on symlinks instead of files 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 724457: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724457 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: ucf Version: 3.0027+nmu1 Severity: serious # echo oops > /etc/oops # ln -s oops /etc/foo.bar # grep foo.bar /var/lib/ucf/registry # ucfr foo.bar /etc/foo.bar # grep foo.bar /var/lib/ucf/registry foo.bar /etc/foo.bar # ucfr foo.bar /etc/foo.bar # grep foo.bar /var/lib/ucf/registry foo.bar /etc/foo.bar foo.bar /etc/foo.bar # ucfr foo.bar /etc/foo.bar # grep foo.bar /var/lib/ucf/registry foo.bar /etc/foo.bar foo.bar /etc/foo.bar foo.bar /etc/foo.bar # ucfr -v --purge foo.bar /etc/foo.bar ucfr: The Package name is foo.bar ucfr: The Configuration file is /etc/foo.bar ucfr: The configuration file is /etc/oops ucfr: The State directory is /var/lib/ucf ucfr: The registry exists ucfr: Association already purged. No changes. # grep foo.bar /var/lib/ucf/registry foo.bar /etc/foo.bar foo.bar /etc/foo.bar foo.bar /etc/foo.bar # ucfr -v foo.bar /etc/foo.bar ucfr: The Package name is foo.bar ucfr: The Configuration file is /etc/foo.bar ucfr: The configuration file is /etc/oops ucfr: The State directory is /var/lib/ucf ucfr: The registry exists egrep -v "[[:space:]]/etc/oops$" "/var/lib/ucf/registry" \ /var/lib/ucf/registry.tmp || true echo "foo.bar /etc/foo.bar" >> "/var/lib/ucf/registry.tmp" mv -f /var/lib/ucf/registry.tmp /var/lib/ucf/registry # grep foo.bar /var/lib/ucf/registry foo.bar /etc/foo.bar foo.bar /etc/foo.bar foo.bar /etc/foo.bar foo.bar /etc/foo.bar # rm /etc/foo.bar rm: remove symbolic link '/etc/foo.bar'? y # ucfr -v --purge --force foo.bar /etc/foo.bar ucfr: The Package name is foo.bar ucfr: The Configuration file is /etc/foo.bar ucfr: The configuration file is /etc/foo.bar ucfr: The State directory is /var/lib/ucf ucfr: The registry exists ucfr: Corrupt registry: Duplicate entries for /etc/foo.bar foo.bar /etc/foo.bar foo.bar /etc/foo.bar foo.bar /etc/foo.bar foo.bar /etc/foo.bar discovered while debugging a piuparts error in ampache (#722548): Purging configuration files for ampache ... ucfr: Corrupt registry: Duplicate entries for /etc/ampache/ampache.conf ampache /etc/ampache/ampache.conf ampache /etc/ampache/ampache.conf dpkg: error processing ampache (--purge): subprocess installed post-removal script returned error exit status 2 Andreas
--- End Message ---
--- Begin Message ---Source: ucf Source-Version: 3.0028 We believe that the bug you reported is fixed in the latest version of ucf, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Manoj Srivastava <[email protected]> (supplier of updated ucf package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 26 Apr 2014 15:45:35 -0700 Source: ucf Binary: ucf Architecture: source all Version: 3.0028 Distribution: unstable Urgency: medium Maintainer: Manoj Srivastava <[email protected]> Changed-By: Manoj Srivastava <[email protected]> Description: ucf - Update Configuration File(s): preserve user changes to config fil Closes: 633391 724457 Changes: ucf (3.0028) unstable; urgency=medium . * Ack the NMU. * Bug fix: "Should not claim files differ if $newsum and $destsum are identical", thanks to Frank Küster (Closes: #633391). * Differentiate between the file being registered in the registry and the RE used to look it up. Account for the fact that the file being registered might be a s symlink, so follow links for the registry. Since registering symlinks is broken already, and we should be registering files and not symlinks anyway. ucf already did follow the symbolic links, it is only ucfr that needed changing. * Bug fix: "database corruption if ucfr is used on symlinks instead of files", thanks to Andreas Beckmann (Closes: #724457). Checksums-Sha1: 687c4809f2276bf834dca81d041518d2cd178833 1300 ucf_3.0028.dsc f0ccedf1001a2b4790b69394c78c64e2109ade9a 62748 ucf_3.0028.tar.xz 65c99f55db7b6fc955408544a6374e713cf7a750 69120 ucf_3.0028_all.deb Checksums-Sha256: 3637905fbf6dab4d203b1aef0f230d254183a1fcddbe75ee078de61cb7aebe13 1300 ucf_3.0028.dsc 25cd06d33ba9c0275d49d5885d10537e44025f1b2ee865c1fd39d89049cecb4c 62748 ucf_3.0028.tar.xz 3a19696e477f9c26c761bcdc7e53a41af89a53339c7d644ebf4fc5ce767abebb 69120 ucf_3.0028_all.deb Files: 8ade37f963eb0c96b21b46adade32191 69120 utils standard ucf_3.0028_all.deb ca5b90ee95552cec4a81274ee10d4d3a 1300 utils standard ucf_3.0028.dsc 8301394eee773d956894525f7e749e32 62748 utils standard ucf_3.0028.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQFtBAEBCgBXBQJTXD0uUBSAAAAAABsALHNyaXZhc3RhQGdvbGRlbi1ncnlwaG9u LmNvbUFCQTcxMDI1QTFCNUE4OEE0RTVGNjhDMjM2QkQ3MjBGNkY1NzY0NzJfNDg0 AAoJEDa9cg9vV2RyWdcIANwdlnQOdxkYHtLgk2oWT5en1SNs1ExUlWGsIOUJbH0V WtwGM6+BozZTQwgQeSF7ZUJwXFsw6Dy6ZROvOoHkbywAodnkThsJbuPoNZafqHn0 V3xYKovnMog0UvRCECoD3k4RKanwpCDBfhvQZF5c1v3A2/gEwpfWr39Ybb+3HVtQ PEjMWkbCufhjdKELYw0Uei8t0d8iHL7+VCRiHFX7ID8q6ClcVAz/kGb0oVbWJalT cRhTNh5HAZEtW2VKEb/LmlYyat/Wlc2gdrA7QbJ2S3odc617OJwRNF5tVwQmKCza Vs8SNdxRyi3IawLDvdIV4Ra0Ol5+HUWvT6vOCSAVUAw= =DrLK -----END PGP SIGNATURE-----
--- End Message ---

