[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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: