-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writing symlinks under /etc/systemd/system in Fedora IoT 39 apparently doesn't survive the reboot. #14
Comments
I have not tested the installation of the graphical environment, but I did test removing and adding symlinks in a F39 IoT VM on x86_64:
|
We test enabling/disabling services in openqa: https://openqa.fedoraproject.org/tests/2270264 (test details - https://pagure.io/fedora-qa/os-autoinst-distri-fedora/blob/main/f/tests/base_service_manipulation.pm ) |
Tomorrow I plan to repeat the process step-by-step, checking if and when the symlinking starts to fail. But, there could be a reason somewhere for this strange behaviour, keeping the files and discarding changes on symlinks? |
Mhhh.... Some quick test... Building "normal" symlinks (using "ln -s" command directly) appear to work, both in /etc and in /etc/systemd/system. But systemd links, like in "systemctl set-default graphical.target", disappears between reboots. |
I tried the
|
Ehm... I have a problem...
?????
|
@gabrieleturchi Is this still a problem you are experiencing? If so, could you provide the contents of the journal after you disable ModemManager and then after the reboot? |
Hi, I want to make you aware that in my case I installed Fedora 39 IoT on Raspberry Pi 4B (aarch64) using I filed a bug against systemd which was recently re-assigned to zezere [3]. Maybe @miabbott can have a look to [3]? It would be great. [1] https://discussion.fedoraproject.org/t/fedora-39-iot-edition-systemctl-enable-rpm-ostreed-automatic-timer-disabled-after-reboot/101194 |
Thanks for the ping, @wurstsemmel The comment from Zbigniew on the linked BZ is a good hint that gives us more to investigate:
So it may be that the A good experiment would be to (Possibly related fedora-iot/zezere#137; it's about spamming the journal, but I think the root cause is |
This seems to only affect the disk images produced in |
@paulwhalen I used the
It looks like I cannot use |
@miabbott Thanks for the good idea. Identify and
Enable the timer:
Reboot. Verify that
I cannot find any entry for
Unfortunately the timer is disabled again after reboot although The hint that the issue is related to the type of image ( |
@runcom Is this possibly related to the ignition firstboot kernel options we add to IoT disk images in osbuild? |
I believe I confirmed @achilleas-k suspicion. I used Also, like the others, I was using fedora-iot 39 aarch64 (on a raspberry pi 3) running on an sd card created with arm-image-installer. |
Right, good, so do they need to be removed after first boot somehow? |
iot is very likely messing up with https://github.com/fedora-iot/ignition-edge/blob/main/systemd/ignition-firstboot-complete.service and https://github.com/osbuild/osbuild/blob/main/stages/org.osbuild.grub2#L285 (notice, I don't think iot is using the files/services I linked but that's the way to enable and then disable ignition on first boot and if iot isn't doing that, it's probably just missing them or they're wrong somehow) |
Removing |
FYI i ran into the same issue. I installed Fedora IoT 39 (freshly) on a raspberrypi 4. I also used
I removed the kargs via
If you're using ansible, you can use this in your playbook:
What is the issue to follow to get notified once the root cause is resolved? Is it https://bugzilla.redhat.com/show_bug.cgi?id=2259451? |
I hit this too when I tried to install tailscale on one of my SBCs. Thanks for the community that have a solution already. |
Same on Fedora IOT 41 |
(Migrated from coreos/fedora-coreos-tracker#1615 -> https://pagure.io/fedora-iot/issue/53 -> to here)
Oringally reported by @gabrieleturchi
Describe the bug
Apparently any symlink created or removed under /etc/systemd/system (like "systemctl disable ModemManager" or "systemctl set-default graphical.target" - I haven't checked under other /etc folders) is not kept for the next reboot.
Creating a file (like a new service) works. I'm pretty sure that worked well under Fedora IoT 38.
My current workaround in fact is to make a service who force the right target and usind predefined services configuration to enable my new services.
Of course I installed xfce before to run “systemctl set-default graphical.target”.
GT
Reproduction steps
Expected behavior
Graphical environment running at boot
Actual behavior
multi-user text environment running at boot
System details
Raspberry Pi 3
The text was updated successfully, but these errors were encountered: