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. |
aenertia
added a commit
to aenertia/distribution
that referenced
this pull request
Apr 3, 2026
Adopts upstream patterns: - systemd: use upstream 10-shutdown-timeout.conf filename with our aggressive 1s values (upstream merged our PR ROCKNIX#2395 with 5s defaults) - iwd/resolved: upstream adopted our TimeoutStopSec=1s - ppsspp-sa: add clock speed ES feature - scummvm: scan script moved to tools - CI: SM6115 device in selection matrix - kernel configs: upstream auto-update nert/next changes preserved: - All version bumps and SM8250 fixes intact - All mainline targets (SM8250/SM8550/SM8650/H700/S922X/RK3399/RK3566/SM6115) unified on kernel 7.0-rc5 - cgroupv2 slices, containers, wayvnc, inputplumber, rxjoy integration
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: