Your message dated Tue, 15 Apr 2014 19:33:42 +0000
with message-id <e1wa970-0001y6...@franck.debian.org>
and subject line Bug#736309: fixed in libnetfilter-queue 1.0.2-2
has caused the Debian Bug report #736309,
regarding libnetfilter-queue-{dev, dbg}: 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.)


-- 
736309: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736309
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libnetfilter-queue-dev,libnetfilter-queue1-dbg
Version: 1.0.2-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:

  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...):

2m46.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libnetfilter-queue-dev/changelog.Debian.gz 
(libnetfilter-queue-dev) != 
/usr/share/doc/libnetfilter-queue1/changelog.Debian.gz (libnetfilter-queue1)
  /usr/share/doc/libnetfilter-queue-dev/copyright (libnetfilter-queue-dev) != 
/usr/share/doc/libnetfilter-queue1/copyright (libnetfilter-queue1)

2m34.5s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libnetfilter-queue1-dbg/changelog.Debian.gz 
(libnetfilter-queue1-dbg) != 
/usr/share/doc/libnetfilter-queue1/changelog.Debian.gz (libnetfilter-queue1)
  /usr/share/doc/libnetfilter-queue1-dbg/copyright (libnetfilter-queue1-dbg) != 
/usr/share/doc/libnetfilter-queue1/copyright (libnetfilter-queue1)


cheers,

Andreas

Attachment: libnetfilter-queue-dev_1.0.2-1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: libnetfilter-queue
Source-Version: 1.0.2-2

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

Debian distribution maintenance software
pp.
Alexander Wirt <formo...@debian.org> (supplier of updated libnetfilter-queue 
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: SHA1

Format: 1.8
Date: Tue, 15 Apr 2014 21:17:12 +0200
Source: libnetfilter-queue
Binary: libnetfilter-queue1 libnetfilter-queue1-dbg libnetfilter-queue-dev
Architecture: source amd64
Version: 1.0.2-2
Distribution: unstable
Urgency: medium
Maintainer: Alexander Wirt <formo...@debian.org>
Changed-By: Alexander Wirt <formo...@debian.org>
Description: 
 libnetfilter-queue-dev - Development files for libnetfilter-queue1
 libnetfilter-queue1 - Netfilter netlink-queue library
 libnetfilter-queue1-dbg - Debugging symbols for libnetfilter-queue1
Closes: 736309
Changes: 
 libnetfilter-queue (1.0.2-2) unstable; urgency=medium
 .
   * Handle symlink to directory conversion in a policy conform way.
     Usage of maintscript helpers needs a predepend on dpkg.
     (Closes: #736309)
Checksums-Sha1: 
 7ed62304806bb9dbd6d14864881ce7f9f2746f37 2000 libnetfilter-queue_1.0.2-2.dsc
 3f75749ab5a5b03e7f1e4712277565428df072f2 2540 
libnetfilter-queue_1.0.2-2.debian.tar.xz
 57679c22a92faad1efffcda30cbae6fb3f55db90 11436 
libnetfilter-queue1_1.0.2-2_amd64.deb
 374a42cdb5000e17c0157d154f34ca0539924093 31862 
libnetfilter-queue1-dbg_1.0.2-2_amd64.deb
 9329f8235d04f10e5c915fa73769f44421b0cfac 6404 
libnetfilter-queue-dev_1.0.2-2_amd64.deb
Checksums-Sha256: 
 566967097b299407ca2ba968710f4474cde7d80bf17dacf1156e05665494c207 2000 
libnetfilter-queue_1.0.2-2.dsc
 18bdaecbfbbfda6f8977b1058419c4aed0a61df0f9d1ba444c2be7856b87f268 2540 
libnetfilter-queue_1.0.2-2.debian.tar.xz
 09757aa675a4d3d8f61c49260fdcd9c8f130add337e245c0d5d66b821d8c46cb 11436 
libnetfilter-queue1_1.0.2-2_amd64.deb
 95224b3babea525018be4185db20f8efdc34b33131ced668c3a791be688a40d7 31862 
libnetfilter-queue1-dbg_1.0.2-2_amd64.deb
 2ded872ed6f73f7b1e42979edf485723fad3824b968944d12b42f85ba8e371d6 6404 
libnetfilter-queue-dev_1.0.2-2_amd64.deb
Files: 
 599fa09eaf75c5cad5d495319784a7d2 2000 libs extra libnetfilter-queue_1.0.2-2.dsc
 55c3cfa5ebdc4fa8d45812c1802b682c 2540 libs extra 
libnetfilter-queue_1.0.2-2.debian.tar.xz
 9bba0cc472716b3180ab209454106e9d 11436 libs extra 
libnetfilter-queue1_1.0.2-2_amd64.deb
 480fb48b0618137e21e17b91acfb5409 31862 debug extra 
libnetfilter-queue1-dbg_1.0.2-2_amd64.deb
 5923794b808867361cee6236851f802c 6404 libdevel extra 
libnetfilter-queue-dev_1.0.2-2_amd64.deb

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

iQIcBAEBAgAGBQJTTYekAAoJEB5F+Mqd4jsWxZQP/REDNWRM+6+bNhvwwoAs5Nzi
DrJmXv58gbV2Q4I3AjM0RNBlSheW5MpuiMVjS1z/1Fnw99GTc02NM0OIOaUsJvOh
vpA4OTZ+ev0Z9VRwqCmcPN+s5vv0rt9ac6rN2tjY3Wr2nTn5/iNpkP9YSCMD/VxK
8do/D2i0VWb4kk/rWzwgQgZPI6gNn3UC+hV7EL5Ik0ZPERm6ngychJzVlWdBu7Sl
gYSoh1iF5me2GC68B8Ccx4hQApdGaTmgmOvx5+uI/dOTVSoMRvk1OKlgHODRyCux
Sijy/9M5AwaSjxs3u1+TQB8ltjIgzwcO5BebxVozguDjMY7sjI7r3ih/izdqiho9
Nk6eHavFc4571w0g/xHgOaDHoqQ7J2F9ZEkROHbcmV5q95uV8YT0J9d1aHgiGKxe
BJUPQ2VWtdKwBZSgfJzdH2Yo5oGpor4LeUiKfebFsMt5RMy89n/LeJt8unVzc3p1
AvUV5/hV3UpQ/uaL6uNxDExR+qa3+YXhuFQI4FMLc34inmEEqqeWvA/E81XCzbk0
6uSApPCdZ+di32UDgtlzk6/lxLd+m+159KAeE4JSq2WS6XdrZSLES2ay+7WaKzO/
zG3LAMkzAZ8LRaT8wTBOeNpTewI89PbYiLRwzNQU+tDho5i3M9SQErU95RHdKiVJ
+QSxL5AofCwDz4d0lyw8
=f8y1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to