adt-build-lxc: uses unknown option -F to lxc-create

Bug #1368002 reported by Mitsuya Shibata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest
Fix Released
Unknown
autopkgtest (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Triaged
Undecided
Unassigned

Bug Description

Failed to exec "adt-build-lxc debian sid" on trusty.

Already fixed in upstream (and utopic also).
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745415

Could you backport above patch?

-- from debian bug report ---

adt-build-lxc attempts to use the -F option for lxc-create if the
lxc root already exists, but lxc-create doesn't support this option (at
least not with the lxc currently in sid):

See tools/adt-build-lxc:71

% adt-build-lxc debian sid
getopt: invalid option -- 'F'
lxc-debian -h|--help -p|--path=<path> [-a|--arch]
[-r|--release=<release>] [-c|--clean]
release: the debian release (e.g. wheezy): defaults to current stable
arch: the container architecture (e.g. amd64): defaults to host arch
lxc_container: container creation template for adt-sid.new failed
lxc_container: Error creating container adt-sid.new

------

Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :
Changed in autopkgtest:
status: Unknown → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

This was fixed in 2.15, thus fixed long ago in utopic. This still affects trusty, but TBH, since trusty there were a loooot of changes and improvements to autopkgtest, so if you want to use this seriously please just install the current utopic version (it works fine on trusty).

Changed in autopkgtest (Ubuntu):
status: New → Fix Released
Changed in autopkgtest (Ubuntu Trusty):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.