Skip to content

Bug: "After=wpeframework-powermanager.service" was added in services that do not use powermanager and do not need this dependency #137

@npoltorapavlo

Description

@npoltorapavlo

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):

  1. wpeframework-deviceprovisioning.service ✅
  2. wpeframework-secmanager.service ✅
  3. wpeframework-wifimetrics.service ✅
  4. wpeframework-bluetooth.service ❌
  5. wpeframework-cloudstore.service ❌
  6. wpeframework-displayinfo.service ❌
  7. wpeframework-displaysettings.service ✅
  8. wpeframework-firmwareupdate.service ❌
  9. wpeframework-frontpanel.service ✅
  10. wpeframework-hdcpprofile.service ✅
  11. wpeframework-hdmicecsink.service ✅
  12. wpeframework-hdmicecsource.service ✅
  13. wpeframework-persistentstore.service ❌
  14. wpeframework-playerinfo.service ❌
  15. wpeframework-remotecontrol.service ❌
  16. wpeframework-system.service ✅
  17. wpeframework-systemaudioplayer.service ❌
  18. wpeframework-systemmode.service ❌
  19. wpeframework-telemetry.service ✅
  20. wpeframework-voicecontrol.service ❌
  21. wpeframework-xcast.service ✅

Services that actually use powermanager:

  1. XCast (entservices-casting)
  2. Miracast (entservices-casting)
  3. Telemetry (entservices-infra)
  4. DisplaySettings (entservices-deviceanddisplay)
  5. SystemServices (entservices-deviceanddisplay)
  6. Warehouse (entservices-deviceanddisplay)
  7. HdcpProfile (entservices-inputoutput)
  8. HdmiCec_2 (entservices-inputoutput)
  9. HdmiCecSink (entservices-inputoutput)
  10. HdmiCecSource (entservices-inputoutput)
  11. FrontPanel (entservices-peripherals)
  12. DeviceBridge (rdkservices-cpc)
  13. DeviceProvisioning (rdkservices-cpc)
  14. SecManager (rdkservices-cpc)
  15. WifiMetrics (wifimetrics-cpc)

Services that do not use powermanager:

  1. PersistentStore (entservices-infra)
  2. CloudStore (entservices-infra)
  3. Bluetooth (entservices-connectivity)
  4. DisplayInfo (entservices-deviceanddisplay)
  5. SystemMode (entservices-deviceanddisplay)
  6. FirmwareUpdate (entservices-softwareupdate)
  7. PlayerInfo (entservices-mediaanddrm)
  8. SystemAudioPlayer (entservices-mediaanddrm)
  9. RemoteControl (entservices-peripherals)
  10. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions