Nix #219 (29 Mar)

"cannot set up a private mount namespace"

Eelco Dolstra commented:

This is caused by the recently enabled support for cgroups in NixOS (r26112). When the cgroup filesystem is mounted on /dev/cgroup, then every time we do a chroot build, a directory /dev/cgroup/ is created (why?), which is not cleaned up when the process exits (why?), though it appears to be cleaned up "eventually" (most machines do not appear to have /dev/cgroup entries older than a few days). So when the PID wraps around, and a chroot build has the same PID as a previous one, the unshare(CLONE_NEWNS) call will fail with EEXIST.

-- 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