Re: [Nix-dev] -realise: mounting /proc: Operation not permitted
Hi, On 02/07/2017 02:04 PM, Marc Weber wrote: What might be causing this? Nix-daemon nix version is the same which gets activated by the command below: /nix/store/jsfa19hfkrpg39njl7msrnsgfaxjvi3c-nix-1.12pre4997_1351b0d/bin/nix-store --realise /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv/nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv these derivations will be built: /nix/store/pq24b3zvyx2fdajsy530vma0n3fgbiv1-NVIDIA-Linux-x86_64-375.26.run.drv /nix/store/msddw7c9wnjjmzwg8j9fmcm5gpgp2sgz-nvidia-x11-375.26-4.9.8.drv /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv building path(s) ‘/nix/store/r3219a23idwsvx8dw6zln2mlg34m0jdm-NVIDIA-Linux-x86_64-375.26.run’ error: while setting up the build environment: mounting /proc: Operation not permitted It may be caused by https://github.com/NixOS/nix/issues/1112. For example, I have: error: while setting up the build environment: unable to make filesystem ‘/run/user/1000/gvfs’ private: Permission denied These are not completely same errors though, so not sure. I workaround it by unmounting this filesystem, but obviously it's a bad idea to do this with `/proc`... Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] -realise: mounting /proc: Operation not permitted
Hi Marc, The chroot setup mounts a proc instance in the chroot. It should do so within a user namespace, though... Thanks, Shea Marc Weberwrites: > What might be causing this? > > Nix-daemon nix version is the same which gets activated by the command > below: > > > /nix/store/jsfa19hfkrpg39njl7msrnsgfaxjvi3c-nix-1.12pre4997_1351b0d/bin/nix-store > --realise > /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv/nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv > > these derivations will be built: > > /nix/store/pq24b3zvyx2fdajsy530vma0n3fgbiv1-NVIDIA-Linux-x86_64-375.26.run.drv > /nix/store/msddw7c9wnjjmzwg8j9fmcm5gpgp2sgz-nvidia-x11-375.26-4.9.8.drv > /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv > building path(s) > ‘/nix/store/r3219a23idwsvx8dw6zln2mlg34m0jdm-NVIDIA-Linux-x86_64-375.26.run’ > error: while setting up the build environment: mounting /proc: Operation not > permitted > > Marc Weber > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev signature.asc Description: PGP signature ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] -realise: mounting /proc: Operation not permitted
What might be causing this? Nix-daemon nix version is the same which gets activated by the command below: /nix/store/jsfa19hfkrpg39njl7msrnsgfaxjvi3c-nix-1.12pre4997_1351b0d/bin/nix-store --realise /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv/nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv these derivations will be built: /nix/store/pq24b3zvyx2fdajsy530vma0n3fgbiv1-NVIDIA-Linux-x86_64-375.26.run.drv /nix/store/msddw7c9wnjjmzwg8j9fmcm5gpgp2sgz-nvidia-x11-375.26-4.9.8.drv /nix/store/kbw4v0hm7srarljkf5idk7ahspd59lp9-system-path.drv building path(s) ‘/nix/store/r3219a23idwsvx8dw6zln2mlg34m0jdm-NVIDIA-Linux-x86_64-375.26.run’ error: while setting up the build environment: mounting /proc: Operation not permitted Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev