Skip to content

Conversation

@tkna91
Copy link
Contributor

@tkna91 tkna91 commented Oct 11, 2025

If the mount option fmask=0077 is present on the /boot partition, the following error occurs during boot.

bootctl[417]:  Mount point '/boot' which backs the random seed file is world accessible, which is a security hole!
bootctl[417]: Random seed file '/boot/loader/random-seed' is world accessible, which is a security hole!

The modified fmask=0177 is described below.

https://wiki.archlinux.org/title/Fstab#Usage

If the mount option `fmask=0077` is present on the /boot partition, the following error occurs during boot.

```
bootctl[417]:  Mount point '/boot' which backs the random seed file is world accessible, which is a security hole!
bootctl[417]: Random seed file '/boot/loader/random-seed' is world accessible, which is a security hole!
```

The modified `fmask=0177` is described below.

    https://wiki.archlinux.org/title/Fstab#Usage
@tkna91
Copy link
Contributor Author

tkna91 commented Oct 11, 2025

Sorry, it seems bootctl doesn't throw an error even with fmask=0077.
It appears the cause was my environment having fmask=0022,dmask=0022.
I'll rewrite the PR.

@tkna91 tkna91 closed this Oct 11, 2025
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

Successfully merging this pull request may close these issues.

1 participant