Project

General

Profile

Actions

Bug #6297

closed

share_nfs(1m): An obsolete paragraph in the man page

Added by Marcel Telka almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
manpage - manual pages
Start date:
2015-10-07
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

The following paragraph in the share_nfs(1m) man page is no longer valid (for long time now) and it should be removed:

     The same command entered from the command line does not share the /disk
     file system unless there is at least one file system entry in the
     /etc/dfs/dfstab file. The mountd(1M) and nfsd(1M) daemons only run if
     there is a file system entry in /etc/dfs/dfstab when starting or
     rebooting the system.
Actions #2

Updated by Marcel Telka over 6 years ago

# uname -a
SunOS openindiana 5.11 illumos-2816291 i86pc i386 i86pc
# svcs -a | grep nfs
disabled       22:27:59 svc:/network/nfs/status:default
disabled       22:27:59 svc:/network/nfs/nlockmgr:default
disabled       22:27:59 svc:/network/nfs/cbd:default
disabled       22:27:59 svc:/network/nfs/mapid:default
disabled       22:27:59 svc:/network/nfs/client:default
disabled       22:45:22 svc:/network/nfs/log:default
disabled       22:45:22 svc:/network/nfs/server:default
disabled       22:45:23 svc:/network/nfs/rquota:default
# grep -v ^# /etc/dfs/dfstab

# share -F nfs -o ro /tmp
# svcs -a | grep nfs
disabled       22:27:59 svc:/network/nfs/cbd:default
disabled       22:27:59 svc:/network/nfs/client:default
disabled       22:45:22 svc:/network/nfs/log:default
online         22:57:41 svc:/network/nfs/mapid:default
online         22:57:44 svc:/network/nfs/status:default
online         22:57:45 svc:/network/nfs/rquota:default
online         22:57:47 svc:/network/nfs/nlockmgr:default
online         22:57:47 svc:/network/nfs/server:default
# share
-               /tmp   sec=sys,ro   ""  
#

In addition, this is in the nfsd(1M) man page:

     Manually starting and restarting nfsd is not recommended. If it is
     necessary to do so, use svcadm to enable or disable the nfs service
     (svc:/network/nfs/server).  If it is disabled, it will be enabled by
     share_nfs(1M), unless its application/auto_enable property is set to
     false.  See the , and svcadm(1M) for more information.
Actions #3

Updated by Marcel Telka over 6 years ago

  • Status changed from In Progress to Pending RTI
Actions #4

Updated by Electric Monk over 6 years ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 0 to 100

git commit 01876d1223927426d21f8a38ec514cc3803e9b0f

commit  01876d1223927426d21f8a38ec514cc3803e9b0f
Author: Marcel Telka <marcel@telka.sk>
Date:   2017-03-29T15:02:10.000Z

    6297 share_nfs(1m): An obsolete paragraph in the man page
    Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF