Your message dated Sun, 27 Apr 2014 16:02:45 +0000
with message-id <e1werxr-00054d...@franck.debian.org>
and subject line Bug#726742: fixed in proftpd-mod-geoip 0.3-1+deb7u1
has caused the Debian Bug report #726742,
regarding proftpd-mod-geoip: postrm deletes mod_geoip.so on upgrades
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.)


-- 
726742: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726742
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: proftpd-mod-geoip
Version: 0.3-1
Severity: serious
Tags: wheezy

reinstalling proftpd-mod-geoip in wheezy deletes mod_geoip.so:

# apt-get install --reinstall proftpd-mod-geoip
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/26.1 kB of archives.
After this operation, 0 B of additional disk space will be used.
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
76, <> line 1.)
debconf: falling back to frontend: Readline
(Reading database ... 13945 files and directories currently installed.)
Preparing to replace proftpd-mod-geoip 0.3-1+b1 (using 
.../proftpd-mod-geoip_0.3-1+b1_amd64.deb) ...
Unpacking replacement proftpd-mod-geoip ...
Deleting mod_geoip..
Setting up proftpd-mod-geoip (0.3-1+b1) ...

this would be fatal in case of a security update, as the same
happens on upgrades (here wheezy-> jessie, #699647)

[...]
  Preparing to replace proftpd-mod-geoip 0.3-1+b1 (using 
.../proftpd-mod-geoip_1.3.5~rc3-2.1_amd64.deb) ...
  Unpacking replacement proftpd-mod-geoip ...
  Deleting mod_geoip..
  Preparing to replace proftpd-basic 1.3.4a-4+nmu1 (using 
.../proftpd-basic_1.3.5~rc3-2.1_amd64.deb) ...
  invoke-rc.d: policy-rc.d denied execution of stop.
  Unpacking replacement proftpd-basic ...
[...]
  Setting up proftpd-basic (1.3.5~rc3-2.1) ...
  Installing new version of config file /etc/proftpd/dhparams.pem ...
  Installing new version of config file /etc/init.d/proftpd ...
  invoke-rc.d: policy-rc.d denied execution of start.
  Setting up proftpd-mod-geoip (1.3.5~rc3-2.1) ...
[...]

This is caused by a braindead postrm script:

        #!/bin/sh

        set -e

        if [ -d /usr/lib/proftpd ]; then
                echo "Deleting mod_geoip.."
                rm -f /usr/lib/proftpd/mod_geoip.so
        fi

I have no clue what the intention is here ... but doing this
unconditionally is really bad as is also is executed in the
  old-postrm upgrade <newversion>
case, and that is after the new package has been unpacked.


The only solution I see to properly fix (i.e. delete) this, is

* remove the postrm script from the package (it's useless anyway)
* add a preinst script that checks whether the old buggy postrm exists
  and delete it *before* the new package gets unpacked


Andreas

--- End Message ---
--- Begin Message ---
Source: proftpd-mod-geoip
Source-Version: 0.3-1+deb7u1

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

Debian distribution maintenance software
pp.
Andreas Beckmann <a...@debian.org> (supplier of updated proftpd-mod-geoip 
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: Mon, 21 Apr 2014 19:12:52 +0200
Source: proftpd-mod-geoip
Binary: proftpd-mod-geoip
Architecture: source amd64
Version: 0.3-1+deb7u1
Distribution: wheezy
Urgency: medium
Maintainer: ProFTPD Maintainance Team 
<pkg-proftpd-maintain...@lists.alioth.debian.org>
Changed-By: Andreas Beckmann <a...@debian.org>
Description: 
 proftpd-mod-geoip - ProFTPD mod_geoip
Closes: 726742
Changes: 
 proftpd-mod-geoip (0.3-1+deb7u1) wheezy; urgency=medium
 .
   * Non-maintainer upload.
   * Remove useless and buggy proftpd-mod-geoip.postrm script.
   * Add proftpd-mod-geoip.preinst script to delete the old buggy postrm script
     on upgrades. Otherwise the buggy postrm script would delete some files
     from the newly unpacked package.  (Closes: #726742)
Checksums-Sha1: 
 0366c0d6948ba1c1f99f73a7e665bf60024eefa9 2183 
proftpd-mod-geoip_0.3-1+deb7u1.dsc
 6f63f555211d55713b55f92fa5ae4f9dfb6f929a 4242 
proftpd-mod-geoip_0.3-1+deb7u1.debian.tar.gz
 0992866359561a138899b611019b0fe7b7805b77 26386 
proftpd-mod-geoip_0.3-1+deb7u1_amd64.deb
Checksums-Sha256: 
 f3024ba643f0d7ed57df1cb127a9687527fdbde040a1e9fbe7026d60e35544ce 2183 
proftpd-mod-geoip_0.3-1+deb7u1.dsc
 ee080d4e71c829854daef5a90d9a9a51ff550fa69d27d019c1023b2e87bab45f 4242 
proftpd-mod-geoip_0.3-1+deb7u1.debian.tar.gz
 429d23e5f45ad84281af8c0fcba8a194794c0c655f55acc1af9c372003969d89 26386 
proftpd-mod-geoip_0.3-1+deb7u1_amd64.deb
Files: 
 1b5ae84eec6c2c6ad4a7c84cfa69a7c5 2183 net optional 
proftpd-mod-geoip_0.3-1+deb7u1.dsc
 27f7c370112b320fa6cb9e2dd9b39d4c 4242 net optional 
proftpd-mod-geoip_0.3-1+deb7u1.debian.tar.gz
 3f690719da50ff9f3b19f63d8f973a69 26386 net optional 
proftpd-mod-geoip_0.3-1+deb7u1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJTVVT8AAoJEF+zP5NZ6e0IXC0P/1g5gIulz2XlHTiNuQcQTLE/
Piw/6Z3Vwv06d4yjPi7XjStl9lIQhilM4hg+lLSiJ/2gadLz1VEYLTl6QTEmf3Vy
yEC+zozdvl12YJUIPwxEz5IQYToudrV8x374Hdt4zXhP4klp4N2W7QcV55+ue9F5
GeY65F8syGnzyTi6h2tMzpv5eG6wBJgeSLAu83hs3t2rJC1n3OmBprxt5oFmD368
XhJ1wE6dOjHrLHVZVjPCtwYWgNiDn9Lu5LB5jO7C5ib9zChxbKDgVI0S/hx8PYxX
RmpKk5D69DZM/YfHjA8FKiSl3C7a2A+aRUylHGbnZKDDls7t6gFq2CyhOKxGBAsc
PlM9T0C0JzDN88fW/1PLA5gSjFzoJXGjzd/Dp7W7bYB4OlOSQnkxFvm0eln8NZKT
vjPgLaNtxABYJTjahB4t0eYpKrcDPX/XahPpqB0bcdnli7CcFDo8703ED1Shau77
RBbhOCWNzct/nP+WYjGmFBKFokL/PoBhLhhxQEAUrgptmiuWdINX5yHPdsC29wh8
rqoZFG7F/TkFf/o4yrmELKcr2UqT5xncG5sR/FK1T3l1+JYyMT9xPVDwZg3N5x8X
bD8sRKR6pYbmhK/3VoqQ/6EKHMpYlI1HXHhvTtTvuSDXxDqwPXPQv23+lN+zXytD
Zb9qRWP2jhD2HaBXoF1o
=0+VR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to