adt-build-lxc fails on btrfs
Bug #1392589 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
If I have an already existing container, and use btrfs, an update fails with
$ sudo LC_ALL=C adt-build-lxc ubuntu vivid
Detected apt-cacher-ng. Using local proxy http://
rm: cannot remove '/var/cache/
That's with autopkgtest 3.7.1.
Changed in autopkgtest (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package autopkgtest - 3.8
---------------
autopkgtest (3.8) unstable; urgency=medium
Improvements: template (which is ssh,vim). start{, -ephemeral} .
* adt-build-lxc: Configure unsafe dpkg I/O and disable apt's download of
package translations, like adt-setup-vm.
* adt-build-lxc: Use eatmydata for lxc-create if available, and install
eatmydata into containers. For Ubuntu, stop installing the default
$packages_
* adt-virt-lxc: Pass any additional options/arguments (after --) verbatim to
lxc-
* adt-virt-lxc: Stop running ephemeral containers with --keep-data by
default, as this makes them unnecessarily slow due to running on disk.
Environments with little RAM are instead advised to explicitly supply this
or --storage-type as extra arguments.
Bug fixes: t-reboot already exists.
* Create autopkgtest-reboot command in /tmp, as /sbin/ might be read-only
(and /run is usually "noexec", so we can't put it there either). Write it
with "noclobber" to guard against symlink attacks.
* During reboot, if /var/cache/ isn't writable (as on Ubuntu touch images,
argh), fall back to saving the current temp dir in /home.
* adt-virt-ssh: Recreate the sudo wrapper after reboot, as it is in /tmp.
* ssh-setup/adb: Setup adb port forwarding again after rebooting.
* Fix error message if /tmp/autopkgtes
* Fix extra space in apt-get option, which breaks apt-get's option parsing
in some circumstances.
* adt-build-lxc: Fix hardcoded "utopic" release name for cache cleanup on
btrfs, use the actual release name from the command line. (LP: #1392589)
-- Martin Pitt <email address hidden> Fri, 14 Nov 2014 08:40:28 +0100