Skip to content

Add method CGroupDataModel::isAvailable

David Edmundson requested to merge work/cgroup_available into master

This returns true if the root is pointing to a valid path. The idea being that non-systemd systems won't have applications scoped correctly, nor a relevant user slice.

By communicating this we can dislpay the entry as not working in the UI.

Tested by introducing a typo in ApplicationsDataModel::setRoot on my system and confirming the relevant UI disabled

Merge request reports

Loading