David Garcia - ONPIT stated:
> Hi Sean,
>
> Sean McGrath wrote:
>> David Garcia - ONPIT stated:
>>   
>>> But then delete-service will try and remove it's source image even though 
>>> there're more active services using it:
>>> #installadm delete-service -x jare
>>> Stopping the service jare._OSInstall._tcp.local
>>> /usr/lib/installadm/setup-service[236]: [: 129.156.229.201: unknown operator
>>> rm: cannot remove directory `/export/ai/images/osol-0811-rc2-ai/': 
>>> Invalid argument
>>>     
>>
>>   Your box a multi-homed server ?
>>
>>  I think thats because then setup-service runs:
>>    /usr/bin/dns-sd -L ${name} ${type} ${domain} > $TMP_FILE
>>
>>   on multi-homed servers this returns multiple lines which the grep
>>   later on matches on, instead of just one line to match.  Its part of
>>   the installadm tools not being multi-homed aware:
>>
>> 6182    installadm tools doesn't support install servers which have mutiple 
>> subnets
>>
>>   
> It's actually configured with multiple subnets. However I didn't find the 
> relation between the bug report and the issue regarding delete-service 
> removing the source image directory.

  The bug was ment to be a catch all for anything related to the tools
  not being multi-homed aware, hence the synopsis.

  I've added details from this thread to it.

Sean.
.
>
> I also use an external DHCP server.
>>> # ls /export/ai/images/osol-0811-rc2-ai/
>>> (empty)
>>>
>>> Should installadm delete-service remove the source image if there's other 
>>> services actives 'linked' to that source image?
>>> I was going to open a bug but preferred to comment it here first in case 
>>> I didn't get this right (i.e. if after the service is created it's not 
>>> linked to the source image anymore)
>>>
>>> Thanks,
>>> David
>>>
>>>
>>> jan damborsky wrote:
>>>     
>>>> Hi David,
>>>>
>>>>
>>>> David Garcia - ONPIT wrote:
>>>>       
>>>>> Hi Jan,
>>>>>
>>>>> Please see comments inline:
>>>>>
>>>>> jan damborsky wrote:
>>>>>         
>>>>>> yes, '-s' is mandatory - it is mentioned later in man page,
>>>>>> but it seems to be marked incorrectly in 'usage' section.
>>>>>>
>>>>>> There is a bug filed for tracking these issues:
>>>>>>
>>>>>> 5553 required parameters are marked as optional in installadm(1M) man 
>>>>>> page
>>>>>>
>>>>>> It seems that the one you noticed is not mentioned in bug report -
>>>>>> could you please capture it there ?
>>>>>>
>>>>>>           
>>>>> I added a comment in #5553
>>>>>         
>>>> I talked to Sue and she pointed out that '-s' is optional, not mandatory,
>>>> as source image is not required.
>>>>
>>>> I have added appropriate comment to bug 5553 to address this and captured
>>>> there man page sections which should be clarified with respect to this 
>>>> point.
>>>>
>>>> My apologies for the confusion,
>>>> Jan
>>>>
>>>>       
>>> _______________________________________________
>>> caiman-discuss mailing list
>>> caiman-discuss at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>     
>>
>>   
>

-- 
Sean.
.

Reply via email to