Bug 2226908

Summary: Systemd overrides /boot/efi partition
Product: [Fedora] Fedora Reporter: edpil02
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedoraproject, filbranden, lnykryn, msekleta, ryncsn, systemd-maint, yuwatana, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: systemd-254-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-28 18:27:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description edpil02 2023-07-26 23:44:17 UTC
I made a no grub2 rawhide install with systemd-boot on /boot/efi and uki kernels installed  "with dracut --uefi *".
Everything was fine before. 

But after systemd update, /boot/efi is not used anymore, in place,a /efi partiion is created and used ,  when uki kernels are used,i get a loading error at boot and go back bios config.
The issue is related to  systemd  efi.automount.

Downgrade to systemd-253.5-6.fc39 solves the issue.

      

Reproducible: Always

Actual Results:  
Get rid of fstab line  : UUID=5EB9-282C /boot/efi vfat    umask=0077,shortname=winnt 0 2
then create and use /efi


Expected Results:  
Keep my /boot/efi  fstab  config path

Comment 1 edpil02 2023-07-27 06:19:06 UTC
Seems to be related to : 
https://github.com/systemd/systemd/pull/28511

Comment 2 Zbigniew Jędrzejewski-Szmek 2023-07-27 08:22:57 UTC
Right, it sounds like #28511 should resolve the issue.

Comment 3 Fedora Update System 2023-07-28 11:49:27 UTC
FEDORA-2023-c17d79a147 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c17d79a147

Comment 4 Fedora Update System 2023-07-28 18:27:04 UTC
FEDORA-2023-c17d79a147 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.