Just had a bit of fun reading through the various forums/mailing-lists about this one:
https://github.com/systemd/systemd/issues/2402
It seems that Linux makes EFI variables available as a filesystem, like it does with just about everything else. That way you can use standard filesystem tools cat/rm/etc to manage them. Unfortunately it seems some hardware vendors are setting default variables, then relying on these during boot. So running an rm under / can, rather than just wiping your disk as expected, actually remove these variables and make the system completely unusable.
It's not strictly their fault, but systemd is getting a bit of flack for it because they mount efivars read/write by default and have closed the issue. Their (rather useless in my opinion) argument is basically that it's just one of many ways you can destroy a system (although I don't think many of those are permanent in hardware), and some utilities need write access to these variables to work properly. The advice is to mount the file system ro in fstab yourself.
https://github.com/systemd/systemd/issues/2402
It seems that Linux makes EFI variables available as a filesystem, like it does with just about everything else. That way you can use standard filesystem tools cat/rm/etc to manage them. Unfortunately it seems some hardware vendors are setting default variables, then relying on these during boot. So running an rm under / can, rather than just wiping your disk as expected, actually remove these variables and make the system completely unusable.
It's not strictly their fault, but systemd is getting a bit of flack for it because they mount efivars read/write by default and have closed the issue. Their (rather useless in my opinion) argument is basically that it's just one of many ways you can destroy a system (although I don't think many of those are permanent in hardware), and some utilities need write access to these variables to work properly. The advice is to mount the file system ro in fstab yourself.