Re: rc.shutdown and jails

2004-12-11 Thread Julian Elischer
Nielsen wrote: Julian Elischer wrote: I think we should introduce an "init" process for jails.. It would be responsible for all that the normal init is responsible for except for being the default parent.. (some might argue for that too). Sending it a particular signal would notify it to send shutd

Re: rc.shutdown and jails

2004-12-11 Thread Nielsen
Julian Elischer wrote: I think we should introduce an "init" process for jails.. It would be responsible for all that the normal init is responsible for except for being the default parent.. (some might argue for that too). Sending it a particular signal would notify it to send shutdown signals to

Re: rc.shutdown and jails

2004-12-11 Thread Ralf S. Engelschall
On Sat, Dec 11, 2004, Michal Belczyk wrote: > On Sat, Dec 11, 2004 at 12:44:12AM -0800, Julian Elischer wrote: > > Ralf S. Engelschall wrote: > > >On Fri, Dec 10, 2004, Nielsen wrote: > > >>Ralf S. Engelschall wrote: > > >> > > >>>Currently a "/etc/rc.d/jail stop" just kills all processes in the >

Re: rc.shutdown and jails

2004-12-11 Thread Pawel Jakub Dawidek
On Sat, Dec 11, 2004 at 12:44:12AM -0800, Julian Elischer wrote: +> I think we should introduce an "init" process for jails.. +> +> It would be responsible for all that the normal init is responsible for +> except for being the default parent.. (some might argue for that too). +> Sending it a part

Re: rc.shutdown and jails

2004-12-11 Thread Michal Belczyk
On Sat, Dec 11, 2004 at 12:44:12AM -0800, Julian Elischer wrote: > Ralf S. Engelschall wrote: > >On Fri, Dec 10, 2004, Nielsen wrote: > > > > > >>Ralf S. Engelschall wrote: > >> > >>>Currently a "/etc/rc.d/jail stop" just kills all processes in the > >>>individual jails. If /etc/default/rc.conf's d

Re: rc.shutdown and jails

2004-12-11 Thread Julian Elischer
Ralf S. Engelschall wrote: On Fri, Dec 10, 2004, Nielsen wrote: Ralf S. Engelschall wrote: Currently a "/etc/rc.d/jail stop" just kills all processes in the individual jails. If /etc/default/rc.conf's default way of booting the jails (jail_exec="/bin/sh /etc/rc") is used this is a rather crual app

Re: rc.shutdown and jails

2004-12-11 Thread Ralf S. Engelschall
On Fri, Dec 10, 2004, Nielsen wrote: > Ralf S. Engelschall wrote: > >Currently a "/etc/rc.d/jail stop" just kills all processes in the > >individual jails. If /etc/default/rc.conf's default way of booting the > >jails (jail_exec="/bin/sh /etc/rc") is used this is a rather crual > >approach IMHO. I

Re: rc.shutdown and jails

2004-12-10 Thread Nielsen
Ralf S. Engelschall wrote: Currently a "/etc/rc.d/jail stop" just kills all processes in the individual jails. If /etc/default/rc.conf's default way of booting the jails (jail_exec="/bin/sh /etc/rc") is used this is a rather crual approach IMHO. I think if the jail is booted through /etc/rc it also

rc.shutdown and jails

2004-12-10 Thread Ralf S. Engelschall
Currently a "/etc/rc.d/jail stop" just kills all processes in the individual jails. If /etc/default/rc.conf's default way of booting the jails (jail_exec="/bin/sh /etc/rc") is used this is a rather crual approach IMHO. I think if the jail is booted through /etc/rc it also should be given the chance