]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/cryptsetup/cryptsetup-generator.c
generators: change TimeoutSec=0 to TimeoutSec=infinity
authorLennart Poettering <lennart@poettering.net>
Tue, 6 Jun 2023 07:29:51 +0000 (09:29 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 6 Jun 2023 11:38:16 +0000 (12:38 +0100)
commita9b837aa34a2d0bff1687427c66bed3b74cf0fed
tree3ea6a15ad58fcdd583d1c62d7333f4874f68a8ff
parent6f814d4f5d6ac3847bfd75914ac8608722fb3021
generators: change TimeoutSec=0 to TimeoutSec=infinity

With these settings we intend to turn off timeouts for possibly
interactive/slow commands. The officially documented way to turn off the
time-outs is to setting them to infinity. So far we set them to zero
here though.

This lead to some confusiong, for example #18224. Let's fix this by
uniformly spelling out TimeoutSec=infinity.

This doesn't change behaviour. It just makes our generated files match
what we document, without relying on historic compat support.

Fixes: #18224
14 files changed:
src/cryptsetup/cryptsetup-generator.c
src/gpt-auto-generator/gpt-auto-generator.c
src/hibernate-resume/hibernate-resume-generator.c
src/integritysetup/integritysetup-generator.c
src/shared/generator.c
test/test-fstab-generator/test-12-dev-sdx.expected/systemd-fsck-root.service
test/test-fstab-generator/test-13-label.expected/systemd-fsck-root.service
test/test-fstab-generator/test-14-uuid.expected/systemd-fsck-root.service
test/test-fstab-generator/test-15-partuuid.expected/systemd-fsck-root.service
test/test-fstab-generator/test-17-initrd-sysroot.fstab.expected/systemd-fsck-root.service
test/test-fstab-generator/test-18-options.fstab.expected/systemd-fsck-root.service
test/test-fstab-generator/test-18-options.fstab.expected/systemd-makefs@dev-sdx12.service
test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy2.service
test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy3.service