Re: [Lxc-users] Container shutdown remounts the lxc partition read-only... again

2013-06-27 Thread Serge Hallyn
Quoting Leonid Isaev (lis...@umail.iu.edu): On Fri, 21 Jun 2013 09:27:44 -0500 Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Leonid Isaev (lis...@umail.iu.edu): Hi, I have recently installed vanilla lxc-0.9.0 under archlinux and encountered the old fs is remounted ro

Re: [Lxc-users] Container shutdown remounts the lxc partition read-only... again

2013-06-21 Thread Serge Hallyn
Quoting Leonid Isaev (lis...@umail.iu.edu): Hi, I have recently installed vanilla lxc-0.9.0 under archlinux and encountered the old fs is remounted ro issue which is supposed to be fixed since https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/942325 ... The (also archlinux)

Re: [Lxc-users] Container shutdown remounts the lxc partition read-only... again

2013-06-21 Thread Leonid Isaev
On Fri, 21 Jun 2013 09:27:44 -0500 Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Leonid Isaev (lis...@umail.iu.edu): Hi, I have recently installed vanilla lxc-0.9.0 under archlinux and encountered the old fs is remounted ro issue which is supposed to be fixed since

[Lxc-users] Container shutdown remounts the lxc partition read-only... again

2013-06-18 Thread Leonid Isaev
Hi, I have recently installed vanilla lxc-0.9.0 under archlinux and encountered the old fs is remounted ro issue which is supposed to be fixed since https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/942325 ... The (also archlinux) containers' rootfs are located on a separate partition

Re: [Lxc-users] container shutdown

2012-03-19 Thread Daniel Lezcano
On 03/19/2012 03:50 AM, Serge Hallyn wrote: Quoting Daniel Lezcano (daniel.lezc...@free.fr): On 03/19/2012 12:00 AM, Serge Hallyn wrote: Hi, Thanks to Jäkel's and Fajar's great ideas, we can now cleanly shut down a container by sending it SIGPWR. I'm attaching two ways to do that. In-line

Re: [Lxc-users] container shutdown

2012-03-19 Thread Daniel Lezcano
On 03/19/2012 02:45 AM, Fajar A. Nugraha wrote: On Mon, Mar 19, 2012 at 7:05 AM, Daniel Lezcanodaniel.lezc...@free.fr wrote: On 03/19/2012 12:00 AM, Serge Hallyn wrote: Hi, Thanks to Jäkel's and Fajar's great ideas, we can now cleanly shut down a container by sending it SIGPWR. I'm

Re: [Lxc-users] container shutdown

2012-03-19 Thread Brian K. White
On 3/19/2012 9:25 AM, Serge Hallyn wrote: Quoting Daniel Lezcano (daniel.lezc...@free.fr): On 03/19/2012 03:50 AM, Serge Hallyn wrote: Quoting Daniel Lezcano (daniel.lezc...@free.fr): On 03/19/2012 12:00 AM, Serge Hallyn wrote: Hi, Thanks to Jäkel's and Fajar's great ideas, we can now

[Lxc-users] container shutdown

2012-03-18 Thread Serge Hallyn
Hi, Thanks to Jäkel's and Fajar's great ideas, we can now cleanly shut down a container by sending it SIGPWR. I'm attaching two ways to do that. In-line is a patch which modifies lxc-stop to take optional -s and -t args - -s for shutdown (meaning send SIGPWR), and -t for a timeout, after sending

Re: [Lxc-users] container shutdown

2012-03-18 Thread Daniel Lezcano
On 03/19/2012 12:00 AM, Serge Hallyn wrote: Hi, Thanks to Jäkel's and Fajar's great ideas, we can now cleanly shut down a container by sending it SIGPWR. I'm attaching two ways to do that. In-line is a patch which modifies lxc-stop to take optional -s and -t args - -s for shutdown (meaning

Re: [Lxc-users] container shutdown

2012-03-18 Thread Fajar A. Nugraha
On Mon, Mar 19, 2012 at 7:05 AM, Daniel Lezcano daniel.lezc...@free.fr wrote: On 03/19/2012 12:00 AM, Serge Hallyn wrote: Hi, Thanks to Jäkel's and Fajar's great ideas, we can now cleanly shut down a container by sending it SIGPWR.  I'm attaching two ways to do that. In-line is a patch

Re: [Lxc-users] container shutdown

2012-03-18 Thread Serge Hallyn
Quoting Daniel Lezcano (daniel.lezc...@free.fr): On 03/19/2012 12:00 AM, Serge Hallyn wrote: Hi, Thanks to Jäkel's and Fajar's great ideas, we can now cleanly shut down a container by sending it SIGPWR. I'm attaching two ways to do that. In-line is a patch which modifies lxc-stop to take

Re: [Lxc-users] container shutdown

2010-06-02 Thread Daniel Lezcano
On 06/01/2010 08:27 PM, atp wrote: Ok, absolutely the last post tonight. I promise. I fixed the find /var/run -exec rm -f {} command in rc.sysinit. Now the problem is that the runlevel is written whilst things are still shutting down; /lxc/test01.dev.tradefair/rootfs/var/run/utmp MODIFY

[Lxc-users] container shutdown

2010-06-01 Thread atp
Hello, Been looking at getting this patch working; http://lxc.git.sourceforge.net/git/gitweb.cgi?p=lxc/lxc;a=commitdiff;h=563f2f2ccd2891661836c96f92f047a735355c1b;hp=3bdf52d753ecf347b3b5cbff97675032f2de3e5e This patch allows to shutdown the container when the system is powered off in the

Re: [Lxc-users] container shutdown

2010-06-01 Thread atp
Bad idea to follow up on yourself, however I've got a bit further; running an inotifywait -m on the file at the same time as I'm tailing the log file gives you; lxc-start 1275415483.290 DEBUGlxc_cgroup - using cgroup mounted at '/cgroup' lxc-start 1275415483.290 DEBUGlxc_utmp

Re: [Lxc-users] container shutdown

2010-06-01 Thread atp
Ok, absolutely the last post tonight. I promise. I fixed the find /var/run -exec rm -f {} command in rc.sysinit. Now the problem is that the runlevel is written whilst things are still shutting down; /lxc/test01.dev.tradefair/rootfs/var/run/utmp MODIFY