mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-11-30 12:14:36 -05:00
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>