Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 876727 Details for
Bug 1074376
am-utils will no longer start due to missing NFSv2
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch - dont background autofs umount
am-utils-6.1.5-dont-background-autofs-umount.patch (text/plain), 1.24 KB, created by
Ian Kent
on 2014-03-20 07:47:09 UTC
(
hide
)
Description:
Patch - dont background autofs umount
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2014-03-20 07:47:09 UTC
Size:
1.24 KB
patch
obsolete
>am-utils-6.1.5 - dont background autofs umount > >From: Ian Kent <ikent@redhat.com> > >When using an autofs multi-level mount map amd can fail to umount >NFS leaf mounts causing shutdown to fail. It also can cause amd to >SEGV because, even though umounts fail, the autofs mount control >structure is freed and a later umount attempt doesn't check if this >struct is valid before using it. > >The cause of the umount failure appears to be the background umount >of NFS mounts at the leaf of the tree not finishing before the autofs >file system mounts above are attempted. > >It isn't worth adding a patch to check if the autofs mount control >structure is valid because if it isn't, in this case, amd doesn't >crash but still becomes unresponsive. >--- > amd/map.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/amd/map.c b/amd/map.c >index 2fad4b7..8e86b39 100644 >--- a/amd/map.c >+++ b/amd/map.c >@@ -946,7 +946,8 @@ unmount_mp(am_node *mp) > #endif /* HAVE_FS_AUTOFS */ > > if ((mf->mf_fsflags & FS_UBACKGROUND) && >- (mf->mf_flags & MFF_MOUNTED)) { >+ (mf->mf_flags & MFF_MOUNTED) && >+ !(mf->mf_flags & MFF_ON_AUTOFS)) { > dlog("Trying unmount in background"); > run_task(unmount_node, (opaque_t) mp, > free_map_if_success, (opaque_t) mp);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1074376
: 876727 |
876728
|
876729
|
876730
|
876731
|
876732
|
876733
|
876735
|
876736