Hi,

Ludovic Courtès wrote:

>>          chrootRootDir = drvPath + ".chroot";
>> +        if (pathExists(chrootRootDir)) deletePath(chrootRootDir);
> 
> Does `deletePath ()' follow bind mounts?  Is there any risk like that?

No, that's the beauty of using per-process namespaces: the bind-mounts are only
ever visible in the builder process and its children.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to