• Re: [gentoo-dev] [PATCH] 2021-11-23-mariadb-database-restore-maybe-requ

    From Mike Gilbert@21:1/5 to whissi@gentoo.org on Thu Nov 25 05:00:01 2021
    On Wed, Nov 24, 2021 at 10:21 PM Thomas Deutschmann <whissi@gentoo.org> wrote:
    +On 2021-11-21, a member of the QA project accidentially de-keyworded +MariaDB 10.6 to address a file collision, users, who also had latest +dev-db/mariadb-connector-c installed, experienced (NOTE: The default
    +MySQL connector in Gentoo Linux is provided by
    +dev-db/mysql-connector-c) [Link 1].

    This sentence is very difficult to read. Also, I don't think it is
    relevant to call out the mistake by the QA team in a news item
    intended for end users. I would rewrite this as:

    On 2021-11-21, keywords for dev-db/mariadb-10.6 were removed to
    address a file collision with dev-db/mariadb-connector-c. This
    unintentionally triggered a version downgrade for users who had
    successfully upgraded to dev-db/mariadb-10.6 already.

    +However, downgrades are not supported in MySQL/MariaDB [Link 2].
    +
    +In case you already fully upgraded to MariaDB 10.6 (which includes +executing mysql_upgrade command) and forcefully downgraded your
    +MariaDB instance afterwards during the time window when keywords were +removed, you maybe experiencing different problems:
    +
    +At best, your forcefully downgraded MariaDB instance prevented startup
    +so all you have to do is upgrade to MariaDB 10.6 again to resume
    +services.

    I don't like the phrase "forcefully downgraded" here. This implies
    that something happened without the user's consent. emerge would have
    informed them of the downgrade before it happened. I would suggest
    removing the word "forcefully" from these paragraphs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marek Szuba@21:1/5 to Thomas Deutschmann on Thu Nov 25 10:00:01 2021
    Copy: pr@gentoo.org (PR team)
    Copy: gentoo-dev@lists.gentoo.org

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------E40GtMqLAXe50lMogRJTY0LM
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gMjAyMS0xMS0yNSAwNDo0OSwgTWlrZSBHaWxiZXJ0IHdyb3RlOg0KDQo+IEFsc28sIEkg ZG9uJ3QgdGhpb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5evZdChprZRGdn4TEuvhLdXBWy220OyENRf5CXeriA+yPYHmhczNaa09U47 HqKKcM0zOQW1QmVR7DNjKTNKZs1Y1mZA3AePOqLNQfmA8YxCeo+WcMzGRjZ6wndq BNwMKkwqhc+KzUs6iYt0J5BRwa2PpVxuh/UoIbLJkiyU1WgbVMgyAwL8YzvNQa2p gYVipu73wagdapt2adeu5ugbiJuZqpaKaggb/KXlO9//qH7VTd0tyBG/ti7X13Q8 gg63tYNvFPbHLJ6QHG2HEeuoLjEwu6zy5+Naow4se69Zu35ZaimpPKzrPNvEx89N tk+KdYT01ppfb57tuXbduwzEILADN5lVQaZlszH2wfaZuLfs5kbK5bDyihEp7nMQ Go7Gao7znj9cX1EvTf/ic1kJRfRlnRVT2ue35aYIdzlAdtc7HQ==
    =BQ4H
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ulrich Mueller@21:1/5 to All on Thu Nov 25 10:50:01 2021
    On Thu, 25 Nov 2021, Mike Gilbert wrote:

    On Wed, Nov 24, 2021 at 10:21 PM Thomas Deutschmann <whissi@gentoo.org> wrote:
    +On 2021-11-21, a member of the QA project accidentially de-keyworded
    +MariaDB 10.6 to address a file collision, users, who also had latest
    +dev-db/mariadb-connector-c installed, experienced (NOTE: The default
    +MySQL connector in Gentoo Linux is provided by
    +dev-db/mysql-connector-c) [Link 1].

    This sentence is very difficult to read. Also, I don't think it is
    relevant to call out the mistake by the QA team in a news item
    intended for end users. I would rewrite this as:

    On 2021-11-21, keywords for dev-db/mariadb-10.6 were removed to
    address a file collision with dev-db/mariadb-connector-c. This unintentionally triggered a version downgrade for users who had
    successfully upgraded to dev-db/mariadb-10.6 already.

    +1

    News item are to provide information to users, and the details about who
    did what in the past aren't necessary here. At most, keep the link to
    bug 825234 for reference (but not to any specific comment).

    Ulrich

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

    iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmGfWeIPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4ukmUIAJUkD4ljaQJ+3zB0xNezGmSw0J39J6PcYGV3 Ac/0gjPbqjMiboP4bxB7mDL7ytY1mhZlrMtTjtDTXz9sG9GzXvgnLY/rne54BiQG N+brYKnbjv7StHL4wERscfgQbSUkuj4ud1zuVtZAGpyzf+KJT0B/YGRF9lmCKOPa P1eSZ9rk+do9mPxhEd5rh8S0939QWlD+Tqq32LB7Mvc9w6fS9hgjvy6RhlpOJsvQ uEbH29Q6aotIAULKAsWNEGk9E0FDZuvhqzQymL189VmZp58brPNhJ0HzgYH9YRWi THUGQHIJBOr6GX5fJ5XWgB8BdRg++uPWeufRYm65475EocJdlnM=
    =g4oV
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Georgy Yakovlev@21:1/5 to Thomas Deutschmann on Thu Nov 25 11:20:02 2021
    On 25.11.2021 04:21, Thomas Deutschmann wrote:
    Bug: https://bugs.gentoo.org/825234
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
    ---
    ...adb-database-restore-maybe-required.en.txt | 46 +++++++++++++++++++
    1 file changed, 46 insertions(+)
    create mode 100644 2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt

    diff --git a/2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt b/2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt
    new file mode 100644
    index 0000000..c4a698e
    --- /dev/null
    +++ b/2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt
    @@ -0,0 +1,46 @@
    +Title: Full MariaDB database restore maybe required
    +Author: Thomas Deutschmann <whissi@gentoo.org>
    +Posted: 2021-11-23
    +Revision: 1
    +News-Item-Format: 2.0
    +Display-If-Installed: dev-db/mariadb
    +Display-If-Installed: sys-cluster/galera
    +
    +On 2021-11-21, a member of the QA project accidentially de-keyworded
    Agreed with others in the thread, this is not professional.

    +MariaDB 10.6 to address a file collision, users, who also had latest +dev-db/mariadb-connector-c installed, experienced (NOTE: The default
    +MySQL connector in Gentoo Linux is provided by
    +dev-db/mysql-connector-c) [Link 1].
    This ^ is a very confusing sentence and is way too long. Needs shortening and re-wording, too much commas.

    +
    +However, downgrades are not supported in MySQL/MariaDB [Link 2].
    +
    +In case you already fully upgraded to MariaDB 10.6 (which includes +executing mysql_upgrade command) and forcefully downgraded your
    +MariaDB instance afterwards during the time window when keywords were +removed, you maybe experiencing different problems:
    +
    +At best, your forcefully downgraded MariaDB instance prevented startup
    +so all you have to do is upgrade to MariaDB 10.6 again to resume
    +services.
    +
    +In case previous MariaDB version was able to start, you are encouraged
    +to do a full backup as soon as possible using mysqldump command and +manually restore each database ("logical downgrade") to prevent any
    +data corruption.
    +
    +Depending on used feature set and from which version you upgraded,
    +it is maybe required to do a full restore from a previous backup before +MariaDB 10.6 upgrade to restore services and prevent any data loss or +future runtime errors.
    +
    +In case you are using MariaDB in a cluster and/or Galera setup you
    +probably have to rebuild the entire cluster in case the upgrade to
    +MariaDB 10.6 was already replicated (using pt-table-checksum from +dev-db/percona-toolkit can help you to validate your cluster).
    +
    +Keep in mind that due to the forced downgraded, point-in-time recovery
    +may not be available to the extent that you are used to.
    +
    +Link 1: https://bugs.gentoo.org/825234#c8
    +
    +Link 2: https://mariadb.com/kb/en/downgrading-between-major-versions-of-mariadb/
    --
    2.34.0



    --
    Best regards,
    Georgy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Deutschmann@21:1/5 to Gentoo Dev on Thu Nov 25 15:00:01 2021
    Copy: pr@gentoo.org (PR team)

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------k02a27MyA5oxPUBx04s2sm07
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    SGksDQ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kZSBpZiB5b3UgZG9uJ3Qgc3RvcC4gQW5k IA0KZXNwZWNpYWxseSBvbiBzZXJ2ZXJzLCBwZW9wbGUgdGVuZCB0byB1c2UgY3JvbmpvYnMv c2NyaXB0cyB0byBkbyB0aGF0Li4uDQoNCkFuZCBmb3JjZWZ1bGx5IGhlcmUgcmVmZXJzIHRv IHRoZSB1bmRlc2lyYWJsZSByZXN1bHQgKGF0IGxlYXN0IHRoYXQgd2FzIA0KbXkgaW50ZW50 aW9uKS4gU29tZXRoaW5nIHRoZSB1c2VyIGRvZXNuJ3Qgd2FudC4NCg0KDQotLSANClJlZ2Fy ZHMsDQpUaG9tYXMgRGV1dHNjaG1hbm4gLyBHZW50b28gTGludXggRGV2ZWxvcGVyDQpmcHI6 IEM0REQgNjk1RiBBNzEzIDhGMjQgMkFBMSA1NjM4IDU4NDkgN0VFNSAxRDVEIDc0QTUNCg==


    --------------k02a27MyA5oxPUBx04s2sm07--

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

    wsB5BAABCAAjFiEEExKRzo+LDXJgXHuURObr3Jv2BVkFAmGflsAFAwAAAAAACgkQRObr3Jv2BVkZ uAf+KEd3PlWJXTlv6UNi6X6EJVxyijN2Sz+R2AT3i/P8yUidpn+k97d50Fl7KuZwrTTOfyl8U0ll gz1AtDvF/6C29bgG4rj2psN9blgBPDReXsAFPMkHjqA6iJE9WVKSIjPVUJWcce8M0iLw7t18McJO NLg042Ln+k/xabGonF/n1HxkAJ0fbjAZJv50EH8HqSz6kG3E5TjezBGp8ebl8dHeypWRJ7klvXLp SEm11Q9x6U1zmx33AKowe0kFws852LwrcH5f6fSAbsIYiHQUrEMtNm65sRIhHK8K/fccwSV53rUp OMVdy1LD3g9gomuqHSWKysl05obEAGUMRnEUqIVuXQ==
    =TFqm
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mike Gilbert@21:1/5 to whissi@gentoo.org on Thu Nov 25 15:30:01 2021
    On Thu, Nov 25, 2021 at 8:59 AM Thomas Deutschmann <whissi@gentoo.org> wrote:

    Hi,

    On 2021-11-25 04:49, Mike Gilbert wrote:
    On 2021-11-21, keywords for dev-db/mariadb-10.6 were removed to
    address a file collision with dev-db/mariadb-connector-c. This unintentionally triggered a version downgrade for users who had successfully upgraded to dev-db/mariadb-10.6 already.

    Works for me. However, I would write dev-db/mariadb:10.6. Is that
    acceptable for you?

    Sure.

    I don't like the phrase "forcefully downgraded" here. This implies
    that something happened without the user's consent. emerge would have informed them of the downgrade before it happened. I would suggest
    removing the word "forcefully" from these paragraphs.

    If you do a normal world upgrade, this is the default portage behavior,
    not? I.e. package manager will downgrade if you don't stop. And
    especially on servers, people tend to use cronjobs/scripts to do that...

    Something happening by default is not the same as forcing it to happen.

    Using a cron job or other blind automation to do package upgrades on
    any production system is a bad idea. We certainly do not recommend
    that to people, nor force them to do it.

    And forcefully here refers to the undesirable result (at least that was
    my intention). Something the user doesn't want.

    That's really not what "forcefully" means. It would be fine to use "unintentional" or "unwanted" in its place.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pacho Ramos@21:1/5 to All on Thu Nov 25 17:00:02 2021
    El jue, 25-11-2021 a las 09:20 -0500, Mike Gilbert escribió
    [...]
    I don't like the phrase "forcefully downgraded" here. This implies
    that something happened without the user's consent. emerge would have informed them of the downgrade before it happened. I would suggest removing the word "forcefully" from these paragraphs.

    If you do a normal world upgrade, this is the default portage behavior, not? I.e. package manager will downgrade if you don't stop. And
    especially on servers, people tend to use cronjobs/scripts to do that...

    Something happening by default is not the same as forcing it to happen.

    Using a cron job or other blind automation to do package upgrades on
    any production system is a bad idea. We certainly do not recommend
    that to people, nor force them to do it.



    As a side note, maybe ebuild should add sanity checks (like those from glibc) to
    prevent downgrades, otherwise people could still accidentally hit the issue

    Thanks

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

    iQEzBAABCAAdFiEE808Ng0g83FMNupoifLEMIH/AfbwFAmGfsNgACgkQfLEMIH/A fbwuHgf/YEHauuxViYbzSZrRTtLD1aJxjN5blYqPLFcNhEihjFfeTIanT6Jim/Oi w/O67c37HJweJt8n+kFP/eu+dFEcd6UMP+armqc1gy2gh/0HF3ymh7zPsNjex3Hf 9olsHZ6OMfzlVGUDx11UtyeFC6YNCzy09fN8Q487xexwwmYQxGRwN1jdFaKVRl33 GvAUndSdg3TnvGvH/YP/vkZN/84vY5fPAJfKi4L+FiaDkiyDlIG/Nym5cdmFYth6 FTuNrZQsfhkrguHXUw94NvwEeT7eJ4nzLbKU9ZlDjJTcbdffIL4+phy7/ehyht4/ v2T6iXP7hEi9F8ikbTRlyN+DV9bDAg==
    =SzeG
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Piotr Karbowski@21:1/5 to Pacho Ramos on Thu Nov 25 17:30:03 2021
    Hi,

    On 25/11/2021 16.50, Pacho Ramos wrote:
    As a side note, maybe ebuild should add sanity checks (like those from glibc) to
    prevent downgrades, otherwise people could still accidentally hit the issue

    You might have valid use cases to downgrade mysql, if you are okay not preserving data. I'd assume it's a common knowledge that downgrade of
    any data store, be that database or likes like elasticsearch, will
    corrupt the data.

    To make it actually useful I think we'd need new EAPI feature 'downgrade-protection', that unless is explicit ignored like --ignore-downgrade-protection mysql, it would prevent it from happening.

    -- Piotr.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Seifert@21:1/5 to Piotr Karbowski on Thu Nov 25 17:50:02 2021
    On Thu, 2021-11-25 at 17:21 +0100, Piotr Karbowski wrote:
    Hi,

    On 25/11/2021 16.50, Pacho Ramos wrote:
    As a side note, maybe ebuild should add sanity checks (like those from glibc) to
    prevent downgrades, otherwise people could still accidentally hit the
    issue

    You might have valid use cases to downgrade mysql, if you are okay not preserving data. I'd assume it's a common knowledge that downgrade of
    any data store, be that database or likes like elasticsearch, will
    corrupt the data.

    To make it actually useful I think we'd need new EAPI feature 'downgrade-protection', that unless is explicit ignored like --ignore-downgrade-protection mysql, it would prevent it from happening.

    -- Piotr.


    https://github.com/gentoo/gentoo/blob/master/sys-libs/glibc/glibc-2.34-r2.ebuild#L643

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mike Gilbert@21:1/5 to slashbeast@gentoo.org on Thu Nov 25 18:20:01 2021
    On Thu, Nov 25, 2021 at 12:01 PM Piotr Karbowski <slashbeast@gentoo.org> wrote:

    https://github.com/gentoo/gentoo/blob/master/sys-libs/glibc/glibc-2.34-r2.ebuild#L643

    Would you see something like this on more ebuilds, postgres, mysql, elasticsearch, or have proper FEATURE flag for it instead?

    It's all cool and giggles until you realize that even such random
    variable is not even prefixed with PORTAGE_ or anything, meaning it
    could be taken out of shell and meant for entirely different thing.

    Another problem with such magic variables is that they are ineffective
    when installing binpkgs. During pkg_preinst, portage will restore the environment variables that were present when the package was built,
    and ignore anything you have set in the environment since then.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Piotr Karbowski@21:1/5 to All on Thu Nov 25 18:20:01 2021
    https://github.com/gentoo/gentoo/blob/master/sys-libs/glibc/glibc-2.34-r2.ebuild#L643

    Would you see something like this on more ebuilds, postgres, mysql, elasticsearch, or have proper FEATURE flag for it instead?

    It's all cool and giggles until you realize that even such random
    variable is not even prefixed with PORTAGE_ or anything, meaning it
    could be taken out of shell and meant for entirely different thing.

    -- Piotr.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Deutschmann@21:1/5 to All on Thu Nov 25 18:20:01 2021
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------yRRWlOOKVXKlBNzdRiaNItE1
    Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64

    T24gMjAyMS0xMS0yNSAxODowMSwgUGlvdHIgS2FyYm93c2tpIHdyb3RlOg0KPj4gaHR0cHM6 Ly9naXRod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GluZyBieSBpdHNlbGYg YW5kIHByZXZlbnQgc3RhcnR1cCB3aGVuIGl0IGRldGVjdHMgYSANCmRvd25ncmFkZSBhbmQg dGhlcmUgaXMgc29tZSBkaXNjdXNzaW9uIGZvciBzdWNoIGEgZmVhdHVyZSBmb3IgMTAuNyAN Cihwcm9iYWJseSB0b28gbGF0ZSkgb3IgMTAuOCkuDQoNCg0KLS0gDQpSZWdhcmRzLA0KVGhv bWFzIERldXRzY2htYW5uIC8gR2VudG9vIExpbnV4IERldmVsb3Blcg0KZnByOiBDNEREIDY5 NUYgQTcxMyA4RjI0IDJBQTEgNTYzOCA1ODQ5IDdFRTUgMUQ1RCA3NEE1DQo=

    --------------yRRWlOOKVXKlBNzdRiaNItE1--

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

    wsB5BAABCAAjFiEEExKRzo+LDXJgXHuURObr3Jv2BVkFAmGfwu0FAwAAAAAACgkQRObr3Jv2BVng Agf/Z1a+xtCk0Uov0wcZ9m6vVZYkTVh/p57K1RaAcow+3563EfW45EnN9sIK+Mo5Zo3n8mM1jfGi eXFR1qPxK1NQSSdm9HPOwvww5e5HFYF1fEtxVt0Bo9wZiHXzksE+9z53Lj60VNhXlIT25NyMUxt8 991Qu/dgH2VXWB/BP1z9MEqCYhEobLSgI+y/desQ0a7av73aIPBX0QNFwQ0byMosLoBLHB4fH8QV C99Z5RBwzfqi5pxioFFXAAC8/csT65YiArcFBCWJ5FE5FrbxxdTBPGhJtAnBOt35AsXbUB3QrvrX bKJ2Fh/K0w5bnxeofUk9w/VezoNnu6IPUWE3uL8ZCw==
    =9RGa
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From James Le Cuirot@21:1/5 to Piotr Karbowski on Thu Nov 25 23:10:02 2021
    On Thu, 2021-11-25 at 18:01 +0100, Piotr Karbowski wrote:
    https://github.com/gentoo/gentoo/blob/master/sys-libs/glibc/glibc-2.34-r2.ebuild#L643

    Would you see something like this on more ebuilds, postgres, mysql, elasticsearch, or have proper FEATURE flag for it instead?

    I don't think there's any need for this with PostgreSQL. The major versions
    are slotted, similar to MariaDB, but the data itself is also installed into versioned locations. Migrating usually involves copying the data to the new location.

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

    iQJFBAABCAAvFiEEPxcZ3tkwcedKm2a8EiZBXQDdMTcFAmGgCBkRHGNoZXdpQGdl bnRvby5vcmcACgkQEiZBXQDdMTcz5A/+IkBw4kee5kO0cfKXPByBJ+0ZzNDltTn1 Mi0t7zf90LY0JjwjcC/JASMNXAUxK2Dvwi/fAkvEIyuNwP7uz8eTxnIRlvaE+v49 4c4ONf6aXOstcnyQtSYM4GqiURA+tCVf9MUJUAb9MXqdMZ8ErERgvP/0OWKSNt0s YAo1OL/jBTu3fUQHDQ5ASzzgeYCT+oUa8rY0YmkFRcFHUDpU/KOattSg9yJrcnaU 4lqv8uXZeKWrgn3kH77OeLj7RVUihS8FRvFT/X6+I+nI2MIrDpJuN4S1Y6pDMjZV NKcbYeqfHFz9ZCCFdwH+dKA7PexGiTCkNKCYBBqZAubNz7MPHf7qO9Z2i8BiUqjK W4HcCQqptuwtPp2uTJaSPd9u9ZyS7YxJXlN9y3MqMgbMEcjIFGyadhjBSTe72EoC tv7RB1EtpMeIDfaaJ61dNGWQPk2uPohVB90DABRyQbQHEb3Pqkgj1E4SUd7w7KCc u83w7MehORj0Wv3Wvq7bYZ6uznTS8tw2XB6ngPelx23y/JwMpSNm0Oa4dSE0CpOF PNVrhKL9LKSL6optHcRVXJYE3PmoPOz4oC+zdTUVBKQfTDikpYE4TBJDrsXutzDH IAXzLTZS2676jZhMkENYK48ZJeQotLDFWVisJxjvZtZN7kuzpZdtWn+w0Nz/N48b
    iQaUrYtEM2A=
    =vpcl
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to All on Fri Nov 26 01:50:02 2021
    On 25 Nov 2021, at 03:21, Thomas Deutschmann <whissi@gentoo.org> wrote:

    Bug: https://bugs.gentoo.org/825234
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
    ---
    [snip]

    +On 2021-11-21, a member of the QA project accidentially de-keyworded +MariaDB 10.6 to address a file collision, users, who also had latest +dev-db/mariadb-connector-c installed, experienced (NOTE: The default
    +MySQL connector in Gentoo Linux is provided by
    +dev-db/mysql-connector-c) [Link 1].

    There's no reason to refer to MySQL here (nor am I sure that we're
    really "defaulting" to either MariaDB or MySQL).

    +
    +However, downgrades are not supported in MySQL/MariaDB [Link 2].

    There's no reason to refer to MySQL here.

    +Link 1: https://bugs.gentoo.org/825234#c8

    No need to link to the comment. Also, please use the standard [0] and [1] reference
    notation.


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

    iQGTBAEBCgB9FiEEYOpPv/uDUzOcqtTy9JIoEO6gSDsFAmGgLxFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYw RUE0RkJGRkI4MzUzMzM5Q0FBRDRGMkY0OTIyODEwRUVBMDQ4M0IACgkQ9JIoEO6g SDtnyAf8CNuYYJuWnCoLdsRAE3gRJo1IfTsQCfT4+kHGeuMeOrwumR2imLto1wKh ZzJlSMvyFlXYvt2/MXwKELXbJDzImGPp5LVgq+OoIP6+X7db1i0qRBv9nMRoEuK4 F0Zh22keaPazzfAGnh+pyqokiscNvS0kVseQU85OAte6J/wIPZ47ASkClEYwTBgP 03W2nyILcX9sReVV5YKwkvRqOY6nckOnclylo/bbkl6ORSPlIoZATAsn14UvHnwG RbYxIP3JHxGDygkwBJK/8LN9Yd5Y83t6Xzib3qtpg8D+k3v+PBydudIFHj0fIZ/E 57r1AxFcnBEYVFjnmqdbpaFrVmrVFg==
    =vNnS
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sam James@21:1/5 to All on Fri Nov 26 02:00:01 2021
    On 25 Nov 2021, at 17:07, Thomas Deutschmann <whissi@gentoo.org> wrote:

    On 2021-11-25 18:01, Piotr Karbowski wrote:
    https://github.com/gentoo/gentoo/blob/master/sys-libs/glibc/glibc-2.34-r2.ebuild#L643
    Would you see something like this on more ebuilds, postgres, mysql, elasticsearch, or have proper FEATURE flag for it instead?
    It's all cool and giggles until you realize that even such random variable is not even prefixed with PORTAGE_ or anything, meaning it could be taken out of shell and meant for entirely different thing.

    Yeah, sounds like the I_KNOW_WHAT_I_AM_DOING thing which you end up having enabled globally for various reasons.

    Just like updating in a cron job is a not-great idea, setting this globally and not per-package via /etc/portage/env sounds rather cavalier.

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

    iQGTBAEBCgB9FiEEYOpPv/uDUzOcqtTy9JIoEO6gSDsFAmGgMG5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYw RUE0RkJGRkI4MzUzMzM5Q0FBRDRGMkY0OTIyODEwRUVBMDQ4M0IACgkQ9JIoEO6g SDs34ggAjgI56/m/9zp3k4Rtbjll5SfjLCXd4+yOE39KJbvPEMQaUIHYnU5dC+WF rc7lygjWclVLUm/xo0aUygnv+HjHvc4giU+lckWVycwdlCNsa5KUVbDTWyCgkRbx fMsxayk9WmBb7hSgTqj19xKL51ry0SOKnZ6uosOuB2885KaG8uHZ4WPUwyoOC+yf P5pQCoWkmEwdL8snq7AKX9zcmmhlEPcXFOD4SIfUpv+Qt+Unm4nJU/BDXCjUCasU u7xAe8AAbuSkMnz3yi9mGMkvPEYPqXhzrq5kbqdqEXEnS9E0sQQIbujyQwP+85LA gGDAyRHMpRgPfV+MuUVWzDAQwLmPfA==
    =cMi+
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ionen Wolkens@21:1/5 to Sam James on Fri Nov 26 16:40:01 2021
    On Fri, Nov 26, 2021 at 12:55:10AM +0000, Sam James wrote:


    On 25 Nov 2021, at 17:07, Thomas Deutschmann <whissi@gentoo.org> wrote:

    On 2021-11-25 18:01, Piotr Karbowski wrote:
    https://github.com/gentoo/gentoo/blob/master/sys-libs/glibc/glibc-2.34-r2.ebuild#L643
    Would you see something like this on more ebuilds, postgres, mysql, elasticsearch, or have proper FEATURE flag for it instead?
    It's all cool and giggles until you realize that even such random variable is not even prefixed with PORTAGE_ or anything, meaning it could be taken out of shell and meant for entirely different thing.

    Yeah, sounds like the I_KNOW_WHAT_I_AM_DOING thing which you end up having enabled globally for various reasons.

    Just like updating in a cron job is a not-great idea, setting this globally and not per-package via /etc/portage/env sounds rather cavalier.

    Generally I don't think there should be a central catch-all variable for
    this, ebuilds should use their own unlikely variable as needed if using
    this route until a better solution.

    e.g. MARIADB_I_ALLOW_THE_DESTRUCTION_OF_MY_DATABASE=yes

    Could take it further and require that =yes be =${PV} so that it only
    works once if forgotten.

    Then users setting this in not-so-great ways are still unlikely to be
    bitten by it.
    --
    ionen

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

    iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmGg/p4ACgkQskQGsLCs QzQSOQf/TnKhENSI1sIFKJ44LEUJKJee6ZViLheXGfZMl/eN8QjDeVST8G+97wlZ er9KYNNtyPoePhgmNgUcrvwEUSdAX8vEQ+FnwBQCBULFSEVrekIPvMhEGzZ+9bRt 0lIhOCYvvq3IkqeYsgGkld+zVBLISFejbRz7YR7hDPHhpghQYg6/+WE57/r/j/sT OJxwPldG1BThIWpPCLSZzBNFMOUffvTqqhpR12kUM6aV8/phI2QUj3que5BRICRF 96FQlMvjpBYvCCQmFPRCEags2uW3khQZziTc7855YYVCj8g3kgeP0AzQFaYaA014 IPFqb/e/+MoMxIxjuS0dSS9jwTXlGg==
    =AVe5
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)