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
Error updating nix store on NFS: removing extended attribute ‘system.nfs4_acl’ #29778
Comments
Probably caused by NixOS/nix@d798349. |
Looks like. Anything I can do? |
We can probably ignore |
Could this be made configurable? I imagine other situations may arise where users need to whitelist attributes because of an exotic setup. |
Fixes NixOS/nixpkgs#29778 Removal of this ACL breaks nix if the store resides on an NFSv 4.1 mount.
Just having the same problem on a Lustre file system:
|
Hello, |
@tobiasBora If you are willing to compile it manually, you can apply the patch supplied by phi-gamma. I've had success with that solution.
|
@knedlsepp : Thank you for the tip, but do you have any idea why this fix is not included upstream? |
I'm having this issue in nix 2.0.2, which I just built manually from source. I'm confused as to how to apply the workaround @knedlsepp mentioned (since I'm just learning how to use nix); it looks like after dropping that file (in my home directory? Or somewhere in my nix store or state directories?) I need to use nix to rebuild nix. Is that likely to work if I can't update the channels? And how would I go about doing that? EDIT: I applied the patch at #1584 by manually patching the nix source and rebuilding. Now I have a new error to solve. |
I'm having this error in Nix 2.1.3 with a CephFS filesystem:
I'd also appreciate if this were made configurable, since indiscriminately removing xattrs from files can cause problems in unusual setups. |
Is this error related #71900 ? |
Is there an easier workaround like granting the chattr rights to the user, who does the single-user-installation of |
Thank you for your contributions.
|
Still important to me. I have the same issue but with |
Still important to me. I can't install nix because of this error. Is there any workaround I can do when installing? |
Note the simple workaround of using NFSv3. (Worked when I ran into it just now.) |
Linux kernel NFS client code disables removing system.nfs4_acl xattr |
Issue description
Was about to update my nix-store a Fedora 25 workstation:
This used to work for years.
The store is located on an NFSv4 mount served over network. Its location is
~/.nix-store
, bind-mounted at login to/nix
.Steps to reproduce
Technical details
System: (NixOS:
nixos-version
, Ubuntu/Fedora:lsb_release -a
, ...)$ uname -a
Linux drift.m.i2n 4.12.11-200.fc25.x86_64 Compile glibc without -fstack-protector. #1 SMP Fri Sep 8 11:44:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Nix version: (run
nix-env --version
)$ nix-env --version
nix-env (Nix) 1.11.14
Nixpkgs version: (run
nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
)$ nix-instantiate --eval '' -A lib.nixpkgsVersion
"18.03pre114739.d0d905668c"
Sandboxing enabled: (run
grep build-use-sandbox /etc/nix/nix.conf
)Does not apply: Not NixOS.
The text was updated successfully, but these errors were encountered: