-
Couldn't load subscription status.
- Fork 97
Open
Labels
Description
Checklist
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug that matches the one I want to file, without success.
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.
jazztickets, swsnr and p1gp1g