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 about 6 years ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
commit 50b1420592e389f7ad93528e20c703aff72dc15e Author: Marcel Telka <firstname.lastname@example.org> Date: 2015-07-30T15:34:09.000Z 6088 Unable to enable the nfs/server service when nothing is shared Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Andrew Stormont <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: Rich Lowe <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>