On Okt 02 2017, Stefan Seyfried <stefan.seyfried(a)googlemail.com> wrote:
Yes, the build result is extracted from the worker via
the swap volume (after finishing, the build process writes the
results into the swap device inside the VM, then the obsworker extracts them from
"outside" the VM).
The reason for this is (at least I believe so), that the process is file system agnostic
(you could in theory run a
totally new VM with a fancy file system for building on a pretty old host with a kernel
that does not understand that
file system) and you don't have to mess around with loop devices, partitioning etc.
The main reason is security. Trying to mount a filesystem that was
written to by the VM is insecure.
Andreas Schwab, SUSE Labs, schwab(a)suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org