Bug#800845: autopkgtest: Add support for nested VMs
mpitt at debian.org
Mon Mar 7 09:21:37 UTC 2016
Martin Pitt [2016-03-07 9:27 +0100]:
> So I'll still look into adding pre-reboot hooks, removing the drive
> there, and writing the new udev rule into /run/ instead of /etc; this
> should address the above issues.
The attached commit does that, and I tested it in a few iterations.
However, there's still one major issue left: Despite the
"readonly=on", one can actually mount /dev/vdb1 in the VM and write
files into it! This sounds like a QEMU bug (running
1:2.5+dfsg-5ubuntu4 here), but as long as that exists this is
dangerous as this alters your pristine base images. I already tried to
add the "readonly=on" to the "device_add", but that's just an "unknown
property". Unfortunately this stuff isn't documented very well..
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the autopkgtest-devel