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

Impossible to configure fuse3 in NixOS #59021

Closed
kmarisa opened this issue Apr 5, 2019 · 4 comments
Closed

Impossible to configure fuse3 in NixOS #59021

kmarisa opened this issue Apr 5, 2019 · 4 comments
Assignees
Milestone

Comments

@kmarisa
Copy link

kmarisa commented Apr 5, 2019

Issue description

It is impossible to configure fuse in 18.09 because fuse looks in the nix store for the fuse.conf file and not in /etc, so environment.etc."fuse.conf" doesn't work anymore. As a result, I am unable to set the user_allow_other option, which breaks my sshfs setup.

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.30, NixOS, 18.09.2436.395a543f360 (Jellyfish)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.1.3`
 - channels(marisa): `"nixos-18.09.1819.76aafbf4bf4, nixos-unstable-19.03pre168555.ce8c2436998, nixpkgs-unstable-19.03pre168583.0710c9fc25b"`
 - channels(alice): `""`
 - channels(root): `"nixos-18.09.2436.395a543f360, unstable-19.09pre173349.07b42ccf2de"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@furrycatherder
Copy link
Contributor

#53074

@matthewbauer matthewbauer added this to the 19.03 milestone Apr 5, 2019
@matthewbauer
Copy link
Member

Usually this just requires setting sysconfdir=/etc or something like that

@kmarisa
Copy link
Author

kmarisa commented Apr 5, 2019

Where do I set that?

@matthewbauer
Copy link
Member

This is Fuse 3 right? Could you verify this fixes the issue: #59043 - I can't remember how to use fusermount

@primeos primeos self-assigned this Apr 7, 2019
primeos pushed a commit to primeos/nixpkgs that referenced this issue Apr 8, 2019
We don’t want the config file to be read only and in the Nix store.

(cherry picked from commit 5541559)
Reason: Backport a trivial fix for NixOS#59021.
@primeos primeos changed the title Impossible to configure fuse in NixOS Impossible to configure fuse3 in NixOS Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants