Open
Description
The timeout extension mechanism was added in systemd version 238. However, some Elasticsearch supported OSes have systemd versions older than this. sd_notify
happily accepts any environment variables; it only fails if the underlying socket cannot be written to. This means on those older systems, we send timeout extensions into a black hole, they are silently ignored.
We should proactively detect the systemd version and warn that it is too old and the timeouts will not work, so the user should extend the service timeout themselves if necessary.