-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mount efivars read-only #134
Comments
I second the change to "ro". I had an issue with systemd mouting efivars as rw while doing an install of Fedora. The fedora installer did something during install(even though I specified that I didn't want to install a bootloader......) that left my entire efi setup was completely erased leaving me with an unbootable system. It erased my arch linux, gentoo, and windows efi files... |
Mounting read only is causing problems with fwupdate and efibootmgr. See Furthermore it's not necessary since the kernel makes efivarfs immutable. |
@superm1 Considering that many distros are still shipping 3.x kernels still(Cent OS, Debian, Zentyal, RHEL, etc), it is still a necessary precaution in OpenRC to mount them RO by default. Making it an option in OpenRC that can be changed would make more sense. |
yes, a config option / USE flag makes most sense. |
Hello!
/etc/init.d/sysfs
mountsefivars
with the same options as all the other/sys/**
filesystems. This will usually result on it being mounted read-write.But (as discussed in systemd/systemd#2402) this may not be the best choice.
Maybe when mounting
efivarsfs
we could specifyro
.What do you think?
The text was updated successfully, but these errors were encountered: