Add support for new target plamo to specify the linux distribution.
Plamo Linux uses sysvinit.
Signed-off-by: KATOH Yasufumi
Signed-off-by: TAMUKI Shoichi
---
configure.ac | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8dae3ad
systemd, upstart, distro [default=distro]
> >
> > That means autoconf is able to format help strings including white-
> > spaces (spaces, tabs, and newlines) properly. I do not think it makes
> > it harder to read in this case.
>
> I was just thinking of when w
out 80 chars
> > because the line is too long.
> >
> > Signed-off-by: KATOH Yasufumi
> > Signed-off-by: TAMUKI Shoichi
> > ---
> > configure.ac | 10 +++---
> > 1 file changed, 7 insertions(+), 3 deletions(-)
> >
> > diff --git a/confi
Fold dnsmasq command line at about 80 chars because the line is too
long.
Signed-off-by: TAMUKI Shoichi
---
config/init/common/lxc-net.in | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/config/init/common/lxc-net.in b/config/init/common/lxc-net.in
index efe64c1
Add support for new target plamo to specify the linux distribution.
Plamo Linux uses sysvinit. Also, fold distro line at about 80 chars
because the line is too long.
Signed-off-by: KATOH Yasufumi
Signed-off-by: TAMUKI Shoichi
---
configure.ac | 10 +++---
1 file changed, 7 insertions
Do mkdir $rootfs/dev/shm and then mount tmpfs on /dev/shm.
Signed-off-by: TAMUKI Shoichi
---
config/templates/plamo.common.conf.in | 1 +
templates/lxc-plamo.in| 1 +
2 files changed, 2 insertions(+)
diff --git a/config/templates/plamo.common.conf.in
b/config/templates
gentoo template uses
>
> rw,nosuid,nodev,relatime,mode=755
Ah, I see. I will soon the revised patch.
Regards,
TAMUKI Shoichi
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
Do mkdir $rootfs/dev/shm and then mount tmpfs on /dev/shm.
Signed-off-by: TAMUKI Shoichi
---
config/templates/plamo.common.conf.in | 1 +
templates/lxc-plamo.in| 1 +
2 files changed, 2 insertions(+)
diff --git a/config/templates/plamo.common.conf.in
b/config/templates
regular templates in the source tree?
> I however don't expect this to happen overnight and so I think that
> first working towards providing a similar feature set across templates
> and offer more consistency is a very worthwhile goal in the near f
e password using chroot.
Thank you for your work. I am looking forward to that.
There is one point that I would like the password treatment to have
the same behavior between the following cases:
- using the distro-specific template with '-t' option to lxc-create
- using download tem
have the same
behavior between using the template with '-t' option to lxc-create and
using download template. So, I think that creating passwords should
be done after the template runs. That means, most of the processing
about creating passwords in the template will be moved to the point
aft
Hello Serge,
From: TAMUKI Shoichi
Subject: Re: [lxc-devel] [PATCH v2 3/3] Improve setting the default password in
a new container
Date: Sat, 11 Oct 2014 11:57:01 +0900
> To solve that, instead of preparing template.chpasswd files, the
> template should inform the user name to be chang
ith '-t' option to lxc-create. It can not be used by non-
priv users.
> Please immediately table this patch until further discussion can be
> completed and a consensus achieved.
Sure, I would like to discuss the approach with the people interested.
Regards,
T
is to be
> > changed. If the target *.chpasswd file does not exist, no password is
> > changed in a new container.
> >
> > Signed-off-by: TAMUKI Shoichi
>
> Hi.
>
> After a "brief" look over this patch I didn't see any technical problems,
&g
whose password is to be
changed. If the target *.chpasswd file does not exist, no password is
changed in a new container.
Signed-off-by: TAMUKI Shoichi
---
v2:
- adjust to fit with the other patches.
config/templates/Makefile.am | 27 +++-
config/templates/altlinux.chpasswd
Split figureout_rootfs() off from create_run_template() to allow
common use of the function. Also, add the tweak to free the bdev.
Signed-off-by: TAMUKI Shoichi
---
v2:
- add the tweak to free the bdev.
- correct misspelling in commit message.
src/lxc/lxccontainer.c | 108
Split prepend_lxc_usernsexec() off from create_run_template() to allow
common use of the function.
Signed-off-by: TAMUKI Shoichi
---
v2:
- adjust to fit with the other patches.
- correct misspelling in commit message.
src/lxc/lxccontainer.c | 230
patches to fit without this patch later.
>
> No no, I think your patch is fine, it just needs the tweak to free
> the bdev.
Oh, I see. I will soon post the revised patch set.
Regards,
TAMUKI Shoichi
___
lxc-devel mailing list
lxc-devel@l
ed figureout_rootfs() off in a mechanical manner.
Anyway, I agree with you from a viewpoint of strdup() and free().
Ok, I will revise the other patches to fit without this patch later.
Regards,
TAMUKI Shoichi
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
Hello,
From: TAMUKI Shoichi
Subject: [lxc-devel] [PATCH 1/3] lxccontainer.c: split up cleate_run_template()
Date: Mon, 06 Oct 2014 19:30:20 +0900
> Split figureout_rootfs() off from cleate_run_template() to allow
> common use of the function.
>
> Signed-off-by: TAMUKI Shoichi
I m
whose password is to be
changed. If the target *.chpasswd file does not exist, no password is
changed in a new container.
Signed-off-by: TAMUKI Shoichi
---
config/templates/Makefile.am | 27 +++-
config/templates/altlinux.chpasswd | 1 +
config/templates/archlinux.chpasswd
Split prepend_lxc_usernsexec() off from cleate_run_template() to allow
common use of the function.
Signed-off-by: TAMUKI Shoichi
---
src/lxc/lxccontainer.c | 230 ++---
1 file changed, 121 insertions(+), 109 deletions(-)
diff --git a/src/lxc
Split figureout_rootfs() off from cleate_run_template() to allow
common use of the function.
Signed-off-by: TAMUKI Shoichi
---
src/lxc/lxccontainer.c | 104 +++--
1 file changed, 57 insertions(+), 47 deletions(-)
diff --git a/src/lxc/lxccontainer.c b
Hello Stephane,
From: TAMUKI Shoichi
Subject: Re: [lxc-devel] Request for update Jenkins script for plamo images
Date: Sun, 31 Aug 2014 17:19:42 +0900
> > Perhaps, we should do similar workaround for producing another
> > distribution (centos, debian, fedora, gentoo, opensuse
Call tar with --numeric-owner option to use numbers for user/group
names because the whole uid/gid in rootfs should be consistently
unchanged as in original stage3 tarball and private portage.
Signed-off-by: TAMUKI Shoichi
---
templates/lxc-gentoo.in | 14 ++
1 file changed, 10
Regardless of whether "installpkg" command exists or not, install the
command temporarily with static linked tar command into the lxc cache
directory to keep the original uid/gid of files/directories. Also,
use sed command instead of ed command for simplicity.
Signed-off-by: TAMU
Hello Stephane,
From: TAMUKI Shoichi
Subject: Re: [lxc-devel] Request for update Jenkins script for plamo images
Date: Sun, 31 Aug 2014 17:17:50 +0900
> So, suppose installing rootfs does in the same way as tar with
> --numeric-option, and calling tar with --numeric-owner when arc
the useradd/groupadd workaround in the Jenkins scrirpt.
Thanks in advance.
Regards,
TAMUKI Shoichi
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
Hello Stephane,
From: TAMUKI Shoichi
Subject: Re: [lxc-devel] Request for update Jenkins script for plamo images
Date: Thu, 28 Aug 2014 16:46:45 +0900
> Perhaps, we should do similar workaround for producing another
> distribution (centos, debian, fedora, gentoo, opensuse, and oracle)
&g
e system. Therefore, we should
not calling tar with --numeric-owner option in the Jenkins script.
Regards,
TAMUKI Shoichi
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
tion for the following case.
lxc.rootfs = /mnt/rootfs.test#01
I think that a hash mark ("#") as a comment must be at the beginning
of a line.
Regards,
TAMUKI Shoichi
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
value.
>
> Signed-off-by: KATOH Yasufumi
Reviewed-by: TAMUKI Shoichi
> ---
> src/lxc/confile.c | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/src/lxc/confile.c b/src/lxc/confile.c
> index 5de1241..8aab5d0 100644
> --- a/src/lxc/confile.c
> +++ b/sr
Hello Stephane,
From: TAMUKI Shoichi
Subject: [lxc-devel] Request for update Jenkins script for plamo images (Re:
[PATCH] Update plamo template)
Date: Tue, 26 Aug 2014 08:13:10 +0900
> According to the Jenkins log, I will suggest you to insert the
> commands like below:
>
> =
Hello Stephane,
From: TAMUKI Shoichi
Subject: Re: [lxc-devel] [PATCH] Update plamo template
Date: Tue, 19 Aug 2014 12:30:07 +0900
> One more thing is about the user/group ownership. I investigated
> /etc/{passwd,group} between Ubuntu and Plamo Linux, and found that
> there are some u
done
Thanks in advance.
Regards,
TAMUKI Shoichi
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
user/group ownership. To avoid this, the installpkg
command now uses the standard tar command in the system.
- Change mode to 666 for $rootfs/dev/null to allow write access for
all users.
- Small fix in usage message.
Signed-off-by: TAMUKI Shoichi
---
templates/lxc-plamo.in | 4 +++-
1 file
Change idmap_add_id() to add both ID_TYPE_UID and ID_TYPE_GID entries
to an existing lxc_conf, not just an ID_TYPE_UID entry, so as to work
lxc-destroy with unprivileged containers on recent kernel.
Signed-off-by: TAMUKI Shoichi
---
src/lxc/conf.c | 49
Change chown_mapped_root() to map in both the root uid and gid, not
just the uid, so as to work lxc-start with unprivileged containers on
recent kernel.
Signed-off-by: TAMUKI Shoichi
Signed-off-by: KATOH Yasufumi
---
The patch has been revised due to amending the explanation of
Change chown_mapped_root() to map in both the root uid and gid, not
just the uid, so as to work lxc-start with unprivileged containers on
recent kernel.
Signed-off-by: TAMUKI Shoichi
Signed-off-by: KATOH Yasufumi
---
src/lxc/conf.c | 93
Fix configure_plamo so as not to configure wireless network interface
in containers even if the host uses wireless network interface.
Signed-off-by: TAMUKI Shoichi
---
templates/lxc-plamo.in | 4
1 file changed, 4 insertions(+)
diff --git a/templates/lxc-plamo.in b/templates/lxc-plamo.in
: TAMUKI Shoichi
Signed-off-by: KATOH Yasufumi
---
templates/lxc-plamo.in | 36 ++--
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/templates/lxc-plamo.in b/templates/lxc-plamo.in
index 1db5645..4e04b22 100644
--- a/templates/lxc-plamo.in
+++ b
o keep manually rebasing their
> patches.
We spent enough time to brush up and review for the initial template,
however I overlooked this mistake and now have noticed that. I think
that correcting the option order makes sense and easy to understand.
Thanks in advance.
Regards,
TAMUKI Shoichi
___
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel
- Change redirection of fd 200 to 9
- Fix to fit with change of init script
- Change option order (trivial)
Signed-off-by: TAMUKI Shoichi
---
templates/lxc-plamo.in | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/templates/lxc-plamo.in b/templates
For all templates except lxc-ubuntu-cloud and lxc-download, detect not
only --mapped-uid but also --mapped-gid and error out. Detecting will
not be done after -- parameter because of non-option parameters.
Also, change the mode of lxc-archlinux.in 100755 to 100644.
Signed-off-by: TAMUKI Shoichi
Hello,
From: TAMUKI Shoichi
Subject: Re: [lxc-devel] [PATCH] lxc-plamo: change redirection of fd and
improve option parsing
Date: Thu, 06 Feb 2014 18:30:46 +0900
> > However, in most cases, people may prefer the complete notation (i.e.,
> > --mapped-uid), so leaving the other a
Hello,
From: TAMUKI Shoichi
Subject: Re: [lxc-devel] [PATCH] lxc-plamo: change redirection of fd and
improve option parsing
Date: Thu, 06 Feb 2014 17:32:59 +0900
> However, in most cases, people may prefer the complete notation (i.e.,
> --mapped-uid), so leaving the other abbreviations
processing.
--m
--ma
--map
--mapp
--mappe
--mapped
--mapped-
--mapped-u
--mapped-ui
--mapped-uid
Thus, I think "[PATCH] templates: Refuse to run unprivileged" should
detect not only --mapped-uid option but also the abbreviations above.
That is why I cha
: TAMUKI Shoichi
---
templates/lxc-alpine.in | 5 +++--
templates/lxc-altlinux.in | 31 ---
templates/lxc-archlinux.in| 27 ++-
templates/lxc-busybox.in | 17 +
templates/lxc-centos.in | 23
Signed-off-by: TAMUKI Shoichi
---
templates/lxc-plamo.in | 71 +++---
1 file changed, 44 insertions(+), 27 deletions(-)
diff --git a/templates/lxc-plamo.in b/templates/lxc-plamo.in
index e9f681e..311067f 100644
--- a/templates/lxc-plamo.in
+++ b
++---+
| oracle | x86 | x86_64 | -- | -- |
++--+++---+
| plamo | x86 | x86_64 | -- | -- |
++--+++---+
| ubuntu | i386 | amd64 | armhf | armel |
++--+++---+
I think it's ok to unify arch names as internal
console output of amd64,5.x,full,
and I saw "No space left on device" messages during copying root cache
to rootfs at the nearly end of the log.
Perhaps, the full rootfs image of Plamo container may be too large to
build on Jenkins server. :-(
Regards,
TAMUKI Shoichi
quot;00_base 01_minimum 02_x11 03_xclassics 04_xapps 05_ext
06_xfce 07_kde 08_tex 09_kernel 10_lof 11_mate"
EXTRACTGRS="AVtool Education Hamradio Haskell MUA Virtualization"
IGNOREPKGS=""
ADDONPKGS=""
-
52 matches
Mail list logo