Incredible find!
Took me a second but after I did export ES_JAVA_OPTS=-Xlog:attach=trace and launched again, I saw:
[2025-10-25T12:33:58,737][INFO ][org.elasticsearch.bootstrap.Elasticsearch] [] Bootstrapping Entitlements
[5.294s][debug][attach] File .attach_pid216 has wrong user id 50017 (vs 500). Attach is not triggered
You caught me as I’m about to head out the door for a trip, but this is really promising and I’ll continue investigating when I get back!