Checklist
flatpak-builder version
1.2.2
Flatpak version
1.12.7
How to reproduce
- Build flatpak-builder only against fuse3, without fuse2.
- No libfuse.2.so in the system, nor fusermount.
- Starting building an application with flatpak-builder, and stop midway.
Expected Behavior
The temporary rofiles mount inside state-dir/rofiles/ should be unmounted.
Actual Behavior
flatpak-builder does not unmount the temporary rofiles mount on exit, and can't unmount it when starting a new build run.
Additional Information
Distro: Arch Linux.
Creating a fusermount symlink to fusermount3 fixes the issue, and it looks like that the unmount command in src/builder-context.c should be set as fusermount3 if only fuse3 support was enabled.
Checklist
flatpak-builder version
1.2.2
Flatpak version
1.12.7
How to reproduce
Expected Behavior
The temporary rofiles mount inside
state-dir/rofiles/should be unmounted.Actual Behavior
flatpak-builder does not unmount the temporary rofiles mount on exit, and can't unmount it when starting a new build run.
Additional Information
Distro: Arch Linux.
Creating a
fusermountsymlink tofusermount3fixes the issue, and it looks like that the unmount command insrc/builder-context.cshould be set asfusermount3if only fuse3 support was enabled.