[Bug 1273725] [NEW] simplify adt-virt-lxc startup checks

Martin Pitt martin.pitt at ubuntu.com
Tue Jan 28 15:38:01 UTC 2014


Public bug reported:

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.

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.

** Affects: autopkgtest (Ubuntu)
     Importance: Low
     Assignee: Martin Pitt (pitti)
         Status: Triaged

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

** Changed in: autopkgtest (Ubuntu)
       Status: New => Triaged

** Changed in: autopkgtest (Ubuntu)
   Importance: Undecided => Low

** Changed in: autopkgtest (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

-- 
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.

  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