Closed icinga-migration closed 6 years ago
Updated by mfriedrich on 2015-10-26 08:29:42 +00:00
That would probably require some detection mechanism for whether mysql or mariadb is required on systemd-based systems. Can you please provide a patch for that? :)
Updated by elpito on 2015-10-29 08:57:15 +00:00
I will have a lock on this. But, at the moment, I'm quite busy. I'm not sure at the moment, if we need a detection mechanism, but I will figure out it and then provide a patch.
Updated by elpito on 2015-11-01 20:46:15 +00:00
HI, I made the patches, but I did not test it with postgres, but I'm sure its working using postgres as ido2db database backend. I have attached to patch files, one for the systemd config and one for the RPM spec file.
Updated by mfriedrich on 2015-11-14 23:21:07 +00:00
Well, I did not mean to patch the sources from inside the rpm spec file - rather find a good way to detect that from configure/make and then replace the values accordingly. So that an rpmbuild does not need to care about extra patches but automatically gets the properly generated files.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9973
Created by elpito on 2015-08-21 07:18:49 +00:00
Assignee: elpito Status: Feedback Target Version: (none) Last Update: 2015-11-14 23:21:07 +00:00 (in Redmine)
Since fedora 19 and systemd, I had troubles starting ido2db. The problem is ido2db needs mysql or any configured DB before it starts. In my case mariadb on fedora 22. Here the changed line on ido2db.service file:
Attachments