Your message dated Tue, 13 Jan 2015 15:23:52 +0000
with message-id <e1yb3jw-0003pm...@franck.debian.org>
and subject line Bug#768245: fixed in opendnssec 1:1.4.6-6
has caused the Debian Bug report #768245,
regarding opendnssec-enforcer-{sqlite3, mysql}: unhandled symlink to directory 
conversion: /usr/share/doc/PACKAGE
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 ow...@bugs.debian.org
immediately.)


-- 
768245: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768245
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: opendnssec-enforcer-sqlite3,opendnssec-enforcer-mysql
Version: 1:1.4.6-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.

This was observed on the following upgrade paths:

  wheezy -> jessie

For /usr/share/doc/PACKAGE this may not be problematic as long as both
packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
http://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile

For other overwritten locations anything interesting may happen.

Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.2)
to perform the conversion, ideally using d/$PACKAGE.mainstscript.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (usually somewhere in the middle...):

1m5.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/opendnssec-enforcer-sqlite3/NEWS.Debian.gz 
(opendnssec-enforcer-sqlite3) != 
/usr/share/doc/opendnssec-enforcer/NEWS.Debian.gz (opendnssec-enforcer)
  /usr/share/doc/opendnssec-enforcer-sqlite3/changelog.Debian.gz 
(opendnssec-enforcer-sqlite3) != 
/usr/share/doc/opendnssec-enforcer/changelog.Debian.gz (opendnssec-enforcer)
  /usr/share/doc/opendnssec-enforcer-sqlite3/changelog.gz 
(opendnssec-enforcer-sqlite3) != 
/usr/share/doc/opendnssec-enforcer/changelog.gz (opendnssec-enforcer)
  /usr/share/doc/opendnssec-enforcer-sqlite3/copyright 
(opendnssec-enforcer-sqlite3) != /usr/share/doc/opendnssec-enforcer/copyright 
(opendnssec-enforcer)

1m9.5s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/opendnssec-enforcer-mysql/NEWS.Debian.gz 
(opendnssec-enforcer-mysql) != 
/usr/share/doc/opendnssec-enforcer/NEWS.Debian.gz (opendnssec-enforcer)
  /usr/share/doc/opendnssec-enforcer-mysql/changelog.Debian.gz 
(opendnssec-enforcer-mysql) != 
/usr/share/doc/opendnssec-enforcer/changelog.Debian.gz (opendnssec-enforcer)
  /usr/share/doc/opendnssec-enforcer-mysql/changelog.gz 
(opendnssec-enforcer-mysql) != /usr/share/doc/opendnssec-enforcer/changelog.gz 
(opendnssec-enforcer)
  /usr/share/doc/opendnssec-enforcer-mysql/copyright 
(opendnssec-enforcer-mysql) != /usr/share/doc/opendnssec-enforcer/copyright 
(opendnssec-enforcer)


cheers,

Andreas

Attachment: opendnssec-enforcer-sqlite3_1:1.4.6-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: opendnssec
Source-Version: 1:1.4.6-6

We believe that the bug you reported is fixed in the latest version of
opendnssec, 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 768...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Surý <ond...@debian.org> (supplier of updated opendnssec 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 13 Jan 2015 14:25:18 +0100
Source: opendnssec
Binary: opendnssec-common opendnssec opendnssec-doc opendnssec-enforcer 
opendnssec-enforcer-mysql opendnssec-enforcer-sqlite3 opendnssec-signer 
libhsm-bin opendnssec-dbg-mysql opendnssec-dbg-sqlite3
Architecture: source all
Version: 1:1.4.6-6
Distribution: unstable
Urgency: medium
Maintainer: Ondřej Surý <ond...@debian.org>
Changed-By: Ondřej Surý <ond...@debian.org>
Description:
 libhsm-bin - library for interfacing PKCS#11 Hardware Security Modules
 opendnssec - dependency package to install full OpenDNSSEC suite
 opendnssec-common - common configuration files for OpenDNSSEC suite
 opendnssec-dbg-mysql - Debug symbols for OpenDNSSEC (Enforcer with MySQL 
support)
 opendnssec-dbg-sqlite3 - Debug symbols for OpenDNSSEC (Enforcer with SQLite3 
support)
 opendnssec-doc - documentation for OpenDNSSEC suite
 opendnssec-enforcer - tool to prepare DNSSEC keys (common package)
 opendnssec-enforcer-mysql - tool to prepare DNSSEC keys (mysql backend)
 opendnssec-enforcer-sqlite3 - tool to prepare DNSSEC keys (sqlite3 backend)
 opendnssec-signer - daemon to sign DNS zone files periodically
Closes: 768245
Changes:
 opendnssec (1:1.4.6-6) unstable; urgency=medium
 .
   * Fix yet another iteration of dh_linkdoc madness (Closes: #768245)
Checksums-Sha1:
 ec10e98e8c3610c5e6a91db639c7b34e6889adf8 2816 opendnssec_1.4.6-6.dsc
 7814f8a18f2483903d27d48b1b7233e903570d01 16912 opendnssec_1.4.6-6.debian.tar.xz
 d63807c6927e73a4107fdc78060f0f4784f323d1 50346 
opendnssec-common_1.4.6-6_all.deb
 6b2e4b19714bca9dfcc6e8f8a1c684b250ca6376 28458 opendnssec_1.4.6-6_all.deb
 2824807d147ee44d6fa9de55db6e8f4f4f41367d 58883438 
opendnssec-doc_1.4.6-6_all.deb
 f1f35ea1db6a41a3e7fa2ed0a11c127c48cf3537 30034 
opendnssec-enforcer_1.4.6-6_all.deb
Checksums-Sha256:
 eb5054f9764ba699c0bd2be6d38177e0a081cfa6431aec0a19f18bab47d70053 2816 
opendnssec_1.4.6-6.dsc
 e63716ac3f2cc622c60ab48f36740ff5f076e0e584240caef277482ea540993e 16912 
opendnssec_1.4.6-6.debian.tar.xz
 9769a83c23837bc117accca56686f0f3996e209d72f6eae635bfaef99db761e8 50346 
opendnssec-common_1.4.6-6_all.deb
 ed19467282434cc434ae3e65b8f443f69664e326f2086179b5b9ebd7020b1a7d 28458 
opendnssec_1.4.6-6_all.deb
 fedf325bd536ff972983a81b50f1276577fc8777fd3a433cf97a700e2faeb3c8 58883438 
opendnssec-doc_1.4.6-6_all.deb
 bfcbc4644c022b368a158e7207e3bb8e1050be0e46943a1e39e047f23579796d 30034 
opendnssec-enforcer_1.4.6-6_all.deb
Files:
 1f7ba3ae7859ee27a2e0d744bd9480fa 2816 admin extra opendnssec_1.4.6-6.dsc
 950a14f6d3bd8818482be179be4303bb 16912 admin extra 
opendnssec_1.4.6-6.debian.tar.xz
 044ad0977059edbc5dc733252d6e5203 50346 misc extra 
opendnssec-common_1.4.6-6_all.deb
 703080be19c7cfe988b26b32dd1744f1 28458 misc extra opendnssec_1.4.6-6_all.deb
 38be0de529c46f1410a3f202e9bf452a 58883438 doc extra 
opendnssec-doc_1.4.6-6_all.deb
 13115d9c125292e58f667efacec21a86 30034 admin extra 
opendnssec-enforcer_1.4.6-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJUtR5XXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMEI5MzNEODBGQ0UzRDk4MUEyRDM4RkIw
Qzk5QjcwRUY0RkNCQjA3AAoJEAyZtw70/LsH3fAP/3n6M9cMxf0f4vfPFVx7Uaqj
Pr4Mca6i1TgOjd2KwmILWY4k9Nn7uWxjKn7z8dpylY7XyhAcdMSag93mcO+6lUax
yygB1V5VAQF/sCO3afTL7rUw1hrq+ZlDqg4+6QKy7xtCCxJH+qfabKUQzZu7J64G
DjNJzYXpdEZhn6Tc3Wwqv0qR9QUmv4ohisrA0IrRMUbu70R19uyi7MkpagYfLH/e
leEqps9urS8Ib0Vnw43EFFCrYk/9BYM8AQikn5O6/g8Aj6alikzM0gfzqHuTEfwk
fPr/44E8mCd4B3+mk4UxnQZo/b/lyrf+wKJA8IXMJZHEGtw34rrT7pSyLti4rPmH
/5LrXuBcb49Uovh47IEoS7tvMKGqr8QGgqj+VvBQI10fEeovZlbhaUAYO28XYZxj
EoQmzNH61iW+HOduYgWoUcl8lwPJSVqazgEJziSSvJIjhs/unhrYUVuyodbRPIdM
J5o3ZrGJvEiKbj2RgtvglzVZGowANH3to+MBXoqSrznBsFoSikZVEAeOhO657FQ6
QZP6ysgdn5RWT3nBnm/CS0C8TzTKAsoPuUiucoMcWjVDts2urV5nrCW5pk0rsgpF
Qz/yTY9fxIKd9Kug0t1WA7IP+Kk8ec3uvDOe1SE2vcmYAGAg0mpOMlQGGfcGfFQr
cGa7mTSj64DXzBWNEOj7
=xmOV
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to