[Nix-dev] build-chroot-dirs mount problem

Eelco Dolstra eelco.dolstra at logicblox.com
Thu Feb 27 16:54:43 CET 2014


Hi,

On 26/02/14 23:53, Federico Sacerdoti wrote:

> 26146 lstat("/dev/shm", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=200, ...}) = 0

You're probably on a system where /dev/shm is a symlink to /run/shm or something
like that.  Nix's chroot currently cannot handle that: mounting a new tmpfs on
/dev/shm fails because the symlink target (/run/shm) doesn't exist in the chroot.

See also http://lists.gnu.org/archive/html/guix-devel/2014-01/msg00144.html.
I'll try to come up with a fix for this.

> Seems this fails because the source = "none", which doesn’t exist (ENOENT).

The "none" is fine because it's a tmpfs.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list