You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to use restic mount failed out of the box on Fedora Linux today, because it provides fusermount3 and not fusermount.
After symlinking /usr/local/bin/fusermount3 to /usr/bin/fusermount, Restic could succeed.
I suggest this role check for the case where fusermount is missing but fusermount3 is present. In that case add a symlink, as above.
By adding the symlink in /usr/local and not /usr/bin, it should not interfere with actual package files.
Something like the following. I could create a PR for if there's agreement:
- name: Check if fusermount is availabletags: fuseansible.builtin.command: which fusermountregister: fusermount_checkignore_errors: true
- name: Check if fusermount3 is availabletags: fuseansible.builtin.command: which fusermount3register: fusermount3_checkignore_errors: true
- name: Create symlink for fusermount3 (if it exists and fusermount does not)tags: fuse# (Return code of zero is success)when:
- fusermount_check.rc > 0
- fusermount3_check.rc == 0ansible.builtin.file:
src: /usr/bin/fusermount3dest: /usr/local/bin/fusermountstate: link
The text was updated successfully, but these errors were encountered:
Attempting to use
restic mount
failed out of the box on Fedora Linux today, because it providesfusermount3
and notfusermount
.After symlinking /usr/local/bin/fusermount3 to /usr/bin/fusermount, Restic could succeed.
I suggest this role check for the case where
fusermount
is missing butfusermount3
is present. In that case add a symlink, as above.By adding the symlink in /usr/local and not /usr/bin, it should not interfere with actual package files.
Something like the following. I could create a PR for if there's agreement:
The text was updated successfully, but these errors were encountered: