Skip to content

Add warning about systemd version for timeouts #86476

Open
@rjernst

Description

@rjernst

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Core/Infra/CLICLI utilities, scripts, and infrastructureTeam:Core/InfraMeta label for core/infra team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions