Re:Ubuntu 17.10 corrupting BIOS of many Lenovo laptop models
by helper on Wednesday December 20, 2017 @12:06PM
(#15971415)
This is in reference to the issue a few years ago where it was easy to wipe EFI vars via /sys, which would happen if you rm -rf / .[1] Wiping the EFI vars would brick your system.
[1]: https://www.phoronix.com/scan.php?page=news_item&px=UEFI-rm-...
Re:Ubuntu 17.10 corrupting BIOS of many Lenovo laptop models
by msl on Wednesday December 20, 2017 @12:04PM
(#15971395)
You used to be able (maybe still are?) to "rm" the files on a mounted efivarfs. See the relevant systemd issue ([1]).
Re:Ubuntu 17.10 corrupting BIOS of many Lenovo laptop models
by merb on Wednesday December 20, 2017 @02:48PM
(#15973060)
well windows can get write access to these aswell. (just not by using rm or any other tool to remove files by default).
I think this is a big difference and should probably be addressed. make /sys read-only and allow to write them differently with a interface where I need to call THIS_METHOD_CAN_BREAK_A_SYSTEM_IF_USED_INCORRECT_WRITE_SYS() command. but well, systemd guys will/won't do that.
Re:Ubuntu 17.10 corrupting BIOS of many Lenovo laptop models
by JdeBP on Wednesday December 20, 2017 @03:38PM
(#15973577)
It wasn't a systemd thing. The people who relate the tale as if it were a systemd thing or something that the systemd people did are ill-informed. Much as in the case of the headlined bug at hand, it was entirely a kernel thing. This was even stated outright at the time by the creator of that particular kernel mechanism.
To learn the real story, go and read https://news.ycombinator.com/item?id=11152880 where you will find Matthew Garrett xyrself participating in the discussion.
This problem is about breaking the BIOS in some way, something that you should not be able to do.