systemd: reduce default service stop timeout to 5s#2395
Merged
r3claimer merged 1 commit intoROCKNIX:nextfrom Apr 1, 2026
Merged
systemd: reduce default service stop timeout to 5s#2395r3claimer merged 1 commit intoROCKNIX:nextfrom
r3claimer merged 1 commit intoROCKNIX:nextfrom
Conversation
On ROCKNIX's read-only squashfs root, network services don't need graceful shutdown — only persistent storage sync matters. Services like iwd and systemd-resolved can hang for 90s (the systemd default) on shutdown/reboot, blocking device access during development and causing poor user experience on handheld gaming devices. Changes: - Add system.conf.d/10-shutdown-timeout.conf with DefaultTimeoutStopSec=5s and DefaultTimeoutAbortSec=5s - Add TimeoutStopSec=1s to iwd.service (matches existing pattern used by avahi, bluez, sshd, samba) - Add TimeoutStopSec=1s to systemd-resolved override Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
This is fine, usually not an issue but sometimes definitely an annoying issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Noticed during testing - this is already set for some things - this makes it consistent.
On ROCKNIX's read-only squashfs root, network services don't need graceful shutdown — only persistent storage sync matters. Services like iwd and systemd-resolved can hang for 90s (the systemd default) on shutdown/reboot, blocking device access during development and causing poor user experience on handheld gaming devices.
Changes: