[arch-projects] [devtools] [PATCHv2] use nspawn to bind mount needed directories

Pierre Schmitz pierre at archlinux.de
Sun Mar 17 08:03:22 EDT 2013


Am 17.03.2013 12:33, schrieb Pierre Schmitz:
> Am 10.03.2013 20:11, schrieb Dave Reisner:
>> systemd-nspawn is capable of doing this as of systemd-198. Doing this
>> means we can remove all of our home grown chroot mount/umount logic, as
>> it's all performed by pacstrap or systemd-nspawn.
> 
> It seems nspawn is only able to bind mount one directory at a time. So
> we cannot use it here as we need to bind multiple directories.

It seems it should be able to do more than one mount, but the
implementation has a strange bug where the second host directory get's
mounted to the first mountpoint within the container etc.

-- 
Pierre Schmitz, https://pierre-schmitz.com


More information about the arch-projects mailing list