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

Fix unmounts on newer devices #38

Conversation

jjkola
Copy link
Collaborator

@jjkola jjkola commented Sep 28, 2024

Fixes #33.

Get rid of lazy unmounting as it should be used only as a last resort. Also, don't use force on bind mounts as it may cause problems with some kernel versions by causing transportation endpoint missing errors.

Jyrki Jaakkola added 2 commits September 28, 2024 19:59
as we have checks for existence of the mount point. Thus error message
would be for a real error situation in which case it should be visible.
Normal unmount should suffice, and don't use force for bind mounts,
it can cause problems with newer kernels by unmounting the underlying
transport channel thus causing other mount points which use the same
device to fail.
@YasserNull YasserNull merged commit 369f15e into Magisk-Modules-Alt-Repo:release/v1.1 Sep 28, 2024
@jjkola jjkola changed the title Fix/unmounts on newer devices Fix unmounts on newer devices Sep 28, 2024
@jjkola jjkola deleted the fix/unmounts_on_newer_devices branch September 28, 2024 18:23
@jjkola jjkola linked an issue Sep 29, 2024 that may be closed by this pull request
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.

Inaccessible userdata after using chroot-distro
2 participants