[Bug 1273725] Re: simplify adt-virt-lxc startup checks

Martin Pitt martin.pitt at ubuntu.com
Tue Jan 28 16:23:31 UTC 2014


** Description changed:

  Instead of our mad /var/lib/lxc/ poking, run "lxc-attach runlevel" and
  wait until it switches to 2 (or better, anything else than "unknown" or
- "S"), and also add a timeout.
+ "S"), and also add a timeout. That's more robust, and also should get us
+ rid of the cloud-init requirement, so that this starts working for more
+ generic containers.
  
  Also, drop the hardcoded "sudo" and replace it with a -s/--sudo virt-lxc
  option. That way you can still run adt-run as root, but decide whether
  to use system or user containers.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1273725

Title:
  simplify adt-virt-lxc startup checks

Status in “autopkgtest” package in Ubuntu:
  Triaged

Bug description:
  Instead of our mad /var/lib/lxc/ poking, run "lxc-attach runlevel" and
  wait until it switches to 2 (or better, anything else than "unknown"
  or "S"), and also add a timeout. That's more robust, and also should
  get us rid of the cloud-init requirement, so that this starts working
  for more generic containers.

  Also, drop the hardcoded "sudo" and replace it with a -s/--sudo virt-
  lxc option. That way you can still run adt-run as root, but decide
  whether to use system or user containers.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1273725/+subscriptions



More information about the foundations-bugs mailing list