[MDEV-26143] Galera RPM for Fedora should be packed with Systemd service intsead of SysVinit service Created: 2021-07-14  Updated: 2021-08-24

Status: Open
Project: MariaDB Server
Component/s: Galera, Packaging
Affects Version/s: N/A
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Michal Schorm Assignee: Teemu Ollakka
Resolution: Unresolved Votes: 0
Labels: None
Environment:

RPMs provided by MariaDB for Fedora OS



 Description   

Hello,

nearly no other variant of Galera you pack use SysVinit.
Packages for: suse, sles, rhel, centos, they are all packed with Systemd service.
Example is an extracted RPM for RHEL:

├── mariadb_rhel
│   ├── galera-4-26.4.8-1.el8.x86_64
│   │   ├── etc
│   │   │   └── sysconfig
│   │   │       └── garb
│   │   └── usr
│   │       ├── bin
│   │       │   ├── garbd
│   │       │   └── garb-systemd
│   │       ├── lib
│   │       │   └── systemd
│   │       │       └── system
│   │       │           └── garb.service
│   │       ├── lib64
│   │       │   └── galera-4
│   │       │       └── libgalera_smm.so
│   │       └── share
│   │           ├── doc
│   │           │   └── galera-4
│   │           │       ├── COPYING
│   │           │       ├── LICENSE.asio
│   │           │       ├── README
│   │           │       └── README-MySQL
│   │           └── man
│   │               └── man8
│   │                   └── garbd.8.gz
│   └── galera-4-26.4.8-1.el8.x86_64.rpm

However RPMs for Fedora are packed with SysVinit service file instead:

├── mariadb_fedora
│   ├── galera-4-26.4.8-1.fc32.x86_64
│   │   ├── etc
│   │   │   ├── init.d
│   │   │   │   └── garb
│   │   │   └── sysconfig
│   │   │       └── garb
│   │   └── usr
│   │       ├── bin
│   │       │   └── garbd
│   │       ├── lib
│   │       ├── lib64
│   │       │   └── galera-4
│   │       │       └── libgalera_smm.so
│   │       └── share
│   │           ├── doc
│   │           │   └── galera-4
│   │           │       ├── COPYING
│   │           │       ├── LICENSE.asio
│   │           │       ├── README
│   │           │       └── README-MySQL
│   │           └── man
│   │               └── man8
│   │                   └── garbd.8.gz
│   ├── galera-4-26.4.8-1.fc32.x86_64.rpm



 Comments   
Comment by Michal Schorm [ 2021-08-07 ]

Still an issue in the newly released RPM:
galera-4-26.4.9-1.fc34.x86_64.rpm

Comment by Daniel Black [ 2021-08-24 ]

Submitted for 4.x https://github.com/codership/galera/pull/601

Generated at Thu Feb 08 09:43:04 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.