Nix #219 (29 Mar)

By Eelco Dolstra

"cannot set up a private mount namespace"

Seen once on x86_64-linux when running nix-build:

build error: cannot set up a private mount namespace: File exists

The error went away when I re-ran the same command.

The message comes from libstore/build.cc:

  if (unshare(CLONE_NEWNS) == -1)
      throw SysError(format("cannot set up a private mount namespace"));

The manpage for unshare() doesn't list EEXIST as a possible error, so I have no idea what could cause this.

-- Issue on YellowGrass -- http://yellowgrass.org --

_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to