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 930283 Details for
Bug 1094661
autofs can ghost non-existent map entries given the right timing
[?]
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: check for non existent negative entries in lookup_ghost()
autofs-5.0.9-check-for-non-existent-negative-entries-in-lookup_ghost.patch (text/plain), 1.27 KB, created by
Ian Kent
on 2014-08-25 03:21:27 UTC
(
hide
)
Description:
Patch: check for non existent negative entries in lookup_ghost()
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2014-08-25 03:21:27 UTC
Size:
1.27 KB
patch
obsolete
>autofs-5.0.9 - check for non existent negative entries in lookup_ghost() > >From: Ian Kent <raven@themaw.net> > >Map entries that have been created in the cache due to a negative lookup >but don't exist in the map source shouldn't have directories created. >In fact map entries that are negative shouldn't have directories created >at all since they should have neen created befor the entry became negative. >--- > CHANGELOG | 1 + > daemon/lookup.c | 8 ++++++++ > 2 files changed, 9 insertions(+) > >--- autofs-5.0.7.orig/CHANGELOG >+++ autofs-5.0.7/CHANGELOG >@@ -72,6 +72,7 @@ > - fix protmap not trying proto v2. > - fix negative status being reset on map read. > - fix fix negative status being reset on map read. >+- check for non existent negative entries in lookup_ghost(). > > 25/07/2012 autofs-5.0.7 > ======================= >--- autofs-5.0.7.orig/daemon/lookup.c >+++ autofs-5.0.7/daemon/lookup.c >@@ -604,6 +604,14 @@ int lookup_ghost(struct autofs_point *ap > cache_readlock(mc); > me = cache_enumerate(mc, NULL); > while (me) { >+ /* >+ * Map entries that have been created in the cache >+ * due to a negative lookup shouldn't have directories >+ * created if they haven't already been created. >+ */ >+ if (!me->mapent) >+ goto next; >+ > if (!strcmp(me->key, "*")) > goto next; >
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 1094661
:
930281
|
930282
| 930283