Your message dated Sun, 16 Mar 2014 21:52:13 +0000
with message-id <e1wpiyb-0006yb...@franck.debian.org>
and subject line Bug#720148: fixed in zookeeper 3.4.5+dfsg-2
has caused the Debian Bug report #720148,
regarding zookeeper: 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.)


-- 
720148: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720148
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-zookeeper,zookeeper
Version: 3.4.5+dfsg-1
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:

  jessie -> sid

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

For switching from a symlink to a directory, the *preinst* script
should do something like this:

        DOCDIR=/usr/share/doc/@@PACKAGE@@

        if [ -L $DOCDIR ]; then
                rm $DOCDIR
        fi


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

0m40.3s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/python-zookeeper/changelog.Debian.gz (python-zookeeper) != 
/usr/share/doc/libzookeeper-mt2/changelog.Debian.gz (libzookeeper-mt2:amd64)
  /usr/share/doc/python-zookeeper/changelog.gz (python-zookeeper) != 
/usr/share/doc/libzookeeper-mt2/changelog.gz (libzookeeper-mt2:amd64)
  /usr/share/doc/python-zookeeper/copyright (python-zookeeper) != 
/usr/share/doc/libzookeeper-mt2/copyright (libzookeeper-mt2:amd64)

0m43.6s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/zookeeper/changelog.Debian.gz (zookeeper) != 
/usr/share/doc/libzookeeper-java/changelog.Debian.gz (libzookeeper-java)
  /usr/share/doc/zookeeper/changelog.gz (zookeeper) != 
/usr/share/doc/libzookeeper-java/changelog.gz (libzookeeper-java)
  /usr/share/doc/zookeeper/copyright (zookeeper) != 
/usr/share/doc/libzookeeper-java/copyright (libzookeeper-java)


cheers,

Andreas

Attachment: python-zookeeper_3.4.5+dfsg-1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: zookeeper
Source-Version: 3.4.5+dfsg-2

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

Debian distribution maintenance software
pp.
Tim Retout <dioc...@debian.org> (supplier of updated zookeeper 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: SHA256

Format: 1.8
Date: Sun, 16 Mar 2014 20:07:23 +0000
Source: zookeeper
Binary: libzookeeper-java zookeeper zookeeperd libzookeeper-java-doc 
libzookeeper-mt2 libzookeeper-st2 libzookeeper2 libzookeeper-mt-dev 
libzookeeper-st-dev zookeeper-bin python-zookeeper
Architecture: source all amd64
Version: 3.4.5+dfsg-2
Distribution: unstable
Urgency: high
Maintainer: Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
Changed-By: Tim Retout <dioc...@debian.org>
Description: 
 libzookeeper-java - Core Java libraries for zookeeper
 libzookeeper-java-doc - API Documentation for zookeeper
 libzookeeper-mt-dev - Development files for multi threaded zookeeper C bindings
 libzookeeper-mt2 - Multi threaded C bindings for zookeeper
 libzookeeper-st-dev - Development files for single threaded zookeeper C 
bindings
 libzookeeper-st2 - Single threaded C bindings for zookeeper
 libzookeeper2 - C bindings for zookeeper - transitional package
 python-zookeeper - Python bindings for zookeeper
 zookeeper  - High-performance coordination service for distributed application
 zookeeper-bin - Command line utilities for zookeeper
 zookeeperd - Init control scripts for zookeeper
Closes: 712778 720148
Changes: 
 zookeeper (3.4.5+dfsg-2) unstable; urgency=high
 .
   [ tony mancill ]
   * Team upload.
   * Add slf4j jars to CLASSPATH in zooinspector. (Closes: #712778)
 .
   [ Tim Retout ]
   * debian/watch: Add pgp signature mangling, and use main mirror.
   * debian/upstream/signing-key.asc: Add upstream signing keys.
   * debian/*.preinst: Transition /usr/share/doc symlinks to real
     directories. (Closes: #720148)
   * Urgency set to high for RC bugfix.
Checksums-Sha1: 
 8976ba933dd01b786f1f9b2435c305c4e46ffd60 2857 zookeeper_3.4.5+dfsg-2.dsc
 c12336d48d12f84ff3a4342c42356f82c545e3dd 33488 
zookeeper_3.4.5+dfsg-2.debian.tar.xz
 33c23fa21fc2c324d21a1615681b369a1c7c3f0f 1250804 
libzookeeper-java_3.4.5+dfsg-2_all.deb
 2d2cdfdd7f548b7f4c7e5243a3a6ff4e783d95bb 132982 zookeeper_3.4.5+dfsg-2_all.deb
 1848fac5c312a99b6192881c52d331f4b2cb5981 35368 zookeeperd_3.4.5+dfsg-2_all.deb
 225a1e6da7bbbdfd45eb854525ecfca6cef7b86f 390978 
libzookeeper-java-doc_3.4.5+dfsg-2_all.deb
 1d9382a29d1a015ac8033900bf5d90e022af7ee9 66126 
libzookeeper-mt2_3.4.5+dfsg-2_amd64.deb
 c7d3706e020ed2d6f230c099c931e77394a3e44c 63960 
libzookeeper-st2_3.4.5+dfsg-2_amd64.deb
 daa9e2432fe65b3b329802abcfb3ad551776654b 32866 
libzookeeper2_3.4.5+dfsg-2_amd64.deb
 536754b86c57b9b2ae398f503b627e1b538c65cc 81944 
libzookeeper-mt-dev_3.4.5+dfsg-2_amd64.deb
 ab2384207df48fe1c22615a4d44470a4b91ca1a3 79242 
libzookeeper-st-dev_3.4.5+dfsg-2_amd64.deb
 c7bd8897d6063d67a4c1218e2434dd3314591e2a 81180 
zookeeper-bin_3.4.5+dfsg-2_amd64.deb
 124a2950ab6986e3326515cb4c9bcb40f8c858b7 49702 
python-zookeeper_3.4.5+dfsg-2_amd64.deb
Checksums-Sha256: 
 a303419a5a151fc69624af0d7dd19a448703aba653e6fcfdcd049d9d206928dc 2857 
zookeeper_3.4.5+dfsg-2.dsc
 3a3eab92b248171f2e3027940afb730c102cafb5f5ae3580f4e8cc6d087d7f0f 33488 
zookeeper_3.4.5+dfsg-2.debian.tar.xz
 3e81920e1872feb937b867c0dd2732495699039c6ff080b1ad3533e5d691af02 1250804 
libzookeeper-java_3.4.5+dfsg-2_all.deb
 81b2775b6aa0bce99467e13ac9e257b5e117639099ab2e93fc58aec2cb599a4c 132982 
zookeeper_3.4.5+dfsg-2_all.deb
 1332f160a410a592867f567ce4a5251516d48348d0ad67f2f92f0a5f9211143a 35368 
zookeeperd_3.4.5+dfsg-2_all.deb
 305ca18fece703ff47923f4fe793c6120def8f5d1d04ef9d2772a62e264dcee2 390978 
libzookeeper-java-doc_3.4.5+dfsg-2_all.deb
 4ad6bf37b5f800348ad0a52f55a94ab50504253e24ec6835a3b79396e02795f2 66126 
libzookeeper-mt2_3.4.5+dfsg-2_amd64.deb
 aee3c1d8600b34908279e46e09f91ea6172ee0fde917583c91f9393afd908edc 63960 
libzookeeper-st2_3.4.5+dfsg-2_amd64.deb
 6e16b9cd70493212282f5f66d4d2e4bc2d2eb801b1e211052245cb233087207b 32866 
libzookeeper2_3.4.5+dfsg-2_amd64.deb
 0c4b2116b006864e5331ecc2147eb942430b321a8bb9658d92b266f515900a64 81944 
libzookeeper-mt-dev_3.4.5+dfsg-2_amd64.deb
 1d5d2a80e60d766d759821344c51b15cc9d706d36cc79adac4a420d382d06786 79242 
libzookeeper-st-dev_3.4.5+dfsg-2_amd64.deb
 89c1f8d5cb0de46ca7d5c1333dc8d7b4e60a15a2d6ecc204e7fbd23ec1d50ab1 81180 
zookeeper-bin_3.4.5+dfsg-2_amd64.deb
 4738010db26255643b1bb645961339de7b8d80093413b67ac1e5284ba587425e 49702 
python-zookeeper_3.4.5+dfsg-2_amd64.deb
Files: 
 fb136bceb3c7d4cfc0728c289ee2e9ea 2857 java optional zookeeper_3.4.5+dfsg-2.dsc
 3141d44dcfa261aba8b0587c2a8ad5fc 33488 java optional 
zookeeper_3.4.5+dfsg-2.debian.tar.xz
 379cf8afe632886d2098c3d33ddab30a 1250804 java optional 
libzookeeper-java_3.4.5+dfsg-2_all.deb
 01afba6a7d6443c1952cab582c9b624d 132982 java optional 
zookeeper_3.4.5+dfsg-2_all.deb
 c6b77ee3cc3e386adebaffebccbf4a56 35368 java optional 
zookeeperd_3.4.5+dfsg-2_all.deb
 e9dc27464a4cb3a4361ef97784879ace 390978 doc optional 
libzookeeper-java-doc_3.4.5+dfsg-2_all.deb
 6cb246d5b2af5b8409b9c2b60b9a52c6 66126 libs optional 
libzookeeper-mt2_3.4.5+dfsg-2_amd64.deb
 8b3a1c6e2c78788b5b19c55eda93b88a 63960 libs optional 
libzookeeper-st2_3.4.5+dfsg-2_amd64.deb
 cdc9d871cc50ec20a780516641d6e879 32866 oldlibs extra 
libzookeeper2_3.4.5+dfsg-2_amd64.deb
 7117f94aa756da10c60a90f4906e1c8e 81944 libdevel optional 
libzookeeper-mt-dev_3.4.5+dfsg-2_amd64.deb
 c6269e94a70838b3b465e28d0e423ab1 79242 libdevel optional 
libzookeeper-st-dev_3.4.5+dfsg-2_amd64.deb
 802db88ff14d1f10b1a88a6fb648d708 81180 misc optional 
zookeeper-bin_3.4.5+dfsg-2_amd64.deb
 df074925244f651b667593bb51b8e221 49702 python optional 
python-zookeeper_3.4.5+dfsg-2_amd64.deb

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

iQIcBAEBCAAGBQJTJhphAAoJEHt7QK0Pgdk7lxoQAKvG6MJMVVTv7y1JWHmiAl8x
fSPj50/iHeKUhFSCqQh5WF+zurwV7IHktdKtzciuFcpQFIwswqdJ2lfBm0lpBvmj
uQVbyPr4l6Y9a4/j7ifPuqmH0E8NAdiZvSv5vevsphTsuXJ9iO0roZ7OksYfOlUx
i4d2Pqi8SdT7dlnc+eMVNnOBZe49aFXk0F0h2HSMOxXbO55SQfa0xsIJ3cF7k5rq
xVkEyh+Ofp2QqEyjJ4gNItoQRZ4UcoiZhu+C9qdFcB1suijEEBNFUA1zn6aGPnDF
MfLqBAlCtUnxm6Mn31YpsaPXFWbYPdHGxsgPwgdn6l8wTjYmI+HBSeghawICNa1J
tM4pIhYoZwohCxyA/54TIxkOE8qD04FYLRftJ52x9QzcdXeGDRbB7F9ICsp7uq5O
1SZ5zYU/Qk5SrosbT6/czscsK51zf0S+NoJ+g2rcgyzKlOwYgA+DlRNhnNvz56i6
oCvfe66jsGSTgSHEmZT984p2cGSRFnPwt4Iq+mJwq9vKnnLPipuwhN4lqzfmTSjN
vO9YVG4bgB/tVE6Isf3aM4gx+YHKz66+ZZx6P0SuiTEdB/1RGdlnxrklSCEqZjeB
729Q/vgMFYMQvbdgT1xCG8x1Tw3w3lIJp69ECg8uQ9xS7PueZ4mTmScd3Q870Z1x
rf/TrIYsbkfclfVuFlw3
=NX2Y
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to