Quoting Christian Seiler (christ...@iwakd.de):
> Hi again,
>
> >> On an ubuntu system, mountall wants /sys/fs/cgroup to be mounted rw.
> >> So on container startup, mountall will see that /sys/fs/cgroup is ro
> >> and hang startup (waiting for the user to say whether to skip
> >> or manually fix)
On Fri, 2014-05-02 at 23:50 +0200, Christian Seiler wrote:
> Hi,
> > We use upstart instances for the containers so they show up in "initctl
> > list" as separate jobs which can be stopped or restarted.
> Btw. we could do something similar for the systemd case if we implement
> the autostart func
On Fri, 2014-05-02 at 17:41 -0400, Stéphane Graber wrote:
> On Fri, May 02, 2014 at 05:37:37PM -0400, Stéphane Graber wrote:
> > On Fri, May 02, 2014 at 05:20:11PM -0400, Michael H. Warfield wrote:
> > > On Fri, 2014-05-02 at 17:09 -0400, Michael H. Warfield wrote:
> > > > On Fri, 2014-05-02 at 21:
Quoting Christian Seiler (christ...@iwakd.de):
> Hi,
>
> > On an ubuntu system, mountall wants /sys/fs/cgroup to be mounted rw.
> > So on container startup, mountall will see that /sys/fs/cgroup is ro
> > and hang startup (waiting for the user to say whether to skip
> > or manually fix) because it
Hi,
> We use upstart instances for the containers so they show up in "initctl
> list" as separate jobs which can be stopped or restarted.
Btw. we could do something similar for the systemd case if we implement
the autostart functionality with a generator (in that case, the generate
could also det
Hi again,
>> On an ubuntu system, mountall wants /sys/fs/cgroup to be mounted rw.
>> So on container startup, mountall will see that /sys/fs/cgroup is ro
>> and hang startup (waiting for the user to say whether to skip
>> or manually fix) because it's not allowed to remount /sys/fs/cgroup
>> rw.
>
On Fri, May 02, 2014 at 05:37:37PM -0400, Stéphane Graber wrote:
> On Fri, May 02, 2014 at 05:20:11PM -0400, Michael H. Warfield wrote:
> > On Fri, 2014-05-02 at 17:09 -0400, Michael H. Warfield wrote:
> > > On Fri, 2014-05-02 at 21:03 +, Serge Hallyn wrote:
> > > > Quoting Michael H. Warfield
On Fri, May 2, 2014 at 4:26 PM, Serge Hallyn wrote:
> Quoting S.Çağlar Onur (cag...@10ur.org):
>> On Fri, May 2, 2014 at 12:14 PM, Serge Hallyn
>> wrote:
>> > Quoting Serge Hallyn (serge.hal...@ubuntu.com):
>> >> If an unprivileged user does 'lxc-start -n u1' in one
>> >> login session, followed
Hi,
> On an ubuntu system, mountall wants /sys/fs/cgroup to be mounted rw.
> So on container startup, mountall will see that /sys/fs/cgroup is ro
> and hang startup (waiting for the user to say whether to skip
> or manually fix) because it's not allowed to remount /sys/fs/cgroup
> rw.
Ouch.
Irre
On Fri, May 02, 2014 at 05:20:11PM -0400, Michael H. Warfield wrote:
> On Fri, 2014-05-02 at 17:09 -0400, Michael H. Warfield wrote:
> > On Fri, 2014-05-02 at 21:03 +, Serge Hallyn wrote:
> > > Quoting Michael H. Warfield (m...@wittsend.com):
> > > > On Thu, 2014-05-01 at 17:26 -0400, Michael H
On Fri, 2014-05-02 at 21:27 +, Serge Hallyn wrote:
> Quoting Michael H. Warfield (m...@wittsend.com):
> > On Fri, 2014-05-02 at 21:03 +, Serge Hallyn wrote:
> > > Quoting Michael H. Warfield (m...@wittsend.com):
> > > > On Thu, 2014-05-01 at 17:26 -0400, Michael H. Warfield wrote:
> > > > >
At Serge's suggestion, I'm submitting a patch to update the Upstart
files to support autobooting the "onboot" group corresponding to the
patch I submitted earlier for the sysvinit script used by SysV init and
Systemd.
Provisos...
I have no way to test these changes as I have no Upstart running ho
Quoting Michael H. Warfield (m...@wittsend.com):
> On Fri, 2014-05-02 at 21:03 +, Serge Hallyn wrote:
> > Quoting Michael H. Warfield (m...@wittsend.com):
> > > On Thu, 2014-05-01 at 17:26 -0400, Michael H. Warfield wrote:
> > > > Looks good to me with the provisio that I feel that autoboot on
Quoting Christian Seiler (christ...@iwakd.de):
> Perhaps you could tell me what you did and what the problem was, before
Well that's what cc:ing you was :) Thanks for setting me straight.
Yeah so the first hunk should be dropped. Meanwhile,
> modifying this part of the code? Then we could fig
On Fri, 2014-05-02 at 17:09 -0400, Michael H. Warfield wrote:
> On Fri, 2014-05-02 at 21:03 +, Serge Hallyn wrote:
> > Quoting Michael H. Warfield (m...@wittsend.com):
> > > On Thu, 2014-05-01 at 17:26 -0400, Michael H. Warfield wrote:
> > > > Looks good to me with the provisio that I feel that
On Fri, May 02, 2014 at 11:04:15PM +0200, Christian Seiler wrote:
> Hi Serge,
>
> > /sys/fs/cgroup is just a size-limited tmpfs, and making it ro does
> > nothing to affect our ability alter mount settings of its subdirs.
> > OTOH making it ro can upset mountall in the container which tries
> > to
Branch: refs/heads/stable-1.0
Home: https://github.com/lxc/lxc
Commit: fb806424780c6e3efeb02f678415887ffabe23bc
https://github.com/lxc/lxc/commit/fb806424780c6e3efeb02f678415887ffabe23bc
Author: Stéphane Graber
Date: 2014-05-02 (Fri, 02 May 2014)
Changed paths:
M src/lxc
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 52b0a7d983e93e3c05eb152128f0fd70e31a5483
https://github.com/lxc/lxc/commit/52b0a7d983e93e3c05eb152128f0fd70e31a5483
Author: Stéphane Graber
Date: 2014-05-02 (Fri, 02 May 2014)
Changed paths:
M src/lxc/lxc
On Fri, 2014-05-02 at 21:03 +, Serge Hallyn wrote:
> Quoting Michael H. Warfield (m...@wittsend.com):
> > On Thu, 2014-05-01 at 17:26 -0400, Michael H. Warfield wrote:
> > > Looks good to me with the provisio that I feel that autoboot on bootup
> > > should be for all groups and not just the nu
Hi Serge,
> /sys/fs/cgroup is just a size-limited tmpfs, and making it ro does
> nothing to affect our ability alter mount settings of its subdirs.
> OTOH making it ro can upset mountall in the container which tries
> to remount it rw, which may be refused.
>
> So just don't do it.
>
> Signed-of
Quoting Michael H. Warfield (m...@wittsend.com):
> On Thu, 2014-05-01 at 17:26 -0400, Michael H. Warfield wrote:
> > Looks good to me with the provisio that I feel that autoboot on bootup
> > should be for all groups and not just the null group. Dwight told me in
> > another message that he did it
Quoting Stéphane Graber (stgra...@ubuntu.com):
> On Fri, May 02, 2014 at 08:23:27PM +, Serge Hallyn wrote:
> > Quoting Stéphane Graber (stgra...@ubuntu.com):
> > > This makes sure we only query lxc.group once and then reuse that list
> > > for filtering, listing groups and autostart.
> > >
> >
On Fri, May 02, 2014 at 08:23:27PM +, Serge Hallyn wrote:
> Quoting Stéphane Graber (stgra...@ubuntu.com):
> > This makes sure we only query lxc.group once and then reuse that list
> > for filtering, listing groups and autostart.
> >
> > When a container is auto-started only as part of a group
Quoting S.Çağlar Onur (cag...@10ur.org):
> On Fri, May 2, 2014 at 12:14 PM, Serge Hallyn wrote:
> > Quoting Serge Hallyn (serge.hal...@ubuntu.com):
> >> If an unprivileged user does 'lxc-start -n u1' in one
> >> login session, followed by 'lxc-attach -n u1' in another
> >> session, the attach will
Quoting Stéphane Graber (stgra...@ubuntu.com):
> This makes sure we only query lxc.group once and then reuse that list
> for filtering, listing groups and autostart.
>
> When a container is auto-started only as part of a group, autostart will
> now show by-group instead of yes.
>
> Signed-off-by:
On Fri, May 2, 2014 at 12:14 PM, Serge Hallyn wrote:
> Quoting Serge Hallyn (serge.hal...@ubuntu.com):
>> If an unprivileged user does 'lxc-start -n u1' in one
>> login session, followed by 'lxc-attach -n u1' in another
>> session, the attach will fail if the sessions are in different
>> cgroups.
Read /proc/self/cgroup instead of /proc/cgroups, so as to catch
named subsystems. Otherwise the contaienrs will not be fully
moved into the container cgroups.
Also free line which was being leaked.
Signed-off-by: Serge Hallyn
---
src/lxc/cgmanager.c | 51 +--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02.05.14 17:02 Stéphane Graber wrote:
>> That's not the right fix for this issue, I commited the proper
>> fix on the 10th of March and it was part of the 1.0.2 bugfix
>> release.
OK, I'll have a look why opensuse still has 1.0.0. Thanks for the f
On Thu, 2014-05-01 at 17:26 -0400, Michael H. Warfield wrote:
> Looks good to me with the provisio that I feel that autoboot on bootup
> should be for all groups and not just the null group. Dwight told me in
> another message that he did it that way because the Upstart script did
> it that way.
This makes sure we only query lxc.group once and then reuse that list
for filtering, listing groups and autostart.
When a container is auto-started only as part of a group, autostart will
now show by-group instead of yes.
Signed-off-by: Stéphane Graber
---
src/lxc/lxc-ls.in | 23 +--
On Fri, 2014-05-02 at 16:06 +, Serge Hallyn wrote:
> Quoting Stéphane Graber (stgra...@ubuntu.com):
...
> > This would be pretty redundant as the column right on the left of
> > AUTOSTART is GROUP which happens to show exactly what used to be right
> > next to the YES in the AUTOSTART column.
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: b9abc183b177212db8b46a1419ce7bc62ad838ce
https://github.com/lxc/lxc/commit/b9abc183b177212db8b46a1419ce7bc62ad838ce
Author: Stéphane Graber
Date: 2014-05-02 (Fri, 02 May 2014)
Changed paths:
M src/lxc/lxc
Branch: refs/heads/stable-1.0
Home: https://github.com/lxc/lxc
Commit: 5cfc06fae750e7222f0839a48b152c4f9da1633c
https://github.com/lxc/lxc/commit/5cfc06fae750e7222f0839a48b152c4f9da1633c
Author: Serge Hallyn
Date: 2014-05-02 (Fri, 02 May 2014)
Changed paths:
M src/lxc/cg
On Sat, May 03, 2014 at 01:57:59AM +0900, KATOH Yasufumi wrote:
> Update for commit 0f02786
>
> Signed-off-by: KATOH Yasufumi
Acked-by: Stéphane Graber
> ---
> doc/ja/lxc-ls.sgml.in | 16
> 1 file changed, 16 insertions(+)
>
> diff --git a/doc/ja/lxc-ls.sgml.in b/doc/ja/lxc-
Update for commit 0f02786
Signed-off-by: KATOH Yasufumi
---
doc/ja/lxc-ls.sgml.in | 16
1 file changed, 16 insertions(+)
diff --git a/doc/ja/lxc-ls.sgml.in b/doc/ja/lxc-ls.sgml.in
index 9404ec8..bc3d6c6 100644
--- a/doc/ja/lxc-ls.sgml.in
+++ b/doc/ja/lxc-ls.sgml.in
@@ -61,6 +61
On Fri, May 02, 2014 at 11:35:10AM -0500, Serge Hallyn wrote:
> /sys/fs/cgroup is just a size-limited tmpfs, and making it ro does
> nothing to affect our ability alter mount settings of its subdirs.
> OTOH making it ro can upset mountall in the container which tries
> to remount it rw, which may b
/sys/fs/cgroup is just a size-limited tmpfs, and making it ro does
nothing to affect our ability alter mount settings of its subdirs.
OTOH making it ro can upset mountall in the container which tries
to remount it rw, which may be refused.
So just don't do it.
Signed-off-by: Serge Hallyn
Cc: Chr
Quoting Serge Hallyn (serge.hal...@ubuntu.com):
> If an unprivileged user does 'lxc-start -n u1' in one
> login session, followed by 'lxc-attach -n u1' in another
> session, the attach will fail if the sessions are in different
> cgroups. The same is true of lxc-cgroup commands.
>
> Address this
Quoting Stéphane Graber (stgra...@ubuntu.com):
> On Fri, May 02, 2014 at 01:18:32PM +, Serge Hallyn wrote:
> > Quoting Stéphane Graber (stgra...@ubuntu.com):
> > > This introduces a new -g/--group argument to filter containers based on
> > > their groups.
> > >
> > > This supports the rather o
Branch: refs/heads/stable-1.0
Home: https://github.com/lxc/lxc
Commit: c18916f71bb656a43c08a7a2498ea07e4c9e92ca
https://github.com/lxc/lxc/commit/c18916f71bb656a43c08a7a2498ea07e4c9e92ca
Author: KATOH Yasufumi
Date: 2014-05-02 (Fri, 02 May 2014)
Changed paths:
M doc/ja/l
There wasn't a good reason for that limit, we can simply make the code
slightly slower when --groups is passed and still have the expected
output even without --fancy.
Signed-off-by: Stéphane Graber
---
src/lxc/lxc-ls.in | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 0f027869da6fe8c448d374eb272b2f394c688937
https://github.com/lxc/lxc/commit/0f027869da6fe8c448d374eb272b2f394c688937
Author: Stéphane Graber
Date: 2014-05-02 (Fri, 02 May 2014)
Changed paths:
M doc/lxc-ls.
On Fri, May 02, 2014 at 03:44:31PM +0200, Johannes Kastl wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi everyone,
>
> sorry for the cross-post, not sure where this belongs. Answers to
> devel list, please.
>
> I tried to use the lxc-opensuse template, but had this error, which i
On Fri, May 02, 2014 at 04:01:47PM +0900, KATOH Yasufumi wrote:
> Update for commit 860f535
>
> Signed-off-by: KATOH Yasufumi
Acked-by: Stéphane Graber
> ---
> doc/ja/lxc-create.sgml.in | 16 +---
> 1 file changed, 9 insertions(+), 7 deletions(-)
>
> diff --git a/doc/ja/lxc-creat
On Fri, May 02, 2014 at 03:50:41PM +0900, KATOH Yasufumi wrote:
> Update for commit 50040b5
>
> Signed-off-by: KATOH Yasufumi
Acked-by: Stéphane Graber
> ---
> doc/ja/lxc-create.sgml.in | 16 +---
> 1 file changed, 9 insertions(+), 7 deletions(-)
>
> diff --git a/doc/ja/lxc-creat
On Fri, May 02, 2014 at 03:03:06PM +0900, KATOH Yasufumi wrote:
> Update for commit 0e98b3bd319e887e76e37b513545d0e8eb893f24
>
> Signed-off-by: KATOH Yasufumi
Acked-by: Stéphane Graber
> ---
> doc/ja/lxc-clone.sgml.in | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --g
On Fri, May 02, 2014 at 01:18:32PM +, Serge Hallyn wrote:
> Quoting Stéphane Graber (stgra...@ubuntu.com):
> > This introduces a new -g/--group argument to filter containers based on
> > their groups.
> >
> > This supports the rather obvious: --group blah
> > Which will only list containers th
On Fri, 2014-05-02 at 16:00 +0200, Harald Dunkel wrote:
> I haven't seen this suggested before: How about making
>
> lxc-start -n container
>
> an alias for
>
> lxc-start -n container -d
> lxc-console -n container
> ?
I was thinking along those lines too. Literally, if someo
Quoting Harald Dunkel (harald.dun...@aixigo.de):
> I haven't seen this suggested before: How about making
>
> lxc-start -n container
>
> an alias for
>
> lxc-start -n container -d
> lxc-console -n container
That won't show you the startup msgs as it will attach you to
tty1, no
I haven't seen this suggested before: How about making
lxc-start -n container
an alias for
lxc-start -n container -d
lxc-console -n container
?
This would allow me to detach from the container, if I
forgot the "-d" for lxc-start.
Regards
Harri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everyone,
sorry for the cross-post, not sure where this belongs. Answers to
devel list, please.
I tried to use the lxc-opensuse template, but had this error, which is
easily fixed:
> Checking cache download in /var/cache/lxc/opensuse/rootfs-x86_6
Quoting Christian Seiler (christ...@iwakd.de):
> Hi,
>
> >When -d is the default, you not only see the problems immediately.
> >It is much worse: stderr of lxc-start is redirected to /dev/null,
> >so you don't even see error messages from lxc-start itself! Such
> >as, cgroupfs is not mounted, or
Hi,
When -d is the default, you not only see the problems immediately.
It is much worse: stderr of lxc-start is redirected to /dev/null,
so you don't even see error messages from lxc-start itself! Such
as, cgroupfs is not mounted, or what not.
I don't think you are making a good argument for
Quoting Stéphane Graber (stgra...@ubuntu.com):
> This introduces a new -g/--group argument to filter containers based on
> their groups.
>
> This supports the rather obvious: --group blah
> Which will only list containers that are in group blah.
>
> It may also be passed multiple times: --group b
On Fri, 2014-05-02 at 13:42 +0400, Michael Tokarev wrote:
> Usually when you're start the container for the first time, when
> you just configured it, you want to see some error messages
> right on the terminal you start it from. So you can fix it and
> repeat, to hit another configuration error a
30.04.2014 16:26, Christian Seiler wrote:
[]
> However, from personal experience, lxc-start is not quite as user-
> friendly. In >95% of cases, I want to start a container in the
> background and keep it running. There are some cases where I want
> to have it in the foreground and get the output im
Update for commit 860f535
Signed-off-by: KATOH Yasufumi
---
doc/ja/lxc-create.sgml.in | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/doc/ja/lxc-create.sgml.in b/doc/ja/lxc-create.sgml.in
index 6fb7dfa..78d2f94 100644
--- a/doc/ja/lxc-create.sgml.in
+++ b/doc
57 matches
Mail list logo