summaryrefslogtreecommitdiffstats
path: root/test/test-fstab-generator/test-20-swap-from-cmdline.expected
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-06 09:29:51 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-06-06 13:38:16 +0200
commita9b837aa34a2d0bff1687427c66bed3b74cf0fed (patch)
tree3ea6a15ad58fcdd583d1c62d7333f4874f68a8ff /test/test-fstab-generator/test-20-swap-from-cmdline.expected
parentMerge pull request #27933 from mrc0mmand/selinux (diff)
downloadsystemd-a9b837aa34a2d0bff1687427c66bed3b74cf0fed.tar.xz
systemd-a9b837aa34a2d0bff1687427c66bed3b74cf0fed.zip
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
Diffstat (limited to 'test/test-fstab-generator/test-20-swap-from-cmdline.expected')
-rw-r--r--test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy2.service2
-rw-r--r--test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy3.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy2.service b/test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy2.service
index 0911f03f62..0b0e7270ba 100644
--- a/test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy2.service
+++ b/test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy2.service
@@ -15,4 +15,4 @@ Before=shutdown.target
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/systemd/systemd-makefs swap /dev/sdy2
-TimeoutSec=0
+TimeoutSec=infinity
diff --git a/test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy3.service b/test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy3.service
index 6201fec86b..1164c99476 100644
--- a/test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy3.service
+++ b/test/test-fstab-generator/test-20-swap-from-cmdline.expected/systemd-mkswap@dev-sdy3.service
@@ -15,4 +15,4 @@ Before=shutdown.target
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/systemd/systemd-makefs swap /dev/sdy3
-TimeoutSec=0
+TimeoutSec=infinity