mariadb/debian
anel 794bebf9ee Use proper pid namespace
Problem:
    ==============
    By testing `pgrep` with `--ns` option,
    introduced with MDEV-21331, commit fb7c1b9415,
    I noted that:
    a) `--ns`  cannot use more than single PID.
    b) `--ns` is returning the processes of the namespace to which supplied PID belongs to.
    So by that sense command `pgrep -x --ns $$ mysqld` will always return an error and skip
    checking of the existing PID of the server.

    Solution:
    ==============
    Suggested solution is to add `--nslist pid`, since `--ns` needs to know in which namespace type it should look for.
    See `pgrep --help` for different namespace types.
    Note also that this works *only* if script is run as a `root` (we have that case here).

    Current PR is a part of:
    1. MDEV-21331: sync preinst and postrm script
    2. MDEV-15718: check for exact mysqld process

    This commit:
    a) fixes fb7c1b9415
    b) Closes PR #2068 (obsolete)
    c) Closes PR #2069 (obsolete)

    Thanks Faustin Lammler <faustin@mariadb.org> for testing and verifying
    Reviewed by <>
2022-05-04 10:33:38 +02:00
..
additions Merge branch '10.1' into 10.2 2020-09-28 14:03:46 +05:30
patches Merge branch '5.5' into 10.1 2019-05-11 19:15:57 +03:00
po Merge 10.1 into 10.2 2019-05-28 15:56:24 +03:00
source
apparmor-profile
autobake-deb.sh MDEV-28011: debian autobake cleanup 2022-03-10 13:29:16 +11:00
changelog
compat
control MDEV-28011: debian autobake cleanup 2022-03-10 13:29:16 +11:00
copyright Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
gbp.conf
libmariadb-dev.examples
libmariadb-dev.install MDEV-19208 mariadb.pc: install into libdir 2020-03-05 10:53:16 +02:00
libmariadb-dev.manpages
libmariadb-dev.README.Maintainer
libmariadb3.install MDEV-24728: Debian include client caching_sha2_password plugin 2021-02-25 12:12:04 +11:00
libmariadb3.postinst
libmariadbclient18.install
libmariadbd-dev.install
libmariadbd19.install
libmysqlclient18.install
mariadb-backup-10.2.install
mariadb-client-10.2.docs
mariadb-client-10.2.install
mariadb-client-10.2.links
mariadb-client-10.2.manpages
mariadb-client-10.2.menu
mariadb-client-10.2.README.Debian
mariadb-client-core-10.2.install
mariadb-client-core-10.2.manpages
mariadb-common.dirs
mariadb-common.install
mariadb-common.postrm
mariadb-plugin-aws-key-management-10.2.install
mariadb-plugin-cassandra.install
mariadb-plugin-connect.install Revert "CONNECT: move jar files to /usr/share and include them in DEBs" 2021-06-06 11:49:36 +02:00
mariadb-plugin-cracklib-password-check.install
mariadb-plugin-gssapi-client.install
mariadb-plugin-gssapi-server.install
mariadb-plugin-mroonga.install
mariadb-plugin-mroonga.postinst
mariadb-plugin-mroonga.prerm Fix a typo in mariadb-plugin-mroonga.prerm 2019-11-12 07:00:15 -08:00
mariadb-plugin-oqgraph.install
mariadb-plugin-rocksdb.install
mariadb-plugin-spider.install
mariadb-plugin-spider.postinst
mariadb-plugin-tokudb.install
mariadb-server-10.2.config
mariadb-server-10.2.dirs
mariadb-server-10.2.install MDEV-17292 Package the pam_user_map module 2020-01-21 10:56:47 +01:00
mariadb-server-10.2.logcheck.ignore.paranoid
mariadb-server-10.2.logcheck.ignore.server
mariadb-server-10.2.logcheck.ignore.workstation
mariadb-server-10.2.manpages
mariadb-server-10.2.mysql-server.logrotate
mariadb-server-10.2.mysql.default
mariadb-server-10.2.mysql.init
mariadb-server-10.2.postinst Remove --upgrade-info option from mysql_upgrade 2022-01-27 14:52:08 +02:00
mariadb-server-10.2.postrm Use proper pid namespace 2022-05-04 10:33:38 +02:00
mariadb-server-10.2.preinst Use proper pid namespace 2022-05-04 10:33:38 +02:00
mariadb-server-10.2.prerm
mariadb-server-10.2.py
mariadb-server-10.2.README.Debian
mariadb-server-10.2.templates
mariadb-server-10.2.triggers MDEV-14560 Extra engines enabled through additional config are not loaded on first installation 2018-06-24 15:18:36 +02:00
mariadb-server-core-10.2.install
mariadb-server-core-10.2.manpages
mariadb-test-data.install
mariadb-test.install
mariadb-test.links
mariadb-test.manpages
mysql-common.dirs
mysql-common.install
mysql-common.postrm
rules Skip TokuDB within autobake-deb.sh 2021-01-29 21:11:16 +02:00