[MDEV-12646] Upstreaming Fedora patches Created: 2017-04-30 Updated: 2019-09-20 Resolved: 2019-09-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation, Packaging, Scripts & Clients |
| Fix Version/s: | 10.2.28, 10.3.19, 10.4.9 |
| Type: | Task | Priority: | Critical |
| Reporter: | Daniel Black | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | contribution, foundation | ||
| Description |
|
In github pull requests 372 - 377 have been created by this work so far. Other patches have been attempted yet. Skipped patches:
|
| Comments |
| Comment by Michal Schorm [ 2017-04-30 ] |
|
Juts a clarification: The Fedora Git repository for MariaDB is accesible here: The link to github leads to my own developement repository, that containts actual version, as I work on it, before it is pushed to the Fedora project. |
| Comment by Daniel Black [ 2017-05-01 ] |
|
Comment is good. Will probably add User/Group to the table here https://mariadb.com/kb/en/mariadb/systemd/ and use this URL as a reference as this seems to be a lot more specific to mariadb than the fedora systemd page. Setting log-error prevents the output going to stdout/error and hence going to file rather than the systemd-journald service. mschorm is this still intended? Are datadir, pid and socket still needed as these seem to be the default? |
| Comment by Daniel Black [ 2017-05-01 ] |
Systemd and supporting scripts
There seem to pre-date the systemd Type=notify which advises systemd when the socket is listening as as such aren't necessary.
This might be a workaround for Might be able to consider merging mysql-check-upgrade.sh and mysql-prepare-db-dir.sh. |
| Comment by Daniel Black [ 2017-05-01 ] |
|
mariadb-server-galera.te differences to mariadb-server-galera.te added in
Generally MariaDB has more allows to allow for xtradb sst mechanism. |
| Comment by Daniel Black [ 2017-05-08 ] |
|
mariadb-ssl-cypher.patch -> is part of 56c4cfe0 ( mysql.service.in -> https://github.com/MariaDB/server/pull/387 - will need defining the @SYSTEMD_EXECSTARTPRE@ and @SYSTEMD_EXECSTARTPOST@ to refer to the distro pre/post scripts. Note PermissionsStartOnly=true meaning scipts may need to change privs. mysql@.service.in - does multi instance using --defaults-group-suffix=.%I which is different from mariadb version. Could consolidate with ConditionPathExists, the header comments and ExecStart args however its a bit messy. |
| Comment by Daniel Black [ 2018-03-13 ] |
|
Overdue PR. (which is quite minimal) |
| Comment by Vicențiu Ciorbaru [ 2019-09-20 ] |
|
mschorm The PR was merged into 10.2. I believe the root cause for the --basedir patch was fixed with https://github.com/MariaDB/server/commit/355ee6877beccf27bcd07d845c985fc1a2845aca as I was unable to reproduce it in 10.3. I will revert that change in 10.3. Can you please double check that you can not reproduce it either. |