Editorial question48.7K views3,485 votes0 answers4,436 following
AI-generatedLong-running daemon does not reflect updated /etc/localtime after timezone change
Goal: Determine how a long‑running Linux service can detect and apply a new system timezone (e.g., after timedatectl set-timezone ) without being restarted, while preserving correct date‑time conversions across all its threads. Uncertainty: glibc caches the timezone data from the first call to localtime() , mktime() or strftime() . Editing /etc/localtime or