Bind Mount Failures in Magisk on Some Devices - MagiskFansShare
Bind Mount Failures in Magisk on Some Devices
in Post with 0 comment

Bind mounts on overlayfs in Magisk require access to the lower layer. By default (unless override_creds=off is set), overlayfs checks if the mounter (typically init) can access files in the lower layer. If access is denied, the operation fails. On some devices, due to inaccurate OEM SELinux policies, files under /product/bin might be inaccessible to init, resulting in bind mount failures in that directory. Crucially, the Rust rewrite in Magisk immediately returns these failures instead of silently ignoring them as in previous versions. This change, while improving transparency, brought to light an issue reported in https://github.com/topjohnwu/Magisk/issues/9139.

The article has been posted for too long and comments have been automatically closed.