Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount & fuse3: unknown options #1414

Open
jullanggit opened this issue Feb 19, 2025 · 5 comments
Open

Mount & fuse3: unknown options #1414

jullanggit opened this issue Feb 19, 2025 · 5 comments
Labels
S-triage Status: Waiting for a maintainer to triage this issue/PR

Comments

@jullanggit
Copy link
Contributor

System

  • arch linux (6.13.3)
  • rustic-rs commit d1b11f9 (v0.9.5)
  • fuse3 v3.16.2

Issue

When trying to use mount, I get the following error from fuse:

fuse: unknown option(s): `-o  allow_other,kernel_cache'

With --exclusive, I still get the error:

fuse: unknown option(s): `-o  fsname=rusticfs:178b8851,kernel_cache'

For some reason, fuse doesn't seem to know any options, even stuff like debug doesn't get accepted. I'm not sure if this is an issue with rustic or my system, either way, any help would be very welcome.

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label Feb 19, 2025
@kapitainsky
Copy link
Contributor

Not sure if it solves all issues but allow_other has to be enabled first.

  1. Open the file /etc/fuse.conf in a text editor
  2. Change the line that says user_allow_other . I think by default it is commented out and all you need to enable it is remove the comment at the start of the line.

Try again

@jullanggit
Copy link
Contributor Author

Thank you for the tip, but that sadly doesn't help. I run rustic as root, could that be the issue?

@aawsome
Copy link
Member

aawsome commented Feb 20, 2025

IIRC this is an issue when using fuse3 in combination with rustic. @jullanggit are you self-compiling? In any case you should try to use libfuse.so instead of libfuse3.so.

#1366 might solve the issue with fuse3.

@aawsome aawsome changed the title Mount: unknown options Mount & fuse3: unknown options Feb 20, 2025
@jullanggit
Copy link
Contributor Author

Yes, I'm compiling from source (cargo install -F mimalloc,mount --git https://github.com/rustic-rs/rustic rustic-rs). When linking with fuse (RUSTFLAGS="-L /usr/lib -lfuse"), I no longer get the errors, but the mount-point specified under the [mount] section remains empty. (running the mount command (for listing mounts) also doesn't show it, but I'm not sure if that's normal with fuse)

@jullanggit
Copy link
Contributor Author

I would also be open to work on #1366, but I would need some guidance for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-triage Status: Waiting for a maintainer to triage this issue/PR
Projects
None yet
Development

No branches or pull requests

3 participants