set redirect=on for overlayfs unions

If redirect=on is not set a renaming a directory might return EXDEV: https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html#renaming-directories

Not all applications (e.g. Flatpak) handle this error because they do not expect that to happen. Setting this flag moves the handling for that in the kernel.

Merge request reports

Loading