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

Pierre Schmitz pierre at archlinux.de
Sun Mar 17 08:32:37 EDT 2013

Am 17.03.2013 13:03, schrieb Pierre Schmitz:
> 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.

Tracked it down to commit 961e4526925b7b1e1d3582f2fc9fb38035e2b5fb; so
this will get fixed in the next systemd release.

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

More information about the arch-projects mailing list