On 07/22/10 09:38 AM, Darren J Moffat wrote:
On 22/07/2010 14:36, Mark Haywood wrote:
On 07/22/10 09:28 AM, Darren J Moffat wrote:
On 22/07/2010 14:27, Mark Haywood wrote:
On 07/22/10 04:26 AM, Darren J Moffat wrote:
Looks reasonable to me, with one tiny comment:

exec='/lib/svc/method/net-ipmp %m'

Given that in.mpathd is only really supposed to be started by the SMF
service now why is a method script necessary why can't the exec method
be in.mpathd itself ?

It could be. However, the stop method requires a script since we'd
conditionally like to display a message on stop. For consistency sake,
we'd like to use the script for all methods.

Where are you displaying the message and how ?

I'm making use of the smf_console() function:

Okay, now I'm wondering why that is appropriate for this stop method ? Why is this service so important that stopping it causes console messages ?

What is the console message ?

As mentioned in the case:

"Similarly, if the IPMP service is disabled while IPMP groups are configured, the service stop method will display warning messages to the console."



_______________________________________________
opensolaris-arc mailing list
opensolaris-arc@opensolaris.org

Reply via email to