Bug#775076: adt-setup-vm: sets force-unsafe-io for host dpkg, not guest

Christian Kastner debian at kvr.at
Sun Jan 11 01:12:25 UTC 2015

Source: autopkgtest
Version: 3.9
Severity: serious
Justification: Unwittingly sets dpkg force-unsafe-io on host
Tags: patch


adt-setup-vm creates /etc/dpkg/dpkg.cfg.d/autopkgtest on the host,
instead of in the guest, because the path is missing the $root prefix
pointing to the directory where the guest's root is mounted.

This is very unfortunate, as that file sets force-unsafe-io for dpkg,
so this puts the host at risk to data loss.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: adt-setup-vm-Modify-guest-s-dpkg-config-not-host-s.patch
Type: text/x-patch
Size: 1004 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20150111/48a631e6/attachment.bin>

More information about the autopkgtest-devel mailing list