Control: fixed -1 249.3-4 Am 29.08.21 um 12:31 schrieb shilin.alek...@gmail.com:
Package: systemd-container Version: 247.3-6Hi, machinectl seems to always fail when trying to bind mount a directory into a container. Steps to reproduce: 1. sudo deboostrap bullseye /var/lib/machines/test 2. sudo systemd-nspawn -M test 3. Set root password, install dbus… 4. sudo systemd-nspawn -bM test 5. sudo machinectl bind test /path/to/some/dir --mkdirThe last command reliably fails with error message:Failed to bind mount: Failed to mount: No such file or directoryThere is also an error message in systemd journal:авг 29 13:24:33 lenovo [18009]: Failed to mount /run/host/incoming/5Ok22y (type n/a) on <path> (MS_MOVE ""): No such file or directoryIt doesn't depend on whether the target directory exists or not.Bind mounts using --bind=… systemd-nspawn option work as expected.
This seems to work fine with 249.3-4 from experimental. So marking as fixed for that version.If you are interested in seeing this fixed in bullseye, it would be great if you can run git bisect to find the commit that fixed it.
If it's reasonable enough, we might consider backporting it. Regards, Michael
OpenPGP_signature
Description: OpenPGP digital signature