OpenSearch/docs/reference/setup/install
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
..
check-running.asciidoc Add clusterUUID to RestMainAction output (#20503) 2016-09-15 16:25:17 +02:00
deb.asciidoc Scripting: Remove file scripts (#24627) 2017-05-17 14:42:25 -07:00
docker.asciidoc Docs: Fix typo in docker docs (#24988) 2017-05-31 13:42:47 -04:00
init-systemd.asciidoc Fixed typos (#20843) 2016-10-10 14:51:47 -06:00
key.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
next-steps.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
rpm.asciidoc Scripting: Remove file scripts (#24627) 2017-05-17 14:42:25 -07:00
skip-set-kernel-parameters.asciidoc Honor masking of systemd-sysctl.service 2017-06-06 10:44:41 -04:00
sysconfig-file.asciidoc Remove customization of ES_USER and ES_GROUP 2017-04-14 13:24:21 -06:00
systemd.asciidoc Add quiet option to disable console logging (#20422) 2016-09-13 14:08:24 +02:00
windows.asciidoc Scripting: Remove file scripts (#24627) 2017-05-17 14:42:25 -07:00
zip-targz.asciidoc Scripting: Remove file scripts (#24627) 2017-05-17 14:42:25 -07:00