Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Comments

Reload doesn't work on Ubuntu & Fedora#296

Merged
skypodolsky merged 3 commits intomasterfrom
fix/292-reload-doesnt-work-ubuntu-fedora
Sep 21, 2023
Merged

Reload doesn't work on Ubuntu & Fedora#296
skypodolsky merged 3 commits intomasterfrom
fix/292-reload-doesnt-work-ubuntu-fedora

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
@skypodolsky skypodolsky deleted the fix/292-reload-doesnt-work-ubuntu-fedora branch September 21, 2023 09:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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