lp:~racb/ubuntu/saucy/autopkgtest/lxc

Created by Robie Basak and last modified
Get this branch:
bzr branch lp:~racb/ubuntu/saucy/autopkgtest/lxc
Only Robie Basak can upload to this branch. If you are Robie Basak please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Robie Basak
Status:
Development

Recent revisions

70. By Robie Basak

New documentation: adt-virt-lxc.1

69. By Robie Basak

Add some debug output (when -d is used)

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.

65. By Robie Basak

Fix comment title heading

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
This branch contains Public information 
Everyone can see this information.

Subscribers