diff --git a/src/sonic-ctrmgrd/ctrmgr/ctrmgrd.py b/src/sonic-ctrmgrd/ctrmgr/ctrmgrd.py index 84c23f9f0e..752c8ce82d 100755 --- a/src/sonic-ctrmgrd/ctrmgr/ctrmgrd.py +++ b/src/sonic-ctrmgrd/ctrmgr/ctrmgrd.py @@ -519,7 +519,10 @@ def handle_update(self, feat, set_owner, ct_owner, remote_state): service_restart = False if set_owner == "local": - if ct_owner != "local": + # none is a default value for current_owner when docker stop. + # It is not necessary to restart the feature again when the system + # config a new value for it. The container script will handle it. + if (ct_owner != "local") and (ct_owner != "none"): service_restart = True else: if (ct_owner != "none") and (remote_state == "pending"):