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

Allow systemd-fstab-generator read all symlinks #1904

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Oct 19, 2023

The fstab-generator canonicalizes paths before creating a mount unit,
so it needs to be able to read all symlinks.
This is required in ostree systems which have /home as a symlink to
/var/home.

Resolves: rhbz#2244878

The fstab generator uses the access() syscall to /sys with W_OK to check
if the system is running in a container, but the directory has the 0555
mode so the DAC_OVERRIDE capability is required.

Resolves: rhbz#2244994
The fstab-generator canonicalizes paths before creating a mount unit,
so it needs to be able to read all symlinks.
This is required in ostree systems which have /home as a symlink to
/var/home.

Resolves: rhbz#2244878
@zpytela zpytela merged commit e84f7fe into fedora-selinux:rawhide Oct 19, 2023
7 checks passed
@zpytela zpytela deleted the fstab-gen branch October 19, 2023 15:35
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