Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quattor services should support systemd on EL7 #239

Open
jouvin opened this issue Jan 21, 2016 · 3 comments
Open

Quattor services should support systemd on EL7 #239

jouvin opened this issue Jan 21, 2016 · 3 comments

Comments

@jouvin
Copy link
Contributor

jouvin commented Jan 21, 2016

The current situation with Quattor services (cdispd, listend) managed as legacy services works and there is no hurry to improve it. But I think we need at some point to provide an EL7 of these RPMs (at least) that will provide the necessary scripts for integrating with systemd instead of init.d and use them in the RPM scripts. Part of the work to be done is in the services themselves, in particular to provide a pom file doing the right thing on each platform.
But this also has a consequence on our current release packaging. This cannot be done (in a clean way at least) with our current single YUM repository per release. My suggestion would be to move to one repository per major OS version (e.g. 15.2.0/el5, 15.2.0/el6, 15.2.0/el7) and do the right thing when configuring the repo on a given machine. This is pretty easy to do/to hide in the template-library that already provides repository/config/quattor as the recommended way to configure the repo. And to build the full release independently on each platform. This solution would have the advantage not to impact the release process. And if we could even define el5 as a symlink to el6 (or the opposite) as long as these two don't diverge... (if we solve the RPM format issue).
What do you think?

@jouvin jouvin added this to the 16.4 milestone Jan 21, 2016
@stdweird
Copy link
Member

rebuilding per OS might also solve some of the rpm packaging issues. the build_all_repos script actually already creates all rpms, and we already run this on EL5, 6 and 7.

wrt systemd, if a service file is available, it will always be pereferred to the sysvinit one, so no real issue to ship them both while we resolve building per OS (but people or scripts might use e.g. /etc/init.d/abc start instead of neutral service abc start)

@stdweird stdweird modified the milestones: 16.6, 16.4 Jun 3, 2016
@jrha jrha modified the milestones: 16.10, 16.8 Aug 18, 2016
@jrha jrha removed this from the 16.10 milestone Oct 19, 2016
@ned21
Copy link
Contributor

ned21 commented Oct 26, 2017

Is the action here to open an RFE against the appropriate repositories (cdispd, cdp-listend) to include unit files as well as SysV initscripts?

@jrha
Copy link
Member

jrha commented Nov 22, 2024

I suspect this is largely complete, but will leave this open so we can verify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants