Hello,   When a service fails but is auto restarted by systemd due to Restart= 
it still goes through “failed” state before entering “activating" state. 
For example this is ActiveState and SubState of a service that when running 
fails three times before it fails to be restarted due to StartLimitBurst=, as 
reported by org.freedesktop.DBus.Propertie signal.   active      running  
failed      failed  activating  auto-restart  inactive    dead  active      
running  failed      failed  activating  auto-restart  inactive    dead  active 
     running  failed      failed  activating  auto-restart  inactive    dead  
failed      failed   I was reading the following documentation and I thought 
that service will enter “failed” state only after it can’t be restarted 
anymore:  www.freedesktop.org www.freedesktop.org   “Note that service restart 
is subject to unit start rate limiting configured with StartLimitIntervalSec= 
and StartLimitBurst=, see systemd.unit(5)  for details. A restarted service 
enters the failed state only after the start limits are reached."   So I 
would assume there would be only one "failed" right at the end.   Do I 
understand this sentence wrong?   Przemyslaw

Reply via email to