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

Adding /etc/rc.d/init.d/functions to the init script when present to … #22985

Merged
merged 13 commits into from
Aug 15, 2020

Conversation

aaronmaxlevy
Copy link
Contributor

…improve integration with systemd on systemd-based distros. See #22255

Closes #22255

…improve integration with systemd on systemd-based distros. See elastic#22255
@elasticmachine
Copy link
Contributor

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@kobelb
Copy link
Contributor

kobelb commented Sep 18, 2018

Jenkins, test this

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@Bargs Bargs added the Team:Operations Team label for Operations Team label Sep 25, 2018
Copy link
Member

@mistic mistic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @aaronmaxlevy. This looks fine to me. However, Isn't /lib/lsb/init-functions the equivalent for deb and also /etc/rc.status mandatory for the openSuse RPM compatibility (maybe you have some thoughts here @jbudz )?

@aaronmaxlevy
Copy link
Contributor Author

@mistic Fair point. I was only thinking about this from the RHEL standpoint but I'll add support for Debian and SUSE also.

@aaronmaxlevy
Copy link
Contributor Author

@mistic I've added support for Debian and SUSE as requested. Let me know your thoughts when you get a chance :) Thanks!

Copy link
Member

@mistic mistic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aaronmaxlevy thanks for help! LGTM right now.

@aaronmaxlevy
Copy link
Contributor Author

@jbudz @tylersmalley Forgive my ignorance as I've not contributed to Kibana before, but I'm assuming both of you would need to approve this in order for it to get merged (in addition to the approval from @mistic ) ? If so, what is the general turnaround time for getting those reviews done?

Thanks!

@aaronmaxlevy
Copy link
Contributor Author

@tylersmalley @jbudz any updates on this? Thanks!

@elasticmachine
Copy link
Contributor

💔 Build Failed

@aaronmaxlevy
Copy link
Contributor Author

Hmm, the Jenkins build of this failed with "FATAL: java.io.IOException: java.nio.file.NoSuchFileException: /var/lib/jenkins/workspace/elastic+kibana+pull-request/kibana/.ci/jobs.yml"

That doesn't seem like something related to this PR unless I am missing something? Would it be possible to get it to attempt a rebuild?

@aaronmaxlevy
Copy link
Contributor Author

@tylersmalley @jbudz looks like the issue was that you guys updated your CI stuff since I created this PR. I've since rebased my PR off of master and so ".ci/jobs.yml" should now be present and the Jenkins build should theoretically pass now.

@aaronmaxlevy
Copy link
Contributor Author

Any updates on this?

@mistic
Copy link
Member

mistic commented Jun 28, 2019

@aaronmaxlevy could you please merge the last master on that branch so we can move on with that PR?

@elasticmachine
Copy link
Contributor

💔 Build Failed

@aaronmaxlevy aaronmaxlevy requested a review from a team as a code owner September 26, 2019 03:12
@aaronmaxlevy
Copy link
Contributor Author

@mistic I merged latest to my branch as requested.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mistic mistic added release_note:enhancement release_note:skip Skip the PR/issue when compiling release notes labels Sep 30, 2019
@aaronmaxlevy
Copy link
Contributor Author

@mistic and @jbudz is there any update on this? This has been open for two years at this point, which is a long time for a change that is this simple.

@mistic
Copy link
Member

mistic commented Aug 5, 2020

@elasticmachine merge upstream

@mistic
Copy link
Member

mistic commented Aug 5, 2020

Jenkins, test this

@mistic mistic removed the v7.9.1 label Aug 5, 2020
@aaronmaxlevy
Copy link
Contributor Author

@mistic Can this PR be merged now, since tests have passed?

@mistic
Copy link
Member

mistic commented Aug 12, 2020

@elasticmachine merge upstream

@aaronmaxlevy
Copy link
Contributor Author

@mistic What else is needed before this can be merged (if anything)? Thanks!

@mistic

This comment has been minimized.

@mistic
Copy link
Member

mistic commented Aug 14, 2020

@aaronmaxlevy I'll let the CI run for a last time and then merge it

@mistic
Copy link
Member

mistic commented Aug 14, 2020

@elasticmachine merge upstream

@mistic

This comment has been minimized.

@mistic

This comment has been minimized.

@mistic
Copy link
Member

mistic commented Aug 14, 2020

@elasticmachine merge upstream

@mistic
Copy link
Member

mistic commented Aug 14, 2020

Jenkins test this

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mistic mistic merged commit 9760498 into elastic:master Aug 15, 2020
@mistic
Copy link
Member

mistic commented Aug 15, 2020

7.x: 096d65f

mistic added a commit to mistic/kibana that referenced this pull request Aug 15, 2020
elastic#22985)

* Adding /etc/rc.d/init.d/functions to the init script when present to improve integration with systemd on systemd-based distros. See elastic#22255

* Adding SysV Init Functions for Debian and SUSE distros

* Adding /etc/rc.d/init.d/functions to the init script when present to improve integration with systemd on systemd-based distros. See elastic#22255

* Adding SysV Init Functions for Debian and SUSE distros

* docs(NA): include a comment to explain the change

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
mistic added a commit that referenced this pull request Aug 15, 2020
#22985) (#75111)

* Adding /etc/rc.d/init.d/functions to the init script when present to improve integration with systemd on systemd-based distros. See #22255

* Adding SysV Init Functions for Debian and SUSE distros

* Adding /etc/rc.d/init.d/functions to the init script when present to improve integration with systemd on systemd-based distros. See #22255

* Adding SysV Init Functions for Debian and SUSE distros

* docs(NA): include a comment to explain the change

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>

Co-authored-by: Aaron Levy <aaronmaxlevy@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Aug 17, 2020
* master: (24 commits)
  [ML] Functional tests - skip regression and classification tests
  [Ingest Manager] fix removing ingest pipelines from elasticsearch (elastic#75092)
  move tests for placeholder indices to setup (elastic#75096)
  [jest] temporarily extend default test timeout (elastic#75118)
  [cli] remove reference to removed --optimize flag (elastic#75083)
  skip flaky suite (elastic#75044)
  Adding /etc/rc.d/init.d/functions to the init script when present to … (elastic#22985)
  [jenkins] add pipeline for hourly security solution cypress tests (elastic#75087)
  [Reporting/Flaky Test] Skip test for paging list of reports (elastic#75075)
  remove .kbn-optimizer-cache upload (elastic#75086)
  skip flaky suite (elastic#74814)
  Actions add proxy support (elastic#74289)
  [ILM] TS conversion of Edit policy components (elastic#74747)
  [Resolver] simulator tests select elements directly instead of using descendant selectors. (elastic#75058)
  [Enterprise Search] Add Workplace Search side navigation (elastic#74894)
  [Security solution] Sourcerer: Kibana index pattern selector for security views (elastic#74706)
  [Logs UI] Remove apollo deps from log link-to routes (elastic#74502)
  [Maps] add map configurations to docker list (elastic#75035)
  [functional test][saved objects] update tests for additional copy saved objects to space (elastic#74907)
  Make the alerts plugin support generics (elastic#72716)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💝community release_note:enhancement release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kibana init scripts interoperating with systemd
7 participants