-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Problem/Opportunity
#26 adds unwanted dependency in services, "After=wpeframework-powermanager.service", which is unrelated: for example CloudStore, PersistentStore do not use powermanager and do not need this dependency. Dependency is only needed for services that use powermanager.
From ticket, looks like the root cause of the problem is "ripple is activating System plugin." which breaks the thunder-startup-services. By not having dependencies in ripple, it is a race condition, regardless of #26 that shifts powermanager earlier among other services.
Systemd units that depend on wpeframework-powermanager.service ( ✅ dependency wanted, ❌ dependency unwanted):
- wpeframework-deviceprovisioning.service ✅
- wpeframework-secmanager.service ✅
- wpeframework-wifimetrics.service ✅
- wpeframework-bluetooth.service ❌
- wpeframework-cloudstore.service ❌
- wpeframework-displayinfo.service ❌
- wpeframework-displaysettings.service ✅
- wpeframework-firmwareupdate.service ❌
- wpeframework-frontpanel.service ✅
- wpeframework-hdcpprofile.service ✅
- wpeframework-hdmicecsink.service ✅
- wpeframework-hdmicecsource.service ✅
- wpeframework-persistentstore.service ❌
- wpeframework-playerinfo.service ❌
- wpeframework-remotecontrol.service ❌
- wpeframework-system.service ✅
- wpeframework-systemaudioplayer.service ❌
- wpeframework-systemmode.service ❌
- wpeframework-telemetry.service ✅
- wpeframework-voicecontrol.service ❌
- wpeframework-xcast.service ✅
Services that actually use powermanager:
- XCast (entservices-casting)
- Miracast (entservices-casting)
- Telemetry (entservices-infra)
- DisplaySettings (entservices-deviceanddisplay)
- SystemServices (entservices-deviceanddisplay)
- Warehouse (entservices-deviceanddisplay)
- HdcpProfile (entservices-inputoutput)
- HdmiCec_2 (entservices-inputoutput)
- HdmiCecSink (entservices-inputoutput)
- HdmiCecSource (entservices-inputoutput)
- FrontPanel (entservices-peripherals)
- DeviceBridge (rdkservices-cpc)
- DeviceProvisioning (rdkservices-cpc)
- SecManager (rdkservices-cpc)
- WifiMetrics (wifimetrics-cpc)
Services that do not use powermanager:
- PersistentStore (entservices-infra)
- CloudStore (entservices-infra)
- Bluetooth (entservices-connectivity)
- DisplayInfo (entservices-deviceanddisplay)
- SystemMode (entservices-deviceanddisplay)
- FirmwareUpdate (entservices-softwareupdate)
- PlayerInfo (entservices-mediaanddrm)
- SystemAudioPlayer (entservices-mediaanddrm)
- RemoteControl (entservices-peripherals)
- VoiceControl (entservices-peripherals, rdkservices-cpc)
Steps to reproduce
No response
Expected Behavior
Services should not have unrelated dependencies
Actual Behavior
Services have unrelated dependencies
Notes (Optional)
No response