BugId: 6604652
Link to the bug: http://bugs.opensolaris.org/view_bug.do?bug_id=6604652
Synopsis: sharemgr prints incorrect error message when sharing a
remote filesystem
Category/Subcategory: Utility/filesystem
Changes to be made in the file usr/src/lib/libshare/nfs/libshare_nfs.c
I have attached the diff

Me and Rajath shanbag request a sponsor for the bug
SCA Numbers:
Ashwin Bhat - OS0144
Rajath SHanbag - OS0177

Description:

The "non-global zone" error message was incorrect. The correct one
should be something like "Cannot share remote filesystem: /mnt".

this is  because of the wrong statement in the function 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;


Thanks
----
Regards
Ashwin Bhat K S
Rajath Shanbag
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff_6604652
Type: application/octet-stream
Size: 392 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20080109/4bc6a40e/attachment.obj>

Reply via email to