Your message dated Sat, 04 Nov 2023 17:19:07 +0000
with message-id <e1qzkid-002tns...@fasolo.debian.org>
and subject line Bug#1055150: fixed in a2d 2.0.3-1
has caused the Debian Bug report #1055150,
regarding a2d: apt remove a2d nukes user data (postinst)
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.)


-- 
1055150: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055150
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: a2d
Version: 2.0.1-1
Severity: serious
Justification: Policy 10.7.3

Found during package review:

postinst has:

#Remove user conf files
case "$1" in
    purge|remove|deconfigure|disappear)
        # Remove the user-generated configuration file
        if [ -e "/etc/a2d" ]; then
          rm -r /etc/a2d
        fi
        
        if [ -e "/var/lib/a2d" ]; then
          rm -r /var/lib/a2d
        fi

        if [ -e "/var/log/a2d_gu_error.log" ]; then
          rm -r /var/log/a2d_gu_error.log
        fi

        ;;

    *)
        # For other cases, do nothing
        ;;
esac

Multiple issues.
- Deleting user data is postinst must only done when purging.
- /etc/a2d is handled as conffile, it it dpkg's job to clean it up.
- /var/lib/a2d and /var/lib/a2d/dbs is also shipped with the package,
  and removing the directories should also be left to dpkg.
  (If possible the package should only delete the files it has
  created itself.)

--- End Message ---
--- Begin Message ---
Source: a2d
Source-Version: 2.0.3-1
Done: Yogeswaran Umasankar <kd8...@gmail.com>

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

Debian distribution maintenance software
pp.
Yogeswaran Umasankar <kd8...@gmail.com> (supplier of updated a2d 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: SHA256

Format: 1.8
Date: Fri, 3 Nov 2023 03:30:00 -0400
Source: a2d
Architecture: source
Version: 2.0.3-1
Distribution: unstable
Urgency: medium
Maintainer: Yogeswaran Umasankar <kd8...@gmail.com>
Changed-By: Yogeswaran Umasankar <kd8...@gmail.com>
Closes: 1055040 1055150
Changes:
 a2d (2.0.3-1) unstable; urgency=medium
 .
   * New upstream version.
   * Removed conffiles list under description in control.
   * Included GUI metadata file from upstream in a2d.install.
   * Build-Depends list updated to handle pyproject.toml and poetry.
   * Depends updated to handle yaml file introduced in the new upstream.
   * Listed additional files to copyright.
   * Revised a2d.init.d to match the upstream values.
   * Revised rules to include PYBUILD_NAME.
   * Revised postrm not to remove user config files. (Closes: #1055150)
   * Fixed failed VCS repository. (Closes: #1055040)
Checksums-Sha1:
 f5dd8dc927f0124b3900e8e05eb2dbd301190632 2110 a2d_2.0.3-1.dsc
 3d5d1b2b0c655c396a4ba97bede88986cd7bfe20 214819 a2d_2.0.3.orig.tar.gz
 6bb79c97904749134d9ff224d925bd47bb9e7c27 833 a2d_2.0.3.orig.tar.gz.asc
 e8819f854cc7f4b88dca4ede0123e3fd260bd3e1 12288 a2d_2.0.3-1.debian.tar.xz
 e1ce2d1ae68c91c77066083bae33d636b29b47ed 8927 a2d_2.0.3-1_amd64.buildinfo
Checksums-Sha256:
 6740f454939285f25060ef408770b0c80a5863155f9860250ee4d81e7cc97c68 2110 
a2d_2.0.3-1.dsc
 4ddfc42e0983f68bbcc6405d36d2131ddc49fc45864ba91328eb99fe7dd2e08d 214819 
a2d_2.0.3.orig.tar.gz
 01cf4da524d40aede1e23d97038631ddf66a94b0bc69c3cbc8b097c5b7ef685e 833 
a2d_2.0.3.orig.tar.gz.asc
 61e35f1f27f36e1c41496af0ead4eeefb1dd92f1372961d3f4936d95c93ea2c4 12288 
a2d_2.0.3-1.debian.tar.xz
 71d69fcb482f5de77482fe73632880370a3e94b7d62983af7686afd2fc60ce69 8927 
a2d_2.0.3-1_amd64.buildinfo
Files:
 1dabb4435ea3c28abd537bd97eee6806 2110 hamradio optional a2d_2.0.3-1.dsc
 798737020f71c31b0a8364bec0637ba8 214819 hamradio optional a2d_2.0.3.orig.tar.gz
 452c9fa643bdd6ea7c4e93dc05a230ae 833 hamradio optional 
a2d_2.0.3.orig.tar.gz.asc
 761ef36294c9bd55aaf661289f14c54c 12288 hamradio optional 
a2d_2.0.3-1.debian.tar.xz
 a196c5950c2d9fcf43fa1413e47df8d8 8927 hamradio optional 
a2d_2.0.3-1_amd64.buildinfo

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

iQIzBAEBCAAdFiEE/d0M/zhkJ3YwohhskWT6HRe9XTYFAmVGeZ4ACgkQkWT6HRe9
XTZP7A//T6oVCAVsKNfIHxKx7hWwxu6pW0aHvR9vdIQGcvbP+myq6p3a3bVuyBFe
gFKPQB3gf3EadiFlpIYyLjDeF794d5c1zYFPS1WBCKqPkIIRjex+RXZZTqw5dZX9
RhWS4g82grZ6NHWLVlh5DRrCuVJUd5UP9NNq5quWTOa+ALUKOK5cOUuGB7w60/2x
9dQVzzf9Z2Bnq2IgVAB7okG0yvhWku2wU8rSv26WzBdl3i9SWQRZ/qR9y18mdopM
tTSJ5ZDsvqIfAOJWu1lk17leEUCM3bdfTNT1/JpCGCpApgI91h4wfMA4gITf3vTW
8lPGeJU6CW/9muUs6q4wT4O8582sF+9yyT175yV97QPJoMePKY9PyOBc0tC3+y2x
AUj+WVKRYs5JbIpAzQFrZQNbefVQrkoJ6WW9EvKW497Fag5aihMHhembDCSpkycU
m0yE7jDJB738IhIXCNE6T77t5gcy6Tk/xftTjiuGMPrdFys/LMPHPY3g8yKP5up8
pEK8y6wGvaoqNNFljE3J1Ewd2Eu8GUtLTe+AfItyqEQex4LPDNzdCtNTKq15970t
PlQC/bSamnqbQHG+7WSCfc06gfqYR5WrC+UY0O63NYPwsBrvlIy/Gy7CJTPLpHC7
VtM7QUIKVVLY9O9g59/wL1qVsEJa1B4aEgylsclrODCITko792g=
=arFM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to