Re: [Lxc-users] Ubuntu template questions

2012-03-14 Thread Fajar A. Nugraha
On Wed, Mar 14, 2012 at 1:49 PM, Daniel Baumann daniel.baum...@progress-technologies.net wrote: On 03/14/2012 02:37 AM, Serge Hallyn wrote: That unfortunately won't work with upstart in the host and guest. too bad then. since i have absolutely no clue about upstart at all.. i just hope there

Re: [Lxc-users] Ubuntu template questions

2012-03-14 Thread Olivier Mauras
From what I know - as upstart is also on rh6 - you need to issue a reboot/shutdown directly from inside the guest. Olivier -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Daniel Baumann daniel.baum...@progress-technologies.net wrote: On 03/14/2012 02:37 AM, Serge Hallyn

Re: [Lxc-users] Ubuntu template questions

2012-03-14 Thread Fajar A. Nugraha
On Wed, Mar 14, 2012 at 1:58 PM, Fajar A. Nugraha l...@fajar.net wrote: On Wed, Mar 14, 2012 at 1:49 PM, Daniel Baumann daniel.baum...@progress-technologies.net wrote: On 03/14/2012 02:37 AM, Serge Hallyn wrote: That unfortunately won't work with upstart in the host and guest. too bad then.

Re: [Lxc-users] Ubuntu template questions

2012-03-14 Thread Jäkel , Guido
Can the host send a signal to the init's container? If yes, sysvinit responds to SIGINT. Does upstart behave the same (e.g. process control-alt-delete.conf when the signal is received)? It's set to reboot by default, but perhaps there's some other signal than we can use for shutdown? SysVInit

Re: [Lxc-users] Ubuntu template questions

2012-03-14 Thread Jäkel , Guido
After some experiments, upstart ignores SIGPWR, but still listens to SIGINT, and killing the process from the host works. So modifying the containter's control-alt-delete.conf to run shutdown -h instead of shutdown -r can let the host tell the guest to shutdown cleanly. Dear Fajar, because a

Re: [Lxc-users] Ubuntu template questions

2012-03-14 Thread Fajar A. Nugraha
On Wed, Mar 14, 2012 at 3:17 PM, Jäkel, Guido g.jae...@dnb.de wrote: Dear Fajar, i just googled  http://www.makelinux.net/man/7/P/power-status-changed  . There's written:        This event is not handled in the default Upstart configuration. For control-alt-delete, the corresponding

[Lxc-users] enable setting fedora container arch in the template creator

2012-03-14 Thread rhanna
From: InformatiQ rha...@informatiq.org *Enable [-A|--arch] option which allows for specifying the fedora conatiner architecture (i386|i686|x86_64) * can create ix86 under an x86_64 host but not the other way around * i386 and i686 are the same Signed-off-by: InformatiQ rha...@informatiq.org

Re: [Lxc-users] Ubuntu template questions

2012-03-14 Thread Serge Hallyn
On 03/14/2012 03:23 AM, Fajar A. Nugraha wrote: On Wed, Mar 14, 2012 at 3:17 PM, Jäkel, Guidog.jae...@dnb.de wrote: Dear Fajar, i just googled http://www.makelinux.net/man/7/P/power-status-changed . There's written: This event is not handled in the default Upstart configuration.

Re: [Lxc-users] Ubuntu template questions

2012-03-14 Thread Fajar A. Nugraha
On Thu, Mar 15, 2012 at 10:02 AM, Serge Hallyn serge.hal...@canonical.com wrote: On 03/14/2012 03:23 AM, Fajar A. Nugraha wrote: On Wed, Mar 14, 2012 at 3:17 PM, Jäkel, Guidog.jae...@dnb.de  wrote: Dear Fajar, i just googled  http://www.makelinux.net/man/7/P/power-status-changed  . There's