Re: [Lxc-users] [lxc-devel] Restarting snmp service on the host, shutdown snmp on the guest.

2011-01-20 Thread Trent W. Buck
Michael Tokarev writes: > On 20.01.2011 19:09, Jean-Philippe Menil wrote: >> start-stop-daemon --quiet --stop --oknodo --exec /usr/sbin/snmpd >> >> So it's not based on the pid of the process, but on the executable file. > > See above. And file a bugreport against debian snmpd startup script

Re: [Lxc-users] An application container for apache?

2011-01-20 Thread Daniel Lezcano
On 01/20/2011 05:56 PM, Brian K. White wrote: > On 1/20/2011 10:29 AM, Sergio Daniel Troiano wrote: >> Andre, >> >> I'm using Slackware and i've compiled lxc-7.2 because when i tried to >> use lxc-7.3 i couldnt mount anything within the container. >> >> You have to create a root enviroment , i use

Re: [Lxc-users] [lxc-devel] Restarting snmp service on the host, shutdown snmp on the guest.

2011-01-20 Thread Walter Stanish
>> i've just found something that is being anoying me: >> >> when i restart the snmpd daemon on my host, it shutdown the snmpd daemon >> on my container. > > This, and many similar cases, happens - most likely - due to > bugs in system startup scripts on the host. Just briefly: this type of proble

Re: [Lxc-users] An application container for apache?

2011-01-20 Thread Brian K. White
On 1/20/2011 10:29 AM, Sergio Daniel Troiano wrote: > Andre, > > I'm using Slackware and i've compiled lxc-7.2 because when i tried to > use lxc-7.3 i couldnt mount anything within the container. > > You have to create a root enviroment , i use /container, here are all > shared files and directorie

Re: [Lxc-users] [lxc-devel] Restarting snmp service on the host, shutdown snmp on the guest.

2011-01-20 Thread Michael Tokarev
On 20.01.2011 19:09, Jean-Philippe Menil wrote: > Hi, > > i've just found something that is being anoying me: > > when i restart the snmpd daemon on my host, it shutdown the snmpd daemon > on my container. This, and many similar cases, happens - most likely - due to bugs in system startup scrip

Re: [Lxc-users] An application container for apache?

2011-01-20 Thread Andre Nathan
On Thu, 2011-01-20 at 13:29 -0200, Sergio Daniel Troiano wrote: > I'm using Slackware and i've compiled lxc-7.2 because when i tried to > use lxc-7.3 i couldnt mount anything within the container. > > You have to create a root enviroment , i use /container, here are all > shared files and director

Re: [Lxc-users] An application container for apache?

2011-01-20 Thread Sergio Daniel Troiano
Andre, I'm using Slackware and i've compiled lxc-7.2 because when i tried to use lxc-7.3 i couldnt mount anything within the container. You have to create a root enviroment , i use /container, here are all shared files and directories (/usr, /bin, /etc and so on) besides you must create no-shared

[Lxc-users] Restarting snmp service on the host, shutdown snmp on the guest.

2011-01-20 Thread Jean-Philippe Menil
Hi, i've just found something that is being anoying me: when i restart the snmpd daemon on my host, it shutdown the snmpd daemon on my container. The host is a debian squeeze, with a 2.6.37 kernel, and the version 0.7.3-1 packaged from debian. Guest are debian squeeze too. On the host: root@

Re: [Lxc-users] An application container for apache?

2011-01-20 Thread Andre Nathan
On Thu, 2011-01-20 at 11:44 -0200, Sergio Daniel Troiano wrote: > Sure but there are a lot of things i have found about lxc , how far > are you? where are you stuck? I'm just beginning with LXC... I have tried to use the lxc-sshd script as a starting point but I still haven't got it to work yet.

Re: [Lxc-users] An application container for apache?

2011-01-20 Thread Sergio Daniel Troiano
Andre, Sure but there are a lot of things i have found about lxc , how far are you? where are you stuck? Sergio D. Troiano Development Team. Av. de los Incas 3085 (C1426ELA) Capital Federal On Thu, 2011-01-20 at 12:32 -0200, Andre Nathan wrote: > On Thu, 2011-01-20 at 11:25 -0200, Sergio Da

Re: [Lxc-users] An application container for apache?

2011-01-20 Thread Andre Nathan
On Thu, 2011-01-20 at 11:25 -0200, Sergio Daniel Troiano wrote: > It is possible , i'm using Lxc with its own inittab and lxc.-start. > Within it i' running an apache server and it works perfectly. > I've tested lxc for 1 month more less and i haven't had any problem. > > If you have got any doubt

Re: [Lxc-users] An application container for apache?

2011-01-20 Thread Sergio Daniel Troiano
Nathan It is possible , i'm using Lxc with its own inittab and lxc.-start. Within it i' running an apache server and it works perfectly. I've tested lxc for 1 month more less and i haven't had any problem. If you have got any doubt maybe i colud help you. Sergio D. Troiano Development Team. Av.

[Lxc-users] An application container for apache?

2011-01-20 Thread Andre Nathan
Hello I have the following scenario in mind: in a machine shared by a few users, let each one control its own apache configuration by having an application container for each user, with its own network interface and apache configuration directory. Ideally, the apache instances would run as the app