[MDEV-12370] Bintar package cannot be used on latest Ubuntu 16.04 LTS: libsystemd-daemon.so.0: cannot open shared object file Created: 2017-03-27 Updated: 2020-06-25 Resolved: 2020-06-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.1, 10.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Daniel Bartholomew |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
I am trying bintar package on the latest Ubuntu 16.04.1 LTS Xenial. I get an error like this:
Xenial has no package for libsystemd-daemon.so.0: The bintar package is built on Trusty. Trusty does have libsystemd-daemon: I guess this is why bintar is linked against it. I think it is still a bad experience that bintar package cannot be used on a very popular system, latest LTS of probably the most popular distro. |
| Comments |
| Comment by Elena Stepanova [ 2017-03-28 ] |
|
svoj, |
| Comment by Andrii Nikitin (Inactive) [ 2017-04-21 ] |
|
I met this problem today for recent 10.1 bintar compiled on kvm-bintar-trusty-amd64 , had to use one from kvm-bintar-quantal-amd64 In my understanding WITH_SYSTEMD must be explicitly disabled for all bintar builders (assuming it is set to "auto" now). |
| Comment by Elena Stepanova [ 2017-04-21 ] |
|
I'm not sure about that, I remember users complain about not having systemd scripts in bintars. |
| Comment by Ceri Williams [ 2017-09-22 ] |
|
Is this going to be fixed?
Why are you still building on Trusty? The instructions still state:
It is rather annoying to download just to find this issue - if you are not going to fix it perhaps you should remove the systemd tarball, or at least update the notes? |
| Comment by Claudio Nanni [ 2017-10-17 ] |
|
Same problem on Fedora 26, tarball 10.1 and 10.2 fail to start after upgrade from Fedora 24. |
| Comment by Sergei Golubchik [ 2019-04-10 ] |
|
What can we do about it?
I don't think we should do 1. Three bintars is already quite confusing, fourth will not make it better. Option 2 is the easiest but trusty users won't be able to run bintars with systemd. Option 3 means we don't build bintars on trusty, but repackage existing debs/rpms (that we have for every platform) into bintars, and offer them from the repositories page, after the user has selected the distro. So it's a change in release scripts and in web pages. And we'll have one bintar less to build, there'll be no need to build trusty systemd bintars anymore. There will be distro-tailored bintars, but they'll be built dynamically, not as portable. |
| Comment by Daniel Bartholomew [ 2019-04-10 ] |
|
I like the idea of building bintars on specific distros and labeling/naming them as such. e.g. a centos7-bintar, an ubuntu-xenial bintar, a fedora29 bintar, and so on. The question would just be deciding which distros we provide bintars for. |
| Comment by Sergei Golubchik [ 2019-04-10 ] |
|
For every distro where build binaries. There are rpm2targz and rpm2targz tools, your release scripts can repackage rpm/deb into bintars. Or we can do it in buildbot even. Build packages and immediately create a bintar out of _CPack_Packages. It won't even need any2targz, only tar and gzip. The question is how to offer them without overwhelming the user. I think repositories download page could be a good fit |
| Comment by Daniel Bartholomew [ 2019-04-10 ] |
|
You mean the repo config tool? Yes, putting something there would probably work fine. |
| Comment by Sergei Golubchik [ 2019-04-19 ] |
|
As we've later discussed, this trick won't work, because the tarball will have deb (or rpm) file layout. To create a bintar with the correct bintar file layout, we have to build it that way. Which, probably, means we should move systemd bintar builder from trusty to xenial. |
| Comment by Daniel Bartholomew [ 2019-04-22 ] |
|
I've added kvm-bintar-xenial-amd64 and kvm-bintar-xenial-x86 builders to buildbot. Assuming they work fine I will next remove the corresponding kvm-bintar-trusty* builders and switch the release scripts to use the new builders for the systemd bintar tarballs in future releases. |
| Comment by Daniel Bartholomew [ 2020-06-25 ] |
|
AFAIK This was fixed a while back with some changes to the systemd bintar builder. |