Skip to content

fuse: use fuse3 as default. #150502

@YellowOnion

Description

@YellowOnion

Describe the bug:

fuse3 has a bunch of updates that whitelist various file systems, exfat, bcachefs, etc.

nix-shell -p '(gocryptfs.override {fuse=fuse3;}).overrideAttrs (attrs: {propagatedBuildInputs = attrs.propagatedBuildInputs ++ [fuse3];})' fuse3

[nix-shell:~]$ gocryptfs ~/danie/Documents/crypt/ ~/crypt
Password: 
Decrypting master key
/run/wrappers/bin/fusermount: mounting over filesystem type 0xca451a4e is forbidden
fs.Mount failed: fusermount exited with code 256

fusermount is hardcoded here: https://github.com/hanwen/go-fuse/blob/3ab5d95a30ae25019bf030a2bab076dba61c27da/fuse/mount_linux.go#L219

but nixos packages fuse3 as fusermount3

Maybe it's time to make fuse3 the "default" as it's 4 years old, and fuse2 should explicitly provide fusermount2

Notify maintainers

@primeos

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions