Your message dated Sun, 30 Apr 2017 11:32:45 +0000
with message-id <e1d4n5p-0007ck...@fasolo.debian.org>
and subject line Bug#858941: fixed in mariadb-10.0 10.0.30-0+deb8u2
has caused the Debian Bug report #858941,
regarding mariadb-server-10.[01]: purging old mariadb-server shuts down 
mariadb-server and removes init.d links
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.)


-- 
858941: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858941
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mariadb-server-10.1
Version: 10.1.21-1
Severity: normal

After upgrading to 10.1 from 10.0, I purged the old
mariadb-server-10.0 package, but this had two quite unpleasant
effects: it shut down the server and it removed the init.d links.
This is because:

(a) In the purge|remove|upgrade|... case, stop_server is executed
    unconditionally.  It is not obvious to me under what conditions
    the server should be stopped, but I would presume that at the very
    least, it should only be stopped if the running server is the same
    version as the package.  This could be tested (somewhat slowly but
    quite safely) by running:

    if [ -x /usr/sbin/mysqld ]
    then
        serverpackage=$(dpkg -S /usr/sbin/mysqld | cut -d: -f1)
        if [ $serverpackage = mariadb-server-core-$this_version ]
        then
            stop_server
            sleep 2
        fi
    fi

    The whole server-stopping is probably also in general somewhat
    unnecessary, as the server will have been stopped in the prerm
    anyway by the dh_installinit snippet.  And this may suffer from
    the same issue (though I am less convinced about this), and should
    probably be replaced by your stop_server script anyway.

    Oh, and for stretch, you don't need to test for the existence of
    invoke-rc.d, as it is now in the essential init-system-helpers
    package, so you can just do invoke-rc.d mysql stop
    unconditionally.

(b) The dh_installinit snippet unconditionally runs update-rc.d mysql
    remove.

    The only way I can think to fix this is to run dh_installinit with
    --no-scripts and then manually insert the necessary snippets into
    the postinst/postrm/prerm scripts.  In the postrm script, it
    should be protected by the same checks as in (a).

Best wishes,

   Julian

--- End Message ---
--- Begin Message ---
Source: mariadb-10.0
Source-Version: 10.0.30-0+deb8u2

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

Debian distribution maintenance software
pp.
Ondřej Surý <ond...@debian.org> (supplier of updated mariadb-10.0 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: SHA512

Format: 1.8
Date: Tue, 28 Mar 2017 23:25:31 +0200
Source: mariadb-10.0
Binary: libmariadbd-dev mariadb-common mariadb-client-core-10.0 
mariadb-client-10.0 mariadb-server-core-10.0 mariadb-test-10.0 
mariadb-server-10.0 mariadb-server mariadb-client mariadb-test 
mariadb-connect-engine-10.0 mariadb-oqgraph-engine-10.0
Architecture: source amd64 all
Version: 10.0.30-0+deb8u2
Distribution: jessie
Urgency: medium
Maintainer: Debian MySQL Maintainers <pkg-mysql-ma...@lists.alioth.debian.org>
Changed-By: Ondřej Surý <ond...@debian.org>
Description:
 libmariadbd-dev - MariaDB embedded database development files
 mariadb-client - MariaDB database client (metapackage depending on the latest 
vers
 mariadb-client-10.0 - MariaDB database client binaries
 mariadb-client-core-10.0 - MariaDB database core client binaries
 mariadb-common - MariaDB common metapackage
 mariadb-connect-engine-10.0 - Connect storage engine for MariaDB
 mariadb-oqgraph-engine-10.0 - OQGraph storage engine for MariaDB
 mariadb-server - MariaDB database server (metapackage depending on the latest 
vers
 mariadb-server-10.0 - MariaDB database server binaries
 mariadb-server-core-10.0 - MariaDB database core server files
 mariadb-test - MariaDB database regression test suite (metapackage for the 
lates
 mariadb-test-10.0 - MariaDB database regression test suite
Closes: 858941
Changes:
 mariadb-10.0 (10.0.30-0+deb8u2) jessie; urgency=medium
 .
   * Remove the excessive server stopping and only-cleanup on purge when
     this is the last MySQL package (Closes: #858941)
Checksums-Sha1:
 e1ac8b2d48325bec5f90ff3d0f77c90dcf7899a6 3292 mariadb-10.0_10.0.30-0+deb8u2.dsc
 2dccfdee87933e1c84ef0d52069b81b4e2cdc2b9 63433598 
mariadb-10.0_10.0.30.orig.tar.gz
 619128e64585d5e9c057c3c14da41678785d1612 188764 
mariadb-10.0_10.0.30-0+deb8u2.debian.tar.xz
 493cc7959c1113b5d4fec3b0df5f4508883991f8 8221470 
libmariadbd-dev_10.0.30-0+deb8u2_amd64.deb
 2cc506a4df086e534cee38a28cd1e549240adc18 17362 
mariadb-common_10.0.30-0+deb8u2_all.deb
 096af8766e30872c396f72a36bf3a0e6ed2f0b21 802230 
mariadb-client-core-10.0_10.0.30-0+deb8u2_amd64.deb
 9c94ee8541e1ba49219f3f7441ec20a7a47b324d 1155738 
mariadb-client-10.0_10.0.30-0+deb8u2_amd64.deb
 5337dcaca9aa3f9bbf4534b8159e7f17091f0de4 4705294 
mariadb-server-core-10.0_10.0.30-0+deb8u2_amd64.deb
 78b788a4aff94aa700138d196e270aa461d8b7ba 30142862 
mariadb-test-10.0_10.0.30-0+deb8u2_amd64.deb
 847b7263455c780aafad8f64c2d58dcf9150b558 5692184 
mariadb-server-10.0_10.0.30-0+deb8u2_amd64.deb
 fec9d16e840c48be1d58264d06c612990599562b 17086 
mariadb-server_10.0.30-0+deb8u2_all.deb
 e542fb60c2133a23fd4ce411e39fbb4eed4c9958 16916 
mariadb-client_10.0.30-0+deb8u2_all.deb
 a1963d5d5aa59a7da2836270ed430feffc2b671c 16860 
mariadb-test_10.0.30-0+deb8u2_all.deb
 e6e1e71000bada6b7dbd7c0de6bcedeb35507f48 418752 
mariadb-connect-engine-10.0_10.0.30-0+deb8u2_amd64.deb
 537653e53bc9555651270ff18d41064659539e5e 76870 
mariadb-oqgraph-engine-10.0_10.0.30-0+deb8u2_amd64.deb
Checksums-Sha256:
 7f18e49837ffc1a69fd256be52cf5dd145bad98d8bed6ee0a33a29fbdab10a42 3292 
mariadb-10.0_10.0.30-0+deb8u2.dsc
 9a2cb7f06ecce1bb64dddc70c484e36507b50b756c110c1d37fa145a13a796bb 63433598 
mariadb-10.0_10.0.30.orig.tar.gz
 72a7af4fb826445357e4427ff52d12ca0c10c5d0a926ccc1cdb2438a460ed7de 188764 
mariadb-10.0_10.0.30-0+deb8u2.debian.tar.xz
 1718d3cb94ee023058a6cb649a81d18cd00bf55e16bf5312c7437ea18830a3fe 8221470 
libmariadbd-dev_10.0.30-0+deb8u2_amd64.deb
 0865ea91c82a55c0cd628e92c191ec8757712c97847c11c08e1bcd4cf4342802 17362 
mariadb-common_10.0.30-0+deb8u2_all.deb
 6897eabd73fe25f080c64a9cad0044a60bf2dcfe243f358fe9b8e15f580ed4cf 802230 
mariadb-client-core-10.0_10.0.30-0+deb8u2_amd64.deb
 eff1372757577872365d7d3b0546c7750815b90f7293c738528d059d3d01d40c 1155738 
mariadb-client-10.0_10.0.30-0+deb8u2_amd64.deb
 1a2b6d3712ea1b4e937be639b7bb2ea3dc44db2fb1004270511349c16641195a 4705294 
mariadb-server-core-10.0_10.0.30-0+deb8u2_amd64.deb
 842a30e173f7b1ba74e750d9a4106f9947d60534cff48e931896ebeb736d90b2 30142862 
mariadb-test-10.0_10.0.30-0+deb8u2_amd64.deb
 fa06e05cd847f21d7b71ffc57346cef7285d1ab5dbec68357b076a34e5447360 5692184 
mariadb-server-10.0_10.0.30-0+deb8u2_amd64.deb
 b23e7eff63e65658e94bb3f3cb5d95d9d9b09ac11239726c2fd536d109e0b416 17086 
mariadb-server_10.0.30-0+deb8u2_all.deb
 d5a946fadde51bd95c527f696c28dd42b8cfd04da5e622b63718e9ebbb1fe14e 16916 
mariadb-client_10.0.30-0+deb8u2_all.deb
 2ba91f647cef582f90d856294aaef70adedc26e1862d8ae04d906b098d0a4262 16860 
mariadb-test_10.0.30-0+deb8u2_all.deb
 a5a85f3c90cd9eb965775b380067196a95ed67da14d301aab1a8d10af8aaea6f 418752 
mariadb-connect-engine-10.0_10.0.30-0+deb8u2_amd64.deb
 5602403dd989dd6221b06ff700e602a16478624113c000d9fcae26b851f6ae19 76870 
mariadb-oqgraph-engine-10.0_10.0.30-0+deb8u2_amd64.deb
Files:
 a919efcb7cb03241f65cbd5e01ae2454 3292 database optional 
mariadb-10.0_10.0.30-0+deb8u2.dsc
 11614c1adcfcc83e3a10f04543b36409 63433598 database optional 
mariadb-10.0_10.0.30.orig.tar.gz
 299ed00ff4e0bfa2c01ab0174a62f57e 188764 database optional 
mariadb-10.0_10.0.30-0+deb8u2.debian.tar.xz
 7196e30e493e740a0c47845aaa34485e 8221470 libdevel optional 
libmariadbd-dev_10.0.30-0+deb8u2_amd64.deb
 a9dcaa6d845d026ccba3af75ee13b6e7 17362 database optional 
mariadb-common_10.0.30-0+deb8u2_all.deb
 d6ed140edd2302a4d3a33f68769c64c2 802230 database optional 
mariadb-client-core-10.0_10.0.30-0+deb8u2_amd64.deb
 e9c7958c3648528cf7517d09070b2096 1155738 database optional 
mariadb-client-10.0_10.0.30-0+deb8u2_amd64.deb
 21a48aa2110142df7b0d664ec534e8a7 4705294 database optional 
mariadb-server-core-10.0_10.0.30-0+deb8u2_amd64.deb
 28def38931da0c299d976a311a42e936 30142862 database optional 
mariadb-test-10.0_10.0.30-0+deb8u2_amd64.deb
 96ae44f92a20586e5004c1dec75d7820 5692184 database optional 
mariadb-server-10.0_10.0.30-0+deb8u2_amd64.deb
 9f32e2496371507dbce365f3d21187ca 17086 database optional 
mariadb-server_10.0.30-0+deb8u2_all.deb
 f0d27ca020fa2768de24da5d2c1b9157 16916 database optional 
mariadb-client_10.0.30-0+deb8u2_all.deb
 52f6e0640c920729d8ea5350043e60fd 16860 database optional 
mariadb-test_10.0.30-0+deb8u2_all.deb
 60bc213769a4e04dc9e31eed9de18ddb 418752 database optional 
mariadb-connect-engine-10.0_10.0.30-0+deb8u2_amd64.deb
 50144e7b48ee87b6032b535dc2adef93 76870 database optional 
mariadb-oqgraph-engine-10.0_10.0.30-0+deb8u2_amd64.deb

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

iQKTBAEBCgB9FiEEMLkz2A/OPZgaLTj7DJm3DvT8uwcFAlkFfYBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDMw
QjkzM0Q4MEZDRTNEOTgxQTJEMzhGQjBDOTlCNzBFRjRGQ0JCMDcACgkQDJm3DvT8
uwcZ7w//SOl/kb2DmnzzCeWpifRmF9fw8leBDM7YLKiu+/UZuPZnkwzY2bsMZLFQ
yYhAb08+yGuUPMw76XvaH9FazJXHXrT7Cr1bGKIhSbZ6X69Qrx2qs1kUcswNA4nP
KMZL9UKiazrdyMx322r9JJclyUcleHMggpd5PqweiVku+X8FgCO94c6B71nHRTi0
VYI0NMsWasOcfReFkVvRwI0iRYoZCl4p3IsTLTCDJPp1YKAQNRhzQWV/UuYxR9f7
ZU+eV353P7OCS885OI5zLH3UybzzvmYb5wh0X1XGCuje5nzzCFwOhe7xNVygWE7I
PqqgQY2XyEqh1pJw6v2sw0gBpe2UzA3kPKN9k7F/Jhigw8dToB661tDC3S0cUmCl
zAm7WotXO9PWQzPhwHlGJ2YMKgZChLi9l0QQflyhccep13LGFAIiSaaYyqBVFA+I
ZahfyaaOSkIAPPtmepUnyQ8l9Es89L7yk8z3WS4Oi5FgaY573xK7DMJVir1q/qCQ
31QsxAtqzBXrKvG7luFmBjEzD6JYxEJcyF/9cv2Gi44RBPIhSUXYu+BXiCwZIXaq
ICWponw6ekrw6LgTcgYxB3nwYVCkwqMAOeAz2NrYojh0cyiuftAsiNa4oDjWSTo4
vzGYjtpsXWHL/oeZZfElCNE4Dr1zCw7C7Oq3byi4qUbXJnSTl5g=
=EFRM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to