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

Bug#886925: marked as done (libpsm-infinipath1: leaves alternatives after purge: /etc/alternatives/libpsm_infinipath.so.1 -> /usr/lib/libpsm1/libpsm_infinipath.so.1.16)



Your message dated Sun, 14 Jan 2018 15:05:00 +0000
with message-id <E1eajqG-000GsI-K0@fasolo.debian.org>
and subject line Bug#886925: fixed in infinipath-psm 3.3+20.604758e7-5
has caused the Debian Bug report #886925,
regarding libpsm-infinipath1: leaves alternatives after purge: /etc/alternatives/libpsm_infinipath.so.1 -> /usr/lib/libpsm1/libpsm_infinipath.so.1.16
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.)


-- 
886925: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886925
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libpsm-infinipath1
Version: 3.3+20.604758e7-4
Severity: important
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package left unowned files on
the system after purge, which is a violation of policy 6.8:

https://www.debian.org/doc/debian-policy/#details-of-removal-and-or-configuration-purging

The leftover files are actually alternatives that were installed by the
package but have not been properly removed.

While there is ongoing discussion how to remove alternatives correctly
(see https://bugs.debian.org/71621 for details) the following strategy
should work for regular cases:
* 'postinst configure' always installs the alternative
* 'prerm remove' removes the alternative
* 'postrm remove' and 'postrm disappear' remove the alternative
In all other cases a maintainer script is invoked (e.g. upgrade,
deconfigure) the alternatives are not modified to preserve user
configuration.
Removing the alternative in 'prerm remove' avoids having a dangling link
once the actual file gets removed, but 'prerm remove' is not called in
all cases (e.g. unpacked but not configured packages or disappearing
packages) so the postrm must remove the alternative again
(update-alternatives gracefully handles removal of non-existing
alternatives).

Note that the arguments for adding and removing alternatives differ, for
removal it's 'update-alternatives --remove <name> <path>'.

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

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

0m36.1s ERROR: WARN: Broken symlinks:
  /etc/alternatives/libpsm_infinipath.so.1 -> /usr/lib/libpsm1/libpsm_infinipath.so.1.16

0m39.4s ERROR: FAIL: Package purging left files on system:
  /etc/alternatives/libpsm_infinipath.so.1 -> /usr/lib/libpsm1/libpsm_infinipath.so.1.16	 not owned


The prerm calls update-alternatives with an incorrect argument:
  /usr/lib/x86_64-linux-gnu/libpsm_infinipath.so.1.16
but that should rather be
  /usr/lib/libpsm1/libpsm_infinipath.so.1.16


cheers,

Andreas

Attachment: libpsm-infinipath1_3.3+20.604758e7-4.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: infinipath-psm
Source-Version: 3.3+20.604758e7-5

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

Debian distribution maintenance software
pp.
Mehdi Dogguy <mehdi@debian.org> (supplier of updated infinipath-psm 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: Sun, 14 Jan 2018 11:29:47 +0100
Source: infinipath-psm
Binary: libpsm-infinipath1 libpsm-infinipath1-dev libpsm-infinipath1-dbg
Architecture: source amd64
Version: 3.3+20.604758e7-5
Distribution: unstable
Urgency: medium
Maintainer: Debian HPC Team <debian-hpc@lists.debian.org>
Changed-By: Mehdi Dogguy <mehdi@debian.org>
Description:
 libpsm-infinipath1 - PSM Messaging library for Intel Truescale adapters
 libpsm-infinipath1-dbg - Debugging symbols for libpsm-infinipath1
 libpsm-infinipath1-dev - Development files for libpsm-infinipath1
Closes: 886925
Changes:
 infinipath-psm (3.3+20.604758e7-5) unstable; urgency=medium
 .
   * Fix postrm maintainer script to avoid leaving an unowned file
     (Closes: #886925) and add a postrm script to handle other cases.
     Thanks to Andreas Beckmann for filing the bugreport and putting
     relevant references in the bugreport.
Checksums-Sha1:
 2bd309d4127f33f860ec373a810c3f970887be34 2284 infinipath-psm_3.3+20.604758e7-5.dsc
 fa961dc8943b1b58e3052fd2c153d459d39a9614 9312 infinipath-psm_3.3+20.604758e7-5.debian.tar.xz
 f2a19d676f21534c8c9ddb587d993d7b183bf31e 6371 infinipath-psm_3.3+20.604758e7-5_amd64.buildinfo
 fdc9ebe83a37521dd3f851292be132bc224a6169 804240 libpsm-infinipath1-dbg_3.3+20.604758e7-5_amd64.deb
 72cafd5479a126a170cfd7a2806b616f381c1411 19804 libpsm-infinipath1-dev_3.3+20.604758e7-5_amd64.deb
 5929d87aae3556cba5315ba8d84aedd30910c0a3 172364 libpsm-infinipath1_3.3+20.604758e7-5_amd64.deb
Checksums-Sha256:
 5b42b5d421a2bcc86999a019adfeeb0194584ac586374a285d6ae54ac018e2ac 2284 infinipath-psm_3.3+20.604758e7-5.dsc
 d1cc95c8f929d86ebdd3ea12214ee7a9d4493db1f2cd2b9332f89c56ccab0a63 9312 infinipath-psm_3.3+20.604758e7-5.debian.tar.xz
 e4089b4903f3e52a710e8ca51407bf5a88e8b7f766bf09031d2204d1392f78ca 6371 infinipath-psm_3.3+20.604758e7-5_amd64.buildinfo
 e34bfb5ee114c18bd6f7e7d30977e69de971dc512566d7ac5a030cd7ec09eba1 804240 libpsm-infinipath1-dbg_3.3+20.604758e7-5_amd64.deb
 82bf75ba9f2372dae5f43554322c836ffbf467c1f5f4d310687d5df373eb77dd 19804 libpsm-infinipath1-dev_3.3+20.604758e7-5_amd64.deb
 2a39d4ea81aa85787a19c23f6bb10bd5d6e0928e3d29f5e965eb0cedb8df372b 172364 libpsm-infinipath1_3.3+20.604758e7-5_amd64.deb
Files:
 6609f4de08d6aa5b1d64930bc496b880 2284 libs optional infinipath-psm_3.3+20.604758e7-5.dsc
 a8b456c8648c7d6523af73ad3299472e 9312 libs optional infinipath-psm_3.3+20.604758e7-5.debian.tar.xz
 629a8034d6200b05ddfc3fe5d65c0d32 6371 libs optional infinipath-psm_3.3+20.604758e7-5_amd64.buildinfo
 61a260bd8da1007b85c67b35f8f65eec 804240 debug optional libpsm-infinipath1-dbg_3.3+20.604758e7-5_amd64.deb
 b09f7477415a06ad10886ebe26ee6d43 19804 libdevel optional libpsm-infinipath1-dev_3.3+20.604758e7-5_amd64.deb
 dc71263c88eb913059e0fdf76c71f556 172364 libs optional libpsm-infinipath1_3.3+20.604758e7-5_amd64.deb

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

iQJFBAEBCAAvFiEEvYOKK6r540CL2WRoM74aCowu2P8FAlpbOKIRHG1laGRpQGRl
Ymlhbi5vcmcACgkQM74aCowu2P+z2BAA1ZsF7A5AAttZhF+iKDHsuloCo1H3aq6o
HwMgXk9cfamiWZLCtrrxj7FwroT3vUZ5bQGGbOsYVxw9nJc/5RMYNE01+qOJ35Gm
6IxR9gjVjwCWUCW7xfynkmHV44j8f9n1hDAAd0OUql3WHIF9Y9tqyv5kQX0CjwCz
4kqQGmojPF7DhH8NsXQro9TvozMkWxl069TxsruOoa9s+CyTkVPlnLPM/hzI1OKb
MKcr2L4hjX1zkqKPaAS+Jj6aVKTn3qYiZmmKnM4dQjLQuanS7u2woiSVOQ4zMKsR
o+Ls011P+25mlSkbKt1iTfQcXMSh2MhRDf+uTElO8yBfNrN2K+i2FewtgRlOsDg+
pq9f2jp1j3B65mXivTIurt1zzPxSP93wecX+WX5OYBzQpHqTUEOvmTAgC6vJ1ffs
Qez2zHrpmJ+J6lMTKeR/03EG1JUCOns1SAaGyK3/XcSdCt696RY6PsGXtm/IsNuF
eeVV4glp62oY4wV3hSwQ+8r7hKj30oSwhyJ8rJ9ptRc9aR0tAWHBRiTTOdx7zV3c
6t6pV8osXWqP3hjP1F04SzFLlHbp9hM4fXFulfT0WqAIaPSUyUhu56hYtFlf6dob
cD+maZOXybzXGul7TzWmpcMc1lMjGlOWprtXnY50kUWRHVdA87OaWEBKsFY6cQv3
OJ/UW5XMQr4=
=iEtS
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: