SMF service cannot be disabled
We had a system where an SMF service was stuck in offline state. The properties were showing the service as disabled but SMF was not making the transition. Killing svc.startd - which usually resolves this kind of weirdness - didn't help. I was able to reproduce the problem on another system by replicating the SMF properties exactly. This issue is down to a longtime bug in gt_enter_offline where services that have GV_ENABLED set are not sent RESTARTER_EVENT_TYPE_DISABLE even though GV_TODISABLE is set.
Updated by Electric Monk almost 2 years ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
commit 53b8aa11a4b4383655db95e7986c9d5c191e507d Author: Andrew Stormont <email@example.com> Date: 2019-10-05T10:26:00.000Z 9687 SMF service cannot be disabled Reviewed by: Dan McDonald <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Reviewed by: Gergő Mihály Doma <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com>