Your message dated Sun, 12 Feb 2017 17:33:44 +0000
with message-id <[email protected]>
and subject line Bug#854858: fixed in softhsm2 2.2.0-3
has caused the Debian Bug report #854858,
regarding softhsm: 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 [email protected]
immediately.)


-- 
854858: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854858
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: softhsm
Version: 2.2.0-2
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:

  jessie -> stretch

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 (usually somewhere in the middle...):

1m30.0s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/softhsm/NEWS.Debian.gz (softhsm) != 
/usr/share/doc/softhsm-common/NEWS.Debian.gz (softhsm-common)
    /usr/share/doc/softhsm -> softhsm-common
  /usr/share/doc/softhsm/changelog.Debian.gz (softhsm) != 
/usr/share/doc/softhsm-common/changelog.Debian.gz (softhsm-common)
    /usr/share/doc/softhsm -> softhsm-common
  /usr/share/doc/softhsm/changelog.gz (softhsm) != 
/usr/share/doc/softhsm-common/changelog.gz (softhsm-common)
    /usr/share/doc/softhsm -> softhsm-common
  /usr/share/doc/softhsm/copyright (softhsm) != 
/usr/share/doc/softhsm-common/copyright (softhsm-common)
    /usr/share/doc/softhsm -> softhsm-common


cheers,

Andreas

Attachment: softhsm_2.2.0-2.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: softhsm2
Source-Version: 2.2.0-3

We believe that the bug you reported is fixed in the latest version of
softhsm2, 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.
Ondřej Surý <[email protected]> (supplier of updated softhsm2 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: SHA512

Format: 1.8
Date: Sun, 12 Feb 2017 15:12:33 +0100
Source: softhsm2
Binary: softhsm2-common softhsm2 libsofthsm2-dev libsofthsm2 softhsm 
softhsm-common
Architecture: source
Version: 2.2.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian DNS Packaging <[email protected]>
Changed-By: Ondřej Surý <[email protected]>
Description:
 libsofthsm2 - cryptographic store accessible through a PKCS #11
 libsofthsm2-dev - cryptographic store accessible through a PKCS #11
 softhsm    - cryptographic store accessible through a PKCS #11 (dummy)
 softhsm-common - cryptographic store accessible through a PKCS #11 (dummy)
 softhsm2   - cryptographic store accessible through a PKCS #11
 softhsm2-common - cryptographic store accessible through a PKCS #11
Closes: 854858
Changes:
 softhsm2 (2.2.0-3) unstable; urgency=medium
 .
   * Replace doc symlink with directory in transitional softhsm package
     (Closes: #854858)
Checksums-Sha1:
 1991f02ef3beebf7c1f3caa825a28533633ff362 2446 softhsm2_2.2.0-3.dsc
 d455a362d8c27fba7593609a3d7d78349a7920e0 7824 softhsm2_2.2.0-3.debian.tar.xz
 6eabf9b9cdc143600d104ce45c0017a9b9451c17 6793 softhsm2_2.2.0-3_amd64.buildinfo
Checksums-Sha256:
 8cc80e79e5c12683182d33593e44674ee2e017ba1a9d92f5a44a6ee13b8626a6 2446 
softhsm2_2.2.0-3.dsc
 f9e3f893d119fec91565d9295a1dccabb333c5c9e3341e8896b4ce9500a3110c 7824 
softhsm2_2.2.0-3.debian.tar.xz
 d5148128414f19b03b1c07424cbcb488de53f7378100ad78c545fad7232a3d48 6793 
softhsm2_2.2.0-3_amd64.buildinfo
Files:
 4191bfad8046c3a0b1bbf7e846fa6e76 2446 admin extra softhsm2_2.2.0-3.dsc
 28183424393aa7bda187e3093f6db63a 7824 admin extra 
softhsm2_2.2.0-3.debian.tar.xz
 63e9f644426b55f9f52d32e26de41306 6793 admin extra 
softhsm2_2.2.0-3_amd64.buildinfo

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

iQKTBAEBCgB9FiEEMLkz2A/OPZgaLTj7DJm3DvT8uwcFAligl2RfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDMw
QjkzM0Q4MEZDRTNEOTgxQTJEMzhGQjBDOTlCNzBFRjRGQ0JCMDcACgkQDJm3DvT8
uwcoWA//SYTnXtXcuvPFL6D8AhyiqZjqsI1ECXe6QQI1UCLGbLCIBckBrFlrDdsw
fQKM+Ws5ixyDRpClzsBtiO6ypkM54WouWM5HtbBZAmHeKuJtokjuX38kb1qWEZ27
45SRWgY3AR8pdudPZS6viToy8LcgowCvMBHOhssERjrnrbjVWlVUFGgLT0Kf28J+
XOt8BAEGCRwKQ/3POO49DEsHTO75Mz6iNLp4DA45TrfmwhiCc2mBs9HInpP5qilW
ZxvI1NYYxdFRpEQgUCPlLuHNCBhLsVknz1/qCx/40OW9S0K0tB3KBFP4PeRqna/e
2lWvyPQceWnu8kr7a7/TTfEiM1p5rsHNUp5Q3FYqTZtdxqiktUjWEc6c+lnLOLqw
VDJbceLalfO4k2EuLZXYFUrJmtr9PF5cLLDllCQEaOGtt/C8SFOgNaSdI/aUsnoO
v0yftIOBDEDrTWtTMXtVHUkfRPM2ljk1OKITJE80bHoS7Qb7ESI9+/LTgBBfRil8
MxS6QJu+iyMt7m6PRhWYTBQMhHQYyVGPSfxsqYFcSEnzwpNuHZvVNPUR1GmWKDeY
sq5Wnu2fqyk4mT3rn9kpbQgZqofEqP5JDhEnw98hD7b3Q8mv2Tj0Lu8NQlEE6Nnp
BYqO/qbDdnSGE0U+Gs1QP25Mfo+YrS3IAVwPVo+BAV5dAMDz86I=
=alK0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to