Unable to enable the nfs/server service when nothing is shared
NFS service cannot be enabled if no file systems are shared. This is inconsistent with SMB, and causes confusion. It works this way, because there is automatic nfs server starting implemented, so it is not expected one might want to enable the nfs/service by hand (but this expectation is strange).
The fix is changing usr/src/cmd/fs.d/nfs/svc/nfs-server to start both nfsd and mountd regardless the number of active shares.
Updated by Electric Monk almost 7 years ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
commit 50b1420592e389f7ad93528e20c703aff72dc15e Author: Marcel Telka <email@example.com> Date: 2015-07-30T15:34:09.000Z 6088 Unable to enable the nfs/server service when nothing is shared Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Andrew Stormont <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: Rich Lowe <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>