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

Created by Robie Basak on 2013-07-03 and last modified on 2013-10-16
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 on 2013-10-16

New documentation: adt-virt-lxc.1

69. By Robie Basak on 2013-10-16

Add some debug output (when -d is used)

68. By Robie Basak on 2013-10-16

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 on 2013-10-16

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 on 2013-10-16

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 on 2013-10-16

Fix comment title heading

64. By Robie Basak on 2013-07-31

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 on 2013-07-31

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 on 2013-07-26

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 on 2013-07-25

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