Skip to content

Commit d4ef0d3

Browse files
authored
Backport of #127061 (#127144) (#127456)
1 parent c428c19 commit d4ef0d3

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

docs/reference/release-notes/8.18.0.asciidoc

+35-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,9 @@ Vector Search::
438438

439439
Infra/Core::
440440
* Bump major version for feature migration system indices {es-pull}117243[#117243]
441-
* Permanently switch from Java SecurityManager to Entitlements. The Java SecurityManager has been deprecated since Java 17, and it is now completely disabled in Java 24. In order to retain an similar level of protection, Elasticsearch implemented its own protection mechanism, Entitlements. Starting with this version, Entitlements will permanently replace the Java SecurityManager. {es-pull}125073[#125073]
441+
* Permanently switch from Java SecurityManager to Entitlements. The Java SecurityManager has been deprecated since
442+
Java 17, and it is now completely disabled in Java 24. In order to retain a similar level of protection, {es}
443+
implemented its own protection mechanism, Entitlements. Starting with this version, Entitlements will permanently replace the Java SecurityManager. {es-pull}125073[#125073]
442444
* Update ASM 9.7 -> 9.7.1 to support JDK 24 {es-pull}118094[#118094]
443445

444446
Machine Learning::
@@ -457,3 +459,35 @@ Search::
457459
Watcher::
458460
* Script for migrating `.watches` and `.triggered_watches` indices {es-pull}120371[#120371]
459461

462+
[discrete]
463+
[[known-issues-8.18.0]]
464+
=== Known issues
465+
466+
Infra/Core::
467+
* {es} on Windows might fail to start, or might forbid some file-related operations, when referencing paths
468+
with a case different from the one stored by the filesystem. Windows treats paths as case-insensitive, but the
469+
filesystem stores them with case. Entitlements, the new security system used by {es}, treat all paths as
470+
case-sensitive, and can therefore prevent access to a path that should be accessible.
471+
+
472+
For example: If {es} is installed in `C:\ELK\elasticsearch`, and you try to launch it as
473+
`c:\elk\elasticsearch\bin\elasticsearch.bat`, you will get a `NotEntitledException` while booting. This is because
474+
{es} blocks access to `c:\elk\elasticsearch`, because does not match `C:\ELK\elasticsearch`.
475+
This issue will be fixed in a future patch release (see {es-pull}126990[#126990]).
476+
+
477+
As a workaround, make sure that all paths you specify have the same casing as the paths stored in the filesystem.
478+
Files and directory names should be entered as they appear in Windows Explorer or in a command prompt. This applies
479+
to paths specified in the command line, config files, environment variables and secure settings.
480+
481+
* Active Directory authentication is blocked by default. Entitlements, the new security system used by {es},
482+
has a policy for the `x-pack-core` module that is too restrictive, and does not allow the LDAP library used for AD
483+
authentication to perform outbound network connections. This issue will be fixed in a future patch release
484+
(see {es-pull}126992[#126992]).
485+
+
486+
As a workaround, you can temporarily patch the policy using a JVM option:
487+
488+
1. Create a file called `${ES_CONF_PATH}/jvm_options/workaround-127061.options`.
489+
2. Add the following line to the new file:
490+
+
491+
-Des.entitlements.policy.x-pack-core=dmVyc2lvbnM6CiAgLSA4LjE4LjAKICAtIDkuMC4wCnBvbGljeToKICB1bmJvdW5kaWQubGRhcHNkazoKICAgIC0gc2V0X2h0dHBzX2Nvbm5lY3Rpb25fcHJvcGVydGllcwogICAgLSBvdXRib3VuZF9uZXR3b3Jr
492+
+
493+
For information about editing your JVM settings, refer to <<set-jvm-options>>.

0 commit comments

Comments
 (0)