OpenSearch/docs/reference
Christian Hofstaedtler c3ec6a1714 Honor masking of systemd-sysctl.service
During package install on systemd-based systems, some sysctl settings
should be set (e.g. vm.max_map_count).

In some environments, changing sysctl settings plainly does not work;
previously a global environment variable named
ES_SKIP_SET_KERNEL_PARAMETERS was introduced to skip calling sysctl, but
this causes trouble for:
 - configuration management systems, which usually cannot apply an env
   var when running a package manager
 - package upgrades, which will not have the env var set any more, and
   thus leaving the package management system in a bad state (possibly
   half-way upgraded, can be very hard to recover)

This removes the env var again and instead of calling systemd-sysctl
manually, tells systemd to restart the wrapper unit - which itself can
be masked by system administrators or management tools if it is known
that sysctl does not work in a given environment.

The restart is not silent on systems in their default configuration, but
is ignored if the unit is masked.

Relates #24234
2017-06-06 10:44:41 -04:00
..
aggregations [DOCS] Clarify behaviour of scripted-metric arg with empty parent buckets 2017-06-02 11:00:27 +01:00
analysis Add missing link for the WordDelimiterGraphFilter 2017-04-28 17:12:38 +02:00
cat CONSOLEify remaining _cat docs 2017-05-03 20:59:27 -04:00
cluster Adds nodes usage API to monitor usages of actions (#24169) 2017-06-02 08:46:38 +01:00
docs Fix link to perl docs (#24842) 2017-05-24 11:43:54 +02:00
how-to Docs: More search speed advices. (#24802) 2017-06-01 17:23:22 +02:00
images Docs: clarify calculation of sigma and lambda in function_score (#20267) 2016-09-02 14:41:07 +02:00
index-modules Docs: More search speed advices. (#24802) 2017-06-01 17:23:22 +02:00
indices Remove comma-separated feature parsing for GetIndicesAction 2017-06-02 14:43:38 -06:00
ingest add `exclude_keys` option to KeyValueProcessor (#24876) 2017-06-05 14:12:48 -07:00
mapping Reorganize docs of global ordinals. (#24982) 2017-06-01 16:47:44 +02:00
migration Expand index expressions against indices only when managing aliases (#23997) 2017-06-06 11:01:38 +02:00
modules [DOCS] Clarify connections and gateway nodes selection in cross cluster search docs (#24859) 2017-06-02 11:13:47 +02:00
query-dsl Add missing word to terms-query.asciidoc (#24960) 2017-05-30 09:42:07 -04:00
release-notes Added release notes for 6.0.0-alpha2 2017-06-06 11:52:18 +02:00
search Tiny correction in inner-hits.asciidoc (#25066) 2017-06-06 13:26:37 +02:00
setup Honor masking of systemd-sysctl.service 2017-06-06 10:44:41 -04:00
testing Docs: Replace deprecated pluginList with Arrays.asList (#24270) 2017-04-24 13:30:37 +02:00
aggregations.asciidoc Update aggregation.asciidoc (#24042) 2017-04-11 09:02:38 -04:00
analysis.asciidoc Add the ability to set an analyzer on keyword fields. (#21919) 2016-12-30 09:36:10 +01:00
api-conventions.asciidoc Docs: Specify that byte units use powers of 1024 (#23574) 2017-03-16 12:39:45 -04:00
cat.asciidoc [DOCS] Fixed various typos in the 'cat APIs' section (#23216) 2017-02-16 20:41:42 +01:00
cluster.asciidoc Convert more docs to CONSOLE 2016-09-21 09:36:21 -04:00
docs.asciidoc Inclusion of link to Multi Delete (#22619) 2017-01-16 12:58:59 +01:00
getting-started.asciidoc Add primary term to doc write response 2017-04-19 14:44:22 -04:00
glossary.asciidoc Improve glossary to not refer to types as "like a table" (#17704) 2016-04-13 14:29:47 +02:00
how-to.asciidoc Correct grammar in list in how-to docs 2017-01-17 20:57:22 -05:00
index-modules.asciidoc Add a cluster block that allows to delete indices that are read-only (#24678) 2017-05-16 17:34:37 +02:00
index.asciidoc [DOCS] Added Painless Language Spec content 2017-05-16 12:46:56 -07:00
indices.asciidoc Remove shadow replicas 2017-04-11 11:26:26 -06:00
ingest.asciidoc Renamed all AUTOSENSE snippets to CONSOLE (#18210) 2016-05-09 15:42:23 +02:00
mapping.asciidoc Only allow one type on 7.0 indices (#24317) 2017-04-27 08:43:20 +02:00
modules.asciidoc Docs: Cross-cluster search doc wasn't being included 2017-01-18 10:02:51 +01:00
query-dsl.asciidoc Fixed broken xrefs to query-dsl-not-query, which has been removed. 2015-10-20 13:01:37 -07:00
redirects.asciidoc [DOCS] Added Painless Language Spec content 2017-05-16 12:46:56 -07:00
release-notes.asciidoc Added release notes for 6.0.0-alpha2 2017-06-06 11:52:18 +02:00
search.asciidoc Include missing field-caps docs in search 2017-04-18 10:31:35 +02:00
setup.asciidoc Docs: Add setup section for the keystore tool and secure settings (#22838) 2017-01-30 14:56:45 -08:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00