Bug 2348402 - Symlinks under /etc/systemd/system don't persist between reboots in Fedora IoT
Summary: Symlinks under /etc/systemd/system don't persist between reboots in Fedora IoT
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-release
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/fedora-iot/iot-dis...
Whiteboard: AcceptedFreezeException
Depends On:
Blocks: F42BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2025-02-26 14:42 UTC by djachimo
Modified: 2025-03-06 04:20 UTC (History)
12 users (show)

Fixed In Version: fedora-release-41-31 fedora-release-42-0.21
Clone Of:
Environment:
Last Closed: 2025-03-06 04:20:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description djachimo 2025-02-26 14:42:48 UTC
When using Fedora IoT raw images any symlinks created under /etc/systemd/system do not survive system reboots. The symlink is not present after the system is rebooted. 

Fedora IoT iso images appear to function as intended.

Reproducible: Always

Steps to Reproduce:
1. sudo systemctl set-default graphical.target
2. sudo systemctl reboot
3. ls -l /etc/systemd/system/default.target
Actual Results:  
No symlink exists at /etc/systemd/system/default.target.

Expected Results:  
lrwxrwxrwx. 1 root root 40 Nov 17 16:59 /etc/systemd/system/default.target -> /usr/lib/systemd/system/graphical.target

Enabling the ignition-firstboot-complete.service and the coreos-ignition-write-issues.service rectifies this issue.

* Does the service require post-rpm-installation configuration in order to be useful (for example, does it need manual edits to a configuration file)?

No, it does not.

* Does the service listen on a network socket for connections originating on a separate physical or virtual machine?

No, it does not.

* Is the service non-persistent (i.e. run once at startup and exit)?

Yes.

* What is the exact name (or names) of the systemd unit files to be enabled?

ignition-firstboot-complete.service
coreos-ignition-write-issues.service

* Is this request for all Fedora deliverables or only for some Editions (list them)?

Only Fedora IoT, specifically versions 41 and newer.

Comment 2 Stephen Gallagher 2025-02-28 15:14:12 UTC
Things look good here. I'll merge the MRs and get them built.

Comment 3 Fedora Update System 2025-02-28 15:35:52 UTC
FEDORA-2025-c4345fed76 (fedora-release-41-31) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c4345fed76

Comment 4 Fedora Update System 2025-02-28 15:35:55 UTC
FEDORA-2025-8ebf68a4a2 (fedora-release-42-0.21) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-8ebf68a4a2

Comment 5 Fedora Update System 2025-03-01 01:54:46 UTC
FEDORA-2025-8ebf68a4a2 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-8ebf68a4a2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-8ebf68a4a2

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

Comment 6 Fedora Update System 2025-03-01 03:12:00 UTC
FEDORA-2025-c4345fed76 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-c4345fed76`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c4345fed76

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

Comment 7 Fedora Update System 2025-03-02 02:19:39 UTC
FEDORA-2025-c4345fed76 (fedora-release-41-31) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 djachimo 2025-03-04 15:12:31 UTC
Reopening and proposing as a freeze exception for Fedora 42 Beta

Comment 9 Fedora Blocker Bugs Application 2025-03-04 15:14:10 UTC
Proposed as a Freeze Exception for 42-beta by Fedora user djachimo using the blocker tracking app because:

 Proposing as a freeze exception for Fedora 42 beta, we would really appreciate it being included so IoT users can use ignition to set up their devices.

Comment 10 Adam Williamson (Red Hat non-Fedora) 2025-03-05 18:53:36 UTC
+3 in https://pagure.io/fedora-qa/blocker-review/issue/1779 , marking accepted.

Comment 11 Fedora Update System 2025-03-06 04:20:56 UTC
FEDORA-2025-8ebf68a4a2 (fedora-release-42-0.21) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


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