[MDEV-9734] No systemd files present in generic Linux tarballs Created: 2016-03-15 Updated: 2019-05-15 Due: 2016-10-20 Resolved: 2017-02-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.1.12 |
| Fix Version/s: | 10.1.22, 10.2.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Daniel Bartholomew |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 10.2-rc, systemd | ||
| Description |
|
There are currently no systemd files present in the generic Linux tarballs. The RPM for CentOS 7 has:
But the generic Linux tarballs have none of those files:
|
| Comments |
| Comment by Elena Stepanova [ 2016-03-15 ] | ||||||||||||
|
Our binary tarballs are built on far older machines than those that have systemd support. Do we have an urgent need to have it in bintars? | ||||||||||||
| Comment by Geoff Montee (Inactive) [ 2016-03-15 ] | ||||||||||||
|
I don't know if there's an urgent need. I just had a user run into this problem today, but that was the first time that I had seen anyone complain about this. I didn't realize that systemd was a compile-time dependency, but I see now that mysqld is linked to some systemd-related shared library on systems that support it.
The user I spoke with today was using systemd along with a bintar installation. Is it likely to cause problems for that user that the server is not linked to systemd? | ||||||||||||
| Comment by Elena Stepanova [ 2016-03-16 ] | ||||||||||||
|
Let's ask svoj about this last concern. For the fix, it's simple – if we really need it, we'll have to start building bintars on a newer system; and I'm not sure we can drop the old ones for 10.1 easily, so most likely we'll have to maintain three pairs of bintars instead of two which we have now, which is of course additional fuss. | ||||||||||||
| Comment by Sergei Golubchik [ 2016-03-16 ] | ||||||||||||
|
I think we can move bintars from Quantal to something newer. CentOS will continue building old-glibc bintars for whoever needs them and newer-glibc build can happen on a newer distro. Those, who used quantal bintars, will either use newer-glibc bintars or will switch to old-glibc bintars. | ||||||||||||
| Comment by Elena Stepanova [ 2016-04-14 ] | ||||||||||||
|
Assigning to svoj to answer the question above and also to provide opinion on building bintars with systemd support. | ||||||||||||
| Comment by Sergey Vojtovich [ 2016-05-05 ] | ||||||||||||
|
We kept SysVinit stuff, so there should be no big problems. Roughly speaking running non-systemd 10.1 should be in no way more problematic as running 10.0. Since systemd stuff has extra depenencies, it can't replace generic bintars (e.g. Devuan is there only thanks to absence of systemd). Having extra bintars with systemd support is fine. | ||||||||||||
| Comment by Elena Stepanova [ 2016-06-11 ] | ||||||||||||
|
Assigning to serg for the final decision regarding bintars. If the decision is to switch from Quantal to something newer, I suppose the task will be further passed over to dbart. | ||||||||||||
| Comment by Sergei Golubchik [ 2017-01-24 ] | ||||||||||||
|
Is trusty new enough? We could upgrade quantal to trusty, if it is. Better to stay on LTS anyway. | ||||||||||||
| Comment by Daniel Bartholomew [ 2017-01-24 ] | ||||||||||||
|
serg Trusty should work just fine for building bintars. Will we be removing the quantal builder and replacing it with trusty or will we just be adding trusty as a third bintar builder? | ||||||||||||
| Comment by Elena Stepanova [ 2017-01-24 ] | ||||||||||||
|
Also – are we replacing centos5 with anything? It will go EOL soon too. | ||||||||||||
| Comment by Sergei Golubchik [ 2017-01-25 ] | ||||||||||||
|
dbart, thanks. Could you add a pair of trusty-based bintar builders? Let's keep quantal builders too for now, they'll continue building, we just won't offer these builds at download.mariadb.org. Download pages might need to be updated to say the correct glibc version, if trusty has a newer one. elenst, I think we could keep CentOS5 builders for a while. Quantal also worked well beyond EOL, it wasn't a problem. | ||||||||||||
| Comment by Daniel Bartholomew [ 2017-01-30 ] | ||||||||||||
|
The trusty-bintar builder is in place, but it is currently reporting the following error:
serg: I think you were the one that installed gnutls under /usr/local/ on the quantal-bintar builders, did you do anything special? If not, I can handle installing it on the trusty-build VMs (I'm guessing you just compiled it from source). If there is anything special that needs to be done when installing it, please let me know. Thanks! | ||||||||||||
| Comment by Daniel Bartholomew [ 2017-02-01 ] | ||||||||||||
|
I've built static gnutls and installed it to the trusty builders and triggered rebuilds. Now monitoring to see if they will successfully build. | ||||||||||||
| Comment by Daniel Bartholomew [ 2017-02-03 ] | ||||||||||||
|
The trusty-amd64-bintar and trusty-x86-bintar builders are now successfully building MariaDB 10.2, and both the 10.1 and 10.2 tarballs now being produced by buildbot have systemd files:
These new bintars with systemd will appear in the next 10.1 and 10.2 releases. If there's nothing else for this task I'll close it. | ||||||||||||
| Comment by Daniel Bartholomew [ 2017-02-07 ] | ||||||||||||
|
Fix will be in the next releases of 10.2 and 10.1. Bintars with systemd will be named after the following pattern:
| ||||||||||||
| Comment by Dietmar Fraedrich [ 2019-05-15 ] | ||||||||||||
|
I missed the file ./support-files/systemd/mariadb.service file also in version 10.3.14. |