Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775515 - No systemd unit files for MariaDB 10.5.9
Summary: No systemd unit files for MariaDB 10.5.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-11 18:27 UTC by Victor Costache
Modified: 2021-03-12 01:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Costache 2021-03-11 18:27:57 UTC
After updating MariaDB from 10.4.18 to 10.5.9, I was unable to restart the mariadb systemd service because the actual unit files (existing in 10.4.18) /lib/systemd/system/mariadb.service and /lib/systemd/system/mariadb@.service were replaced as symlinks to mysqld.service and mysqld@.service, respectively (installed by the dev-db/mysql-init-scripts package). However, the mysqld.service includes "Conflicts=mariadb.service" in the "Unit" section, so the MariaDB service won't start on a Gentoo systemd installation.
Comment 1 Larry the Git Cow gentoo-dev 2021-03-12 01:00:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=504c3b6d413c42c6e5673b638b74571f7af76e98

commit 504c3b6d413c42c6e5673b638b74571f7af76e98
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-03-12 00:56:25 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-03-12 00:58:26 +0000

    dev-db/mariadb: don't symlink systemd services
    
    Due to upstream commit https://github.com/MariaDB/server/commit/d2f5e82f0043d9decdbde61e201dbce482e48205,
    we made mariadb.service a symlink of mysqld.service from
    dev-db/mysql-init-scripts.
    
    However, mysqld.service conflicts with mariadb.service [Bug 775515].
    
    The new patch set will restore <10.5 state.
    
    Closes: https://bugs.gentoo.org/775515
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-db/mariadb/Manifest                                               | 2 +-
 dev-db/mariadb/{mariadb-10.5.9-r2.ebuild => mariadb-10.5.9-r3.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)