Your message dated Mon, 15 Mar 2021 14:22:22 +0000
with message-id <e1llo6w-000apk...@fasolo.debian.org>
and subject line Bug#985287: fixed in nagvis 1:1.9.25-2
has caused the Debian Bug report #985287,
regarding nagvis: unhandled symlink to directory conversion: 
/usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12 -> 
../../../../../php/php-php-gettext
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.)


-- 
985287: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985287
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nagvis
Version: 1:1.9.25-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:

  buster -> bullseye

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#copyright-information

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#details-of-unpack-phase-of-installation-or-upgrade

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.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


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

2m15.1s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12/AUTHORS (nagvis) 
!= /usr/share/php/php-php-gettext/AUTHORS (?)
    /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12 -> 
../../../../../php/php-php-gettext
  /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12/COPYING (nagvis) 
!= /usr/share/php/php-php-gettext/COPYING (?)
    /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12 -> 
../../../../../php/php-php-gettext
  /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12/README (nagvis) != 
/usr/share/php/php-php-gettext/README (?)
    /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12 -> 
../../../../../php/php-php-gettext
  /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12/gettext.inc 
(nagvis) != /usr/share/php/php-php-gettext/gettext.inc (php-php-gettext)
    /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12 -> 
../../../../../php/php-php-gettext
  /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12/gettext.php 
(nagvis) != /usr/share/php/php-php-gettext/gettext.php (php-php-gettext)
    /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12 -> 
../../../../../php/php-php-gettext
  /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12/streams.php 
(nagvis) != /usr/share/php/php-php-gettext/streams.php (php-php-gettext)
    /usr/share/nagvis/share/server/core/ext/php-gettext-1.0.12 -> 
../../../../../php/php-php-gettext


cheers,

Andreas

Attachment: nagvis_1:1.9.25-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: nagvis
Source-Version: 1:1.9.25-2
Done: Bas Couwenberg <sebas...@debian.org>

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

Debian distribution maintenance software
pp.
Bas Couwenberg <sebas...@debian.org> (supplier of updated nagvis 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: Mon, 15 Mar 2021 13:52:46 +0100
Source: nagvis
Architecture: source
Version: 1:1.9.25-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Nagios Maintainer Group 
<pkg-nagios-de...@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebas...@debian.org>
Closes: 985287
Changes:
 nagvis (1:1.9.25-2) unstable; urgency=medium
 .
   * Add maintscript configuration to migrate php-gettext symlink to dir.
     (closes: #985287)
Checksums-Sha1:
 2739b02bef97b1a0d20ce25389e216044f8dd088 2088 nagvis_1.9.25-2.dsc
 953e134da1fdd84a5d0a7ce817acb0bbc5dec098 174048 nagvis_1.9.25-2.debian.tar.xz
 679741f16744345a853ffb8d00bf23c4b5ad268f 6807 nagvis_1.9.25-2_amd64.buildinfo
Checksums-Sha256:
 cd271452ccd2cb2d73ce10bb87c84bdc41d8fa769c43ac8d1bd865a0d6c7a81e 2088 
nagvis_1.9.25-2.dsc
 35253caf5bf581ca165c9bd4b5128633d226455d4eee24909a0a0fddb5d596e0 174048 
nagvis_1.9.25-2.debian.tar.xz
 ba07ce3422a31b7c6d95547a904e1801f155f7794762deb70fef7ef974cc7099 6807 
nagvis_1.9.25-2_amd64.buildinfo
Files:
 b88e290c3795b416ff875740fb339813 2088 net optional nagvis_1.9.25-2.dsc
 e7265a9583275afffc693ff9801a32ac 174048 net optional 
nagvis_1.9.25-2.debian.tar.xz
 05cfce17afe1e76cfc229e3ae7672169 6807 net optional 
nagvis_1.9.25-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmBPabMACgkQZ1DxCuiN
SvE4yA/+NwmMvy7CJk3K/3l+kaMAuQj6QemwoqrftiET16fFU94DSGz6JRQ3Z//S
De9U52+K6yCWeeu9yibi0nlDYid69Yxw08AKtJ283prQP6/GquorGu4CHmsfqO2+
QtS6JChjHOIZIsQdOnlGa1ccwH6eG3x6g51XKBNehVtspvLDfUfYitqhdwJNMftS
Qhn63vbKu+g502GrbdLsqYUg7Yq66JNLBV9Bryh+PBZKLQc8SV8qerjcUOoQhJj9
xS5mAyYmeuRpNAdQTlDD7BUrQi+zoJ9dP8BmyHbv88sVllm2DDoQU+IOjFJ1Jlh3
2TtXfoKtb4f2H6f1pQE+UQC3bIshPdAetStd/1jNkZIje8ap6NXgweKee2OjccuE
I95AG5VVuZ1CZhl+Tz+P2x2WhRRw4FhukiyhVicuUjOHy9E3r/ZDhTwaYjjXkLf/
Y1uklj64o1GKe8yVR5vshx/mxh9R6Tpr1Sg+8mij1lAyLGVLvWdRD512b1FMTMgM
PDUBjlC8BBwiNlRgzCU3LLkhavXwvh/5eRFK1XntTWAs1Lptta4MsyZWGb/AqHRC
T55bMGJroqfW7sSNnVdtyG12yYspFn763NRsnrclUpbm0WbnV9tURWIAvLD0k+Vx
Mj1/TYJ1+wrkGL88K9hPUesaqcpK1NOOplLkuq0Oq66mUOUoblk=
=ZguJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to