-
Notifications
You must be signed in to change notification settings - Fork 116
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
can you add support for openrc? #266
Comments
I suppose you are asking about a possibility to manage resources implemented as OpenRC services, as an alternative to SystemV init scripts, Upstart or Systemd. If that is the case, then adding support for that does not really depend on pcs. It is pacemaker who needs to be able to run OpenRC scripts. Then pcs should be able to manage them without significant code changes as it reads all information about resource agents from pacemaker. @kgaillot Is OpenRC supported by pacemaker? Are there any plans in this matter? Thanks. |
pcs currently executes systemd or chkconfig | commands to check the status of cluster daemons service (red hat), I was wondering if it was possible to make him run openrc rc-config and rc-service commands |
Thank you for clarification. Currently, we have no plans for adding OpenRC support into pcs. However, we will consider merging a pull request if there is one. |
this means that users of Gentoo, Alpine etc etc cannot use pcs |
this is my openrc patch! |
Hi Tom @tomjelinek , For anyone looking into this and wondering how hard it could be, feel free to check following small (~4kB) patches that worked for me with pcs-0.10.2 and pcs-0.10.7 on Gentoo. Note that on systemd version of Gentoo you don't need those patches as it behaves as any other systemd system in regards to services, other system specific patches are needed. https://github.com/OndrejHome/ondrejhome-gentoo-overlay/blob/pcs-0.10.7/sys-cluster/pcs/files/openrc-0.10.2.patch |
Hi @custom82 and @OndrejHome, Thank you for the patches. I briefly read through them and they look reasonable. Custom82 even provided tests, which is great. We are currently in a process of transitioning to autotools, which will allow us to add support for various Linux distros and their differences more easily. Therefore, I think it makes sense to postpone integrating your patches until the autotools transition is finished. Depending on how the transition proceeds, we may even integrate your patches as a part of it. We'll see once we get to that point. |
any news? |
No description provided.
The text was updated successfully, but these errors were encountered: