Bug#842091: autopkgtest-virt-qemu: better support for read-only rootfs
Package: autopkgtest
Version: 4.1
Severity: wishlist
Tags: patch
A project I'm currently working on uses a read-only root filesystem
under normal circumstances, mounting it rw only when an upgrade is
desired. This makes autopkgtest fail horribly when testing our disk
images, which is (at least mostly) addressed by the patches I've
attached here. Please consider.
Thanks,
S
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages autopkgtest depends on:
ii apt-utils 1.3.1
ii libdpkg-perl 1.18.10
ii procps 2:3.3.12-2
ii python3 3.5.1-4
ii python3-debian 0.1.29
Versions of packages autopkgtest recommends:
ii autodep8 0.8
Versions of packages autopkgtest suggests:
pn lxc <none>
pn lxd-client <none>
ii qemu-system 1:2.7+dfsg-1
ii qemu-utils 1:2.7+dfsg-1
ii schroot 1.6.10-2+b1
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-VirtSubproc-open-arbitrary-files-in-binary-mode.patch
Type: text/x-diff
Size: 1360 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20161025/17258fff/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-VirtSubproc-if-check_exec-status-is-nonzero-include-.patch
Type: text/x-diff
Size: 1116 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20161025/17258fff/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-qemu-put-the-shared-directory-in-run.patch
Type: text/x-diff
Size: 3233 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20161025/17258fff/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-virt-qemu-re-create-eofcat-on-every-boot.patch
Type: text/x-diff
Size: 3865 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20161025/17258fff/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-qemu-put-eofcat-in-an-executable-tmpfs-on-run-autopk.patch
Type: text/x-diff
Size: 2262 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20161025/17258fff/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-testbed-mount-rw-before-invoking-dpkg-apt.patch
Type: text/x-diff
Size: 2351 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20161025/17258fff/attachment-0005.patch>
Reply to: