]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: do not fail if imds is not configured
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Tue, 26 May 2026 16:22:18 +0000 (18:22 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 26 May 2026 19:36:05 +0000 (04:36 +0900)
commit0dc188e006ea95e71e3428c02e2c367f8229a595
tree7a480b187b4f88b38dc3908a166dddda81c9bcc1
parente329ef572d6cfe091da468d28efb158597bb13ed
units: do not fail if imds is not configured

In https://bugzilla.redhat.com/show_bug.cgi?id=2481466, it is reported
that systemd-imds-early-network.service fails on AWS EC2 instance with:

> No IMDS endpoint information provided or detected, cannot operate.

The service will be started on various systems where it doesn't have
enough configuration to run. The systemd-imds-generator only does some
superficial checks, so the tool should not mark the boot as failed
it turns out that IMDS is not supported.
src/imds/imdsd.c
units/systemd-imds-early-network.service.in
units/systemd-imds-import.service.in