Go to file
Nikola Davidova 8217a7fb02 [tmpfiles.d] Extend tmpfiles.d rules for ImageMode
After switching to a container image with bootc switch, systemd failed to start
MariaDB because required runtime directories were missing or had wrong permissions.

Adding tmpfiles entries with correct ownership ensures systemd creates the
necessary directories at boot and gives them correct permissions, allowing the
MariaDB daemon to start.

"In a container build, you can write to '/var'. However, this will have a semantic
similar to a Dockerfile VOLUME instruction; the content from the container image
is only copied at initial install time. Any subsequent system updates will not
by default see new changes.

It's recommended instead to use e.g. systemd tmpfiles.d as a way to ensure that
newly added state "reconciles" across upgrades as desired."

https://docs.fedoraproject.org/en-US/bootc/filesystem/#_filesystem_bind_mount_var

This covers all the files in /var sicne we only ship these as can be seen here:
find | grep /var/
./mariadb11.8-server-11.8.2-3.fc43.x86_64.rpm/var/lib
./mariadb11.8-server-11.8.2-3.fc43.x86_64.rpm/var/lib/mysql
./mariadb11.8-server-11.8.2-3.fc43.x86_64.rpm/var/log
./mariadb11.8-server-11.8.2-3.fc43.x86_64.rpm/var/log/mariadb

The '/usr' directory is not persistent therefore this change does not affect it
and the '/etc' directory is merged in a different way and also not under the
'mysql:mysql' user.
2025-11-27 13:19:58 +01:00
.fmf Setup internal gating for c10s 2024-07-31 15:58:16 +02:00
plans Setup internal gating for c10s 2024-07-31 15:58:16 +02:00
tests Add the first test for the Fedora CI 2018-03-01 15:41:44 +01:00
.gitignore Rebase to 10.11.7 2024-08-19 12:19:43 +02:00
clustercheck.sh Add subpackage mariadb-server-galera 2016-03-22 15:30:08 +01:00
gating.yaml Setup internal gating for c10s 2024-07-31 15:58:16 +02:00
LICENSE.clustercheck Add subpackage mariadb-server-galera 2016-03-22 15:30:08 +01:00
mariadb10.11.spec [tmpfiles.d] Extend tmpfiles.d rules for ImageMode 2025-11-27 13:19:58 +01:00
mariadb-check-socket.sh rename mysql scripts to mariadb 2021-05-11 12:01:29 +00:00
mariadb-check-upgrade.sh rename mysql scripts to mariadb 2021-05-11 12:01:29 +00:00
mariadb-libfmt.patch Rebase to 10.11.10 2025-02-07 01:29:50 +01:00
mariadb-logrotate.patch [2/2] Rebase to 10.11.6 - start using upstream logrotate file 2024-01-30 12:58:32 +01:00
mariadb-mtr.patch Fix MTR port calculation 2025-02-07 01:29:27 +01:00
mariadb-ownsetup.patch Fix of mariadb-ownsetup patch. 2020-09-03 13:41:45 +02:00
mariadb-prepare-db-dir.sh rename mysql scripts to mariadb 2021-05-11 12:01:29 +00:00
mariadb-scripts-common.sh mariadb-scripts-common: update sections from mariadbd --help --verbose 2021-05-11 12:01:29 +00:00
mariadb-scripts.patch rename mysql scripts to mariadb 2021-05-11 12:01:29 +00:00
mariadb-server-galera.te Add selinux policy 2016-05-12 20:29:28 +02:00
mariadb-ssl-cypher.patch JdbcMariaDB.jar test removed 2016-11-28 01:09:55 +01:00
mariadb.rpmlintrc Update RPMLint whitelist; fix RPMLint findings 2021-05-11 21:36:11 +02:00
mariadb.tmpfiles.d.in [tmpfiles.d] Extend tmpfiles.d rules for ImageMode 2025-11-27 13:19:58 +01:00
my.cnf.in Move server settings to config file under my.cnf.d dir 2015-01-25 00:00:50 +01:00
mysql_config_multilib.sh Expand paths in helper scripts using cmake 2014-07-21 14:57:46 +02:00
mysql.service.in Document systemd service changes 2021-05-11 12:07:23 +00:00
mysql@.service.in Document systemd service changes 2021-05-11 12:07:23 +00:00
README.mariadb-docs README.mariadb-docs to refer to MariaDB documentation 2021-05-11 12:01:29 +00:00
README.md Added the README 2024-01-31 16:03:08 +00:00
README.wsrep_sst_rsync_tunnel Add wsrep_sst_rsync_tunnel script 2024-08-19 12:21:41 +02:00
rh-skipped-tests-arm.list Rebase to 10.11.11 2025-02-07 01:30:06 +01:00
rh-skipped-tests-base.list Rebase to 10.11.11 2025-02-07 01:30:06 +01:00
rh-skipped-tests-ppc.list Update skipped-tests-list for 10.11.6 release 2024-01-30 12:58:32 +01:00
rh-skipped-tests-s390.list Rebase to 10.11.11 2025-02-07 01:30:06 +01:00
rocksdb-6.8-gcc13.patch Fix build with GCC 13 2023-01-24 14:15:29 -05:00
rpminspect.yaml rpminspect - introduce a global ignore list 2022-06-11 10:17:03 +02:00
sources Rebase to 10.11.14 2025-11-27 13:19:58 +01:00
wsrep_sst_rsync_tunnel Add wsrep_sst_rsync_tunnel script 2024-08-19 12:21:41 +02:00

mariadb10.11

The mariadb10.11 package