Skip to content
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

[FR] Mount ESP with umask 0077 #3202

Open
technobirb opened this issue Feb 25, 2025 · 0 comments
Open

[FR] Mount ESP with umask 0077 #3202

technobirb opened this issue Feb 25, 2025 · 0 comments

Comments

@technobirb
Copy link

describe the request

The ESP seems to be mounted with the default umask=0022 during installation and written into fstab by genfstab. This causes a warning at boot:

systemd[1]: Starting Update Boot Loader Random Seed...
bootctl[1897]: ! Mount point '/boot' which backs the random seed file is world accessible, which is a security hole! !
bootctl[1897]: ! Random seed file '/boot/loader/random-seed' is world accessible, which is a security hole! !
bootctl[1897]: Random seed file /boot/loader/random-seed successfully refreshed (32 bytes).

It would be better to either mount ESP with umask=0077 during installation, or generate an fstab with the option (e.g. Fedora).

p.s. genfstab also clutter the mount options with default values, but that's cosmetic...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant