[OpenIndiana-discuss] Bug or feature in SMF? "svcadm restart" vs "disable+enable"

2013-11-18 Thread Jim Klimov
Hello all, While testing my works on SMF inter-dependencies (such as with my recent write-up on SMFization of local zones), I discovered that if I run svcadm restart, then the dependency service (a zone) stops first, and only when its state changes to "offline", the dependent services (zones) b

Re: [OpenIndiana-discuss] Bug or feature in SMF? "svcadm restart" vs "disable+enable"

2013-11-18 Thread Gary Mills
On Mon, Nov 18, 2013 at 03:27:42PM +0100, Jim Klimov wrote: > > While testing my works on SMF inter-dependencies (such as with my > recent write-up on SMFization of local zones), I discovered that if > I run svcadm restart, then the dependency service (a zone) stops > first, and only when its st

Re: [OpenIndiana-discuss] Bug or feature in SMF? "svcadm restart" vs "disable+enable"

2013-11-18 Thread Jim Klimov
Thanks for a response, replies inline. On 2013-11-18 20:02, Gary Mills wrote: On Mon, Nov 18, 2013 at 03:27:42PM +0100, Jim Klimov wrote: While testing my works on SMF inter-dependencies (such as with my recent write-up on SMFization of local zones), I discovered that if I run svcadm restar

Re: [OpenIndiana-discuss] Bug or feature in SMF? "svcadm restart" vs "disable+enable"

2013-11-18 Thread John D Groenveld
In message <528a74a1.7010...@cos.ru>, Jim Klimov writes: >Yes, of course. Being a service under its local zone's SMF control, >the database starts and stops correctly. And so does the appserver >in its zone. The problem is that when the appserver-zone depends on >the database-zone, and I do "svcadm

Re: [OpenIndiana-discuss] Bug or feature in SMF? "svcadm restart" vs "disable+enable"

2013-11-18 Thread Jim Klimov
On 2013-11-18 21:22, John D Groenveld wrote: In message <528a74a1.7010...@cos.ru>, Jim Klimov writes: Yes, of course. Being a service under its local zone's SMF control, the database starts and stops correctly. And so does the appserver in its zone. The problem is that when the appserver-zone de

Re: [OpenIndiana-discuss] Bug or feature in SMF? "svcadm restart" vs "disable+enable"

2013-11-19 Thread Gary Mills
On Mon, Nov 18, 2013 at 09:12:17PM +0100, Jim Klimov wrote: > On 2013-11-18 20:02, Gary Mills wrote: > >On Mon, Nov 18, 2013 at 03:27:42PM +0100, Jim Klimov wrote: > >> > >> While testing my works on SMF inter-dependencies (such as with my > >>recent write-up on SMFization of local zones), I disc

Re: [OpenIndiana-discuss] Bug or feature in SMF? "svcadm restart" vs "disable+enable"

2013-11-20 Thread Jim Klimov
On 2013-11-20 05:15, Gary Mills wrote: I'm still trying to get a picture of what you are doing. My understanding is that a local zone can only be started or stopped from the global zone, with the `zoneadm' command, and that the svc:/system/zones:default service takes care of starting and stoppin

Re: [OpenIndiana-discuss] Bug or feature in SMF? "svcadm restart" vs "disable+enable"

2013-12-12 Thread Jim Klimov
On 2013-11-18 15:27, Jim Klimov wrote: While testing my works on SMF inter-dependencies, I discovered that if I run svcadm restart, then the dependency service stops first, and only when its state changes to "offline", the dependent services begin to shut down. In the meanwhile, the dependency