OpenSearch/distribution
Jason Tedor 3a827827c1 Avoid failing install if system-sysctl is masked
On Debian-based systems the install scripts are run with set -e meaning
that if there is an error in executing one of these scripts then the
script fails. If systemd-sysctl is masked then trying to restart the
systemd-sysctl service to pick up the changes to vm.max_map_count will
fail leading to the post-install script failing. Instead, we should
account for the possbility of failure here by not letting the command to
restart this service exit with non-zero status code. This commit does
this, and adds a test for this situation.

Relates #25657
2017-07-11 17:38:50 -04:00
..
bwc bwc checkout should fetch from all remotes 2017-07-07 13:39:24 +02:00
deb Remove default path settings 2017-06-26 21:43:20 -04:00
integ-test-zip Adds nodes usage API to monitor usages of actions (#24169) 2017-06-02 08:46:38 +01:00
rpm Remove default path settings 2017-06-26 21:43:20 -04:00
src/main Avoid failing install if system-sysctl is masked 2017-07-11 17:38:50 -04:00
tar Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
tools Remove import from InstallPluginCommandTests 2017-06-01 08:56:25 -04:00
zip Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
build.gradle Remove default path settings 2017-06-26 21:43:20 -04:00