@gary @serge - that dhcp vs dhcp3 thing is probably a case where the
script needs to handle both: the dhcp client version changed between
lucid and oneiric.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
** No longer affects: launchpad
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/914169
Title:
lxc-start-ephemeral script does not support in-line programmatic
commands to ephemeral
@serge Thank you!
@Robert IIUC we do both dhcp and dhcp3. My diff merely added a sudo.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/914169
Title:
lxc-start-ephemeral script does
With the fix from bug 914169, the only basic change we need in this
script is as follows:
121,122c121,122
mkdir -p $LXC_DIR/rootfs/var/lib/dhcp3
mkdir -p $LXC_DIR/rootfs/var/lib/dhcp
---
sudo mkdir -p $LXC_DIR/rootfs/var/lib/dhcp3
sudo mkdir -p $LXC_DIR/rootfs/var/lib/dhcp
We're also
Thanks, Gary, I'll upload with that change.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/914169
Title:
lxc-start-ephemeral script does not support in-line programmatic
commands to
** Branch linked: lp:ubuntu/lxc
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/914169
Title:
lxc-start-ephemeral script does not support in-line programmatic
commands to ephemeral
This bug was fixed in the package lxc - 0.7.5-3ubuntu6
---
lxc (0.7.5-3ubuntu6) precise; urgency=low
* debian/patches/0020-drop-cap-mac-admin.patch - to prevent containers
from loading apparmor policy.
* update 0016-nested-cgroups.patch: create cgroup dirs 0755 so that
Thank you Serge. The switch from aufs looks good.
We're evaluating it now. We'll have feedback soon.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/914169
Title:
lxc-start-ephemeral
The original script created the ephemeral container, started it with
lxc-start, then ssh'd to it.
I wonder if it would suffice to create the ephemeral container, then run
the specified command in it with lxc-execute, rather than using lxc-
start. That would mean the upstart jobs would not start
Yes, the way the ssh was assembled was a bit rough--running sed over the
dhcp leases to find the ip address of the container name. In the
solution I proposed on this bug, we were going to initially do the same
within the command string. At least the hack would not be in lxc
itself. Later we
** Also affects: launchpad
Importance: Undecided
Status: New
** Changed in: launchpad
Status: New = Triaged
** Changed in: launchpad
Importance: Undecided = High
** Tags added: paralleltest
--
You received this bug notification because you are a member of Ubuntu
Server
This version of lxc-start-ephemeral makes the following changes:
1. drops aufs (doesn't work on precise)
2. if COMMAND is specified, then, as in Robert's original version, the
container executes the command and then is destroyed. If no COMMAND is
specified, it waits until it is stopped (i.e.
12 matches
Mail list logo