diff options
author | Franck Bui <fbui@suse.com> | 2024-02-07 13:41:48 +0100 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2024-02-12 09:30:35 +0100 |
commit | 8a1326581d9b066377f8d9f2d58e1bdfd8b645d0 (patch) | |
tree | ac73d753f18608180da13efdcc5deef368d64c67 /NEWS | |
parent | resolve: include interface name in org.freedesktop.resolve1 polkit checks (diff) | |
download | systemd-8a1326581d9b066377f8d9f2d58e1bdfd8b645d0.tar.xz systemd-8a1326581d9b066377f8d9f2d58e1bdfd8b645d0.zip |
gpt-auto-generator: be more defensive when checking the presence of ESP in fstab
Looking for the ESP node is useful to shortcut things but if we're told that
the node is not referenced in fstab that doesn't necessarily mean that ESP is
not mounted via fstab. Indeed the check is not reliable in all cases. Firstly
because it assumes that udev already set the symlinks up. This is not the case
for initrd-less boots. Secondly the devname of the ESP partition can be wrongly
constructed by the dissect code. For example, the approach which consists in
appending "p<partnum>" suffix to construct the partition devname from the disk
devname doesn't work for DM devices.
Hence this patch makes the logic more defensive and do not mount neither ESP
nor XBOOTLDR automatically if any path in paths that starts with /efi or /boot
exists.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions