Bug 2226908 - Systemd overrides /boot/efi partition
Summary: Systemd overrides /boot/efi partition
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: x86_64
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-07-26 23:44 UTC by edpil02
Modified: 2023-07-28 18:27 UTC (History)
8 users (show)

Fixed In Version: systemd-254-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-28 18:27:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github systemd systemd pull 28511 0 None Merged gpt-auto: skip mounting ESP if fstab for /boot/ uses the same device as discovered one 2023-07-27 08:22:56 UTC

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.


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