Blame autofs-5.0.1-hosts-simple-fail.patch
|
ikent |
1e9cfc |
diff --git a/CHANGELOG b/CHANGELOG
|
|
ikent |
1e9cfc |
index d416684..0bb91e9 100644
|
|
ikent |
1e9cfc |
--- a/CHANGELOG
|
|
ikent |
1e9cfc |
+++ b/CHANGELOG
|
|
ikent |
1e9cfc |
@@ -1,6 +1,7 @@
|
|
ikent |
1e9cfc |
??/??/2007 autofs-5.0.2
|
|
ikent |
1e9cfc |
-----------------------
|
|
ikent |
1e9cfc |
- fix return check for getpwuid_r and getgrgid_r.
|
|
ikent |
1e9cfc |
+- give up trying to update exports list while host is mounted.
|
|
ikent |
1e9cfc |
|
|
ikent |
1e9cfc |
20/2/2007 autofs-5.0.1
|
|
ikent |
1e9cfc |
----------------------
|
|
ikent |
6ee1d8 |
diff --git a/modules/lookup_hosts.c b/modules/lookup_hosts.c
|
|
ikent |
6ee1d8 |
index 1a16b96..8855ed7 100644
|
|
ikent |
6ee1d8 |
--- a/modules/lookup_hosts.c
|
|
ikent |
6ee1d8 |
+++ b/modules/lookup_hosts.c
|
|
ikent |
6ee1d8 |
@@ -189,7 +189,7 @@ int lookup_mount(struct autofs_point *ap, const char *name, int name_len, void *
|
|
ikent |
6ee1d8 |
if (!ret)
|
|
ikent |
6ee1d8 |
return NSS_STATUS_SUCCESS;
|
|
ikent |
6ee1d8 |
|
|
ikent |
6ee1d8 |
- debug(ap->logopt, MODPREFIX "mount failed - update exports list");
|
|
ikent |
6ee1d8 |
+ return NSS_STATUS_TRYAGAIN;
|
|
ikent |
6ee1d8 |
}
|
|
ikent |
6ee1d8 |
done:
|
|
ikent |
6ee1d8 |
/*
|