Bug 2217997 - systemd-homed.service & systemd-pstore.service not enabled but in presets
Summary: systemd-homed.service & systemd-pstore.service not enabled but in presets
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-27 18:57 UTC by Timothée Ravier
Modified: 2023-07-25 14:08 UTC (History)
8 users (show)

Fixed In Version: systemd-254~rc2-4.fc39 systemd-253.7-1.fc38
Clone Of:
Environment:
Last Closed: 2023-07-17 16:36:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Timothée Ravier 2023-06-27 18:57:54 UTC
The systemd-homed.service and systemd-pstore.service are included in the preset in /usr/lib/systemd/system-preset/90-systemd.preset but they are not enabled by default on systems, excepted on Fedora CoreOS, which explicitly reset systemd configuration from the presets.

I've not checked on non-rpm-ostree based systems yet.

I suspect that this is because both service units are part of the systemd-udev sub-package that is not installed when the %post scriplet from the main systemd package runs the preset --all: https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/systemd.spec#_909

I've found this while working on preset-all for Silverblue as part of the unified core change: https://pagure.io/workstation-ostree-config/pull-request/246

Should we have those enabled on systems or do we want to keep them disabled for now?

Reproducible: Always

Comment 1 Timothée Ravier 2023-06-27 19:01:53 UTC
Reproducible on Fedora Cloud images (which are not rpm-ostree based)

Comment 2 Timothée Ravier 2023-06-27 19:15:12 UTC
Same issue for remote-cryptsetup.target

Comment 3 Zbigniew Jędrzejewski-Szmek 2023-07-17 12:48:09 UTC
I moved/added the scriptlets for systemd-portabled, systemd-homed, systemd-pstore, and remote-cryptsetup.target.

Comment 4 Fedora Update System 2023-07-17 15:10:35 UTC
FEDORA-2023-48fcc26e7d has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-48fcc26e7d

Comment 5 Fedora Update System 2023-07-17 16:36:55 UTC
FEDORA-2023-48fcc26e7d has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2023-07-17 16:58:19 UTC
FEDORA-2023-b07a6a9665 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b07a6a9665

Comment 7 Fedora Update System 2023-07-18 01:26:27 UTC
FEDORA-2023-b07a6a9665 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b07a6a9665`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b07a6a9665

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-07-19 03:14:26 UTC
FEDORA-2023-b07a6a9665 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Timothée Ravier 2023-07-25 14:08:29 UTC
Thanks!


Note You need to log in before you can comment on or make changes to this bug.