Change lxc-create to add the name of the template and any parameters
to the container's configuration.
This makes it easier to debug and figure out exactly how a container was built.
Signed-off-by: Stéphane Graber
---
src/lxc/lxc-create.in | 9 -
1 file changed, 8 insertions(+), 1 deleti
On 11/29/2012 04:24 PM, Dwight Engen wrote:
> The $LXCPATH (default /var/lib/lxc) directory was not being created by
> make install, so unless it gets created by some other means
> (packaging tools), commands such as lxc-create will fail.
>
> Signed-off-by: Dwight Engen
Is the same already done
The $LXCPATH (default /var/lib/lxc) directory was not being created by
make install, so unless it gets created by some other means
(packaging tools), commands such as lxc-create will fail.
Signed-off-by: Dwight Engen
---
Makefile.am | 3 +++
lxc.spec.in | 1 +
2 files changed, 4 insertions(+)
d
On 11/29/2012 02:42 PM, Serge Hallyn wrote:
> Quoting Stéphane Graber (stgra...@ubuntu.com):
>> So, I've been thinking a bit about what functions we're currently
>> missing in the API which would make the bindings and scripts much easier.
>>
>> So far, I've been thinking of:
>> - get_cgroup_item(c
Quoting Stéphane Graber (stgra...@ubuntu.com):
> So, I've been thinking a bit about what functions we're currently
> missing in the API which would make the bindings and scripts much easier.
>
> So far, I've been thinking of:
> - get_cgroup_item(cgroup, key)
> - set_cgroup_item(cgroup, key, valu
So, I've been thinking a bit about what functions we're currently
missing in the API which would make the bindings and scripts much easier.
So far, I've been thinking of:
- get_cgroup_item(cgroup, key)
- set_cgroup_item(cgroup, key, value)
- attach(namespaces, command)
Attach to the provided
On Thu, 29 Nov 2012 13:31:41 -0500
Stéphane Graber wrote:
> On 11/29/2012 01:27 PM, Dwight Engen wrote:
> > Removing templates/lxc-ubuntu from configure.ac makes it so that it
> > is not included in the tarball that make dist builds (and therefore
> > also breaks the rpm build).
> >
> > Signed-o
On 11/29/2012 01:27 PM, Dwight Engen wrote:
> Removing templates/lxc-ubuntu from configure.ac makes it so that it is
> not included in the tarball that make dist builds (and therefore also
> breaks the rpm build).
>
> Signed-off-by: Dwight Engen
> ---
> templates/Makefile.am | 2 ++
> 1 file cha
Removing templates/lxc-ubuntu from configure.ac makes it so that it is
not included in the tarball that make dist builds (and therefore also
breaks the rpm build).
Signed-off-by: Dwight Engen
---
templates/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/templates/Makefile.am b/
Quoting Stéphane Graber (stgra...@ubuntu.com):
> On 11/29/2012 11:50 AM, Serge Hallyn wrote:
> > mounted-dev.conf won't be running that in container's userspace as it
> > previously would have, so make sure that all the devices it would have
> > created (other than ones which lxc later finagles) ge
On 11/29/2012 11:50 AM, Serge Hallyn wrote:
> mounted-dev.conf won't be running that in container's userspace as it
> previously would have, so make sure that all the devices it would have
> created (other than ones which lxc later finagles) get created.
> To achieve this, we have to first mount /d
mounted-dev.conf won't be running that in container's userspace as it
previously would have, so make sure that all the devices it would have
created (other than ones which lxc later finagles) get created.
To achieve this, we have to first mount /dev, then run MAKEDEV, then
run setup_autodev to popu
Quoting Stéphane Graber (stgra...@ubuntu.com):
> On 11/29/2012 10:18 AM, Serge Hallyn wrote:
> > Quoting Stéphane Graber (stgra...@ubuntu.com):
> >> On 11/29/2012 09:49 AM, Serge Hallyn wrote:
> >>> Quoting Stéphane Graber (stgra...@ubuntu.com):
> In addition to creating the current locale in
On Thu, 29 Nov 2012 09:24:23 -0600
Serge Hallyn wrote:
> Quoting Dwight Engen (dwight.en...@oracle.com):
> > When using --enable-tests on Fedora, the linker complains with:
> > "undefined reference to symbol sem_getvalue", which nm shows to be
> > in libpthread not librt. Build tested on Fedora,
On 11/29/2012 10:24 AM, Serge Hallyn wrote:
> Quoting Dwight Engen (dwight.en...@oracle.com):
>> When using --enable-tests on Fedora, the linker complains with:
>> "undefined reference to symbol sem_getvalue", which nm shows to be in
>> libpthread not librt. Build tested on Fedora, Oracle Linux, an
Quoting Dwight Engen (dwight.en...@oracle.com):
> When using --enable-tests on Fedora, the linker complains with:
> "undefined reference to symbol sem_getvalue", which nm shows to be in
> libpthread not librt. Build tested on Fedora, Oracle Linux, and Ubuntu.
>
> Signed-off-by: Dwight Engen
To b
Quoting Dwight Engen (dwight.en...@oracle.com):
> When using --enable-tests on Fedora, the linker complains with:
> "undefined reference to symbol sem_getvalue", which nm shows to be in
> libpthread not librt. Build tested on Fedora, Oracle Linux, and Ubuntu.
>
> Signed-off-by: Dwight Engen
Drat
On 11/29/2012 10:18 AM, Serge Hallyn wrote:
> Quoting Stéphane Graber (stgra...@ubuntu.com):
>> On 11/29/2012 09:49 AM, Serge Hallyn wrote:
>>> Quoting Stéphane Graber (stgra...@ubuntu.com):
In addition to creating the current locale in the container, also
try to scan the host and extra t
Quoting Stéphane Graber (stgra...@ubuntu.com):
> $LANGPACK_LIST was renamed to $langpacks but not all the code was updated.
>
> Signed-off-by: Stéphane Graber
Acked-by: Serge E. Hallyn
> ---
> templates/lxc-ubuntu | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/templ
Quoting Stéphane Graber (stgra...@ubuntu.com):
> On 11/29/2012 09:52 AM, Serge Hallyn wrote:
> > Quoting Stéphane Graber (stgra...@ubuntu.com):
> >> lxc-ubuntu no longer uses any build time variables, therefore it can
> >> now be simply copied to the target without any autoconf magic.
> >>
> >> Sig
On 11/29/2012 10:13 AM, Dwight Engen wrote:
> Both 69d66f1e and f02ce27d added the aa_profile = unconfined hunk, but only
> the first was needed, maybe a merge error? The second one causes the
> template to get an error on the EOF line. This essentially reverts
> f02ce27d.
>
> Signed-off-by: Dwigh
Quoting Stéphane Graber (stgra...@ubuntu.com):
> On 11/29/2012 09:49 AM, Serge Hallyn wrote:
> > Quoting Stéphane Graber (stgra...@ubuntu.com):
> >> In addition to creating the current locale in the container, also
> >> try to scan the host and extra the list of langpacks installed there,
> >> then
Both 69d66f1e and f02ce27d added the aa_profile = unconfined hunk, but only
the first was needed, maybe a merge error? The second one causes the
template to get an error on the EOF line. This essentially reverts
f02ce27d.
Signed-off-by: Dwight Engen
---
templates/lxc-busybox.in |4
1 fi
On 11/29/2012 09:52 AM, Serge Hallyn wrote:
> Quoting Stéphane Graber (stgra...@ubuntu.com):
>> lxc-ubuntu no longer uses any build time variables, therefore it can
>> now be simply copied to the target without any autoconf magic.
>>
>> Signed-off-by: Stéphane Graber
>
> I'm trusting rather than
On 11/29/2012 09:49 AM, Serge Hallyn wrote:
> Quoting Stéphane Graber (stgra...@ubuntu.com):
>> In addition to creating the current locale in the container, also
>> try to scan the host and extra the list of langpacks installed there,
>> then pass that list to debootstrap as additional packages to
$LANGPACK_LIST was renamed to $langpacks but not all the code was updated.
Signed-off-by: Stéphane Graber
---
templates/lxc-ubuntu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/lxc-ubuntu b/templates/lxc-ubuntu
index 8d230e6..1e1d77c 100644
--- a/templates/lxc-ubu
Quoting Stéphane Graber (stgra...@ubuntu.com):
> lxc-ubuntu no longer uses any build time variables, therefore it can
> now be simply copied to the target without any autoconf magic.
>
> Signed-off-by: Stéphane Graber
I'm trusting rather than verifying that the contents of
lxc-ubuntu are identic
Quoting Stéphane Graber (stgra...@ubuntu.com):
> In addition to creating the current locale in the container, also
> try to scan the host and extra the list of langpacks installed there,
> then pass that list to debootstrap as additional packages to install.
>
> On distros that don't have dpkg, on
Quoting Stéphane Graber (stgra...@ubuntu.com):
> Move some old code from the trim() function into the main configure_ubuntu
> function so that we always create a locale in the container.
>
> Signed-off-by: Stéphane Graber
Acked-by: Serge E. Hallyn
> ---
> templates/lxc-ubuntu.in | 18
Quoting Stéphane Graber (stgra...@ubuntu.com):
> Replace all remaining tabs by 8 spaces, to properly indent by 4 spaces.
>
> Signed-off-by: Stéphane Graber
Acked-by: Serge E. Hallyn
> ---
> templates/lxc-ubuntu | 18 +-
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> di
30 matches
Mail list logo