Files
zoneminder/distros/redhat/common
Isaac ConnorandClaude Opus 4.8 56cd1b1b62 fix: set TimeoutSec on RedHat systemd unit to prevent SIGABRT on shutdown
The RedHat unit specified no TimeoutSec, so it inherited systemd's
DefaultTimeoutStopSec. On Fedora that default is short and its global
/usr/lib/systemd/system/service.d/10-timeout-abort.conf sets
TimeoutStopFailureMode=abort, so a stop that overruns the timeout is
killed with SIGABRT and dumps core. ZoneMinder's stop path blocks in
zmpkg.pl while zmdc shuts down every capture/analysis daemon, which can
exceed a short timeout on a busy system, producing zmpkg.pl coredumps.

Set TimeoutSec=60 to match the intent of the Ubuntu unit (which uses
TimeoutSec=600) while keeping shutdown responsive.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-19 12:47:25 -04:00
..
2018-11-17 10:45:08 -06:00