[Nix-dev] nixos-prepare-install can't read /proc/self/stat

Rickard Nilsson rickard.nilsson at telia.com
Tue Apr 12 09:46:53 CEST 2011


 Hi,

 I'm trying to bootstrap Nixos from an existing Linux (Ubuntu) 
 environment with the nixos-prepare-install. I'm following the first 
 steps of this guide: 
 http://wiki.nixos.org/wiki/Install_NixOS_as_OpenVZ_guest

 However, after the sources has been checked out, I get the following 
 error:

 U   /mnt/etc/nixos/nixos
 Checked out revision 26787.
 INFO:  registering bootstrapping store paths as valid so that they 
 won't be rebuild
 Couldn't read /proc/self/stat
 /mnt/nix/store/nixos-prepare-install: line 167:  9876 Aborted           
      chroot "$mountPoint" 
 /nix/store/kxdbs8kvkgsgzl2am1m9dm5hcikrndwh-nix-1.0pre26015/bin/nix-store 
 --register-validity < $NIX_CLOSURE


 Has anyone else run into this problem?


 Best regards,
   Rickard Nilsson




More information about the nix-dev mailing list