mojo tries to start LXC containers with 'F' which is only available in more recent versions of lxc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Won't Fix
|
Undecided
|
Haw Loeung |
Bug Description
Hi,
Trying to get a mojo spec run on a precise host with lxc-1.0.
| 2015-02-13 12:40:45 [INFO] Installing apt repos and packages
| 2015-02-13 12:40:46 [INFO] Running command in container 'mojo-stg-
| lxc-start: invalid option -- 'F'
| Usage: lxc-start --name=NAME -- COMMAND
We should either detect the version of LXC to see if we should start containers with '-F' or make the version of lxc which adds '-F' as a dependency.
| -F, --foreground Start with the current tty attached to /dev/console (default)
In fact, since it defaults to on when supported, we should just omit passing '-F' to lxc-start.
Related branches
description: | updated |
Changed in mojo: | |
assignee: | nobody → Haw Loeung (hloeung) |
status: | New → In Progress |
Since trusty-updates now has 1.0.8 I'm tempted to mark this as invalid/won't fix. Will confirm outside of bug comments and update as appropriate.