(blog-dump 'dciabrin)

A coding and hacking diary

Connecting to MariaDB with auth_ed25519 and PyMySQL

When a MySQL client wants to connect to a MySQL or MariaDB server, the MySQL wire protocol specifies how both parties should exchange data, advertise their capabilities, and which authentication method they should use for the client to get connected. By default, this authentication is a challenge-response scheme that relies …

Troubleshooting open_files_limit in MariaDB

It may happen in the MariaDB logs that you see failures to set open_files_limit: 160318 21:48:04 [Warning] option 'open_files_limit': unsigned value 18446744073709551615 adjusted to 4294967295 160318 21:48:04 [Warning] option 'open_files_limit': unsigned value 18446744073709551615 adjusted to 4294967295 160318 21:48:04 [Warning] Could not increase number of …

Galera boot process in Open Stack HA and manual override

Deployments of OpenStack that rely on MariaDB+Galera benefit from a HA database thanks to Galera's synchronous replication. In such deployments, the Galera cluster is typically managed via Pacemaker, by means of a galera resource agent. While Galera itself has its own notion of cluster management (membership, health check, write-set …

Support for Aluminium Keyboards packaged, code-named apple-kbd

After many episodes, the support for Apple Aluminium Keyboards is finally becoming user-friendly. All major distribs now ship a recent version of xkeyboard-config, so there is no need to mess with XKB patches anymore... To complete the user experience, I'm happy to introduce you apple-kbd, the collection of helpful goodies …

Apple Aluminium Keyboards with udev, Xorg server 1.9

It's been a year now since I published my support for Aluminium Keyboards. Since then, my XKB patches have been accepted in XKeyboardConfig 1.9, with a few modifications: The multimedia keys can always be accessed by combining Fxx with the 3rd level chooser (this was option alul3media in my …