Bug 486986 - Service netfs stop will also stop machine from exporting nfs shares
Summary: Service netfs stop will also stop machine from exporting nfs shares
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: initscripts
Version: 4.9
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: initscripts Maintenance Team
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On: 481794
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-23 15:52 UTC by Sachin Prabhu
Modified: 2018-10-20 03:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 481794
Environment:
Last Closed: 2010-04-20 18:48:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sachin Prabhu 2009-02-23 15:52:26 UTC
+++ This bug was initially created as a clone of Bug #481794 +++

Created an attachment (id=330115)
Proposed patch.

If a machine is both a NFS server and a client with nfs shares mounted. The command
service netfs stop
will unmount these nfs shares correctly. 

However it also unmounts /proc/fs/nfsd which is required by the nfs server on the machine. This prevents other clients from mounting nfs shares from this server.

Reproducer:

1) create nfs share and start nfs service.
2) mount nfs share
3) service netfs stop
This will unmount the nfs service. It also unmounts /proc/fs/nfsd which in turn prevents others from mounting from the servers nfs servers.


Note You need to log in before you can comment on or make changes to this bug.