lp:~racb/ubuntu/saucy/autopkgtest/lxc
- Get this branch:
- bzr branch lp:~racb/ubuntu/saucy/autopkgtest/lxc
Branch merges
- Martin Pitt: Approve
- Jean-Baptiste Lallement (community): Needs Fixing
- Ubuntu branches: Pending requested
-
Diff: 362 lines (+342/-0)3 files modifiedMakefile (+1/-0)
virt-subproc/adt-virt-lxc (+217/-0)
virt-subproc/adt-virt-lxc.1 (+124/-0)
Branch information
- Owner:
- Robie Basak
- Status:
- Development
Recent revisions
- 68. By Robie Basak
-
Verify eatmydata is present if --eatmydata is used
If --eatmydata is used but eatmydata is not available inside the
container, error out with a helpful message. - 67. By Robie Basak
-
Clean up spurious LXC containers on set up failure
Now that we have a condition where set up may fail, make sure to clean
up after it. - 66. By Robie Basak
-
Explicit check for cloud-init in LXC container
Since this driver currently requires the use of cloud-init to detect
when container boot has finished, check that cloud-init is installed and
fail with an appropriate message otherwise.Otherwise, we were stuck in an infinite wait loop, which is bad.
- 64. By Robie Basak
-
Add support for both cloned and ephemeral containers
It seems that in some cases, ephemeral containers may not work. I will
try and get to the bottom of this, but for now we can just allow both
types easily enough. This way users can use --ephemeral --eatmydata for
development, and only fall back to cloned containers if there is a
problem. - 63. By Robie Basak
-
Pass environment through to lxc-attach
DEBIAN_FRONTEND needs to be set and passed through. See LP: #1204989.
This allows sudo to pass it through, and lxc-attach already does by
default.I need to investigate whether adt-run should arrange to set the
environment variable at the far end directly instead. - 62. By Robie Basak
-
Suggest using "ubuntu" as the normal user
This gives adt-run a normal user to use, for tests that don't use
"needs-root". In the future we should make this configurable, but right
now we depend on cloud-init and the only LXC template that supports that
is the ubuntu-cloud one. - 61. By Robie Basak
-
Create /tmp directly without restricting to 0700
When "needs-root" is not defined, adt-run breaks. Although not
documented, it seems that the temporary directory must not be 0700 and
owned by root in this case. Since this is in a container, there are no
security problems here, since only adt-run can access the guest
filesystem anyway.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/saucy/autopkgtest