Your message dated Fri, 26 May 2023 14:49:31 +0000
with message-id <[email protected]>
and subject line Bug#1035691: fixed in python-aiosmtpd 1.4.3-1.1
has caused the Debian Bug report #1035691,
regarding python3-aiosmtpd: unhandled symlink to directory conversion: 
/usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
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 [email protected]
immediately.)


-- 
1035691: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035691
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-aiosmtpd
Version: 1.4.3-1
Severity: serious
User: [email protected]
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:

  bullseye -> bookworm

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

1m1.5s ERROR: installs objects over existing directory symlinks:
  /usr/share/doc/python3-aiosmtpd/html/_sources/NEWS.rst.txt (python3-aiosmtpd) 
!= /usr/share/doc/python3-aiosmtpd/rst/NEWS.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/auth.rst.txt (python3-aiosmtpd) 
!= /usr/share/doc/python3-aiosmtpd/rst/auth.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/cli.rst.txt (python3-aiosmtpd) 
!= /usr/share/doc/python3-aiosmtpd/rst/cli.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/concepts.rst.txt 
(python3-aiosmtpd) != /usr/share/doc/python3-aiosmtpd/rst/concepts.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/controller.rst.txt 
(python3-aiosmtpd) != /usr/share/doc/python3-aiosmtpd/rst/controller.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/handlers.rst.txt 
(python3-aiosmtpd) != /usr/share/doc/python3-aiosmtpd/rst/handlers.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/index.rst.txt 
(python3-aiosmtpd) != /usr/share/doc/python3-aiosmtpd/rst/index.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/intro.rst.txt 
(python3-aiosmtpd) != /usr/share/doc/python3-aiosmtpd/rst/intro.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/lmtp.rst.txt (python3-aiosmtpd) 
!= /usr/share/doc/python3-aiosmtpd/rst/lmtp.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/manpage.rst.txt 
(python3-aiosmtpd) != /usr/share/doc/python3-aiosmtpd/rst/manpage.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/migrating.rst.txt 
(python3-aiosmtpd) != /usr/share/doc/python3-aiosmtpd/rst/migrating.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/proxyprotocol.rst.txt 
(python3-aiosmtpd) != /usr/share/doc/python3-aiosmtpd/rst/proxyprotocol.rst.txt 
(?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/smtp.rst.txt (python3-aiosmtpd) 
!= /usr/share/doc/python3-aiosmtpd/rst/smtp.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst
  /usr/share/doc/python3-aiosmtpd/html/_sources/testing.rst.txt 
(python3-aiosmtpd) != /usr/share/doc/python3-aiosmtpd/rst/testing.rst.txt (?)
    /usr/share/doc/python3-aiosmtpd/html/_sources -> ../rst


cheers,

Andreas

Attachment: python3-aiosmtpd_1.4.3-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: python-aiosmtpd
Source-Version: 1.4.3-1.1
Done: Andreas Beckmann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-aiosmtpd, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <[email protected]> (supplier of updated python-aiosmtpd 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 [email protected])


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

Format: 1.8
Date: Thu, 25 May 2023 16:09:53 +0200
Source: python-aiosmtpd
Architecture: source
Version: 1.4.3-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Andreas Beckmann <[email protected]>
Closes: 1035691
Changes:
 python-aiosmtpd (1.4.3-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Perform symlink to directory conversion of
     /usr/share/doc/python3-aiosmtpd/html/_sources.  (Closes: #1035691)
Checksums-Sha1:
 754a14d0ff969db93cab8c64263613cea323bd53 2347 python-aiosmtpd_1.4.3-1.1.dsc
 cd70f14ca97b854320d3990895e5be2af7ad1808 7092 
python-aiosmtpd_1.4.3-1.1.debian.tar.xz
 c44064f33ba61ceff1debe268f1723639cba3f29 7852 
python-aiosmtpd_1.4.3-1.1_source.buildinfo
Checksums-Sha256:
 88638283ddfba6140e14bafb74b9ff43d60b613d64a67e6773991f42cec2e8bf 2347 
python-aiosmtpd_1.4.3-1.1.dsc
 c995c9dd794d7fb2fdfe95c49f7ffd2a4422b0b1ff8acffa4523bc562dfa2c32 7092 
python-aiosmtpd_1.4.3-1.1.debian.tar.xz
 b6876c2ee5fc4541bb649911858191feb23124e3aa61de1f409edba48e1520ab 7852 
python-aiosmtpd_1.4.3-1.1_source.buildinfo
Files:
 4b9ac680672f8fe4ea45bd689c74d3a9 2347 python optional 
python-aiosmtpd_1.4.3-1.1.dsc
 1a810882f4fd6da1a5d0a9510c354967 7092 python optional 
python-aiosmtpd_1.4.3-1.1.debian.tar.xz
 7ca017ee672fee89a8de2f092a4ec048 7852 python optional 
python-aiosmtpd_1.4.3-1.1_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmRvbvcQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCFt1EAClUmF2Ou0J9P2NxkFYgHVGm8RmaC29m0X4
B/ebg1HQhOTuoY+m0UWdN9AwfN5fUvGokfFOjLcV2ejTOxj95GjvX3c0bg6emGQF
1aL3dwCZ2DnWzVbZW8ebgTATqfW0nbyJ1ZRsSTbbCyDtGQ2OkTwNDs8E4IbSg5Uo
UyxLitaClcIkA1I8MamhEz2i5NT3hv5Fhuo9Q1+069CZSYbFUbJqX7gpnKcj/y+a
ZTdY1XjFZ4JLryUqxrf2uqHJlHLQAyKN+Xgk/FiFXdTzyFFksfp6QTHzlMlO/7n7
NWFORxHdJN+4noMQJuJpXVpzzR+ZHBJTkCILfvSb2y1UDSp//LhwqeN6mVaSIE4X
40nfAowKohgs0UOExGVFMjbP+aPtYrjuqa/cDohGkIrYKF2EK0fgPqj+ebfFEGT6
uFkA24S5U3meHGw1018MgttO9md6Kgo5lFzgpyeyp/hCMRsBdmQrsZyTBSNdXCkZ
OJ5O+b++xOKG+1a/OMPHPqFssuJ3aYcILz0PRG9nL/8iK56LnobLXnzJuzfO5LqX
2NliGcf/JxJcTrfAACO2Ol4fCRNfbYkNMFsWWUMEHVtHAjyq17Z9hEJVfnwsrz/F
txHPLrdHKAYLbV5Gbd/mis/3jKzzUjscJDGQL6Ran29BqXR57YZY+EovNjGm3eyn
/xOIh7tFEg==
=CW7z
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to