RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 855699 - nfs not properly stopped on shutdown/reboot leading to unclean iscsi-hosted filesystems
Summary: nfs not properly stopped on shutdown/reboot leading to unclean iscsi-hosted f...
Keywords:
Status: CLOSED DUPLICATE of bug 856923
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.3
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: nfs-maint
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-10 03:54 UTC by Chris Tracy
Modified: 2012-11-19 20:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-19 20:48:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to match NFS subsys name to init script (1.69 KB, patch)
2012-10-04 14:47 UTC, Mark
no flags Details | Diff

Description Chris Tracy 2012-09-10 03:54:27 UTC
Description of problem:
Bug 717283 appears to be back in 6.3 with nfs-utils-1.2.3-26.  This results in any iSCSI hosted filesystems being uncleanly disconnected on shutdown/reboot, hence the high severity.

As before, the problem appears to be that /etc/rc.d/init/nfs creates the lockfile "/var/locks/subsys/nfsd" (note the trailing 'd') while /etc/rc.d/rc looks for the file "/var/locks/subsys/nfs" and thus doesn't think it needs to shut down nfs.

Version-Release number of selected component (if applicable):
nfs-utils-1.2.3-26

How reproducible:
Always

Steps to Reproduce:
1. Mount filesystem via iSCSI
2. Export filesystem via NFS
3. Shutdown or reboot system
4. Filesystem does not cleanly unmount because NFS has it locked
  
Actual results:
NFS not properly stopped when shutting-down/rebooting

Expected results:
NFS should stop when rebooting, allowing iSCSI mounts to cleanly unmount.


Additional info:

Comment 2 Mark 2012-10-04 14:45:41 UTC
The implications of this bug are wider. The running nfsd prevents
clean unmounting of /var, regardless of whether this is exported.

Here's a patch with a fix.

In future, perhaps the script would be more appropriately named
'nfsd', to clarify that it is the NFS server.

Comment 3 Mark 2012-10-04 14:47:00 UTC
Created attachment 621690 [details]
Patch to match NFS subsys name to init script

Comment 4 Steve Dickson 2012-11-19 20:48:31 UTC

*** This bug has been marked as a duplicate of bug 856923 ***


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