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

Reload doesn't work on Ubuntu & Fedora #296

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

skypodolsky
Copy link

@skypodolsky skypodolsky commented Sep 20, 2023

This patch introduces two fixes for Fedora and Ubuntu distributives to make the reload functionality work.

In general, this resolves the issues with false umounts. For Fedora, it was seen that the umount of the '.' directory took place during operation. There were no results in finding the exact instance that does it and why, but it doesn't look okay for regular operation. Hence, the code was corrected to accept only absolute paths instead of absolute + relative (as in this situation).

For Ubuntu the problem was different. Additional mount points were created for the root volume, which caused false umount handling in the driver. To fix that, we now check the vfsmount pointers to ensure we are dealing with the initial root volume.

Closes #292

@skypodolsky skypodolsky changed the title Reload doesn't work ubuntu fedora Reload doesn't work on Ubuntu & Fedora Sep 21, 2023
@skypodolsky skypodolsky merged commit 74ac70c into master Sep 21, 2023
33 checks passed
@skypodolsky skypodolsky deleted the fix/292-reload-doesnt-work-ubuntu-fedora branch September 21, 2023 09:25
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.

Snapshot reload doesn't work after reboot on some Fedora and Ubuntu distros
3 participants