Bug#775076: adt-setup-vm: sets force-unsafe-io for host dpkg, not guest
- Subject: Bug#775076: adt-setup-vm: sets force-unsafe-io for host dpkg, not guest
- From: debian@kvr.at (Christian Kastner)
- Date: Sun, 11 Jan 2015 02:12:25 +0100
- Message-id: <[🔎] 54B1CDF9.3030305@kvr.at>
Source: autopkgtest
Version: 3.9
Severity: serious
Justification: Unwittingly sets dpkg force-unsafe-io on host
Tags: patch
Hi,
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.
Regards,
Christian
-------------- 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>
Reply to: