* doc/am-utils.texi (amd): document proper use of
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 3 May 2005 03:14:31 +0000 (03:14 +0000)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 3 May 2005 03:14:31 +0000 (03:14 +0000)
/etc/hosts.allow.  Don't spawn a new Amd process because Amd will
get confused if someone else waitpid's on its children (which
often do important un/mount work).  Issue reported by Francis
Montagnac <Francis.Montagnac at sophia.inria.fr>.

ChangeLog
NEWS
doc/am-utils.texi

index e243ae8f56f0648a3a3652136a21f14a304bbbc8..c106e258c202adfeb760f3e9d09acda51acf6e25 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2005-05-02  Erez Zadok  <ezk@cs.sunysb.edu>
 
+       * doc/am-utils.texi (amd): document proper use of
+       /etc/hosts.allow.  Don't spawn a new Amd process because Amd will
+       get confused if someone else waitpid's on its children (which
+       often do important un/mount work).  Issue reported by Francis
+       Montagnac <Francis.Montagnac at sophia.inria.fr>.
+
        * minor new ports: powerpc64-unknown-linux-rhel4, and
        powerpc64-unknown-linux-suse9.
 
diff --git a/NEWS b/NEWS
index d17369c16b3333e91ea2b7bb9897258f522f3a39..95dd7fa8794312d45d460a91678cf3c0bda7e7e4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,7 @@ version (10.3.x) than uname(3) reports.
        * fix double-free in type:=nfsx
        * timeo and retrans shouldn't be set for type:=toplvl
        * fix inconsistency in handling filehandle generation number
+       * document proper use of hosts.allow (don't spawn)
 
 *** Notes specific to am-utils version 6.1-rc1
 
index ebc1c0ff0f41928c1d2151c43f4ef5d4c55c0613..f1e64cc25c96645088d7615a57e3ddfeb4542a66 100644 (file)
@@ -38,7 +38,7 @@
 @c
 @c      %W% (Berkeley) %G%
 @c
-@c $Id: am-utils.texi,v 1.101 2005/04/17 03:05:54 ezk Exp $
+@c $Id: am-utils.texi,v 1.102 2005/05/03 03:14:31 ezk Exp $
 @c
 @setfilename am-utils.info
 
@@ -4972,8 +4972,14 @@ and this line to @code{/etc/hosts.deny}:
 amd: ALL
 @end example
 
-Consult the man pages for @b{hosts_access}(5) for more information on
-using the tcpwrappers access-control library.
+Consult the man pages for @b{hosts_access}(5) for more information on using
+the tcpwrappers access-control library.
+
+Note that in particular, you should not configure your @code{hosts.allow}
+file to spawn a command for @i{Amd}: that will cause @i{Amd} to not be able
+to @code{waitpid} on the child process ID of any background un/mount that
+@i{Amd} issued, resulting in a confused @i{Amd} that does not know what
+happened to those background un/mount requests.
 
 @c ----------------------------------------------------------------
 @node vendor Parameter, , use_tcpwrappers Parameter, Global Parameters