Skip to content

feat(services): follow Dakota's service presets - #1249

Closed
hanthor wants to merge 2 commits into
feat/power-profiles-daemonfrom
feat/dakota-service-presets
Closed

hanthor wants to merge 2 commits into
feat/power-profiles-daemonfrom
feat/dakota-service-presets

Conversation

@hanthor

@hanthor hanthor commented Nov 16, 2026

Copy link
Copy Markdown
Member

Part 2/7 of the Dakota parity stack (epic #1236). Base: feat/power-profiles-daemon; review and merge in order.

Dakota (projectbluefin/dakota, testing) is Utah's parity target. Align the
system and user presets with what it ships:

  • sysstat collection is opt-in. Dakota's elements/bluefin/sysstat.bst writes
    80-sysstat.preset disabling sysstat.service, sysstat-collect.timer,
    sysstat-summary.timer and sysstat-rotate.timer. Utah drops the Fedora-derived
    enables, presets all four off, disables them in configure-services.sh and
    holds them in the desktop contract's disabled list. The package stays for
    on-demand sar/iostat.
  • colord.service and accounts-daemon.service are enabled, as Dakota inherits
    them from gnome-build-meta's files/systemd-presets/system-preset/80-gnome.preset.
  • speech-dispatcher.socket and xdg-desktop-portal-rewrite-launchers.service are
    globally enabled user units, from gnome-build-meta's user-preset
    80-speechd.preset and 80-xdg.preset.

Preset, configure-services.sh and contracts/bluefin-desktop.toml are wired for
every unit, with tests pinning the agreement; the desktop-contract and
factory-consumption skill docs follow.

Verified: just check passes at the stack tip (1,329 tests). An image build hasn't run yet.

hanthor and others added 2 commits November 16, 2026 00:46
Dakota (projectbluefin/dakota, gnome-build-meta core-deps) backs GNOME's
power-mode switch with power-profiles-daemon and ships neither TuneD,
tuned-ppd nor intel-lpmd. Utah now does the same:

- install power-profiles-daemon (factory import utah-packages#999) and
  enable it in the preset, configure-services.sh and the desktop contract.
  Today tuned-ppd arrives unrequested through gnome-control-center's
  `Recommends: ppd-service` (it was the only provider); PPD provides and
  conflicts with ppd-service, so requesting it keeps tuned-ppd out
- drop intel-lpmd and its enablement; thermald stays, as on Dakota
- remove the TuneD workarounds: the utah-bootc-kargs-off post-loaded
  profile (PPD has no bootloader plugin, so nothing calls bootc on a
  profile switch), the /var/log/tuned tmpfiles entry and its test
- waive tuned and tuned-ppd in baselines/triage.toml

Needs a PACKAGE_IMAGE_SHA bump to a factory publish that carries
power-profiles-daemon before the image build resolves it.

Assisted-by: Claude Opus via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Dakota (projectbluefin/dakota, testing) is Utah's parity target. Align the
system and user presets with what it ships:

- sysstat collection is opt-in. Dakota's elements/bluefin/sysstat.bst writes
  80-sysstat.preset disabling sysstat.service, sysstat-collect.timer,
  sysstat-summary.timer and sysstat-rotate.timer. Utah drops the Fedora-derived
  enables, presets all four off, disables them in configure-services.sh and
  holds them in the desktop contract's disabled list. The package stays for
  on-demand sar/iostat.
- colord.service and accounts-daemon.service are enabled, as Dakota inherits
  them from gnome-build-meta's files/systemd-presets/system-preset/80-gnome.preset.
- speech-dispatcher.socket and xdg-desktop-portal-rewrite-launchers.service are
  globally enabled user units, from gnome-build-meta's user-preset
  80-speechd.preset and 80-xdg.preset.

Preset, configure-services.sh and contracts/bluefin-desktop.toml are wired for
every unit, with tests pinning the agreement; the desktop-contract and
factory-consumption skill docs follow.

Assisted-by: Claude Opus via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danathar, hanthor

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hanthor hanthor mentioned this pull request Nov 16, 2026
1 of 30 tasks
@hivecommons-hive hivecommons-hive Bot added author/clanker A contributor's own hive authored this PR under their login no-dco A commit is missing Signed-off-by — run `git rebase --signoff` role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 16, 2026
@hivecommons-hive

hivecommons-hive Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Withdrawn: this PR is not back in your court after all. The failing checks (contract) are red on the base branch too; this change did not break them. There is nothing to fix here: the PR is back on the normal path, and the hive checks it again once the base branch is green.

@hivecommons-hive hivecommons-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act labels Nov 16, 2026

@Danathar Danathar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stand-in review (the hive's reviewers are out of quota). Approving. This brings Utah's service presets in line with Dakota.

Checked:

  • sysstat collection is now off by default, and sysstat-rotate.timer is added. That matches Dakota's elements/bluefin/sysstat.bst, whose 80-sysstat.preset disables the same four units. The package stays installed, so sar and iostat still work on demand.
  • colord and accounts-daemon are enabled, and speech-dispatcher.socket and xdg-desktop-portal-rewrite-launchers.service are enabled as user units, following gnome-build-meta's presets as Dakota ships them.
  • The preset, configure-services.sh and the contract agree, and enable/disable skip units that don't exist.
  • The testsuite's smoke and common features don't assert sysstat, colord or accounts-daemon state. startup_service_inventory.yaml already treats colord as not applicable in a VM.

Release notes: sysstat collection is opt-in now (systemctl enable --now sysstat.service). Color management, the accounts service and screen-reader speech activation are on by default.

@hanthor

hanthor commented Nov 16, 2026

Copy link
Copy Markdown
Member Author

Folded into #1248, which carries this change unchanged in one rebased series so the stack lands in a single CI cycle. Closing here; review continues on #1248.

@hanthor hanthor closed this Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. author/clanker A contributor's own hive authored this PR under their login no-dco A commit is missing Signed-off-by — run `git rebase --signoff` role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants