I'll sponsor this fix.

Ceri is correct about the current status of the fix.


Ceri Davies wrote:
> On Tue, Jan 29, 2008 at 11:50:12AM +0530, Abhilash wrote:
>   
>> Sir,
>>
>>  Me Abhilash T.g and Arjun Asok have a fix for the bug  6604652. We are the 
>> students of amrita university.
>>
>> Abhilash oso183
>> Arjun oso211
>>
>> the synopsis is 
>>
>>
>>
>> See the following log:
>>
>> bash-3.00# mount installtest:/export /mnt
>> bash-3.00# share /mnt
>> NFS: Cannot share filesystems in non-global zones: /mnt
>> Could not share: /mnt: operation not supported
>> bash-3.00# zonename
>> global
>>
>> The "non-global zone" error message was incorrect. The correct one
>> should be something like "Cannot share remote filesystem: /mnt".
>>
>> This seems to be caused by a copy-and-paste typo in the following
>> code in nfs_enable_share():
>>
>>         case EREMOTE:
>>                 (void) printf(dgettext(TEXT_DOMAIN,
>>                     "NFS: Cannot share filesystems "
>>                     "in non-global zones: %s\n"), path);
>>                err = SA_NOT_SUPPORTED;
>>                 break;
>>
>>
>> We are attaching the diff file
>>
>> Abhilash
>> Arjun
>>     
>
>   
>> --- libshare_nfs.c.orig      Tue Oct  2 19:44:24 2007
>> +++ libshare_nfs.c   Tue Jan 29 12:00:05 2008
>> @@ -1803,7 +1803,7 @@
>>              switch (errno) {
>>              case EREMOTE:
>>                      (void) printf(dgettext(TEXT_DOMAIN,
>> -                        "NFS: Cannot share filesystems "
>> +                        "NFS: Cannot share remote filesystems "
>>                          "in non-global zones: %s\n"), path);
>>     
>
> This error message is still incorrect.  The example above is a global
> zone.
>
> Ceri
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> request-sponsor mailing list
> request-sponsor at opensolaris.org
>   


Reply via email to