Susan Sohn wrote:
> On 02/11/09 08:59, jan damborsky wrote:
>> Hi David,
>>
>>
>> David Garcia - ONPIT wrote:
>>> Hi Jan,
>>>
>>> I was just reading the bug now :)
>>>
>>> Then if I understood it right, we can start a new service with an 
>>> existent source image.
>>> I tested this and it worked but then I came across with another 
>>> possible issue.
>>>
>>> # installadm create-service -n x86_install_101a -s 
>>> /images/AI/osol-0811-rc2-ai.iso /export/ai/images/osol-0811-rc2-ai/
>>> Now I'll create a new service over an existing source image:
>>> # installadm create-service -n jare 
>>> /export/ai/images/osol-0811-rc2-ai/       Registering the service 
>>> jare._OSInstall._tcp.local
>>> # installadm list
>>> The install services running on the system are:
>>> x86_install_106
>>> x86_install_101a
>>> x86_install_106
>>> x86_install_101a
>>> x86_install_106
>>> x86_install_101a
>>> jare
>>> jare
>>> jare
>>>
>>> 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
>>> # 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?
>>
>> This seems like a bug to me. I think that check should be
>> done if particular image is in use by other services.
>> If this is the case, user should be informed and image should
>> not be deleted.
>>
>> Jan
>
> Yes, please file a bug on that.
>
> Sue
>
Filed bug #6587
http://defect.opensolaris.org/bz/show_bug.cgi?id=6587


Thanks,
David

Reply via email to