[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#867029: marked as done (fnfx-client: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE)



Your message dated Mon, 03 Jul 2017 16:18:52 +0000
with message-id <E1dS43o-000B8q-7Y@fasolo.debian.org>
and subject line Bug#867029: fixed in fnfx 0.3-16
has caused the Debian Bug report #867029,
regarding fnfx-client: 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 owner@bugs.debian.org
immediately.)


-- 
867029: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867029
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: fnfx-client
Version: 0.3-15
Severity: serious
User: debian-qa@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 -> stretch -> buster

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:
https://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
https://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.14)
to perform the conversion, ideally using d/$PACKAGE.maintscript.
Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (scroll to the bottom...):

1m32.3s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/fnfx-client/changelog.Debian.gz (fnfx-client) != /usr/share/doc/fnfxd/changelog.Debian.gz (fnfxd)
    /usr/share/doc/fnfx-client -> fnfxd
  /usr/share/doc/fnfx-client/changelog.gz (fnfx-client) != /usr/share/doc/fnfxd/changelog.gz (fnfxd)
    /usr/share/doc/fnfx-client -> fnfxd
  /usr/share/doc/fnfx-client/copyright (fnfx-client) != /usr/share/doc/fnfxd/copyright (fnfxd)
    /usr/share/doc/fnfx-client -> fnfxd


cheers,

Andreas

Attachment: fnfx-client_0.3-15.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: fnfx
Source-Version: 0.3-16

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

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated fnfx 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 03 Jul 2017 17:47:35 +0200
Source: fnfx
Binary: fnfxd fnfx-client
Architecture: source
Version: 0.3-16
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description:
 fnfx-client - Client for customize fnfxd hot-keys
 fnfxd      - ACPI and hotkey daemon for Toshiba laptops
Closes: 867029
Changes:
 fnfx (0.3-16) unstable; urgency=medium
 .
   * QA upload.
   * Symlink to directory conversion.  (Closes: #867029)
Checksums-Sha1:
 7929f6483c2db79bade8a0aca94a7fb588866afa 1884 fnfx_0.3-16.dsc
 6fb5bfa536ecac661c507d7b02525a6089e0da17 7688 fnfx_0.3-16.debian.tar.xz
 7f9a2434764b6841acf03b673b2463029d0929ce 5090 fnfx_0.3-16_source.buildinfo
Checksums-Sha256:
 6fdcfc71e227a60109d94dbdb7cd073b0e9fd9bacc080b0ce07de83e7ee9afc6 1884 fnfx_0.3-16.dsc
 23287d9f320236fd3c697ec60e84f449e43af6e7ae7625f0e901032cb0d3a396 7688 fnfx_0.3-16.debian.tar.xz
 21ca162a143a8b3b61dbb19c86f108be759ba61bd17ebe412dfa993d52b6ce39 5090 fnfx_0.3-16_source.buildinfo
Files:
 0b0ae0150fe5f10bdc8893cac7eaf6b6 1884 utils optional fnfx_0.3-16.dsc
 578676e27ea0be3f39af626cacbc973a 7688 utils optional fnfx_0.3-16.debian.tar.xz
 1e0dbac67f91785f3a72c18664bac317 5090 utils optional fnfx_0.3-16_source.buildinfo

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

iQIcBAEBCAAGBQJZWmoRAAoJEF+zP5NZ6e0IflsQAJcczbRjNQgaBq1PCWr8PNOY
Hm8FC0984mY2jme36Qa2Ef4SI4EVKdy6mEHORu+YRpZhQSBlrTCvRYDKTyGbFun8
1aeCSjmm2KITyaBurwzkj9O4eIoEHe7wJuk5fuYgmZeF9p6fwsIzXa10lX3XcxW/
5vQ21y5K0r8ZUa1eDJ+fvJDy0I/RMXB62USK/EeNaQwA24iDoHSzd7GOgSSqaq2K
2r6WJu93ggfEwpM3iuUyjY62dwF7hu0F36DxRSwlgzmZoVaZ7G5iWAZk76C2Suvu
pPxa5NBhjtyEN+P0MgR4lpzyLglWxKTAweGlvVsTVfBkCAzYl+S/xXe0vvFJukAr
hQWZ1ONoFtLRAZzWZ0/J+yOMdNFLB75hCm6HPKPt+15rLWORqZe+1xcAxz80fAqY
AH9eHyXiS1se1oLQqVCgUppKolrDRtEHITWqf6ItfZI10nQuQ7KiJIn9n5FmsXIS
gTj6W9YC4SJuXRWqlXaaAx6kZ0+XeHRjlqL19zrbGCWbre5r97Cqxx5HqDJIF7i9
ZbH0npE8MXNxS1X/6MXUqHon3YHqpeBiqB3D/2EXAGAajKaoSI/d1gkArhxK5AA8
RHvB6ueSWh+qgnpSt36Tx58cP9WVrfDokmS6/ZtVyenAWyzKo4IpaN5mBt+7joVW
Uqgk2N7/U5P1sMQLrYvD
=uVM9
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: