Project

General

Profile

Actions

Bug #6088

closed

Unable to enable the nfs/server service when nothing is shared

Added by Marcel Telka about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2015-07-27
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

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.


Related issues

Related to illumos gate - Bug #6568: zfs_allow_010_pos and zfs_allow_012_neg fail intermittentlyClosedYuri Pankov2016-01-20

Actions
Actions #2

Updated by Marcel Telka about 6 years ago

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

Updated by Electric Monk almost 6 years ago

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

git commit 50b1420592e389f7ad93528e20c703aff72dc15e

commit  50b1420592e389f7ad93528e20c703aff72dc15e
Author: Marcel Telka <marcel.telka@nexenta.com>
Date:   2015-07-30T15:34:09.000Z

    6088 Unable to enable the nfs/server service when nothing is shared
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
    Reviewed by: Rich Lowe <richlowe@richlowe.net>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions #4

Updated by Yuri Pankov over 5 years ago

  • Related to Bug #6568: zfs_allow_010_pos and zfs_allow_012_neg fail intermittently added
Actions

Also available in: Atom PDF