:: [DNG] Systemd at work: rm -rf EFI
Góra strony
Delete this message
Reply to this message
Autor: Wim
Data:  
Dla: dng
Temat: [DNG] Systemd at work: rm -rf EFI
Hi all,

It seems you can delete EFI vars if you're not careful. Someone found that
executing "rm -rf --no-preserve-root /" also deleted EFI vars, turning his MSI
Notebook into a brick.

It also seems mounting these is hardcoded into systemd:

https://bbs.archlinux.org/viewtopic.php?id=207549

efibootmgr needs to write to EFI vars, it seems. Here's Poettering's answer:

https://github.com/systemd/systemd/issues/2402

Well, you've probably guessed the answer - Won't fix.


Cheers,


Wim