1 2004-05-12 Erez Zadok <ezk@cs.sunysb.edu>
3 * m4/macros/check_map_funcs.m4: imported bug-fixed version from
6 * config.guess, config.sub, ltmain.sh: updates from the latest GNU
9 * configure.in: don't check for dbm_open unless needed.
11 * m4/macros/header_templates.m4: template for NEW_DBM_H header
12 file. This completes the migration of bison/flex and n/dbm fixes
15 * include/am_defs.h: Move ALLOCA logic here.
16 Add new db/ndbm/gdbm logic here.
18 * fsinfo/fsinfo.h, fsinfo/fsinfo.c, fsinfo/fsi_lex.l,
19 amd/conf_tok.l: Fixes to avoid problems with modern yacc/lex
22 * amd/conf_parse.y: move ALLOCA checks out of yacc code. Fixes to
23 avoid problems with modern yacc/lex implementations.
25 * configure.in: search for gdbm/ndbm.h. Add logic to deal with
28 2004-01-20 Ion Badulescu <ionut@moisil.badula.org>
30 * amd/conf.c (gopt_nfs_allow_insecure_port): support function for
31 the new "nfs_allow_insecure_port" amd.conf directive
33 * amd/nfs_prot_svc.c (nfs_program_2): complain about the insecure
34 port and drop the request only if the "nfs_allow_insecure_port"
35 option is not set in amd.conf
37 * doc/am-utils.texi (Global Parameters): documented the new
38 amd.conf directive "nfs_allow_insecure_port"
40 * scripts/amd.conf.5 (nfs_allow_insecure_port): ditto
42 * scripts/amd.conf-sample (nfs_allow_insecure_port): added the
43 "nfs_allow_insecure_port" directive
45 2004-01-20 Erez Zadok <ezk@cs.sunysb.edu>
47 * doc/am-utils.texi: amd-workers is defunct.
49 2004-01-19 Erez Zadok <ezk@cs.sunysb.edu>
51 * cvs-server.txt: updated instructions
53 2004-01-18 Erez Zadok <ezk@cs.sunysb.edu>
55 * minor new port: i386-unknown-freebsd5.2.
57 * hlfsd/hlfsd.c (hlfsd_init), amd/amq_subr.c
58 (amqproc_mnttree_1_svc, amqproc_stats_1_svc,
59 amqproc_getmntfs_1_svc, xdr_amq_mount_tree): force double casting
60 to avoid gcc-3.3 complaints on Solaris 9 about "dereferencing
61 type-punned pointer will break strict-aliasing rules".
63 2004-01-06 Erez Zadok <ezk@cs.sunysb.edu>
65 * minor new port: i386-unknown-freebsd4.9.
67 * include/am_defs.h: Don't include malloc.h if stdlib.h exists,
68 because modern systems (e.g., BSD) complain if you use malloc.h
69 instead of stdlib.h. Let's hope there are no systems out
72 2004-01-05 Erez Zadok <ezk@cs.sunysb.edu>
74 * MIRRORS.{txt,html}: verify each mirror site, update to new
75 locations (if found), and remove stale mirrors URLs.
77 * updated copyright year to 2004 on all files.
79 * Makefile.am (install-snapshot): new directory to install
80 snapshots (now that am-utils home page is moved).
82 * INSTALL, README.autofs: remove forced text-mode.
84 * doc/am-utils.texi: fix Amd book URL.
86 * Makefile.am (EXTRA_DIST): include new mirror files in tarball.
88 * AUTHORS, BUGS, README, README.y2k, configure.in,
89 doc/am-utils.texi: revisions to use newer URLs for Web site, FTP,
92 * MIRRORS.{html,txt}: copied from 6.1 branch.
94 * doc/Makefile.am: install mirror lists officially.
96 2003-10-21 Ion Badulescu <ionut@moisil.badula.org>
98 * buildall: added support for -i (make install), other fixes from
101 2003-08-27 Ion Badulescu <ionut@buggy.badula.org>
103 * conf/nfs_prot/nfs_prot_freebsd3.h (na_uid): freebsd4.5 uses nfs
104 atttributes field named "uid". So #define na_uid to it. [backport
105 of Erez's 6.1 change from 2002-02-26]
107 2003-08-22 Nick Williams <Nick.Williams@morganstanley.com>
109 * amd/info_ldap.c (amu_ldap_init): don't try to pass a null
110 pointer as a string to plog, Solaris (and other OS's) don't like
111 it and will dump core.
113 2003-07-17 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu>
115 * fsinfo/*.[hc]: rename fsinfo function log() to fsi_log(), to
116 avoid conflict with builtin function in gcc-3.3.
118 2003-07-17 Philippe Troin <phil@fifi.org>
120 * amd/amfs_auto.c (amfs_auto_mount): When pref:=NULL set am_pref
121 to strdup("") instead of NULL since this value will be
122 freed. Contributed by Matt Chapman <matthewc@cse.unsw.edu.au>.
124 2003-06-09 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
126 * mk-amd-map/mk-amd-map.c (main): open temp db file using O_EXCL,
127 next best thing to using mkstemp(). Patch from Hendrik Scholz
128 <hscholz@raisdorf.net>.
130 2003-05-08 Ion Badulescu <ion@guppy.limebrokerage.com>
132 * libamu/mount_fs.c (compute_automounter_mount_flags): use
133 MNT2_GEN_OPT_AUTOMNTFS if available; minor cleanup, removed
134 redundant code for MNT2_GEN_OPT_OVERLAY
136 * m4/macros/header_templates.m4: added template for
137 MNT2_GEN_OPT_AUTOMOUNTED
139 2003-04-23 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
141 * conf/transp/transp_sockets.c (create_amq_service): minor cpp
142 directive indentation and commenting.
144 2003-04-22 Ion Badulescu <ionut@moisil.badula.org>
146 * conf/transp/transp_sockets.c (create_amq_service): Ugly *BSD fix for
147 an RPC library DoS issue (original patch from Martin Blapp,
148 massaged into something more digestable by me)
150 2003-04-13 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
152 * doc/Makefile.am (DVIPS): use proper options for dvips.
154 * doc/am-utils.texi (opts Option): document new 'unmount' option,
155 and better explain the 'nounmount' option. Also some misc options
156 for better generation of html manual.
158 * doc/Makefile.am (install-html): support newer text2html 4.0
159 options, as older options were renamed or changed behavior.
161 * amd/autil.c (am_mounted): support new 'unmount' option, to allow
162 all file system mounts to timeout and thus expire. This option is
163 useful for removable local media such as CD-ROMs, USB drives,
164 etc. so they can expire when not in use, and get unmounted (such
165 drives can get work out when they keep spinning). Patch from
166 Christos Zoulas <christos@zoulas.com> (originally from Koji
169 2003-04-10 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
171 * configure.in: use AM_MAINTAINER_MODE, so maintainer-only rules
172 do not get added to Makefiles by default (they are confusing to
173 users who don't have autotools installed).
175 2003-04-04 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
177 * libamu/xutil.c (switch_to_logfile): don't try to print logfile
178 if it is null (strlen core dump on solaris). Bug report from John
179 P. Rouillard <rouilj@ieee.org>.
181 2003-03-31 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
183 * fsinfo/fsinfo.8: typo co-ordinate -> coordinate. Typo report
184 from Perry E. Metzger" <perry@piermont.com>.
186 2003-03-20 Erez Zadok <ezk@suse73.fsl.cs.sunysb.edu>
188 * minor new port: sparc64-unknown-linux-suse7.3.
190 2003-03-20 Erez Zadok <ezk@a-freebsd5.fsl.cs.sunysb.edu>
192 * minor new port: i386-unknown-freebsd5.0.
194 * configure.in: detect nfsclient/nfsargs.h.
196 * conf/nfs_prot/nfs_prot_freebsd3.h: include
197 <nfsclient/nfsargs.h>, needed in FreeBSD 5.0.
199 2003-03-15 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
201 * amd/amd.8, amd/amd.8, fixmount/fixmount.8, hlfsd/hlfsd.8,
202 scripts/amd.conf.5, scripts/expn.1: minor spell checking and
203 extraneous space elimination.
205 2003-01-25 Erez Zadok <ezk@cs.sunysb.edu>
207 * BUGS (Note): document AIX-5.1 NFS-client side bug (hangs in
210 2003-01-25 Ion Badulescu <ionut@moisil.badula.org>
212 *******************************************************************
213 *** Released am-utils-6.0.9 ***
214 *******************************************************************
216 2003-01-23 Ion Badulescu <ion@guppy.limebrokerage.com>
218 * NEWS: updated for Darwin changes
220 * .cvsignore: added A.i386-apple-darwin6.0 and
221 A.sparc-sun-solaris2.9
223 * m4/macros/check_nfs_fh_dref.m4: darwin/rhapsody is another
226 2002-12-28 Ion Badulescu <ionut@moisil.badula.org>
228 * amd/srvr_nfs.c (start_nfs_pings): don't set FSF_PINGING if
231 * libamu/misc_rpc.c (make_rpc_packet): fix make_rpc_packet() on
232 64-bit big-endian platforms, bug report from Bill Fenner
233 <fenner@research.att.com>
235 * configure.in: increase library patchlevel
237 * libamu/xutil.c (amu_release_controlling_tty): close and reopen
238 file descriptors 0,1,2 before calling setsid()
240 2002-12-27 Erez Zadok <ezk@cs.sunysb.edu>
242 * updated copyright year to 2003 on all files
244 2002-12-11 Ion Badulescu <ionut@moisil.badula.org>
246 Solaris9 build fixes:
248 * amd/info_ldap.c (amu_ldap_rebind): call ldap_enable_cache() only
249 if configure detected it
251 * configure.in: check for ldap_enable_cache()
253 2002-12-10 Erez Zadok <ezk@localhost.localdomain>
255 * rename "aux/" subdir into "m4/" so as to avoid problems with
256 MS-DOS systems (where "AUX" is a reserved name). This required
257 fixing numerous files.
259 2002-11-21 Erez Zadok <ezk@cs.sunysb.edu>
261 * config.guess.long: updated script so it will properly find the
262 version number of the new Itanium 2 machines running "Red Hat
263 Linux Advanced Workstation release 2.1AW (Derry)". The script now
264 will report ia64-unknown-linux-rh2.1AW.
266 2002-11-11 Ion Badulescu <ion@guppy.limebrokerage.com>
268 * doc/am-utils.texi (Keep-alives): removed outdated info about not
269 maintaining the state of TCP NFS servers
271 2002-10-01 Ion Badulescu <ion@guppy.limebrokerage.com>
273 * hlfsd/hlfsd.h: removed sys_nerr declaration
275 * amq/amq.c, hlfsd/hlfsd.c, libamu/xutil.c: always use strerror()
277 * libamu/strerror.c: new file, strerror() implementation for
278 systems that don't have it
280 * libamu/Makefile.am: added strerror.c
282 * include/am_utils.h: debug code improvements ported from 6.1
284 * conf/mount/mount_aix.c: compile fix for --disable-debug
286 2002-09-09 Ion Badulescu <ion@guppy.limebrokerage.com>
288 *******************************************************************
289 *** Released am-utils-6.0.8 ***
290 *******************************************************************
292 2002-09-09 Ion Badulescu <ion@guppy.limebrokerage.com>
294 * amd/srvr_nfs.c (nfs_timed_out): add #ifdef DEBUG around dlog
296 2002-09-04 Ion Badulescu <ion@guppy.limebrokerage.com>
298 * amd/mntfs.c (free_mntfs): sanity check for mf_refc [patch from
299 George Ross ported from 6.1]
301 * amd/srvr_nfs.c (nfs_timed_out): allocate a new XID on server
302 timeout to avoid problems with late ping replies [patch from
303 George Ross ported from 6.1]
305 2002-07-11 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
307 * scripts/expn.{1,in}: fixed typos as reported by Thomas Klausner
308 <wiz@danbala.ifoer.tuwien.ac.at>.
310 2002-06-26 <ezk@agora.fsl.cs.sunysb.edu>
312 * doc/Makefile.am (install-html): don't use locally hacked
315 * doc/am-utils.texi: don't use ':' in @cindex entries.
317 2002-06-24 Ion Badulescu <ionut@moisil.badula.org>
319 * doc/am-utils.texi (automount2amd): minor rewording
321 * aux/macros/struct_nfs_args.m4: added test for aix51_nfs_args
323 * conf/nfs_prot/nfs_prot_aix5_1.h: rename aix42_nfs_args to
324 aix51_nfs_args, rename unknown fields to u<number>
326 2002-06-24 Ion Badulescu <ion@guppy.limebrokerage.com>
328 * buildall: use ksh for configure on aix5.1; pass the extra
329 arguments after "--" to configure, not to make; fix 'buildall -b'
332 2002-06-22 Ion Badulescu <lionut@gonzales.badula.org>
334 * hlfsd/homedir.c (homedir): use setgid() instead of setegid()
336 * buildall: use ksh for configure on aix5.1
338 2002-06-21 Ion Badulescu <ion@guppy.limebrokerage.com>
340 * Makefile.am: added nfs_prot_aix4_3.h to EXTRA_DIST_CONF
342 * conf/mount/mount_aix.c (mount_aix3): if the NFSv3 mount fails
343 with EINVAL and we have MOUNT_TYPE_NFS3_BIS defined, retry the
344 mount with the alternative nfs3_args structure
346 * conf/nfs_prot/nfs_prot_aix4_3.h: added alternative nfs3_args
347 structure, similar to that in aix5.1, for a hack that tries to
348 compensate for IBM's brain fart
350 * conf/nfs_prot/nfs_prot_aix5_1.h: new nfs_prot header for aix5.1+
352 * aux/macros/check_nfs_prot_headers.m4: added new header for aix5.1+
354 * BUGS: update for direct mounts on Linux; document the brokenness
355 of /bin/sh on AIX 5.1 and HP-UX 9
357 2002-06-21 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
359 * ALL source/header files: change use of HAVE_FIELD_* macros to
360 HAVE_*, since aux/macros/check_field.m4 changed as well.
362 * configure.in, Makefile.am, bootstrap, aux/amdgrep,
363 aux/macros/*.m4: MAJOR port of autotool files from 6.1 branch, to
364 work with newer autotools.
366 2002-06-21 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
368 * aux/macros/with_addon.m4: correct M4 quoting.
370 * aux/macros/cache_check_dynamic.m4: correct M4 quoting.
372 * bootstrap: show version of autotools being used. Helps
373 maintainer debugging.
375 * configure.in: new proper syntax for libtool and
376 ansi2knr-filtering rules, required by autoconf 1.53 and higher.
378 2002-06-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
380 * aux/GNUmakefile: new search paths for "update" target.
382 * config.guess, config.sub, doc/texinfo.tex, ltmain: updates from
383 the latest GNU distributions.
385 2002-05-30 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
387 * config.guess.long: support SuSE version names in long
390 2002-05-03 Ion Badulescu <ion@guppy.limebrokerage.com>
392 * hlfsd/homedir.c (homedir): last chance checking for zombies;
393 (interlock): anal-retentive checking for all sorts of error
394 conditions during child recovery
396 * hlfsd/hlfsd.c (main): use SA_RESTART in sigaction
397 (cleanup): indentation
399 2002-05-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
401 * scripts/lostaltmail.in (vrfy_user): unlink temp files if too
404 2002-03-29 Ion Badulescu <ionut@moisil.badula.org>
406 * amd/nfs_start.c: use plog() instead of perror()
408 2002-03-28 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
410 * amd/info_ldap.c: patch from "Sebastien Bahloul"
411 <sebastien.bahloul@medasys.org> to fix a simple initialization bug
412 and change "HE" to HE_ENT so as to compile on HPUX.
414 2002-02-12 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
416 * scripts/lostaltmail.in: don't verify user if -noverify option
417 was turned on. fix comment typo.
419 2002-02-11 Ion Badulescu <ion@guppy.limebrokerage.com>
421 * Ripped out all traces of autofs support
423 2002-02-11 Ion Badulescu <ion@guppy.limebrokerage.com>
425 * README: require newer auto-tools, update mailing list address
427 * README.autofs: point to the 6.1 branch for autofs support
429 2002-01-20 Erez Zadok <ezk@localhost.localdomain>
431 * updated copyright year to 2002 on all files
433 * hlfsd/hlfsd.h (HLFSD_VERSION): up version of hlfsd to 1.2,
434 because we made some important changes.
436 2002-01-20 Ion Badulescu <lionut@gonzales.badula.org>
438 * NEWS: document latest changes
440 * amd/map.c (unmount_mp): same fix as for hlfsd, update the
441 seconds field in mtime because Linux ignores the useconds field
443 * hlfsd/homedir.c: made some global vars static
444 (plt_init): remove all trailing '/' chars from root's home;
445 use root's home, not the username (silly bugfix)
447 2002-01-20 Ion Badulescu <lionut@gonzales.badula.org>
449 * hlfsd/homedir.c (homedir): don't special case uid 0 as having /
450 as home; instead use the root accounts home
451 (plt_init): properly initialize root_home from the root account's
452 home directory, or as "" if root doesn't exist
453 (plt_reset): free root_home
455 2002-01-20 Ion Badulescu <lionut@gonzales.badula.org>
457 * hlfsd/hlfsd.h: update prototype for homedir()
459 * hlfsd/stubs.c (nfsproc_lookup_2_svc): get the credentials at the
460 begining of the function and assign the uid to the symlink
461 attributes; increment the mtime's seconds field each time the uid
463 (nfsproc_lookup_2_svc): ditto
464 (nfsproc_readlink_2_svc): pass the groupid to homedir();
466 * hlfsd/homedir.c (homedir): take a second argument, the user's
467 primary gid, and switch to it when doing filesystem operations;
468 save the old uid and gid and revert to them instead of the
471 2002-01-10 Ion Badulescu <ion@guppy.limebrokerage.com>
473 * conf/mount/mount_linux.c (mount_linux): tcp _must_ have a timeo
474 parameter 2 orders of magnitude larger than udp (patch from Trond
477 2001-12-13 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
479 * scripts/amd.conf.5: correct title to section 5, not 8. Correct
480 reversed meaning of nfs_proto and nfs_vers parameters. Typos
481 reported by Peter Breitenlohner <peb@mppmu.mpg.de>.
483 2001-12-02 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
485 * scripts/ctl-amd.in: run "test" or "[" in front of -x/-f
487 * scripts/ctl-hlfsd.in: run "test" or "[" in front of -x/-f
489 2001-11-29 Ion Badulescu <ion@guppy.limebrokerage.com>
493 * amq/amq.8: better document the -f option
495 2001-11-29 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
497 * libamu/mount_fs.c (mnt_flags): same as for nolock option
498 handling, do for maxgrps.
500 2001-11-28 Philippe Troin <phil@fifi.org>
502 * libamu/mount_fs.c (mnt_flags): Drop nolock from generic mount
504 (compute_nfs_args): Added nolock handling.
505 Adapted from an original patch from Avery Pennarun <apenwarr@nit.ca>.
507 2001-11-27 Erez Zadok <ezk@a-hpux11i.fsl.cs.sunysb.edu>
509 * ported to ia64-hp-hpux11.20 using HP's ANSI/C compiler.
510 Couldn't use bison/flex because of 32-bit vs. 64-bit binaries
511 issues. Had to use HP's own yacc/lex. This was discovered by
512 using HP's non-GNU make program.
514 2001-11-26 Erez Zadok <ezk@a-hpux11i.fsl.cs.sunysb.edu>
516 * */Makefile.am: don't use $(OBJECTS) directly because it is no
517 longer automatically defined now that Automake has automatic
518 dependency tracking (which I turn off). Instead, hard-code
519 minimal dependencies on am-utils' header files to depend on
520 PROG_OBJECTS (where PROG is the program name being built)
522 * amd/nfs_start.c (checkup): cast getpagesize() return val to
523 long, to avoid conflicts in division of a long by an int (on
524 hpux11i, with their ANSI/C compiler).
526 * INSTALL, doc/am-utils.texi: port updates
528 * minor new ports: ia64-hp-hpux11.20, i386-unknown-freebsd5.0,
529 i386-unknown-freebsd4.4, i386-pc-linux-rh7.2,
530 ia64-unknown-linux-rh7.1.
532 * include/am_defs.h: actually declare extern definition for
533 xdr_callmsg() if it doesn't already exist.
535 * aux/macros/header_templates.m4: declare template for
536 HAVE_EXTERN_XDR_CALLMSG.
538 * configure.in: check for extern definition for xdr_callmsg()
539 because hpux11 has that function but a bad <rpc/xdr.h> header file
540 that doesn't define it in the right place.
542 * libamu/mount_fs.c (print_nfs_args): cast ->rdev to u_long b/c
543 on hpux11 its type is dev_t.
545 * conf/nfs_prot/nfs_prot_hpux11.h: don't support autofs on hpux11
548 2001-11-16 Erez Zadok <ezk@fsl-gw.fsl.cs.sunysb.edu>
550 * buildall (Usage): separate $cnf_flags and $extra_cnf_flags due
551 to /bin/sh limitations.
553 * bootstrap (cmd): turn back on --ignore-deps (this Automake may
556 * libamu/xutil.c: remove __attribute__ format_arg statement for
557 expand_error() because this function, although taking a
558 printf-like string, does not use it in a printf function; it only
559 expands a non-printf amd-special syntax %m.
561 2001-11-14 Erez Zadok <ezk@fsl-gw.fsl.cs.sunysb.edu>
563 * conf/nfs_prot/nfs_prot_linux.h: define KERNEL_VERSION macro
564 before using it because older Linux systems don't define this
567 2001-11-13 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
569 * configure.in: convert to using autoconfig 2.52. Use new macros.
570 AC_MSG_NOTICE for messages; AH_TOP and AH_BOTTOM to top and bottom
571 parts of autogenerated config.h.in; increase autoconf
572 pre-requisite to version 2.50; use AC_DISABLE_SHARED not
575 * aux/macros/cache_check_dynamic.m4: finally I can use the new
576 $ECHO_N syntax in macros instead of $ac_n, since I'm using a new
577 autoconf. Isn't it nice to be such forward looking and having
578 placed a comment "XXX: use the next line for autoconf-2.14 and
581 * aux/macros/save_state.m4: highlight message with ***'s
583 * aux/macros/host_macros.m4: use proper M4 quoting ([], not "")
585 * config.{guess,sub}: upated from latest prep ftp distributions
587 * depcomp, missing, mkinstalldirs: upated from latest Automake 1.5
589 * ltmain.sh: updated from latest Libtool 1.4.2
591 * bootstrap: finally, new autoconf doesn't print silly "AC_TRY_RUN
592 called without default to allow cross compiling" warnings. And,
593 it only took like 3+ years to fix this. But, now it has anoter,
594 albeit less annoying warning (which the manual says to ignore):
595 "AC_PROG_LEX invoked multiple times".
596 When autoheader is run, don't treat the "all clear" message
597 "config.h.in is update" as an error.
599 * ltconfig: removed. not needed with latest version of libtool
601 * aux/macros/header_templates.m4: replaces acconfig.h and defines
602 all CPP macros we use in this package, including their
603 accompanying C /* comments */.
605 * acconfig.h: removed. replaced by new autoconf system to generate
606 header templates using AH_TEMPLATE macros and such.
608 * aux/macros/msg.m4: removed. Replaced with new macro
611 * Makefile.am (EXTRA_DIST_AUX): remove aux/macros/msg.m4. Add
612 aux/macros/header_templates.m4
614 * configure.in: early, in host_macros.m4, I'm renaming silly linux
615 $host_os names such as linux-gnu and lignux to plain "linux".
616 Alas, RMS finally had his way and libtool will NOT recognize
617 "linux" as a valid system, only "linux-gnu". Sigh. Rich, I know
618 you're responsible to Linux's fame. Kudos to you and your
619 cohorts. But please don't force the rest of us to use those ugly
620 or long names. Solution: temporarily name $host_os to "linux-gnu"
621 before calling the AC_PROG_LIBTOOL macro, then name it back to
622 "linux". (That way I don't have to maintain my own version of
625 * buildall: force running configure -C (to create and use a local
626 config.cache file). New default behavior for autoconf is NOT to
627 use cache files. Yeah, that's gonna fly real well with am-utils,
628 with its 700+ automatic tests.
630 * conf/mtab/mtab_mach3.c (rewrite_mtab): use mkstemp instead of
631 mktemp, if the former is available.
633 * conf/mtab/mtab_file.c (rewrite_mtab): use mkstemp instead of
634 mktemp, if the former is available.
636 * mk-amd-map/mk-amd-map.c (main): use mkstemp instead of mktemp,
637 if the former is available.
639 * aux/macros/check_nfs_socket_connection.m4: AC_DEFINE calls must
640 be on a separate line, as per new Autoconf manual, to avoid some
641 Bourne Shell syntactical bizarreness.
643 2001-11-12 Ion Badulescu <ionut@buggy.badula.org>
645 * libamu/mtab.c (hasmntval): strtol can return a non-NULL pointer
646 pointing to '\0' on success, so we need to allow for it. This
647 fixes the problem with rejecting numerical mount options if they
648 are the last option in the string.
650 * configure.in: increased library patchlevel
652 * NEWS: document the parsing bug; document other previous changes
654 2001-10-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
656 * aux/macros/os_cflags.m4 (irix6*): Enforce N32 ABI/mips3 ISA with cc.
657 * BUGS: Explain this.
659 2001-10-02 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu>
661 * doc/am-utils.texi (redhat-ctl-amd): document new script.
663 * scripts/Makefile.am: build redhat-ctl-amd but do not install it.
665 * scripts/redhat-ctl-amd.in: new script, useful to correctly
666 control Amd on Red Hat Linux systems. Script adapted from ctl-amd
667 and Red Hat's own rc.d script.
669 2001-10-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
671 * conf/nfs_prot/nfs_prot_osf5.h: Renamed from nfs_prot_osf5_1.h.
672 (MNT2_NFS_OPT_AUTO): Disable.
673 * Makefile.am (EXTRA_DIST_CONF): Reflect new name.
674 * aux/macros/check_nfs_prot_headers.m4: Use this file for all
675 Tru64 UNIX V5 and up releases.
677 2001-09-24 Ion Badulescu <ionut@moisil.badula.org>
679 * include/mount_headers1.h (MFS): define as 1 instead of nothing,
680 to fix compile problems on OS X (patch from Ahmon Dancy)
682 * aux/macros/try_compile_anyfs.m4 (MFS): ditto
684 2001-08-13 Erez Zadok <ezk@fsl-gw.fsl.cs.sunysb.edu>
686 * doc/am-utils.texi (in_network Selector Variable): document
689 * libamu/wire.c (is_network_member): support for network/netmask
690 as well as network/bits syntax in in_network()
692 2001-07-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
694 * amd/get_args.c (get_args): a better way to handle GNU and
695 non-GNU getopts without strdup-ing the getopt string.
697 2001-07-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
699 * amd/info_ldap.c (amu_ldap_rebind): The first time you called
700 amu_ldap_init, aldh->ldap is not set. So when amu_ldap_rebind is
701 called, this function is absolutely sure to return 0. Then
702 amu_ldap_init return 0 without having opened any LDAP connection.
703 This is not the correct behaviour.
704 (get_ldap_timestamp, amu_ldap_search): error to free an object
705 ("entry") that is automatically freed by the library. Patch from
706 Sebastien Bahloul <sebastien.bahloul@mangoosta.fr>.
708 2001-07-19 Ion Badulescu <ionut@moisil.badula.org>
710 * AUTHORS (variables): added Philippe Troin
712 * Makefile.am (EXTRA_DIST): added bootstrap
714 * amd/map.c (unmount_node_wrap): fix a couple of comments (already
717 * amd/amfs_auto.c (try_mount): print the path for the request that
718 failed (already in 6.1)
720 * include/am_compat.h (xfs_args_t): define as u_int if the
721 filesystem is supported but we can't autodetect the type for
722 xfs_args_t. This allows Linux to mount xfs filesystems.
724 2001-07-12 Philippe Troin <phil@fifi.org>
726 * aux/macros/with_addon.m4: Created. Wrapper around AC_ARG_WITH
727 with only the `yes' and `no' as possible answers.
729 * configure.in: Added support for disabling LDAP and HESIOD even
730 if the supporting libraries are found.
732 * Makefile.am (EXTRA_DIST_AUX): Added with_addon.m4 macro file.
734 2001-07-12 Philippe Troin <phil@fifi.org>
736 * include/am_compat.h: Removed forced definition of MNTTAB_OPT_DEV
737 if MNT2_GEN_OPT_NODEV was found. Actually, the dev= (SVR4) options
738 and the linux nodev options are different beasts.
740 * conf/mount/mount_linux.c (opt_map): Removed the MNTTAB_OPT_DEV
741 entry (not really necessary on linux).
743 2001-07-12 Philippe Troin <phil@fifi.org>
745 * amd/get_args.c (get_args): Prepend "+" to the getopt string if
746 HAVE_GNU_GETOPT to avoid getting all options (even the ones after
747 the first non-option argument) slurped in by GNU getopt.
749 * aux/macros/check_gnu_getopt.m4: Created. Defines HAVE_GNU_GETOPT
750 if GNU/glibc getopt implementation is detected.
752 * configure.in: Added call to AC_CHECK_GNU_GETOPT.
754 * acconfig.h: Document HAVE_GNU_GETOPT.
756 * Makefile.am (EXTRA_DIST_AUX): Added check_gnu_getopt.m4 macro file.
758 2001-06-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
760 *******************************************************************
761 *** Released am-utils-6.0.7 ***
762 *******************************************************************
764 2001-06-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
766 * config.guess, config.sub, doc/texinfo.tex: updates from the
767 latest GNU distributions.
769 * INSTALL, doc/am-utils.texi (Supported Platforms): update info on
772 * LSM.am-utils, NEWS, README.y2k, ChangeLog: make sure all
773 am-utils URL references use www.am-utils.org, not the columbia
776 2001-05-24 Erez Zadok <ezk@fsl-gw.fsl.cs.sunysb.edu>
778 * conf/transp/transp_sockets.c (create_nfs_service): cast to u_long
779 to ensure clean compile on freebsd5 and bsdi2.
781 2001-05-19 Erez Zadok <ezk@kosh.dyn.optonline.net>
783 * conf/mount/mount_linux.c: typo: added comma after '0' element.
785 2001-05-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
787 * conf/mount/mount_linux.c (linux_nfs_error): don't special case
788 the 0 result, just put it into the translation list
790 2001-05-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
792 * conf/mount/mount_linux.c (linux_nfs_error): don't report success
793 (0) as error (NE_IO)!
795 2001-05-18 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
797 * amd/amfs_host.c (amfs_host_mount): don't fail the mount if at
798 least one share is already mounted
800 2001-05-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
802 *******************************************************************
803 *** Released am-utils-6.0.6 ***
804 *******************************************************************
806 2001-05-01 Ion Badulescu <ionut@gonzales.dev.hydraweb.com>
808 * conf/mount/mount_linux.c: fixed stupid error in the linux
809 nfs_errormap[], which was mapping ENOENT to success!!!
811 2001-04-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
813 * BUGS: added info about the direct mount problems on Linux and
814 about the kernel patches on www.am-utils.org.
816 * amd/autil.c (forcibly_timeout_mp): always log a message when the
817 forced unmount request is ignored
819 2001-04-23 Ion Badulescu <ionut@buggy.dev.hydraweb.com>
821 * amd/ops_autofs.c (autofs_lookuppn): renamed
822 CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS
823 (leftover from 03/29/01)
825 2001-04-14 Erez Zadok <ezk@whitestar.dyn.optonline.net>
827 * COPYING: update copyright year
829 * amd/amfs_auto.c, amd/amfs_host.c, amd/amfs_nfsx.c,
830 amd/amfs_toplvl.c, amd/amfs_union.c, amd/conf.c, amd/info_nis.c,
831 amd/info_nisplus.c, amd/mapc.c, amd/nfs_subr.c, amd/ops_nfs.c,
832 amd/rpc_fwd.c, amd/srvr_amfs_auto.c, amd/srvr_nfs.c,
833 conf/autofs/autofs_solaris_v1.c, conf/mtab/mtab_file.c,
834 conf/mtab/mtab_isc3.c, conf/mtab/mtab_svr4.c,
835 conf/transp/transp_sockets.c, conf/transp/transp_tli.c,
836 libamu/mount_fs.c, libamu/mtab.c: rewritten various dlog/plog
837 messages for clarity, to avoid duplication, to better recognize
838 what the message means and where it ran, and to fix typos.
840 * amd/nfs_subr.c (nfsproc_lookup_2_svc): moved trace message of
841 function's name to the beginning of the function, before any other
844 2001-04-05 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
846 * include/am_defs.h: define NFSCLIENT, NFS, PCFS, LOFS, RFS,
847 MSDOSFS, MFS and CD9660 to 1, so that both #if FOO and #ifdef FOO
848 work (needed for MacOS X); removed duplicate definition of NFS.
850 2001-04-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
852 * released snapshot am-utils-6.0.6s2
854 2001-03-29 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
856 * amd/amd.h, amd/amfs_auto.c, amd/conf.c,
858 scripts/amd.conf-sample, scripts/amd.conf.5:
859 renamed selectors_on_default to selectors_in_defaults,
860 kept the former as a deprecated option;
861 renamed CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS;
862 renamed gopt_selectors_on_default() to gopt_selectors_in_defaults()
864 2001-03-15 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
866 * conf/mount/mount_linux.c (parse_opts): added support for lofs
867 (mount_linux): support lofs through bind mounts and/or FiST lofs
869 * scripts/ctl-hlfsd.in: search for /var/spool/mail in addition to
870 /var/mail and /usr/spool/mail
872 * conf/nfs_prot/nfs_prot_linux.h (MS_BIND): add define for it, if
873 kernel is newer than 2.4.0
874 (MNTTYPE_LOFS): ditto
876 * acconfig.h: added MNT2_GEN_OPT_BIND
878 * configure.in: bumped up library patchlevel; added detection for
879 the MS_BIND generic mount option
881 2001-02-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
883 * aux/macros/check_mount_trap.m4,
884 aux/macros/check_nfs_fh_dref.m4,
885 aux/macros/check_nfs_prot_headers.m4,
886 aux/macros/type_recvfrom_fromlen.m4,
887 aux/macros/type_yp_order_outorder.m4:
888 Fixed newer freebsd's fh type, expanded more aix3, osf2, hpux9 to
889 aix[1-3], osf[1-3] and hpux[6-9].
891 2001-02-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
893 * check_mount_style.m4, check_mount_trap.m4,
894 check_network_transport_type.m4, check_nfs_fh_dref.m4,
895 check_nfs_prot_headers.m4, check_nfs_sa_dref.m4,
896 check_nfs_socket_connection.m4, os_cflags.m4,
897 type_yp_order_outorder.m4: small fixes to Ion's cleanup, and more
898 cleanup (use [[0-1]] instead of M4 changequote commands).
900 * Makefile.am: removed unused conf/trap/trap_hpux11.h
902 2001-02-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
904 * aux/macros/check_network_transport_type.m4,
905 aux/macros/check_mount_style.m4,
906 aux/macros/check_mount_trap.m4,
907 aux/macros/check_network_transport_type.m4,
908 aux/macros/check_nfs_fh_dref.m4,
909 aux/macros/check_nfs_prot_headers.m4,
910 aux/macros/check_nfs_sa_dref.m4,
911 aux/macros/check_nfs_socket_connection.m4,
912 aux/macros/os_cflags.m4,
913 aux/macros/type_auth_create_gidlist.m4,
914 aux/macros/type_recvfrom_fromlen.m4,
915 aux/macros/type_yp_order_outorder.m4:
916 Reworked the scripts, so that a new _unknown_ version of a known OS
917 will use the option for the newest _known_ version of that OS. For
918 example, when freebsd6 comes out, it will use the stuff for
919 freebsd5, not the stuff for freebsd2. This makes configure more
920 likely to succeed on new systems/versions.
922 2001-02-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
924 * Makefile.am (EXTRA_DIST_CONF): include nfs_prot_darwin.h in
927 2001-02-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
929 * libamu/mtab.c: added the functions hasmnteq and haseq to
930 ease checks for non-numeric values in opt=value strings.
931 Recoded hasmntval to qualify input as numeric, allow hex and
932 octal strings on rhs of =, and log when the value is missing
935 * conf/mount/mount_linux.c: revised mount_linux to use new
936 hasmnteq function to extract type of non-nfs mounts, and added
937 a log message to catch possible failure of strdup.
939 * amd/am_ops.c: revised merge_ops to use new haseq function
941 * amd/srvr_nfs.c: revised find_nfs_srvr to use hasmnteq to
942 discover protocol setting.
944 * include/am_utils.h: added function prototypes for hasmnteq
947 2001-02-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
949 * include/mount_headers2.h (_LINUX_NFS3_H): define it, to avoid
950 pulling in unwanted declarations from 2.2.19pre and 2.4.1ac
952 * include/am_defs.h (_LINUX_NFS3_H): ditto
954 * conf/nfs_prot/nfs_prot_linux.h: whitespace, comments
956 2001-02-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
958 * aux/macros/check_fs_mntent.m4 (ac_safe): remove debugging "echo"
961 2001-02-18 Erez Zadok <ezk@earth.cs.columbia.edu>
963 * released snapshot am-utils-6.0.6s1
965 * aux/macros/mount_headers.m4, include/mount_headers[12].h: split
966 mount_headers.h in two because one relative header (nfs_prot.h)
967 file cannot be included inside another from the start directory of
968 the first (it's relative to the directory of the first).
970 2001-02-09 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
972 * AUTHORS: added Ahmon Dancy <dancy@franz.com>
974 * (all): added Darwin/Rhapsody/Apple OS X support from Ahmon Dancy
976 * aux/macros/mount_headers.m4: moved all the C code into a
977 separate file, include/mount_headers.h; the effect is that
978 configure goes down in size by a factor of 2.5!
980 * include/mount_headers.h: new file, with C code from
981 aux/macros/mount_headers.m4
983 2001-02-01 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
985 * conf/mount/mount_linux.c: made linux_nfs_error() more robust.
987 2001-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
989 *******************************************************************
990 *** Released am-utils-6.0.5 ***
991 *******************************************************************
993 2001-02-01 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
995 * conf/nfs_prot/nfs_prot_linux.h (nfs_error): moved the definition
996 of nfs_error here, from mount_linux.c, so that it can actually be
999 * conf/mount/mount_linux.c: added unused errno 41 to the
1000 nfs_errormap array, lest the following errno's get shifted up by
1003 2001-01-12 Ion Badulescu <ionut@buggy.dev.hydraweb.com>
1005 * include/am_defs.h: don't allow linux/fs.h to be sucked in via
1006 linux/auto_fs.h, it breaks the compile on glibc platforms.
1008 Sat Jan 13 00:04:38 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1010 * amd/amd.h (autofs_lookuppn): Fixup whitespace.
1011 * amd/amfs_auto.c (amfs_auto_bgmount): Likewise.
1012 * amd/amfs_error.c: (amfs_error_match): Likewise.
1013 * amd/amfs_host.c (fetch_fhandle): Fixup whitespace. Remove
1014 unnecessary temporary variable.
1015 * amd/info_file.c (read_line): Likewise.
1016 (search_or_reload_file): Likewise.
1017 * amd/info_ldap.c (get_ldap_timestamp): Likewise.
1018 * amd/nfs_prot_svc.c: Likewise.
1019 * amd/ops_TEMPLATE.c (foofs_match, foofs_lookuppn,
1020 foofs_readlink, foofs_ffserver): Likewise.
1021 * amd/ops_autofs.c (autofs_bgmount): Likewise.
1022 * amd/ops_lofs.c (lofs_match): Likewise.
1023 * amd/ops_nfs.c (got_nfs_fh): Fixup whitespace.
1024 * amd/ops_xfs.c (xfs_match): Likewise.
1025 * amd/srvr_amfs_auto.c (srvrlog): Line break.
1026 * amd/srvr_nfs.c (got_portmap, call_portmap, nfs_pinged,
1027 nfs_srvr_port): Fixup whitespace.
1028 * conf/nfs_prot/nfs_prot_bsdi2.h: Likewise.
1029 * conf/nfs_prot/nfs_prot_hpux.h: Likewise.
1030 * conf/nfs_prot/nfs_prot_hpux11.h: Likewise.
1031 * conf/nfs_prot/nfs_prot_irix5.h: Likewise.
1032 * conf/nfs_prot/nfs_prot_irix6.h: Likewise.
1033 * conf/nfs_prot/nfs_prot_nextstep.h: Likewise.
1034 * conf/nfs_prot/nfs_prot_osf2.h: Likewise.
1035 * conf/nfs_prot/nfs_prot_osf4.h: Likewise.
1036 * conf/nfs_prot/nfs_prot_osf5_1.h: Likewise.
1037 * conf/nfs_prot/nfs_prot_sunos3.h: Likewise.
1038 * conf/nfs_prot/nfs_prot_sunos4.h: Likewise.
1039 * conf/nfs_prot/nfs_prot_ultrix.h: Likewise.
1040 * conf/transp/transp_tli.c (get_mount_client): Likewise.
1041 * hlfsd/nfs_prot_svc.c: Likewise.
1042 * include/am_defs.h (sys_errlist): Likewise.
1043 * include/am_utils.h (am_get_progname, am_get_hostname,
1044 amq_program_1): Likewise.
1045 (nfsxprt): Moved declaration.
1047 Fri Jan 12 23:46:31 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1049 * hlfsd/hlfsd.h (HLFSD_VERSION): Bump copyright year to 2001.
1051 Fri Jan 12 23:31:45 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1053 Removed support for amq -M.
1055 * acconfig.h (ENABLE_AMQ_MOUNT): Removed.
1056 * aux/macros/opt_amq_mount.m4: Removed.
1057 * Makefile.am (EXTRA_DIST_AUX): Don't distribute
1059 * configure.in (AC_OPT_AMQ_MOUNT): Removed invocation.
1061 * amd/amq_subr.c (ok_security, amqproc_mount_1_svc): Removed.
1062 * amd/amq_svc.c (amq_program_1): Removed amq -M support.
1063 * amq/amq.c (mount_map): Removed.
1064 (main): Removed -M option handling.
1065 Removed transport-type specific CLIENT creation.
1066 (get_secure_amd_client, amq_bind_resv_port, privsock): Removed.
1068 * amq/amq.8: Removed -M documentation.
1069 * doc/am-utils.texi (Top-level Filesystem): Removed amq -M
1070 reference, but retain comment on mount -t amd.
1071 (Controlling Amd): Likewise.
1073 * tasks: Removed this task.
1075 2001-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1077 * Makefile.am (EXTRA_DIST): distribute new LDAP files.
1079 * README.ldap, ldap-id.txt, ldap-id.ms: LDAP status information,
1080 proposed Schema, and internet draft.
1082 Fri Jan 12 22:27:07 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1084 * Support Tru64 UNIX V5.1:
1086 * conf/nfs_prot/nfs_prot_osf5_1.h: New file.
1088 * Makefile.am (EXTRA_DIST_CONF): Distribute it.
1090 * aux/macros/check_nfs_prot_headers.m4: Tru64 UNIX V5.1 has
1091 AutoFS, need to disable it until a port exists.
1093 * INSTALL, doc/am-utils.texi (Supported Platforms): Mention new
1096 2001-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1098 * ALL: bump copyright year to 2001.
1100 2001-01-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1102 * acconfig.h: correct comments for NODEV/NONDEV mount options
1104 Fri Jan 5 05:12:02 2001 Erez Zadok <ezk@subzero.cs.columbia.edu>
1106 * libamu/xdr_func.c: removed ugly casts to "groups*", now that
1107 irix6's nfs_prot.h is fixed.
1109 * conf/nfs_prot/nfs_prot_irix6.h: copied relevant parts of
1110 <rpcsvc/mount.h> here so we don't have to include this header.
1112 2001-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1114 * conf/nfs_prot/nfs_prot_irix6.h: redefine "groups" typedef to
1115 struct groups, not the pointer to this struct.
1117 * include/am_xdr_func.h: prototype should take "groups *" as 2nd
1120 * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): change
1121 casting of second arg of xdr_groups to "groups *". It's only
1122 needed for irix6, due to problems with xdr_groups on that platform.
1123 (xdr_groups): prototype should take "groups *" as 2nd arg.
1125 * conf/nfs_prot/nfs_prot_aix*.h: correct xdr_groups extern
1126 definition. Report from Ahmon Dancy <dancy@franz.com>.
1128 2000-12-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1130 * released snapshot am-utils-6.0.5s4
1132 * minor port i386-unknown-freebsd4.2 (documented)
1134 2000-12-07 Ion Badulescu <lionut@gonzales.dev.hydraweb.com>
1136 * configure.in (LIBTOOL_LDFLAGS): fix libtool version
1138 2000-12-02 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
1140 * doc/am-utils.texi (opts Option): document lock/nolock
1142 * libamu/mount_fs.c (mnt_flags): allow the use of the "nolock"
1145 * include/am_defs.h: don't include <linux/fs.h> on a glibc2 system
1147 * include/am_compat.h: define the "nolock" mnttab option if the
1148 NONLM NFS mount option is defined
1150 * acconfig.h: added MNT2_NFS_OPT_NONLM
1152 * configure.in: added detection of the NONLM Linux NFS mount
1153 option; added a clarification for the library versioning rules and
1154 increased the patchlevel
1156 2000-11-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
1158 * libamu/wire.c (getwire_lookup): truncate the hostname to
1159 MAXHOSTNAMELEN characters.
1161 2000-11-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1163 * include/am_utils.h (MAXHOSTNAMELEN): if not defined, set this to
1164 256 bytes, not 64. Suggestion form Kris Kennaway
1167 2000-11-26 Erez Zadok <ezk@dmath5.geometrie.tuwien.ac.at>
1169 * configure.in (AC_CHECK_MNT2_NFS_OPTS): check for NFS mount
1170 options kerb, rdirplus, readdirsize, and xlatecookie
1173 * acconfig.h: recognize NFS mount options rdirplus, readdirsize,
1174 and xlatecookie (NetBSD-1.5K)
1176 2000-11-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1178 * amd/srvr_nfs.c: comment on NFS proto search order.
1180 * libamu/xutil.c (real_plog): don't try to write the last byte of
1181 the fmt buf. Security suggestion from NetBSD: Thomas Klausner
1182 <wiz@danbala.ifoer.tuwien.ac.at>
1184 2000-11-22 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
1186 * amd/amfs_auto.c (amfs_auto_bgmount),
1187 amd/ops_autofs.c (autofs_bgmount): removed the initialization of
1188 fattr.na_fileid, it is now done in map.c when the map is initialized
1190 * amd/map.c (init_map): initialize fattr.na_fileid to am_gen, not
1191 to 0, to avoid cache aliasing problems on Linux (and to follow the
1194 2000-11-22 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
1196 * libamu/mount_fs.c (mount_fs): avoid using extra limited-size buf
1199 * libamu/xutil.c, fsinfo/fsinfo.h, include/am_utils.h: use
1200 __attribute__, __format__, and __printf__ for GCC string auditing.
1202 * wire-test/wire-test.8: this is not a section 8L man page.
1204 * libamu/xutil.c (expand_error): don't use sys_nerr on systems
1205 that support strerror().
1206 (dplog): fmt is const
1207 (plog): fmt is const
1208 (real_plog): fmt is const. use new expand_error function with its
1209 new return value. be more careful about running off the end of
1210 char[] fixed size buffers.
1212 * libamu/wire.c (getwire): fix alignment error on alpha using an
1213 extra automatic storage variable ifrpool.
1215 * hlfsd/hlfsd.c (fatal): use proper printf style to plog.
1217 * fsinfo/fsinfo.c (find_username): getlogin() returns a const.
1219 * fsinfo/fsi_util.c (error, lerror, lwarning, fatal, log): use
1222 * fsinfo/fsi_lex.l (yyerror): use vfprintf.
1224 * fixmount/fixmount.8: this is not a section 8L man page.
1226 * doc/am-utils.texi (Hesiod maps): fixed typo.
1228 * amd/sched.c (do_task_notify): typo in comment.
1230 * amd/opts.c (expand_op): expand_error[] is a const char *.
1232 * amd/amd.c (main): use proper printf style to plog.
1234 2000-11-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1236 * libamu/mount_fs.c (mnt_flags, compute_nfs_args): recognize
1237 proplist mnttab flag. Bug fix from Wolfram Klaus
1238 <klaus@physik.fu-berlin.de>.
1240 2000-11-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1242 * released snapshot am-utils-6.0.5s3
1244 * updated config.guess, config.sub, and doc/texinfo.tex from
1247 * Makefile.am (update): proper updating of config.* and texinfo
1250 * aux/macros/check_nfs_prot_headers.m4: newer netbsd systems
1251 reports their system name as "netbsdelf" in config.guess.
1253 2000-11-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1255 * released snapshot am-utils-6.0.5s2
1257 2000-11-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1259 * doc/am-utils.texi (opts Option): document new mount option
1262 * include/am_compat.h: define amd mount option "proplist" if the
1263 system doesn't recognize it, but the NFS bit flag exists.
1265 * configure.in, acconfig.h: recognize/support "proplist" NFS mount
1266 option in Amd, useful under DU-4.0 to process ACLs over NFS
1269 2000-11-10 Ion Badulescu <ib42@earth.cs.columbia.edu>
1271 * conf/mount/mount_linux.c (mount_linux): removed unnecessary
1272 rsize/wsize defaults -- performance killers on 2.2.18+ and 2.4.0+
1274 2000-11-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1276 * MIRRORS (Note): added a mirror at ufl.edu
1278 2000-10-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1280 * scripts/am-eject.in: accept "cdrom" and "floppy" as arguments.
1282 2000-10-11 Erez Zadok <ezk@lorien.dev.hydraweb.com>
1284 * amq/amq.8: synchronize Amq's options with reality
1286 * amq/amq.c (main): synchronize Amq's usage() string with reality
1288 2000-10-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1290 * scripts/ctl-amd.in: add targets condrestart (redhat) and
1293 2000-10-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1295 * scripts/lostaltmail.in (vrfy_user): ensure that MAILDIR is
1298 2000-10-02 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
1300 * aux/macros/mount_headers.m4: only include <linux/fs.h>
1301 on a non-glibc2 system
1303 * aux/macros/try_compile_anyfs.m4: ditto
1305 * aux/macros/check_mount_type.m4: linux 2.4 stores loadable modules
1306 in a different directory structure
1308 * aux/macros/check_mnttab_type.m4: ditto
1310 * aux/macros/check_fs_mntent.m4: ditto; also, replace the nfs3
1311 linux hack with a hopefully more stable hack
1313 2000-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1315 * amd/opts.c (backslash): Bell char (ASCII 007) should be \g, not
1318 2000-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1320 * include/am_utils.h: removed unused field opt_autopref
1322 * amd/opts.c: removed unused variable $autopref
1324 2000-09-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1326 * released snapshot am-utils-6.0.5s1
1328 2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
1330 * aux/macros/check_fs_mntent.m4 (_LINUX_NFS_XDR_H): define it so
1331 linux/nfs_xdr.h doesn't get included (not intended for user space)
1333 2000-09-05 Erez Zadok <ezk@aladdin.dev.hydraweb.com>
1335 * conf/mtab/mtab_svr4.c (lockfile): function not needed unless
1336 MOUNT_TABLE_ON_FILE is defined.
1337 mtlckname static var is onlyneeded if MOUNT_TABLE_ON_FILE.
1338 (update_mnttab_fields): only needed if MOUNT_TABLE_ON_FILE.
1340 2000-09-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1342 * buildall (Usage): typo in usage string
1344 2000-08-25 Erez Zadok <ezk@lynn.soscorp.com>
1346 * conf/mount/mount_linux.c (mount_linux): MNT2_NFS_OPT_VER3 may
1347 is no defined on older Linux systems (kernel 2.0.36)
1349 2000-08-19 Erez Zadok <ezk@earth.cs.columbia.edu>
1351 * scripts/amd.conf.5: correct swapped descriptions for ldap_base
1354 * doc/am-utils.texi: correct swapped descriptions for ldap_base
1357 * scripts/amd.conf-sample: swap examples for ldap_base and
1360 2000-08-13 Erez Zadok <ezk@earth.cs.columbia.edu>
1362 * scripts/amd.conf-sample: -O is CLI equivalent to "os"
1365 2000-07-30 Erez Zadok <ezk@earth.cs.columbia.edu>
1367 * scripts/amd.conf-sample (nfs_retransmit_counter): correct
1368 meaning and use of parameter
1370 2000-07-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1372 * doc/am-utils.texi: updated URLs to www.am-utils.org.
1374 2000-07-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1376 *******************************************************************
1377 *** Released am-utils-6.0.4 ***
1378 *******************************************************************
1380 2000-07-08 Erez Zadok <ezk@earth.cs.columbia.edu>
1382 * configure.in: update shared library information
1384 2000-07-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1386 * INSTALL: document osf4.0f
1388 * doc/am-utils.texi (Supported Platforms): document osf4.0f
1390 2000-06-19 Erez Zadok <ezk@vir.cs.columbia.edu>
1392 * doc/am-utils.texi (dollar Selector Variable): document
1395 * amd/opts.c: special new variable ${dollar} which expands into a
1396 literal '$' sign. Otherwise there is no way to include a literal
1397 dollar symbol in an amd map.
1399 2000-06-11 Erez Zadok <ezk@earth.cs.columbia.edu>
1401 * amd/opts.c: correct comment name at top of opt_fields.
1403 2000-06-11 Ion Badulescu <ionut@moisil.cs.columbia.edu>
1405 * config.guess.long: munge config.guess' output so that intel
1406 linux appears as i386-pc-linux
1408 Fri Jun 9 16:06:56 2000 Erez Zadok <ezk@defiant.dev.hydraweb.com>
1410 * conf/nfs_prot/nfs_prot_bsdi2.h: getifaddrs() on bsdi2 is broken.
1413 2000-06-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1415 * amd/mapc.c (maptypes): Change default allocation mode to
1416 MAPC_INC where reload support is missing to avoid warning in
1419 2000-06-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1421 * conf/nfs_prot/nfs_prot_sunos5_5.h: turn off autofs support for
1422 solaris 2.5 until a full port can be done.
1424 2000-06-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1426 * released snapshot am-utils-6.0.4s5
1428 * Makefile.am, aux/GNUmakefile: fix maintainer rules to update
1429 config.* and texinfo.tex files.
1431 * amd/nfs_subr.c (nfsproc_getattr_2_svc): Don't conditionalize the
1432 mtime update of the symlinks on the SYMTTL option, but rather
1433 delay unmount of what was looked up using am_timeo_w. Patch from
1434 Nick Williams <Nick.Williams@msdw.com>. As Nick says "Basically:
1435 during unmount, increment the parent dir's mtime (fixes people
1436 doing amq -u). During stat, increase the TTL (to fix bad-luck
1437 timeouts), but leave the mtime alone."
1439 (nfsproc_lookup_2_svc, nfsproc_readlink_2_svc, unlink_or_rmdir,
1440 nfsproc_readdir_2_svc): correctly update d_drops stats for amq -s.
1441 Patch from Nick Williams <Nick.Williams@msdw.com>.
1443 * amd/map.c (unmount_mp): update mtime of amd symlink to further
1444 reduce the chances of race conditions between unmounting and
1445 looking up an entry again. Patch from Nick Williams
1446 <Nick.Williams@msdw.com>.
1448 * README: updated instructions
1450 * bootstrap: remove log file before existing
1452 2000-06-06 Erez Zadok <ezk@aladdin.dev.hydraweb.com>
1454 * configure.in: no longer using aux/ subdir. don't force autoconf
1455 2.14. comment out (but leave explanation) everything that's needed
1456 for autoconf 2.14, so for now it works with autoconf-2.13, but the
1457 code is ready for 2.14 when it is released. Similar changes to
1458 make code work with automake-1.4, until the next release comes
1461 * libamu/Makefile.am: include definitions that are required in
1462 automake 1.4, but won't be necessary when the next release of
1463 automake comes out (see XXX comments).
1465 * cache_check_dynamic.m4, check_checkmount_style.m4,
1466 check_mnttab_style.m4, check_mount_style.m4,
1467 check_network_transport_type.m4, check_nfs_prot_headers.m4,
1468 check_umount_style.m4: use symlink creation code that works for
1469 both autoconf 2.13 and 2.14 (when the latter comes out).
1471 * bootstrap: new script for maintainers to run to update autoconf,
1472 automake, and libtool related files. Has the same effect as
1475 * removed dependencies on CVS versions of autoconf, automake, and
1476 libtool, especially the modified automake I had. This is so that
1477 maintainers could built the auto* files out of the latest released
1478 GNU autoconf, automake, and libtool. However, without my nice
1479 patches to automake, many files that used to live in the aux/
1480 subdir now were moved to the top level source directory: acconfig.h,
1481 acinclude.m4, aclocal.m4, aux_conf.h.in, config.guess,
1482 config.guess.long, config.h.in, config.sub, configure.in, depcomp,
1483 install-sh, ltconfig, ltmain.sh, missing, and mkinstalldirs. Also
1484 texinfo.tex and mdate-sh moved from aux/ dir to doc/ dir.
1486 2000-06-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1488 * cvs-server.txt: instructions for maintainers to access the CVS
1489 server for am-utils.
1491 2000-06-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1493 * amd/am_ops.c (ops_match): changed XLOG_USER messages about
1494 merging addopts options to the more appropriate XLOG_INFO. Patch
1495 submitted by Tom Schmidt <tschmidt@micron.com>.
1497 * config.{guess,sub}: make sure chmod'ed a+rx. Updated from
1500 2000-05-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1502 * released snapshot am-utils-6.0.4s4
1504 2000-05-29 Ion Badulescu <ionut@moisil.cs.columbia.edu>
1506 * conf/transp/transp_sockets.c (amu_svc_getcaller): cast result of
1507 svc_getcaller() to sockaddr_in, to appease glibc 2.2
1509 2000-05-28 Erez Zadok <ezk@mulberry.mcl.cs.columbia.edu>
1511 * doc/am-utils.texi (Network Filesystem Group): minor typos
1513 2000-05-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1515 * amd/amfs_auto.c (amfs_auto_readdir_browsable): cast pointers to
1516 long for 64-bit architectures.
1518 * libamu/xutil.c (amu_release_controlling_tty): eliminate an
1519 unused variable "tempfile"
1521 * libamu/wire.c (getwire_lookup): handle calling irs_gen_acc with
1522 one or two arguments (bsdi3 vs. bsdi4)
1524 2000-05-26 Ion Badulescu <ionut@moisil.cs.columbia.edu>
1526 * libamu/xutil.c (amu_release_controlling_tty): close standard
1527 file descriptors, re-open them as /dev/null
1529 * include/am_defs.h: don't try to include both <ndbm.h> and
1530 <db1/ndbm.h>, it really doesn't work
1532 2000-05-16 Ion Badulescu <ib42@earth.cs.columbia.edu>
1534 * hlfsd/stubs.c (nfsproc_lookup_2_svc): added code to update mtime
1535 on lookup if MNT2_NFS_OPT_SYMTTL is not defined (copied from
1536 getattr). This fixes the problem introduced by the Linux nfsv3
1539 2000-04-30 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu>
1541 * include/am_defs.h, aux/macros/mount_headers.m4,
1542 aux/macros/try_compile_anyfs.m4: include linux/kdev_t.h and
1543 linux/list.h before including linux/fs.h, and define __KERNEL__
1544 for those two headers. All of this to get a couple of definitions
1545 that are needed in the new struct vfsmount.
1547 * aux/configure.in: look for <linux/kdev_t.h> and <linux/list.h>.
1549 * include/am_defs.h, aux/macros/mount_headers.m4: avoid conflicts
1550 between linux/in.h. and netinet/in.h (linux-2.3.99-pre6), by
1551 defining _LINUX_IN_H so it doesn't get included.
1553 2000-04-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1555 * minor new ports: i686-pc-linux-gnu-rh6.2,
1556 i386-unknown-freebsdelf3.4, i586-pc-linux-gnu-rh6.2.
1558 2000-04-03 Erez Zadok <ezk@vir.cs.columbia.edu>
1560 * aux/acconfig.h: move all #undef macros above @TOP@, so they can
1561 be recognized by pickier autoconf.
1563 2000-04-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1565 * aux/macros/cache_check_dynamic.m4 (ac_tmp): use correct echo -n
1568 2000-03-25 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu>
1570 * include/am_defs.h: ditto
1572 * aux/macros/{mount_headers,try_compile_anyfs}.m4: force
1573 non-inclusion of <linux/string.h>. Breaks build on newer 2.3
1576 2000-02-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1578 * doc/am-utils.texi (Amq -w option): document new amq -w option.
1580 * amq/amq.8: document new amq -w option.
1582 * amq/amq.c: disable last remains of insecure amq -M code.
1583 (main): add amq -H option to show usage.
1584 (main): new amq -w option, translates getpwd() into an amd path.
1586 2000-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1588 * minor new port: alphaev6-dec-osf5.0
1590 * doc/am-utils.texi (Supported Platforms): hpux-11 supports NFSv3,
1593 * released snapshot am-utils-6.0.4s3
1595 * conf/nfs_prot/nfs_prot_hpux11.h: support NFSv3 in hpux-11. Note
1596 that hpux-11 NFSv3 supports UDP only, and trying TCP locks up the
1597 kernel! Must set nfs_proto=udp in amd.conf [global].
1599 * aux/config.guess.long: set and export PATH separately. DU5
1600 /bin/sh doesn't like setting it on the command line in a
1601 back-tick'ed `script`.
1603 2000-02-24 Ion Badulescu <ionut@moisil.cs.columbia.edu>
1605 * Makefile.am: removed struct_nfs_mount_data.m4
1607 * aux/macros/struct_nfs_mount_data.m4: deleted
1609 * aux/acconfig.h: removed definition for HAVE_NFS_MOUNT_DATA
1611 * aux/configure.in: removed check for struct nfs_mount_data
1613 2000-02-24 Ion Badulescu <ib42@beetle.mcl.cs.columbia.edu>
1615 * amd/amfs_auto.c (amfs_auto_bgmount): changed log message to
1616 avoid having 'failed' in a message not indicating a failure
1617 (amfs_auto_lookuppn): ditto
1619 * amd/ops_autofs.c (autofs_bgmount): ditto
1620 (autofs_lookuppn): ditto
1622 2000-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1624 * added .cvsignore files into the CVS repository.
1626 * remove files which can be regenerated: .in, configure, some
1627 files in aux/, and more.
1629 2000-02-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1631 * doc/am-utils.texi (nfs_vers/nfs_proto): description of two
1632 parameters was reversed. Reported by Paul Jenner
1633 <p.jenner@eim.surrey.ac.uk>.
1635 2000-02-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1637 * released snapshot am-utils-6.0.4s2
1639 * amd/mntfs.c (realloc_mntfs): don't fallback on certain ops such
1640 as inherit, error, and toplvl (failover code).
1642 * amd/conf.c (gopt_nfs_vers, gopt_nfs_proto): two new (documented)
1643 global options in amd.conf: one to set the NFS version globally
1644 (i.e., nfs_vers=2), and one to set the NFS protocol globally
1645 (i.e., nfs_proto=udp).
1647 * amd/mntfs.c (realloc_mntfs): attempt to fix the failover code,
1648 so when a matching mount entry failed, try the next one.
1650 2000-02-15 Erez Zadok <ezk@moisil.cs.columbia.edu>
1652 * amd/amfs_auto.c: a new debug option "readdir" to trace the
1653 progress of the browsable_dirs code.
1655 * conf/mount/mount_linux.c (mount_linux): ensure that the new
1656 linux NFSv3 code works for v2-only machines.
1658 2000-02-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1660 * aux/configure.in: cleanup unused dnl entries.
1662 * conf/mount/mount_linux.c (parse_opts): typo: check for string
1663 equality, not string inequality for pcfs and cdfs.
1665 * aux/acconfig.h: look for MNT2_NFS_OPT_INTR as well.
1667 * libamu/mount_fs.c (compute_mount_flags): check for INTR and
1668 NOINTR options as well (intr was never passed to linux mount
1671 2000-02-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1673 * released snapshot am-utils-6.0.4s1
1675 * aux/GNUmakefile: buildall -k (for maintainers) temporarily now
1676 ignores autoconf warnings: "The macro `AC_OUTPUT_COMMANDS' is
1677 obsolete". It is harmless but annoying, and will be fixed when
1678 autoconf and automake in their respective CVS trees are working
1681 * scripts/amd.conf.5: document -D hrtime,xdrtrace
1683 * all man pages: update copyright to 2000.
1685 * doc/am-utils.texi: update copyright to 2000.
1687 Wed Feb 9 14:22:31 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1689 * include/am_utils.h (D_XDRTRACE): Define.
1690 (D_TEST): Disable here.
1692 * libamu/xutil.c (dbg_opt): Handle it.
1694 * doc/am-utils.texi (-D-Option): Document it.
1696 * libamu/xdr_func.c: Use it instead of D_TRACE.
1698 * include/am_utils.h (D_HRTIME): Define.
1700 * doc/am-utils.texi (-D-Option): Document it.
1702 * libamu/xutil.c (show_time_host_and_name): Print high-resolution
1703 timestamp if available and activated.
1705 * aux/configure.in (clock_gettime): Check for it in -lrt and
1708 * hlfsd/hlfsd.c (mnttab_file_name): Initialize to MNTTAB_FILE_NAME
1709 if defined, even for some systems with in kernel mount tables.
1711 2000-02-08 Ion Badulescu <ionut@moisil.cs.columbia.edu>
1713 * aux/macros/mount_headers.m4: remove #if 0 around linux/nfs.h to
1714 allow compiles against libc5
1716 * aux/macros/check_mnttab_type.m4: avoid detecting nfs3 under
1717 linux when the kernel doesn't support it
1719 * include/am_compat.h: add workaround for linux efs
1721 2000-02-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1723 * aux/configure.in: test for ANSI C compiler (before AC_C_CONST).
1724 Comment out unused AC_STRUCT_ST_RDEV (which is obsolete anyway).
1726 2000-02-07 Ion Badulescu <ionut@moisil.cs.columbia.edu>
1728 * libamu/mount_fs.c (compute_nfs_args): turn on VER3 option for
1731 * include/am_defs.h: avoid reinclusion of some header files under
1734 * conf/nfs_prot/nfs_prot_linux.h: support NFSv3.
1736 * conf/mount/mount_linux.c (mount_linux): support nfs mount
1737 (implementation) version 4 for NFSv3.
1739 * aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS.
1741 * aux/macros/mount_headers.m4: don't include <linux/fs.h> (may
1742 need to fix the code on other linux machines).
1744 * aux/macros/check_mnttab_type.m4 (ac_safe): ditto.
1746 * aux/macros/check_fs_mntent.m4 (ac_safe): check for nfs3 option
1747 under linux (depends on ac_cv variable, is that a good idea?)
1749 * added NFSv3 support for linux
1751 * aux/{configure.in,acconfig.h}: new option ver3
1753 * aux/macros/mount_headers.m4: commented out inclusion of
1754 linux/fs.h, it's not needed on rh61 (and actually generates
1755 conflicts), we should see if it's still needed on libc5 systems
1757 * aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS rather than
1758 try to have its own (out of date) list of headers and ifdef's and
1761 2000-02-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1763 *******************************************************************
1764 *** Released am-utils-6.0.3 ***
1765 *******************************************************************
1767 2000-02-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1769 * conf/mount/mount_default.c: dummy empty file to work around a
1770 limitation of automake (it looks for LIBBOBJS in aclocal.m4 and
1771 processes them even if they are optional, enclosed in if/else).
1773 2000-01-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1775 * released snapshot am-utils-6.0.3s5
1777 2000-01-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1779 * update to use latest version of autoconf, automake, and libtool.
1781 * aux/GNUmakefile (depcomp): "make update" should also update the
1784 * Makefile.am (EXTRA_DIST_AUX): include depcomp in distribution.
1786 * aux/configure.in: use renamed AC_CHECK_AMU_FS.
1788 * aux/macros/check_amu_fs.m4: renamed macro name and file name to
1789 say AMU_FS, not AM_FS.
1791 * aux/acconfig.h: renamed HAVE_AM_FS_* to HAVE_AMU_FS_* because
1792 latest version of autoconf doesn't handle it (bug in 2.14a)
1794 * aux/configure.in: require version 2.14 of autoconf.
1796 * amd/mapc.c (mapc_reload_map): more fixes from Nick Williams.
1798 * doc/am-utils.texi (Automount Filesystem): document type:=auto
1799 map browsability option.
1801 * amd/mapc.c (make_entry_chain): patch from Steven Danz
1802 <sdanz@awc.kc.noaa.gov> to allow browsable auto maps.
1804 2000-01-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1806 * released snapshot am-utils-6.0.3s4
1808 * amd/mapc.c (mapc_reload_map): fixes to sync maps even if they
1809 are set to mapcache:=sync. Fix from Nick Williams
1810 <Nick.Williams@msdw.com>.
1812 2000-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1814 * released snapshot am-utils-6.0.3s3
1816 * minor port to i386-unknown-netbsd1.4.1
1818 * amd/nfs_subr.c (nfsproc_getattr_2_svc): patch from Nick Williams
1819 <Nick.Williams@msdw.com> to fix (or reduce the incidence of) stale
1820 file handles when doing rapid mounts and umounts in succession
1821 such as "ls /vol/foo ; amq -u /vol/foo ; ls /vol/foo"
1823 2000-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1825 * minor port to i386-pc-bsdi4.1.
1827 2000-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1829 * libamu/wire.c (getwire_lookup): pass NULL as conf_file (2nd)
1830 argument to irs_gen_acc(), which was changed in bsdi 4.1.
1832 2000-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1834 * amd/get_args.c (get_args): don't use MNTTAB_FILE_NAME for
1835 systems with in-kernel mount tables unless this macro is defined
1838 2000-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1840 * ALL: bump copyright year to 2000.
1842 1999-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1844 * conf/mount/mount_svr4.c (mount_svr4): optionstr exists on
1845 solaris 7, but should not be used unless MAX_MNTOPT_STR also
1848 * doc/am-utils.texi (opts Option): document new mount option:
1851 Fri Dec 10 01:31:53 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1853 * conf/trap/trap_svr4.h (MOUNT_TRAP): Pass mount option string to
1855 (mount_svr4): Adapt prototype.
1856 * conf/mount/mount_svr4.c (mount_svr4): Pass them to kernel so
1857 they are evaluated and show up in Solaris 8 in-kernel mnttab.
1859 * aux/configure.in: Check for new Solaris 8 MS_OPTIONSTR mount(2)
1861 * aux/acconfig.h (MNT2_GEN_OPT_OPTIONSTR): Provide template.
1863 1999-12-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1865 * released snapshot am-utils-6.0.3s2
1867 1999-12-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1869 * doc/am-utils.texi (opts Option): document noexec and nomnttab
1872 * Makefile.am (EXTRA_DIST_CONF): include nfs_prot_sunos5_8.h in
1875 * applied fixes from Rainer Orth for Solaris 8.
1877 * libamu/wire.c (getwire): increment the cp pointer in the loop
1878 body, because the ioctl() inside the "for" loop will overwrite the
1879 ifr structure, thus not detecting all of the interfaces. Bug
1880 reported and fixed by Amitha Perera <perera@cs.rpi.edu>.
1882 Thu Dec 9 19:09:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1884 * conf/mtab/mtab_svr4.c (unlockmnttab, lockmnttab): No-ops if
1885 MOUNT_TABLE_ON_FILE.
1887 * amd/get_args.c (get_args): Initialize mnttab_file_name even for
1888 in-kernel mount table. conf/mtab/mtab_svr4.c (read_mtab) depends
1889 on a non-NULL value.
1891 * amd/info_ldap.c (get_ldap_timestamp): Don't peek into opaque
1892 LDAP structure to get error code, but use it directly.
1893 (amu_ldap_search): Likewise.
1895 * conf/nfs_prot/nfs_prot_sunos5_7.h: Rip superfluous and wrong
1897 * conf/nfs_prot/nfs_prot_sunos5_8.h: Likewise.
1899 * conf/nfs_prot/nfs_prot_sunos5_8.h: New file, doesn't typedef
1900 nfsstat, already in <nfs/nfs.h>.
1901 * aux/macros/check_nfs_prot_headers.m4: Use it for all Solaris
1903 Allow for micro versions of SunOS 5.[67].
1905 * aux/configure.in: Check for new Solaris 8 Beta Refresh
1906 MS_NOMNTTAB mount(2) option.
1907 * aux/macros/check_mnttab_location.m4: Use it to test for
1908 mntfs-based in-kernel mnttab.
1910 * aux/macros/os_cflags.m4: Treat Solaris 8 and higher like 2.6/7.
1912 * aux/macros/check_fs_headers.m4: Revert test for duplicate
1914 * aux/macros/check_fs_mntent.m4: Likewise
1916 * aux/macros/HEADER: Fixed typo.
1918 * include/am_defs.h: Likewise.
1920 1999-12-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1922 * aux/macros/*.m4: prepare for hpux-12 (assume same as hpux-11)
1924 1999-11-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1926 * BUGS: document glibc-2.1 nis file descriptor leak in yp_bind.
1928 * amd/info_ldap.c (string2he): updated function which does not
1929 corrupt strings when called more than once. Patch from
1930 JOHANN.PFEFFERL.JP@germany.agfa.com.
1932 1999-11-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1934 * MIRRORS (Asia): two new mirrors in Japan.
1936 1999-11-10 Erez Zadok <ezk@kosh.cs.columbia.edu>
1938 * doc/am-utils.texi: document new variables for ${uid} and ${gid}.
1940 * amd/nfs_subr.c (nfsproc_lookup_2_svc): find the uid/gid of the
1941 last lookup from the RPC credentials.
1943 * aux/configure.in: upped version-info to 4:0:2 because I've added
1944 a new interface to libamu.
1946 * libamu/misc_rpc.c (getcreds): moved function from hlfsd to here,
1947 so it can be used by amd.
1949 * amd/opts.c: new variables ${uid} and ${gid}.
1951 1999-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1953 * scripts/ctl-amd.in: add "status" command that tells you if amd
1954 is running on not (same output as RedHat scripts).
1955 Added start_msg and stop_msg targets as they are used on HPUX.
1956 reported by Jon Peatfield <J.S.Peatfield@damtp.cam.ac.uk>.
1958 1999-10-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1960 * released snapshot am-utils-6.0.3s1
1962 1999-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1964 * amd/amd.c (main): On AIX you must lower the stack size using
1965 ulimit() before calling plock. Otherwise plock will reserve a lot
1966 of memory space based on your maximum stack size limit. Since it
1967 is not easily possible to tell what should the limit be, I print a
1968 warning before calling plock(). See the manual pages for
1969 ulimit(1,3,4) on your AIX system.
1971 * include/am_defs.h: define default extern for vsnprintf()
1973 * aux/configure.in: check for extern definition for vsnprintf()
1975 1999-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1977 * amd/amfs_auto.c (amfs_auto_bgmount): patch from Nick Williams
1978 <njw@ms.com>. SYMPTOMS: 'occasionally' sublinks do not point to
1979 the correct location, but to the top level of the mountpoint and
1980 an (error-hook) is seen being mounted in the log file. This causes
1981 things to Go Wrong(TM).
1982 CAUSE: When evaluating two locations which are requested
1983 'practically simultaneously', and the two locations resolve to the
1984 same NFS mountpoint (but different sublinks), the later request
1985 will be "deferred" and retried after wakeup when the first mount
1986 succeeds. To do this, it rewinds the options location string to
1987 re-evaluate the location when the mount is retried. However, it
1988 shouldn't rewind the options for two reasons: (a) the semantics of
1989 the map language say you shouldn't and (b) the NFS mount reference
1990 is not reset at the same time, meaning that on the retry it will
1991 have an options structure out-of-sync with the mount
1992 structure. The "shortcut" code when retrying the mount sees the
1993 mount structure is already filled in and does not fully evaluate
1994 the options structure.... so if the first location is not the one
1995 which ties in with the mountpoint (see ordering in the
1996 recreate-by), you're now well messed up.
1998 * BUGS: mention aix4.3 plock() bug (memory usage blows up and
2001 1999-10-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2003 * aux/GNUmakefile: certain files should be copied if they are
2004 newer, not also if they are bigger: install-sh, ltconfig,
2005 ltmain.sh, mdate-sh, missing, mkinstalldirs, and texinfo.tex.
2007 * minor new port: i586-pc-linux-gnu-rh6.1 (RedHat Linux 6.1)
2009 1999-10-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2011 * aux/macros/check_nfs_prot_headers.m4: prepare for OSF-5.
2013 * aux/macros/check_nfs_fh_dref.m4: prepare for Tru64, aka OSF-5.
2015 1999-09-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2017 *******************************************************************
2018 *** Released am-utils-6.0.2 ***
2019 *******************************************************************
2021 1999-09-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2023 * conf/mount/mount_linux.c (mount_linux): print the updated mount
2026 * doc/am-utils.texi: document $full_os and $vendor.
2028 * scripts/amd.conf-sample: examples of $full_os and $vendor.
2030 * scripts/amd.conf.5: document $full_os and $vendor.
2032 * amd/conf.c: add support for $full_os and $vendor.
2034 1999-09-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2036 * doc/am-utils.texi (netgrp Selector Function): don't give
2037 examples with old single '=' assignment variable. Use foo:=bar.
2039 * amd/amfs_auto.c (amfs_auto_bgmount): corectly indent long
2040 comment describing this complex function.
2042 * doc/Makefile.am (alldocs): do install-ps last (because distiller
2043 is slow) and install-html next to last (because texi2html is also
2046 * amd/amd.8: Major fixes to the description of the option -t
2049 * doc/am-utils.texi: better description of "trace" debug option.
2050 amd -H (not -v) shows log_options and debug_options. Major fixes
2051 to the description of amd -t timeout.retransmit, and the amd.conf
2052 parameters nfs_retransmit_counter and nfs_retry_interval.
2054 * scripts/amd.conf.5: better description of "trace" debug option.
2055 amd -H (not -v) shows log_options and debug_options. Major fixes
2056 to the description of the parameters nfs_retransmit_counter and
2059 1999-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2061 * doc/am-utils.texi (Automount Filesystem): cache:= is not a mount
2062 option, but a mount map option.
2064 * libamu/xutil.c (switch_to_logfile): log the name of the log file
2065 we switched into, after the log file had been [re]opened.
2067 1999-09-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2069 * amd/mapc.c (mapc_reload_map): count and show the number of times
2070 a map was reloaded. Only reload a map if its modify-time was
2071 updated. But amq -f forced a reload no matter what.
2073 * amd/amd.h: new flag to struct mnt_map to count number of times a
2076 * amd/mapc.c (mapc_reload_map): attempt to reload the map without
2077 losing current data by reloading into a temp copy, and switching
2078 the hashes round only if the reload was successful. Patch from Jon
2079 Peatfield <J.S.Peatfield@damtp.cam.ac.uk>.
2080 (mapc_sync): mapc_reload_map() always succeeds.
2082 1999-09-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2084 * amd/info_ldap.c (amu_ldap_rebind): don't busy-loop trying to
2085 rebind to an LDAP server forever. Try up to 10 times.
2087 * fsinfo/fsi_lex.l (yyerror): rework code that will never happen
2089 * released snapshot am-utils-6.0.2s2
2091 * aux/configure.in: bumped library version-info to 3:2:1, since
2092 some libamu code got changed.
2094 * libamu/xutil.c (real_plog): use vsnprintf, not vsprintf, which
2095 is better and more secure. Fix from "David O'Brien"
2098 * aux/configure.in: check for vsnprintf.
2100 1999-09-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2102 * aux/macros/linux_headers.m4: use AC_MSG_ERROR.
2104 * aux/macros/opt_{cppflags,ldflags,libs,amu_cflags}.m4: the ARG is
2105 not optional. Make sure ARG is supplied else flag an error.
2107 1999-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2109 * minor port i386-unknown-freebsdelf3.3
2111 * released snapshot am-utils-6.0.2s1
2113 1999-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2115 * aux/configure.in (AC_CHECK_FUNCS): check for getitimer().
2117 * include/am_defs.h: extern definition for getitimer().
2119 * aux/configure.in: use AC_CHECK_EXTERNS. Look for getitimer()
2122 * aux/macros/check_extern.m4: define a simple AC_CHECK_EXTERNS
2123 that calls AC_CHECK_EXTERN in a loop. This saves repeated code in
2126 * aux/macros/type_auth_create_gidlist.m4: AIX 4.x systems use
2127 'int' as the 5th arg to authunix_create().
2129 * aux/macros/type_recvfrom_fromlen.m4: all AIX 4.x systems use a
2130 size_t for the 6th arg of recvfrom().
2132 * aux/macros/os_cflags.m4: define _XOPEN_EXTENDED_SOURCE for
2135 * libamu/mount_fs.c (print_nfs_args): cast some values to int, to
2136 avoid gcc -Wall errors.
2138 * scripts/expn.in: use sockaddr_in(), not pack() to correctly fill
2139 in a struct sockaddr_in. On Solaris x86 hosts, using pack()
2140 results in byte-misaligned values. Bug fix from Jeffrey C Honig
2143 * libamu/mount_fs.c (compute_automounter_mount_flags): turn on
2144 automntfs (ignore on bsdi-4.1) flag.
2145 (compute_automounter_nfs_args): ditto.
2147 * aux/acconfig.h: add new flag for automntfs (ignore)
2149 * aux/configure.in: check for new automntfs flag (bsdi-4.1).
2151 1999-09-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2153 * MIRRORS: added new site in Germany. Updated status of umn.edu
2154 and ferginc.com, who may no longer be mirroring am-utils.
2156 1999-09-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2158 *******************************************************************
2159 *** Released am-utils-6.0.1 ***
2160 *******************************************************************
2162 1999-09-08 Erez Zadok <ezk@cs.columbia.edu>
2164 * aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct
2167 * aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and
2168 struct netexport defined.
2170 1999-09-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2172 * aux/macros/check_field.m4 (ac_upcase_var_name): include
2173 <ifaddrs.h> so we can detect fields within struct ifaddrs.
2175 * libamu/wire.c (getwire): bsdi-2.1 uses a second arg to
2176 getifaddrs() and struct ifaddrs has no ifa_next field.
2178 * aux/configure.in: check if 'struct ifaddrs' has a field
2181 * include/amq_defs.h (AMQ_STRLEN): double size of amq string
2182 length to 2048 bytes.
2184 * conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs
2185 header files and ufs/ufs/ufsmount.h. Bug reported by <Christos
2186 Zoulas> christos@zoulas.com.
2188 * aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>.
2189 Bug reported by <Christos Zoulas> christos@zoulas.com.
2191 * aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h>
2193 1999-09-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2195 * libamu/xutil.c (expand_error): use strerror if available instead
2196 of sys_errlist. Bug reported by <Christos Zoulas>
2197 christos@zoulas.com.
2199 * hlfsd/hlfsd.c (fatal): use strerror if available instead of
2202 * amq/amq.c (show_mi): use strerror if available instead of
2205 * aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4
2206 nfs_prot header is used for any future (1.5 etc.) netbsd systems.
2208 * amq/pawd.c (find_mt): check for type nfsl as well. Fix from
2209 "Andrew J. Korty" <ajk@purdue.edu>
2211 1999-08-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2213 * doc/am-utils.texi (Supported Platforms): updates for redhat
2216 * INSTALL: updates for redhat systems.
2218 * libamu/wire.c (getwire_lookup): spell "succeeded" correctly
2220 1999-08-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2222 * scripts/ctl-amd.in: sleep 1 second between killing amd and
2223 restarting it, because amq may respond that amd is down, where in
2224 fact it is still trying to unmount itself after unmapping itself
2225 from the portmapper.
2227 * aux/config.guess.long: new script to print long version of
2228 config.guess output.
2230 * buildall (host_alias): use long version of config.guess.
2232 1999-08-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2234 * scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop
2237 1999-08-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2239 * released snapshot am-utils-6.0.1s11
2241 * libamu/xutil.c (expand_error): make sure expanding the string
2242 with textual version of errno doesn't overrun the 1024 bytes
2244 (real_plog): null terminate msg, just in case.
2246 * amq/amq.c (main): don't getopt -M option and don't process it
2247 unless ENABLE_AMQ_MOUNT is on.
2249 * amd/amq_svc.c (amq_program_1): all code that relates to amq -M
2250 is conditional on #ifdef ENABLE_AMQ_MOUNT.
2252 * amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked
2253 when amq -M code is disabled. Not taking any chances.
2255 1999-08-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2257 * released snapshot am-utils-6.0.1s10
2259 Sun Aug 22 16:18:59 1999 Erez Zadok <ezk@subzero.cs.columbia.edu>
2261 * libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on
2262 128.59.16.0), try to shift the network out of zeros (e.g.,
2263 128.59.16) and try again. Irix 6.4 requires short network
2266 1999-08-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2268 * libamu/wire.c (getwire_lookup): correctly compute subnet using
2271 * libamu/mount_fs.c (compute_automounter_nfs_args): require that
2272 Amd's own NFS mounts use reserved ports (if possible). IP packet
2273 security fix from Jeffrey C Honig <jch@BSDI.COM>.
2275 * conf/transp/transp_tli.c (create_autofs_service): use correct
2276 autofs_port. IP packet security fix from Jeffrey C Honig
2279 * conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary
2280 function. IP packet security fix from Jeffrey C Honig
2282 (create_nfs_service): use bind_resv_port() directly. ensure that
2283 privileged ports are used. IP packet security fix from Jeffrey C
2284 Honig <jch@BSDI.COM>.
2286 * amd/nfs_prot_svc.c (nfs_program_2): verify that requests come
2287 from reserved ports and from a local IP address. IP packet
2288 security fix from Jeffrey C Honig <jch@BSDI.COM>.
2290 * amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of
2291 hard-coded 1024. IP packet security fix from Jeffrey C Honig
2293 (amqproc_mount_1_svc): provide information on the caller making an
2294 amq -M request. IP packet security fix from Jeffrey C Honig
2297 * amd/map.c (free_map_if_success): If the program doing an unmount
2298 of a program filesystem fails, amd tries to interpret the return
2299 code as an errno. Fix from Jeffrey C Honig <jch@BSDI.COM>.
2301 * amd/info_nis.c (determine_nis_domain): don't always print
2302 warning about NIS domain name not being set, even if NIS is not in
2305 1999-08-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2307 * amd/info_ldap.c (get_ldap_timestamp): initialize variable err.
2308 (amu_ldap_search): initialize variable err.
2310 1999-08-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2312 * libamu/wire.c: written using getifaddrs() for BSD systems,
2313 contributed by BSDI, Jeffrey C Honig <jch@BSDI.COM>).
2315 1999-08-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2317 * include/am_utils.h (SALLOC): a simple macro to allocate N bytes.
2319 * aux/configure.in: check for irs.h and ifaddrs.h.
2320 Increase libamu.so --version-info to 3:1:1 since we've changed the
2321 source code for the library.
2322 Check for getifaddrs() function.
2324 1999-08-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2326 * libamu/mount_fs.c (print_nfs_args): print fields namlen and
2327 bsize if they exist.
2329 * conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen
2330 and ->bsize fields correctly, if those fields exist. This is a
2331 bug in that amd neglected to set these fields, but told the
2332 kernel it is mounting the nfs_args_t structure using mount version
2333 3 (which requires both bsize and namlen fields).
2335 * aux/configure.in: test for two new nfs_args_t fields (used on
2336 newer linux with mount versions 2 and 3): bsize and namlen.
2338 * doc/am-utils.texi (netgrpd Selector Function): document new
2341 * amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to
2342 test if the current host (fully-qualified name) is in the ARG host
2343 netgroup. The netgrp() function uses the short form of a host
2344 name. Patch from Christophe Kalt <Christophe-Kalt@deshaw.com>.
2346 * doc/am-utils.texi (automount2amd): document new script.
2348 * scripts/Makefile.am: create, install, and distribute
2349 automount2amd perl script and its man page.
2351 * scripts/automount2amd.8: new man page for automount2amd.
2353 * scripts/automount2amd.in: new file, contributed a in 1993 by
2354 Mike Walker <mike@tab00.larc.nasa.gov>. Fixed to use addopts for
2355 any automount map options specified.
2357 1999-08-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2359 * released snapshot am-utils-6.0.1s9
2361 1999-08-09 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu>
2363 * amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to
2365 (amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0.
2366 (amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of
2369 * amd/mapc.c (make_entry_chain): NFS cookies should be
2370 monotonically increasing, because Linux 2.3 expects that, even
2371 though it is not in the spec (RFC-1094) for NFS V2.
2373 1999-08-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2375 * aux/macros/check_lib_funcs.m4: removed unused macro.
2377 * aux/macros/linux_headers.m4: new macro to ensure that linux
2378 kernel headers match running kernel version.
2380 * aux/acconfig.h: define HOST_HEADER_VERSION so we can check if
2381 amd is configured on linux hosts that run one kernel but have
2382 headers for a different version.
2384 * amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the
2385 logic which uses nis_isup and has_yp_order. Make sure it is used
2386 correctly , esp. for NIS+ in NIS-compatibility mode. Bug fix from
2387 Peter Breitenlohner <peb@mppmu.mpg.de>.
2389 * include/am_defs.h: fix conflicts on linux 2.2 systems with older
2390 libc5. Bug fix from Peter Breitenlohner <peb@mppmu.mpg.de>.
2392 * scripts/lostaltmail.in: use sockaddr_in(), not pack() to
2393 correctly fill in a struct sockaddr_in. On Solaris x86 hosts,
2394 using pack() results in byte-misaligned values.
2396 1999-08-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2398 * conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3
2399 mounting, as per Dale Talcott <aeh@quest.cc.purdue.edu>. Also use
2400 better macros for case statement.
2402 * conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures
2403 unless ldap is actually available.
2405 * use updated config.guess and config.sub. Use newer automake
2406 that fixes problems with distributing optional libamu files
2407 (clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c,
2410 1999-07-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2412 * minor port i386-unknown-openbsd2.5
2414 1999-07-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2416 * minor ports to freebsdelf 3.[0-2] and 4.0 completed
2418 * aux/macros/check_nfs_prot_headers.m4: support freebsdelf
2420 * aux/macros/check_nfs_socket_connection.m4: support freebsdelf
2422 1999-06-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2424 * released snapshot am-utils-6.0.1s8
2426 1999-06-23 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu>
2428 * include/am_defs.h: avoid various header conflicts on
2429 RedHat/Linux 6.0 and kernels 2.2.10 or newer.
2431 * aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and
2434 * amd/amfs_program.c (amfs_program_exec): make sure logfp is
2435 initialized dynamically to stderr if needed.
2437 * libamu/xutil.c (dplog): make sure logfp is initialized
2438 dynamically to stderr if needed.
2441 * amd/amfs_program.c (amfs_program_exec): set logfp to stderr if
2444 * libamu/xutil.c: don't initialize logfp statically to stderr,
2445 because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer
2446 be manipulated like a variable.
2448 * include/am_defs.h: avoid more conflicts between <linux/fs.h> and
2449 <sys/mount.h> on 2.2 linux kernels.
2450 include <db1/ndbm.h> as needed (RedHat/Linux 6.0)
2452 1999-04-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2454 * all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS)
2456 * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER):
2457 renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake
2458 won't attempt to add it to the header files to distribute.
2460 1999-04-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2462 * aux/GNUmakefile: invoke aclocal with new --altdir flag.
2464 1999-04-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2466 * minor new port: i386-unknown-netbsd1.4 (ALPHA)
2468 * aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h>
2469 and <isofs/cd9660/cd9660_mount.h> because they are also included
2470 from MOUNT_HEADERS. Causes multiple inclusion of unprotected
2471 headers on netbsd-1.4_ALPHA.
2473 1999-04-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2475 * aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's
2476 sys_errlist extern doesn't end with [].
2478 * aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support.
2480 1999-04-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2482 * newer automake wants texinfo.tex to be in aux/ not doc/
2484 1999-03-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2486 * amd/conf_parse.y: alloca support.
2488 * fsinfo/fsi_gram.y: alloca support.
2490 * libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if
2493 * aux/configure.in: test for alloca support. Needed because bison
2494 generates parsers that use alloca, and hpux9 does have alloca and
2495 its /bin/cc doesn't support it builtin (the way gcc does).
2497 * libamu/alloca.c: new file, needed on hpux9 with /bin/cc. Taken
2498 verbatim from bison-1.25.
2500 * include/am_defs.h: fixed typo #errir -> #error
2502 * released snapshot am-utils-6.0.1s7
2504 * README.y2k: more information about am-utils' compatibility, from
2505 Paul Balyoz <pbalyoz@sedona.ch.intel.com>.
2507 * scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K
2508 compliant format. Patch from Paul Balyoz
2509 <pbalyoz@sedona.ch.intel.com>
2511 * doc/am-utils.texi (Supported Platforms): hpux10.20 could have
2512 nfs v.3 support (with some vendor patches), but it is turned off.
2514 * aux/macros/os_cflags.m4: use ansi compiler options on hpux.
2516 * conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid
2517 confusing am-utils. 10.20 with some patches has incomplete
2518 support. Patch from Jon Peatfield
2519 <J.S.Peatfield@damtp.cam.ac.uk>.
2521 1999-03-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2523 * minor port i386-pc-bsdi4.0.1
2525 1999-03-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2527 * doc/am-utils.texi (Supported Platforms): add forgotten listing
2530 1999-03-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2532 * scripts/amd.conf.5: fix typo. From Jeffrey C Honig
2535 * doc/am-utils.texi: document iso9660 options norrip, gens, and
2537 (opts Option): documented dumbtimr and noauto options. From
2538 Jeffrey C Honig <jch@BSDI.COM>.
2540 * include/am_compat.h: define default strings for options norrip,
2543 * amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and
2546 * aux/macros/mount_headers.m4: also include
2547 <isofs/cd9660/cd9660_mount.h> as needed.
2549 * aux/configure.in: check for isofs mount options for bsdi4:
2550 norrip, gens, and extatt. Reported by Jeffrey C Honig
2553 * aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags
2556 1999-03-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2558 * conf/nfs_prot/nfs_prot_freebsd3.h: ditto.
2560 * conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>,
2561 for bsdi4, as per Jeffrey C Honig <jch@BSDI.COM>.
2563 1999-03-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2565 * get latest copies of config.guess, config.sub, ltconfig, and
2566 ltmain.sh from libtool-1.2f.
2568 * all Makefile.am: don't use continuation lines (using \) for
2569 short lists of files.
2571 * libamu/Makefile.am (DISTCLEANFILES): make distclean should
2572 remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c.
2573 Reported by Jeffrey C Honig <jch@BSDI.COM>.
2575 * fixmount/Makefile.am (DISTCLEANFILES): make distclean should
2576 remove checkmount.c. Reported by Jeffrey C Honig <jch@BSDI.COM>.
2578 * Makefile.am (DISTCLEANFILES): make distclean should remove
2579 amu_nfs_prot.h, config.cache.old, and dbgcf.h. Reported by
2580 Jeffrey C Honig <jch@BSDI.COM>.
2582 1999-03-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2584 * released snapshot am-utils-6.0.1s6
2586 1999-03-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2588 * INSTALL: document freebsdelf.
2590 * doc/am-utils.texi (Supported Platforms): document freebsdelf.
2592 1999-03-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2594 * minor new ports: i386-unknown-freebsdelf3.1 and
2595 i386-unknown-freebsdelf4.0
2597 * aux/macros/check_nfs_prot_headers.m4: freebsd4 support.
2599 * aux/macros/check_nfs_socket_connection.m4: freebsd4 support.
2601 * aux/macros/check_nfs_fh_dref.m4: freebsd4 support.
2603 * amd/opts.c (eval_opts): changed log level of "executing
2604 negated..." message from USER to INFO, as per Guntram Wolski
2607 1999-02-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2609 * */Makefile.am (LDADD): force linking against an installed
2612 * doc/am-utils.texi (addopts Option): document remopts interaction
2615 * amd/am_ops.c (ops_match): if addopts are specified, apply them
2616 to the value of remopts as well as opts.
2618 * amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used.
2620 1999-02-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2622 * released snapshot am-utils-6.0.1s5
2624 * conf/mount/mount_linux.c (mount_linux): set default nfs_args
2625 options for ac{reg,dir}{min,man} as per the mount-2.8a package,
2626 but only if noac option was not used.
2628 1999-02-05 Erez Zadok <ezk@retro.cs.columbia.edu>
2630 * conf/mount/mount_linux.c (mount_linux): print nfs_args again
2631 since it was updated.
2632 (mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels
2633 and newer. Bug was found by Neil Conway
2634 <nconway.list@ukaea.org.uk>
2636 1999-02-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2638 * released snapshot am-utils-6.0.1s4
2640 1999-02-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2642 * amq/amq.c (main): don't list -M as a valid amq option unless
2643 configure'd with --enable-amq-mount.
2645 Wed Feb 3 18:11:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2647 * amd/nfs_start.c (amd_use_autofs): Define.
2648 (mount_automounter): Create autofs service listener only if
2649 necessary to avoid unnecessary clashes with e.g. automountd.
2651 * amd/amd.h (amd_use_autofs): Declare.
2653 * amd/conf.c (gopt_mount_type): Set amd_use_autofs.
2654 (ropt_mount_type): Likewise.
2656 1999-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2658 * aux/macros/check_mnt2_nfs_opt.m4:: ditto
2660 * aux/macros/check_mnt2_cdfs_opt.m4: ditto
2662 * aux/macros/check_mnt2_gen_opt.m4: ditto
2664 * aux/macros/check_mnttab_opt.m4: new macro in this file to loop
2665 over AC_CHECK_MNTTAB_OPT. Reduces size of configure script a lot.
2667 * conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h,
2668 nfs/nfs.h and nfs/nfsmount.h if they exist. Patch from
2669 christos@zoulas.com (Christos Zoulas).
2671 * amd/info_hesiod.c: some forward declarations. Patch from
2672 christos@zoulas.com (Christos Zoulas).
2674 1999-01-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2676 * libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn
2677 option if it was already in that state. Patch from David
2678 Wolfskill <dhw@whistle.com>.
2680 1999-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2682 * aux/configure.in: automake nowadays supports LTLIBOBJS (but not
2683 LTALLOCA yet). Substitute value of LIBTOOL_DEPS for libtool
2686 * Makefile.am: new rules to remake libtool (maintainers only)
2688 * amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags
2689 if -D trace was used.
2691 1999-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2693 * buildall: all if statements should have an else clause because
2694 of Ultrix's /bin/sh.
2696 1999-01-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2698 * amq/amq.c: removed dummy variables.
2700 * amq/pawd.c: removed dummy variable.s
2702 * fixmount/fixmount.c (usage): removed dummy variables.
2704 * fsinfo/fsinfo.c: removed dummy variables.
2706 * hlfsd/hlfsd.c: removed dummy variables.
2708 * wire-test/wire-test.c: removed dummy variables.
2710 * mk-amd-map/mk-amd-map.c: removed dummy variables.
2712 * doc/texinfo.tex: updates from GNU mirror.
2714 * aux/GNUmakefile (../doc/texinfo.tex): new rule to update
2715 doc/texinfo.tex from GNU mirror.
2717 * released snapshot am-utils-6.0.1s3
2719 * Makefile.am (install-snapshot): better snapshot and new
2720 install-snapshot and test-snapshot rules (maintainer).
2722 * amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the
2724 Some dlog() entries were not enclosed in #ifdef DEBUG. Fix from
2725 Bill Paul <wpaul@ctr.columbia.edu>
2727 1999-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2729 * check for experimental generic 'ignore' mount flag on freebsd3.
2731 * Update library -version-info to 3:0:1 (will result in 2.1.0 .so
2732 version, which is backwards compatible with older versions.) Only
2733 one new interface was added to libamu.
2735 * amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags
2736 that are specific to automounter mounts.
2738 * aux/configure.in: update libamu.so age and revision since a new
2739 interface was added to libamu/mount_fs.c
2740 (compute_automounter_mount_flags).
2742 * libamu/mount_fs.c (compute_automounter_mount_flags): new
2743 function to compute generic mount flags that are specific to mount
2746 * aux/{configure.in,acconfig.h}: add support for generic mount
2747 entry ignore option.
2749 * released snapshot am-utils-6.0.1s2
2751 * amd/info_ldap.c (get_ldap_timestamp): dlog format fixes.
2753 * libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format
2754 of knc_semantics from u_long to u_int.
2756 * aux/macros/check_mount_style.m4: freebsd3 no longer needs a
2757 special mount helper.
2759 1999-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2761 * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS):
2762 amu_nfs_conf.h should always be found in $top_builddir.
2764 Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2766 * conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine
2767 to avoid wrong reports from show_fstypes.
2769 * conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise.
2771 * conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise.
2773 Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2775 * BUGS (mips-dec-ultrix4.3): Update Ultrix caveats.
2777 Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2779 * hlfsd/homedir.c (delay): Cast child to long, adapt format.
2780 (hlfsd_getpwent): Likewise for pw_uid.
2782 * amd/info_nis.c (nis_init): Cast order to unsigned long, adapt
2785 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast
2786 tv_sec to int to match format.
2787 (get_nfs_version): Cast nfs_version, NFS_VERSION to int to match
2790 * amd/amfs_program.c (amfs_program_exec): Cast ptr difference to
2793 * include/am_defs.h: Handle __attribute__ if available. From
2794 GNU fileutils 4.0 lib/errors.h.
2796 Mon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2798 * libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to
2801 * hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long,
2803 (nfsproc_lookup_2_svc): Likewise.
2804 (nfsproc_readlink_2_svc): Likewise for userid, groupid.
2806 * hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
2809 * hlfsd/homedir.c (homedir): Cast uid, child to long, adapt
2812 * amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned
2815 * amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to
2816 unsigned long, adapt format.
2817 (got_nfs_fh): Likewise.
2818 (prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match
2820 (call_mountd): Likewise, mnt_version also.
2821 (mount_nfs_fh): Likewise.
2823 * amd/ops_autofs.c (autofs_program_1): Cast args to int to match
2825 (autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to
2826 unsigned long, adapt formats.
2827 (autofs_bgmount): Cast opt_fs to unsigned to, adapt format.
2828 (autofs_bgmount): Use long format to match arg.
2829 (autofs_lookuppn): Removed superfluous arg.
2831 * amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match
2833 (got_portmap): Likewise for port.
2834 (recompute_portmap): Likewise for fs->fs_version, mnt_version.
2835 (find_nfs_srvr): Likewise for nfs_version.
2837 * amd/sched.c (sched_task): Cast wchan to unsigned long, adapt
2840 * amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem
2841 to unsigned long, adapt format.
2842 Cast tvv.tv_sec to int to match format.
2844 * amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
2847 * amd/map.c (root_fh): Cast pid to long, adapt format.
2848 (timeout_mp): Cast time_t to long, adapt format.
2850 * amd/clock.c (reschedule_timeouts): Use long format, cast time_t
2853 * amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to
2855 (amfs_host_fmount): Likewise.
2856 (amfs_host_umounted): Likewise. Removed superfluous arg.
2858 * amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned
2860 (amfs_auto_bgmount): Use long format, cast time_t arg.
2861 (amfs_auto_lookuppn): Removed superfluous arg.
2863 * amd/amd.c (main): Cast geteuid() result to long, adapt format.
2865 * conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version
2866 to int to match format.
2868 * include/am_utils.h: Declare plog, dplog as printf-like.
2870 * conf/mount/mount_irix6.c (mount_irix): Print type as char *.
2872 Mon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2874 * amd/info_hesiod.c (hesiod_isup): New function.
2875 * amd/mapc.c (maptypes): Add it.
2877 1999-01-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2879 * released snapshot am-utils-6.0.1s1
2881 1999-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2883 * ALL: bump copyright year to 1999.
2885 Fri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2887 * aux/macros/check_mtype_type.m4: Ultrix uses an int mount type,
2890 * aux/macros/check_mtype_printf_type.m4: Adapt corresponding
2893 Fri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2895 * aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused.
2897 * conf/nfs_prot/nfs_prot_irix6.h: Likewise.
2899 * conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise.
2901 * conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise.
2903 * Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current
2906 Thu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2908 * aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not
2909 in current automake.
2911 Thu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2913 * doc/am-utils.texi: Added some missing inter-punctation after
2914 @xref, or use @pxref/@ref as appropriate. Spotted by makeinfo
2917 1999-01-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2919 * doc/texinfo.tex: updated off of latest GNU mirror.
2921 1999-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2923 * doc/am-utils.texi (Supported Platforms): update platforms that
2924 support NFS v.3. Nicer postscript printing on double-sided pages.
2926 * amd/info_hesiod.c: add extern definition for hesiod_init()
2928 1999-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2930 *******************************************************************
2931 *** Released am-utils-6.0 ***
2932 *******************************************************************
2934 1998-12-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2936 * conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7.
2938 1998-12-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2940 * conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on
2941 bsdi4 for NFS V3/nfs mounts.
2943 1998-12-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2945 * using latest libtool (1.2e + patches), now supporting shared
2946 libraries on many more systems. Also using latest autoconf and
2947 automake (unreleased GNU CVS'd versions.)
2949 * minor new ports: hppa2.0w-hp-hpux11.00,
2950 i386-unknown-netbsd1.3.3, mips-sgi-irix6.5.
2952 * fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that
2953 have /usr/bin/flex but not libfl.
2955 1998-12-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2957 * lots of code cleanup, to make sure libamu.so does not use
2958 undefined symbols. Some system's shared libraries cannot handle
2961 1998-12-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2963 * include/am_defs.h: only defined seteuid extern if function also
2964 exists and is not superceded by setresuid (hpux).
2966 * amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit
2967 braces to avoid confusion with nested if-then-else clauses.
2969 * aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs:
2970 updated from latest versions.
2972 1998-12-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2974 * minor new port: i386-pc-bsdi4.0
2976 * conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header
2977 definitions for bsdi4.
2979 * {amd,fsinfo}/Makefile.am: force path to .y/.l files, because
2980 some make programs (bsdi4) do not support VPATH correctly.
2982 1998-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2984 * conf/mount/mount_aix.c: minor code cleanup
2986 * aux/configure.in: check for extern definition to xdr_groups.
2988 1998-12-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2990 * minor new port: powerpc-ibm-aix4.3.1.0
2992 * aux/macros/*.m4: updates for aix 4.3
2994 1998-12-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2996 * minor new port: i386-unknown-openbsd2.4
2998 * aux/configure.in: don't check for xfs on openbsd because
2999 openbsd-2.4 introduces a new file system named xfs, but different
3000 than Irix's XFS. Sigh.
3002 * minor new port: i386-unknown-freebsd2.2.8
3004 1998-12-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3006 * amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host
3007 name match. Bug fix from Douglas K. Rand" <rand@aero.und.edu>.
3009 1998-11-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3011 * scripts/ctl-amd.in: wait4amd2die runs in the stop action, to
3012 avoid race conditions when shutting down systems running amd.
3014 * Makefile.am: add a dist-hook to change modes of the directories
3015 in the tar file so they are not world writable.
3017 * conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support,
3018 since it is now finally defined in the header files and
3021 * amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option
3022 is specified in mount options. freebsd patches from David
3025 * amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c
3026 (main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main),
3027 amd/get_args.c (get_args): posix: use -1 to check for return from
3028 getopt() (not EOF), as per posix.
3030 * amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David
3031 O'Brien" <obrien@NUXI.com>, from the FreeBSD source tree. Use
3032 real variable whose pointer is on the stack for decoding a long
3035 1998-11-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3037 * scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's
3040 1998-11-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3042 * released snapshot am-utils-6.0b2s3
3044 * conf/transp/transp_sockets.c (create_nfs_service): remove C++
3047 1998-11-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3049 * released snapshot am-utils-6.0b2s2
3051 * created CVS package
3053 * amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race
3054 condition between unmounting and re-mounting an entry, by
3055 increasing the ttl of a looked up entry before unmounting it.
3056 Patch from Mike Mitchell <mcm@unx.sas.com>.
3058 * All files: spell comments and strings.
3060 1998-11-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3062 * aux/configure.in: look for yp_all in libnsl only if yp_all not
3063 already found elsewhere (in libc or other default libraries).
3064 This is so RedHat 5.1 systems could find yp functions in libnsl,
3065 but also so AIX 4.2.1 will NOT include libnsl, because the latter
3066 has broken nis functionality that also exists and works ok in libc.
3068 1998-10-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3070 * amd/amd.c (main): bug fix: swapped arguments to kill(2). Fix
3071 from Danny Rathjens <dkr@cs.fiu.edu>.
3073 1998-10-28 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu>
3075 * released snapshot am-utils-6.0b2s1
3077 1998-10-27 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu>
3079 * aux/macros/*.m4: support bsdi4 as bsdi3.
3081 * aux/macros/os_ldflags.m4: enable detection of LDAP on solaris
3082 2.7 (libraries located in /usr/lib/fn). This is off until Sun
3083 includes LDAP header information.
3085 1998-10-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3087 *******************************************************************
3088 *** Released am-utils-6.0b1 ***
3089 *******************************************************************
3091 1998-10-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3093 * mk-amd-map/mk-amd-map.c (main): use perror not strerror.
3094 (main): set return type to int if no ndbm maps.
3096 * include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1
3099 1998-10-18 Erez Zadok <ezk@london.mcl.cs.columbia.edu>
3101 * A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup
3104 1998-10-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3106 * aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1
3107 systems put NIS functions there.
3109 * mk-amd-map/mk-amd-map.c: patch from "David O'Brien"
3110 <obrien@NUXI.com> merged in. Use POSIX -1 return code from
3111 getopt(), not EOF. Use .db extentions for systems that use it,
3112 instead of .{pag,dir}.
3114 1998-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3116 * wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c,
3117 amd/amd.c (main): avoid overrunning hostname buffer. Bug fix from
3118 "David O'Brien" <obrien@NUXI.com>.
3120 * scripts/amd.conf.5: minor typo reported by "David O'Brien"
3121 <obrien@NUXI.com> in .TH section of man page.
3123 * amd/info_nis.c (am_yp_all): don't leak key-val entries. Patch
3124 from Thomas Richter <richter@chemie.fu-berlin.de>.
3126 1998-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3128 * doc/am-utils.texi (Program Filesystem): minor typo fixed as per
3129 Andreas Stolcke <stolcke@speech.sri.com>.
3131 * minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7,
3132 and sparc-sun-solaris2.7.
3134 * conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now
3135 a 4.4lite kernel, and somethings were removed, such as
3138 * amd/ops_autofs.c (autofs_lookuppn): don't leak memory while
3139 processing /defaults. Free temporary opts. Patch from
3140 dsr@mail.lns.cornell.edu (Daniel S. Riley)
3142 * amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while
3143 processing /defaults. Free temporary opts. Patch from
3144 dsr@mail.lns.cornell.edu (Daniel S. Riley)
3146 * conf/mtab/mtab_osf.c (read_mtab): patch from
3147 dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access
3148 uninitialized memory on Digital Unix.
3150 1998-10-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3152 * aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most
3153 systems now use "char *" as their mount type.
3155 1998-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3157 * amd/conf.c (gopt_map_type, ropt_map_type): check if map type
3160 * amd/mapc.c (mapc_type_exists): function to test if a map of
3161 certain type exists.
3163 1998-10-08 Erez Zadok <ezk@horatio.mcl.cs.columbia.edu>
3165 * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
3166 include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl
3167 in RH-5.1 sparc64 between <netinet/in.h> and
3168 <linux/byteorder/generic.h> (2.1 kernels).
3170 1998-09-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3172 * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat
3173 5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket
3176 1998-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3178 * conf/mount/mount_linux.c (parse_opts): check for pcfs support
3179 only if autoconfigured.
3181 1998-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3183 * Makefile.am (EXTRA_DIST): distribute README.yk2 file.
3185 * README.y2k: explain y2k compliance status of am-utils.
3187 1998-09-16 Erez Zadok <ezk@iguana.mcl.cs.columbia.edu>
3189 * amd/amfs_host.c (fetch_fhandle, amfs_host_fmount,
3190 amfs_host_umounted): clnt_sperrno() may return a const.
3192 Sat Aug 8 23:28:32 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3194 * aux/configure.in: check for <nfs/nfsmount.h>, as per Christos
3195 Zoulas. Turned on checking for mount options: async, synchronous,
3196 deadthresh, leasterm, nqnfs, and readahead.
3198 * amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas)
3199 to include prototype definition for nis_isup().
3201 Sun Jul 19 18:50:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3203 * hlfsd/stubs.c (getcreds): force sscanf arg to u_long.
3205 Tue Jul 14 20:34:25 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3207 * released snapshot am-utils-6.0a17s1
3209 Wed Jul 8 21:49:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3211 * aux/macros/host_macros.m4: all x86 hosts should have $arch be
3214 Tue Jul 7 18:55:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3216 * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
3217 include/am_defs.h: include <linux/posix_types.h> before
3218 <linux/fs.h> because on redhat 5.1, there is a bug (misuse) of
3219 headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of
3220 __KERNEL_STRICT_NAMES).
3222 * aux/configure.in: check for <linux/posix_types.h> because it is
3223 need for RedHat 5.1.
3225 Wed Jun 17 00:05:33 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3227 * scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from
3228 .in as well, so it doesn't get removed by make clean.
3230 Tue Jun 16 22:00:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3232 * aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4,
3233 check_mount_type.m4}: redhat 5.1 puts some modules in
3234 /lib/modules/preferred/.
3236 Wed May 13 16:33:57 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3238 * amd/ops_autofs.c (mount_autofs): cast pid to long.
3240 Tue Apr 28 15:12:36 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3242 * conf/nfs_prot/nfs_prot/nfs_prot_irix6.h,
3243 conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to
3244 avoid amd/am_ops.c (show_fstypes) from erroneously claiming
3247 Fri Apr 24 23:02:11 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3249 * libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON
3250 unconditionally, may be missing on Ultrix V4.3.
3252 Thu Apr 23 20:24:33 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3254 * conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define,
3255 missing from <sys/mntent.h>.
3257 * conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h>
3258 without KERNEL defined here.
3260 * aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>,
3261 <cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of
3262 ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed.
3264 * amd/ops_ufs.c (mount_ufs): Removed obsolete comment.
3266 * ChangeLog: Fixed confusing linebreaks from ChangeLog imports.
3267 Removed purely local (and obsolete) entry.
3269 Thu Apr 23 00:22:17 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3271 *******************************************************************
3272 *** Released am-utils-6.0a16 ***
3273 *******************************************************************
3275 Wed Apr 22 01:20:39 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3277 * aux/macros/check_mount_style.m4: define freebsd3 mount style.
3279 * aux/macros/check_mount_trap.m4: new mount trap for freebsd3.
3281 * aux/macros/check_mtype_printf_type.m4,
3282 aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as
3283 of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not
3284 integers, but I'll keep them as integers and do the mapping in
3285 conf/mount/mount_freebsd3.c
3287 * minor new port to i386-pc-bsdi3.1.
3289 * minor new port to i386-unknown-netbsd1.3.1.
3291 * amd/opts.c: new option addopts:=ARG, which smartly merges ARG
3292 options with whatever the /default ones for a key are. This
3293 allows adding or overriding /default options individual keys.
3295 * amd/am_ops.c (ops_match): strdup/malloc string assigned to
3296 opt_opts because it'll get free()'d upon next use.
3297 (merge_opts): new function to merge two sets of options.
3298 (ops_match): if addopts option exist, append and merge it to the
3299 current default options.
3301 Tue Apr 21 12:54:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3303 * wire-test/wire-test.c (main): use dynamically allocated returned
3304 string with list of interfaces.
3306 * amd/get_args.c (get_version_string): allocate enough space for
3307 header version string and a list of network interfaces of any
3310 * libamu/wire.c (print_wires): return dynamically allocated string
3311 containing list of networks. Must be dynamic because some sites
3312 had potentially dozens of network interfaces. Patch from Matthew
3313 Crosby <mcrosby@ms.com> slightly modified.
3315 Mon Apr 20 00:37:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3317 * conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because
3318 irix 5.3 does not have full header definitions for it.
3320 * fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and
3321 undefined it when not needed (similar to amd/conf_tok.l)
3323 * hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size
3324 of these to unsigned short (because uid_t on some linux systems is
3327 * released snapshot am-utils-6.0a16s10
3329 * doc/am-utils.texi (opts Option): documented resvport mount
3332 Sun Apr 19 18:17:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3334 * doc/am-utils.texi (-D-Option): document behavior of -D info and
3335 especially what it does to hesiod (turn on RES_DEBUG).
3337 * scripts/amd.conf.5: document info debugging option.
3339 * libamu/xutil.c (dbg_opt): parse info debugging option.
3341 * include/am_utils.h (D_INFO): define new trace option.
3343 * Makefile.am (EXTRA_DIST): include list of official mirrors in
3346 * libamu/wire.c (SIZE): in the simple case, just compute
3347 sizeof(struct ifreq).
3349 Sun Apr 19 16:30:35 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
3351 * amd/amd.c (daemon_mode): set a temporary secure umask(0022)
3352 before writing log file and restore it afterwards. Patch from
3353 Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
3355 * amd/get_args.c (get_args):
3357 * doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf
3358 file specified by -F is always processed last.
3360 * amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd
3361 won't be reused. Allows startup script to redirect stdout. Patch
3362 from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
3364 * libamu/xutil.c (switch_to_logfile): compare logfile name and
3365 syslog string with correct length. Patch from Donald Buczek
3366 <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
3368 * amd/restart.c (restart): correctly inherit existing NFS V.3
3369 mounts upon restart. Patch from Donald Buczek
3370 <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
3372 Sat Apr 18 19:01:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
3374 * using libtool 1.2 and automake 1.3 (with my patches).
3376 * aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to
3377 AMU_CFLAGS to avoid conflicts with automake-1.3.
3379 Sun Apr 5 23:09:08 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3381 * converted to using libtool-1.2.
3383 Tue Mar 10 16:52:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3385 * fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly
3386 for loop (ITER) which used to run only to initialize the variable
3387 dd once and then break; with a simple assignment.
3389 * hlfsd/hlfsd.h: cleanup so it compiles with Solaris
3390 /opt/SUNWspro/bin/cc, and use gid_t not int.
3392 * amd/mapc.c (mapc_sync): don't dereference pointer (so it
3393 compiles with Solaris /opt/SUNWspro/bin/cc)
3395 Sun Mar 8 15:54:22 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3397 * aux/config.{guess,sub}: used from gcc-2.8.1.
3399 Sat Mar 7 15:33:27 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3401 * released snapshot am-utils-6.0a16s9
3403 * INSTALL, doc/am-utils.texi (Supported Platforms): updated names
3404 based on new output of new config.guess.
3406 * aux/config.{sub,guess}: used newer versions from gcc-2.8.0.
3408 * amd/amd.8,doc/am-utils.texi: document correct usage of default
3411 * fixmount/fixmount.c (inetresport,privsock): use some more
3412 portable code from amq/amq.c.
3414 * amd/get_args.c (get_args): use default /etc/amd.conf file only
3415 if no arguments had been passed to amd.
3417 * fixmount/fixmount.c (clnt_create_timeout): use tli/socket code
3418 ala amq/amq.c so that fixmount will work on both types of systems.
3420 * amq/amq.c (main): do no close tcp socket before running udp try,
3421 because we're not sure if it was opened at all.
3423 * mips-dec-ultrix* port merged in and cleaned up.
3425 * aux/configure.in: up minor shared library revision number, since
3426 it has changed enough.
3428 * hlfsd/hlfsd.c (main): don't check for overlay mount option here,
3429 as it is now done in compute_nfs_args(). Remove ultrix specific
3430 code also because it was moved to compute_nfs_args().
3432 * conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that
3433 we have more generic code in print_nfs_args().
3435 * libamu/mount_fs.c (print_nfs_args): print maxlen of
3436 nfs_args.addr, and also syncaddr (which is mostly NULL). Print
3437 struct knetconfig from nfs_args->knconf.
3439 * aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs
3440 headers here, but in try_compile_anyfs.m4.
3442 * aux/macros/type_ufs_args.m4: move test for struct ufs_specific
3443 (for ultrix) here from its own macro.
3445 * aux/macros/type_cdfs_args.m4: move test for struct iso_specific
3446 (for ultrix) here from its own macro.
3448 * amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking
3449 for overlay mount option. Remove code which checks for overlay
3450 option, as it is now done in compute_nfs_args().
3452 * libamu/mount_fs.c (compute_mount_flags): move here code which
3453 checks for overlay mount option which was in amd/amfs_toplvl.c:
3454 mount_amfs_toplvl().
3456 Wed Feb 7 15:35:51 1998 Rainer Orth <ro@xayide.TechFak.Uni-Bielefeld.DE>
3458 * The following are Rainer's ChangeLog entries for his ultrix
3459 port, added manually. -Erez.
3461 * merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c
3462 (mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl)
3464 * include/am_defs.h: include cdfs specific mount headers
3465 avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix)
3467 * include/am_compat.h: define several mount options corresponding
3468 to mount flags: pgthresh, hard (nfs), defperm, nodefperm,
3469 noversion, rrip (cdfs), nocache, quota, sync (generic) removed
3470 duplicate MNTTAB_OPT_RO definition
3472 * aux/macros/try_compile_anyfs.m4: include Ultrix specific
3473 ufs/cdfs mount headers
3475 * aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX
3476 specific mount headers
3478 * aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_*
3479 mount types in mount headers (Ultrix)
3481 * aux/configure.in: Ultrix/Digital UNIX specific checks: new
3482 headers, mount structures and fields, filesystem and mount types,
3485 * aux/acconfig.h: placeholders for new mount options: quota
3486 (generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs)
3487 cdfs, nfs, ufs mount structure fields new ufs, cdfs mount
3490 * amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in
3491 ufs_args.ufs_flags and has ufs specific pgthresh option
3493 * amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific
3494 CDFS mount flags and options
3496 * amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh),
3497 hlfsd/hlfsd.c (main): store generic mount flags in
3498 nfs_args.gfs_flags, handle separate NFS ro flag
3500 * aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific,
3501 struct_ufs_specific}.m4: new files; check for Ultrix specific
3504 * conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag
3506 * aux/macros/type_auth_create_gidlist.m4 (ultrix*):
3507 AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a
3508 comment in <rpc/auth.h>
3510 * include/am_defs.h: #define KERNEL to avoid definition of
3511 gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before
3512 <config.h> to force single definition here
3514 * libamu/mount_fs.c (compute_nfs_args): Ultrix support for
3515 nfs_args.gfs_flags moved to callers store mount options in
3518 * include/am_defs.h: fix _am_mntent mnt_{type, opts} field
3521 * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4:
3522 include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req
3523 definition in prototypes
3525 * aux/macros/mount_headers.m4: include <sys/errno.h> before
3526 AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_*
3529 * conf/nfs_prot/nfs_prot_ultrix.h: new file
3531 * aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h
3533 * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4,
3534 aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple
3535 inclusion of <rpc/xdr.h>
3537 Sat Mar 7 13:56:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3539 * aux/configure.in: save state of config.cache and confdefs.h
3540 (as dbgcf.h) at various points of the configure.
3542 * aux/macros/save_state.m4: new macro to save state of configure,
3543 esp. useful in long ones. Saves confdefs.h and write $ac_cv_*
3544 cache variables that are known so far.
3546 * released snapshot am-utils-6.0a16s8
3548 1998-03-06 Erez Zadok <ezk@mercer.psl.cs.columbia.edu>
3550 * fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining
3551 it, but only for flex.
3553 Fri Mar 6 17:23:17 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
3555 * hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file
3556 to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible)
3557 to write the dump file.
3559 * doc/am-utils.texi,amd/opts.c: rename all references to nomadic
3560 functions to boolean functions, which is what they really are.
3562 * aux/configure.in: don't look for strcasecmp in libucb at all,
3563 but rather complete it from libamu/strcasecmp.c as needed.
3565 Fri Mar 6 03:29:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3567 * conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS.
3569 * libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X
3570 which defines IFF_ROUTE instead of IFF_LOOPBACK. Patch from Tom
3571 Schmidt <tschmidt@micron.com>.
3573 * released snapshot am-utils-6.0a16s7
3575 * conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to
3576 hppa1.0-hp-hpux11.00.tgz.
3578 Thu Mar 5 21:59:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3580 * converted all sources to use mntent field names, and map mnttab
3581 field names to mntent's.
3583 * include/am_defs.h (mnt_special): map struct mnttab field names
3584 to struct mntent field names.
3586 * aux/macros/check_mount_trap.m4: hpux11's mount trap style is
3587 identical to svr4/solaris2.
3589 * aux/macros/check_mount_style.m4: hpux11's mount style is
3590 identical to svr4/solaris2.
3592 * aux/macros/check_network_transport_type.m4: hpux11 is a TLI
3595 * aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address
3596 dereferencing style is same as svr4.
3598 * aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh
3599 dereferencing style is same as svr4.
3601 * conf/transp/transp_tli.c (create_nfs_service): if failed to
3602 getnetconfigent() of ticlts, then try udp (hpux11).
3604 * conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for
3605 struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris
3606 2.5.1 (HP used them).
3608 * amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open()
3609 because hpux11 doesn't like it. if t_open failed, print error
3610 based on t_errlist, not sys_errlist.
3612 Wed Mar 4 22:01:55 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3614 * doc/am-utils.texi: lots of documentation fixes from Rainer Orth
3615 <ro@TechFak.Uni-Bielefeld.DE>.
3617 Sat Feb 28 22:16:35 1998 Erez Zadok <ezk@kosh.cs.columbia.edu>
3619 * fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used
3622 * include/am_defs.h: defined the extern for ualarm() if it isn't
3623 found, regardless if the function isn't found in standard
3624 libraries, because otherwise libamu will include it.
3626 1998-02-28 Erez Zadok (per Ron Snyder) <ezk@short.cvo.roguewave.com>
3628 * initial port to hpux-11 completed. Compiles cleanly, but
3629 probably does not work, because of missing NFS V.2/3 headers.
3631 * amd/conf_tok.l: cast yytext to char* when passed to strlen and
3632 strdup, for hpux-11's ansi-cc compiler.
3634 * include/am_utils.h: renamed all xfree() to XFREE() to avoid
3635 conflict with hpux-11's system headers. Also move (voidp) cast
3636 from sources to inside the macro itself.
3638 Sat Feb 28 13:44:21 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3640 * released snapshot am-utils-6.0a16s6
3642 * amd/info_nis.c (nis_isup): new function to test if NIS is up
3643 without hanging amd. Used to ensure that amd does not clear the
3644 maps when the expiration period arrived, if the service is down.
3645 Otherwise it would be left with empty maps. It is better to stay
3646 with possibly old information than none at all.
3648 * amd/mapc.c (mapc_sync): check to see if map service is up.
3650 Tue Feb 24 02:19:42 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3652 * aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it
3653 includes auxiliary library only if needed.
3655 1998-02-22 Erez Zadok <ezk@mercer.psl.cs.columbia.edu>
3657 * amd/conf_tok.l: undefine ECHO again, so it doesn't get used
3660 Sun Feb 22 01:41:08 1998 Erez Zadok <ezk@zen.cs.columbia.edu>
3662 * conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1
3665 * conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3.
3667 Sat Feb 21 19:45:48 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3669 * doc/am-utils.texi (Network Host Filesystem): correct example for
3672 * aux/macros/os_cflags.m4: only osf4 should compile with
3675 * aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2
3678 * BUGS: include a new file listing known bugs.
3680 Sat Feb 21 03:50:48 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu>
3682 * conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux
3685 * aux/macros/type_recvfrom_fromlen.m4: linux alpha should use
3686 size_t for recvfrom fromlen arg.
3688 Sat Feb 21 03:33:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3690 * scripts/ctl-hlfsd.in: turn -D fork so primary process never
3693 Sat Feb 21 02:45:51 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu>
3695 * include/am_defs.h: don't include <sys/stat.h> and
3696 <linux/stat.h>, just remaining definitions in <statbuf.h>
3698 Thu Jan 29 00:44:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3700 * released snapshot am-utils-6.0a16s5
3702 * conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to
3705 * check for <sys/fs/xfs_clnt.h> and include it when needed.
3707 * conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize
3708 efs and xfs separately from "ufs".
3710 * amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs.
3712 * aux/configure.in: look for irix efs and xfs file systems.
3714 * scripts/amd.conf.5: new unmount_on_exit option documented.
3716 * doc/am-utils.texi (unmount_on_exit): new option documented.
3718 * amd/conf.c (gopt_unmount_on_exit): new function to handle new
3721 * amd/map.c (umount_exported): if global amd.conf flag
3722 unmount_on_exit is on, then try to unmount all mounted (or
3723 restartable) file systems.
3725 * amd/amd.c: if print_pid option is on, then normally print it to
3726 stdout. If also pid_file is specified, then print the process ID
3729 * amd/get_args.c (get_args): print correct -l option depending if
3730 system supports syslog and/or syslog facilities. Patch from
3731 Tom Schmidt <tschmidt@micron.com>.
3733 * doc/am-utils.texi (opts Option): updates for documentation for
3734 new cdfs options defperm, nodefperm, noversion, rrip.
3736 * amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm,
3737 nodefperm, noversion, rrip.
3739 * conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h>
3742 * aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4,
3743 expand_cpp_string.m4}: use #error to make failed compilations
3744 fail faster, rather than have the program fail during a run.
3746 * include/am_compat.h: added a few new cdfs options: rrip,
3747 noversion, defperm, and nodefperm (used in OSF).
3749 Wed Jan 28 20:24:09 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
3751 * released snapshot am-utils-6.0a16s4
3753 * doc/am-utils.texi (Global Parameters): update manual for new
3754 amd.conf global variable hesiod_base.
3756 * scripts/amd.conf.5: update man page for new amd.conf global
3757 variable hesiod_base.
3759 * amd/get_args.c (get_args): use /etc/amd.conf file if exists by
3760 default, else try command line options. Patch from Randall
3761 S. Winchester <rsw@Glue.umd.edu>.
3763 Wed Jan 28 12:20:56 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3765 * amd/info_hesiod.c (hesiod_search), amd/conf.c
3766 (gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options):
3767 included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to
3768 support a hesiod base name in the amd.conf file.
3770 * doc/am-utils.texi (pid_file Parameter): document new global
3773 * scripts/amd.conf.5: document new global option pid_file.
3775 * amd/amd.c (daemon_mode): if cannot open pid_file, continue to
3776 run, but print error message.
3778 * amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode,
3779 init_global_options): Included patch from Randall S. Winchester
3780 <rsw@Glue.umd.edu>, to support pid files in the amd.conf file.
3782 * amd/get_args.c (get_args): correct usage info on amd -t.
3784 * amd/*.c: massive file name and symbol name changes. All amd
3785 file systems files and symbols are prefix with amfs_*. Now using
3786 real name of file system: amfs_auto instead of afs, amfs_inherit
3787 instead of ifs, amfs_linkx instead of sfsx, etc. This will enable
3788 clear distinction between amd file system and generic ones like
3789 nfs/ufs/pcfs/hsfs. Also, now we can implement true afs (Andrew
3790 f/s) and DFS (Distributed f/s).
3792 * amd/amfs_union.c: unionfs for amd is always defined, no need to
3795 Mon Jan 26 16:51:38 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
3797 * libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on
3798 or off, based on the particular quirks of the OS in question.
3800 * aux/macros/check_nfs_socket_connection.m4: new macro to set the
3801 correct wait of handling un/connected NFS sockets.
3803 * scripts/wait4amd.in: use rlogin instead of rsh.
3805 * amd/am_ops.c (ops_showfstypes): when showing F/S types in amd
3806 -v, always show "nfs3" for NFS V.3.
3808 1998-01-25 Erez Zadok <ezk@snoopy.cs.columbia.edu>
3810 * lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets
3811 more picky than 2.7.2.3 did.
3813 1998-01-24 Erez Zadok <ezk@snoopy.cs.columbia.edu>
3815 * include/am_utils.h (dlog): amuDebug macros reduced to shorter
3818 Fri Jan 23 18:38:30 1998 Erez Zadok <ezk@goat.mcl.cs.columbia.edu>
3820 * released snapshot am-utils-6.0a16s3
3822 * include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included
3823 in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h
3824 must not, fake a definition for varargs.
3826 Fri Jan 16 10:16:40 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3828 * README: show how to configure in additional support such as
3829 hesiod using various --enable-* flags.
3831 Wed Jan 14 15:13:02 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3833 * aux/configure.in: look for strcasecmp(), and replace it if not
3836 * amd/ops_nfsl.c (nfsl_match): host names should be compared using
3839 * amd/opts.c: for each map variable, define if the comparison
3840 needs to be done case insensitive.
3842 * include/am_utils.h (STRCEQ): a new macro to use strcasecmp().
3843 Patch from Thomas Richter <richter@chemie.fu-berlin.de>
3845 1998-01-14 Erez Zadok <ezk@irt.cs.columbia.edu>
3847 * aux/configure.in: look for "isofs" as a possible mount type for
3848 cdfs (RedHat Linux).
3850 Wed Jan 14 02:07:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3852 * conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount
3853 type if not defined.
3855 * conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if
3858 * aux/configure.in: look for ext2fs before ufs, b/c some linux
3861 Mon Jan 12 15:43:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3863 * Makefile.am (snapshot): allow me to install snapshots into the
3866 * scripts/ctl-hlfsd.in: don't turn on -D mem by default.
3868 * amd/get_args.c (get_args): minor bug in output of amd -H.
3870 Mon Jan 12 03:05:06 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
3872 *******************************************************************
3873 *** Released am-utils-6.0a15 ***
3874 *******************************************************************
3876 Sun Jan 11 15:06:34 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3878 * amd/conf.c (*_browsable_dirs): allow specifying
3879 browsable_dirs=full, which will print *all* entries (other than
3880 /default), including those with '*' and '/' characters.
3882 * amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length
3885 * doc/am-utils.texi: fixed reversed documentation for NFS mount
3886 options vers and proto.
3888 * doc/Makefile.am (install-html): separate target just for
3889 installing html files. Another new target "alldocs" is just for
3890 installing all files needed for the am-utils home page.
3892 * scripts/amd.conf-sample: updated example for log_file.
3894 * scripts/amd.conf.5: updated for new way to declare new syslog
3895 facility in the log_file option.
3897 * amd/amd.8: updated for new way to declare new syslog facility in
3900 * libamu/xutil.c (get_syslog_facility): allow users to specify the
3901 syslog facility as an appended string to the log device. Ex. amd
3902 -l syslog:local7 will use LOG_LOCAL7, while the older -l syslog
3903 will use the default LOG_DAEMON facility.
3905 * amd/get_args.c (get_args): updated new syntax for amd -l
3908 Thu Jan 8 04:05:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3910 * aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3
3913 * libamu/wire.c (print_wires): bug fix. Nullify output buffer
3914 before appending to it, on systems with two or more network
3917 * conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for
3918 the mntent for cachefs.
3920 * include/am_defs.h: external definition for strstr() should use
3921 const for both arguments.
3923 * aux/configure.in: add extern definitions for getwd() if missing.
3925 * include/am_defs.h: define the extern for strdup() even if the
3926 function does not exist, for it will be filled in by
3929 * amq/pawd.c (cluster_server): don't use getccent() if the extern
3930 for it isn't there. On hpux 10.20, the function is in libc, but
3931 <cluster.h> and struct cct_entry do not exist.
3933 * aux/configure.in: check for an extern for getccent() b/c some
3934 hpux systems don't have it (hpux 10.20).
3936 Wed Jan 7 00:09:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
3938 * doc/am-utils.texi (Amq -T option): manual documentation updates
3939 for new amq options -T/-U.
3941 * amq/amq.8: updated man page for new amq options -T/-U.
3943 * amq/amq.c: two new switches to amq. -U will contact amd using
3944 UDP only. -T will use TCP only. Normally amq will try TCP and
3945 if that failed, will try UDP.
3947 * doc/am-utils.texi (pawd): manual documentation for pawd.
3949 * amq/pawd.1: new man page for pawd.
3951 Tue Jan 6 04:21:59 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
3953 * amq/pawd.c: a new program, Print Automounter Working Directory,
3954 to print the proper pathname of the cwd or any other pathname,
3955 adjusted for automounter paths, while avoiding mount points.
3957 * aux/macros/localconfig.m4: trivial support for am-utils
3958 maintainers to adjust some of the configuration of am-utils after
3959 it has been auto-configured by putting whatever definitions you
3960 wish in a file called localconfig.h, located in the top build
3961 directory (the same one where config.h is created for you).
3963 * doc/am-utils.texi (Caching Filesystem): updated documents for
3964 cachefs file system.
3966 * amd/ops_cachefs.c: initial cachefs support, for solaris.
3967 type:=cachefs, requires cachedir:=/cache/dir/name to be defined
3968 and initialized with cfsadmin -c. $rfs is backdir to be cached
3969 from, and $fs is the local mount point of the cachefs.
3971 * conf/mount/mount_svr4.c (mount_svr4): support mounting of
3972 cachefs file systems.
3974 * amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the
3977 Mon Jan 5 23:22:49 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
3979 * amd/opts.c: added support for new variable $cachedir.
3981 * include/am_utils.h: added opt_cachedir field to struct am_opts.
3983 Sat Jan 3 01:43:57 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
3985 * amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the
3986 local hostname does not match $rhost, and if so, also assume
3989 Fri Jan 2 01:00:40 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
3991 * updated all source files to add 1998 as a copyright year.
3993 * amd/ops_nfsl.c: new amd meta file system "type:=nfsl". Behaves
3994 like type:=linkx if the pathname denoted by $fs exists, and like
3995 type:=nfs if it does not. A convenient shortcut for the most
3996 popular amd map entry.
3998 * amd/amd.c (main): amd should chdir to / before starting, to
3999 avoid hanging on other NFS server if started elsewhere.
4001 * amd/ops_TEMPLATE.c: added an empty template file for developers
4002 who wish to write new amd pseudo file systems.
4004 Thu Jan 1 00:27:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4006 * hlfsd/homedir.c (plt_init): make function exported, to save on
4007 the unnecessary init_homedir() function which was removed.
4008 (table_add): don't use xmalloc() when you can use strdup()
4011 Thu Jan 1 00:15:58 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
4013 * hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this
4014 because we will be making more passwd calls afterwards. On
4015 Solaris 2.5.1, making getpwent() calls after calling endpwent()
4016 results in a memory leak! (and no, even Purify didn't detect
4019 Tue Dec 23 18:23:47 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
4021 * hlfsd/hlfsd.c (main): Bug fix. Don't try to free() an
4022 automatically allocated address.
4024 * amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an
4025 automatically allocated address.
4027 * ALL SOURCES: change every direct call to free() to xfree(), so
4028 it can be mapped to the right debugging function as needed.
4030 * include/am_utils.h: new free() policy. If debugging memory,
4031 call dxfree(), which will print the file name and line number
4032 where the free occurred and the pointer address. if only regular
4033 debugging, then free() and reset the pointer to NULL so it cannot
4034 be used afterwards inadvertently. If not DEBUG at all, then just
4035 run free(). Three different #define macros set the right mapping.
4037 * libamu/xutil.c (dxfree): renamed function to dxfree(), so it can
4038 be called only when debugging the memory.
4040 Tue Dec 23 04:24:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4042 * wire-test/wire-test.c (main): use xmalloc() not malloc().
4044 * conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not
4047 * conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc().
4049 * conf/mount/mount_linux.c (parse_opts): use xmalloc() not
4052 * amd/info_ldap.c: use xmalloc() not malloc().
4054 * libamu/xutil.c (xzalloc): new function to allocate memory and
4057 * amq/amq.c: amq does not need its own definition of xfree().
4059 * aux/macros/opt_debug.m4: if used --enable-debug=mem, then also
4060 look for function malloc_verify() in libmapmalloc.a, and function
4061 mallinfo() in libmalloc.
4063 * libamu/xutil.c (checkup_mem): do not use mallinfo field
4064 uordbytes, because it does not always exist. Rather, compute it
4067 * include/am_utils.h: add external definition to xfree() function
4068 used when debugging memory references.
4070 Mon Dec 22 03:01:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4072 * amd/ops_afs.c (afs_readdir_browsable): reduce the number of
4073 bytes heuristically computed to be returned to the kernel.
4074 Otherwise browsable_dirs fails on OpenBSD 2.2.
4076 * amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of
4077 mf_private field to AFTER it gets used.
4079 Sat Dec 20 00:51:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4081 * amd/ops_host.c (host_umounted): don't use clnt_spcreateerror()
4082 on systems that don't support it.
4084 * include/am_defs.h: add missing extern definition for free().
4086 * aux/configure.in: check for external definition for free().
4088 * libamu/Makefile.am: add to comment a mention of strstr as an
4091 * libamu/xutil.c (switch_to_logfile): use openlog() options only
4094 * conf/transp/transp_sockets.c (get_nfs_version): don't use
4095 clnt_spcreateerror if it does not exist.
4097 * aux/configure.in: check for missing functions clnt_create and
4098 clnt_spcreateerror. Check for missing strstr, and complete
4099 its code. Check for missing external definition for strstr.
4101 * aux/macros/host_macros.m4: normalize sun3* names.
4103 * Makefile.am: updates for new sunos3 files distributed.
4105 * conf/nfs_prot/nfs_prot_sunos3.h: new file.
4107 * conf/fh_dref/fh_dref_sunos3.h: new file.
4109 * aux/macros/check_nfs_prot_headers.m4: added sunos3 case.
4111 * aux/macros/check_nfs_fh_dref.m4: added sunos3 case.
4113 * doc/am-utils.texi (wire Selector Variable): updated manual for
4114 adjusted variables wire, network, and netnumber, all using the
4115 in_network() function.
4117 Fri Dec 19 04:37:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4119 * amd/opts.c: allow options to be processed by executing arbitrary
4120 functions. Converted wire, network, and netnumber all to use the
4121 nomadic function in_network. So from now on they perform a match
4122 against all networks, not just primary.
4124 * initial port to alpha-unknown-linux-gnu, probably works, but
4127 * conf/nfs_prot/nfs_prot_linux.h: add special definitions for
4128 __FD_* macros which for som strange reason do not get included
4129 from <selectbits.h> on redhat alpha linux. Also turn off usage of
4130 <rpc/des_auth.h> because it is incomplete on the same systems.
4132 * hlfsd/homedir.c (table_add): cast uid field to int, for
4135 * include/am_defs.h: more coflicts with redhat alpha linux
4138 * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4:
4139 There's a conflict of definitions on redhat alpha linux between
4140 <netinet/in.h> and <linux/fs.h> which must be avoided.
4142 * aux/configure.in: check for <socketbits.h>, which is in use on
4145 * doc/am-utils.texi (Selectors): added documentation to describe
4146 the new "!" (negated) nomadic functions.
4148 * amd/opts.c (f_in_network): print debugging info that is correct,
4149 rather than saying that any ARG is on a local network.
4150 (eval_opts): added support for negating nomadic functions, by
4151 prepending "!" to their name. Example, !exists(/foo/bar).
4153 Thu Dec 18 20:57:19 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4155 * include/am_compat.h: ensure that all NFS3 systems have the mount
4156 table entries (and amd opts switches) "proto" and "vers".
4158 * hlfsd/homedir.c (table_add): added some debugging info to try
4159 and track down a serious memory leak in hlfsd.
4161 1997-12-18 Erez Zadok <ezk@t-rex.mcl.cs.columbia.edu>
4163 * libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that
4164 you do NOT set the noconn option, and use connected sockets
4165 always. So I'm now forced not to set it at all, and have the user
4166 specify it as "conn" or "noconn" in their /default entry. Argh...
4167 Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be
4168 buggy (TCP hangs with "short receive" kernel errors). I'd better
4169 wait until they get it working in their version of the automounter
4170 first. So I'm putting the "noconn" option back.
4172 Thu Dec 18 02:39:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4174 * libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set
4175 nfs_args field maxgrouplist accordingly.
4177 * include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition
4178 for mount table entry for maxgroups based on NFS mount option
4181 * aux/configure.in: put back testing for NFS mount option
4182 "maxgrps". Added test for mount table entry "maxgroups".
4184 * libamu/mount_fs.c (compute_nfs_args): perform more careful tests
4185 on nfs_proto, because it could be NULL.
4187 * doc/am-utils.texi (Selectors): added example of in_network()
4190 * aux/macros/check_hide_mount_type.m4: all hpux versions,
4191 including 9.x, should use "ignore" as the mount type to hide from
4194 Wed Dec 17 13:09:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4196 * include/am_utils.h (NSTREQ): use new macro instead of strncmp()
4197 every where in the sources.
4199 Wed Dec 17 01:15:01 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4201 * libamu/mount_fs.c (print_nfs_args): if -D trace is on, will
4202 print as much info that is given in struct nfs_args as possible.
4203 useful for detecting internal flags and options, as well as the
4206 * scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc
4207 after /etc and before /etc/local.
4209 Tue Dec 16 18:51:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4211 * aux/configure.in, libamu/Makefile.am: added support for linking
4212 with specific versions of libamu. Upped shared library version of
4213 libamu to 1 (libamu.so.1.0.0)
4215 * include/am_defs.h: added external definition for mkstemp() as
4218 * minor new port to i386-unknown-netbsd1.3 (BETA version of
4221 * aux/config.guess: don't leave a trailing '.' on the system name
4222 for NetBSD-1.3_BETA and similarly for OpenBSD.
4224 * conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight
4225 differences in ypall calling conventions.
4227 * mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible
4228 in preference over mktemp(), b/c it is more secure.
4230 * aux/configure.in: check for mkstemp(), a more secure version of
4233 Mon Dec 15 02:32:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4235 * amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount
4236 table "vers" option generally do not set the mnttab entry to
4237 "nfs3", but to "nfs" and then they set "vers=3". Setting it to
4238 "nfs3" works, but it may break some things like "df -t nfs" and
4239 the "quota" program (esp. on Solaris and Irix). So on those
4240 systems, set it to "nfs".
4242 Sat Dec 13 01:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4244 * doc/am-utils.texi (Distrib): updates for new ports, location of
4245 am-utils' home page, and URL cross references (now supported by my
4246 version of texi2html).
4248 * aux/macros/check_mtype_type.m4: also use string type for file
4249 system mount types under nextstep for mount(2).
4251 * aux/macros/check_mtype_printf_type.m4}: nextstep can handle both
4252 integer and string types for file system mount types in mount(2),
4253 but it is better to use string types.
4255 * conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to
4256 0, not 1! Otherwise, all NFS calls (esp. mount) return errno 1
4257 (EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now
4260 * conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0,
4261 not 1! Otherwise, all NFS calls (esp. mount) return errno 1
4262 (EPERM) instead of 0 (OK).
4264 * libamu/xdr_func.c (xdr_*): add debugging calls that are optioned
4265 by -D trace (protocol trace).
4267 1997-12-11 Erez Zadok <ezk@bach.cs.columbia.edu>
4269 * A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR
4270 macro based on existence on others, and include <sys/stat.h>.
4272 Thu Dec 11 14:14:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4274 * aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off
4275 inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on
4276 which this header is broken (it tries to include non-existing
4279 Wed Dec 10 16:09:07 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4281 * libamu/mount_fs.c (mnt_flags): support either nfs or generic
4282 mount option for grpid.
4284 * aux/configure.in: turn back on NFS mount option grpid.
4286 Sat Dec 6 04:36:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4288 * doc/Makefile.am (install-ps): added target to install postscript
4289 file in the am-utils' home page, as well as a few other useful
4290 files for the new am-utils Web page.
4292 Mon Nov 17 05:22:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4294 *******************************************************************
4295 *** Released am-utils-6.0a14 ***
4296 *******************************************************************
4298 Sun Nov 16 21:56:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4300 * doc/am-utils.texi (Supported Platforms): updated table of new
4303 Sat Nov 15 06:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4305 * libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab
4306 options so that they can be printed in logs as needed.
4308 * doc/am-utils.texi (osver Parameter): updated for the correct
4309 usage of the -o/-O options.
4311 * scripts/amd.conf.5: corrected info for -o/-O options.
4313 * amd/amd.8: updated man page for new -O op_sys_name option, and
4314 corrected the usage of the -o op_sys_ver option
4316 * amd/get_args.c (get_args): added new amd option -O to override
4318 (get_args): updated usage string. Removed old -m option. Added
4321 * conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case
4322 it is not there. Reportedly, irix 5.2 does not define it.
4324 * scripts/lostaltmail.in: removed references to unused $hack
4327 * aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf
4328 <metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers
4331 * doc/am-utils.texi (Distrib): typo in the subscription
4332 instructions to amd-dev. Patch from Stefan Vogel
4333 <vogel@physik-rzu.unizh.ch>.
4335 1997-11-15 Erez Zadok <ezk@amtrak.cs.columbia.edu>
4337 * NFS3 works on powerpc-ibm-aix4.2.1.0.
4339 * libamu/mount_fs.c (compute_nfs_args): set fh3 variable to
4340 static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the
4341 stack of an automatic variable when pointer to it is passed around
4344 Fri Nov 14 20:09:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4346 * libamu/xutil.c (real_plog): syslog like behavior for normal
4347 logging. Will not print repeated strings, only a count "last
4348 message repeated N times", but will always print something if
4349 message is repeated more than 100 times.
4351 * scripts/lostaltmail.in: look for lostaltmail.conf files also in
4352 /etc/global, /etc/os, and /etc/local (in that order).
4354 Mon Nov 10 03:03:17 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4356 * conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3
4359 * aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for
4360 aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h
4362 * conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the
4363 NFS_SA_DREF macro is a pointer to the structure that used to be
4364 passed to it before. So now I have to dereference the pointer
4365 before accessing its values.
4367 * hlfsd/hlfsd.c (main): use the new and cleaner
4368 compute_nfs_args() and compute_automounter_nfs_args() functions.
4370 * amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner
4371 compute_nfs_args() and compute_automounter_nfs_args() functions.
4373 * amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION. Use the new
4374 and cleaner compute_nfs_args() and compute_automounter_nfs_args()
4377 * libamu/mount_fs.c (compute_nfs_args): major code cleanup that
4378 relates for struct nfs_args. A new function sets the numerous
4379 possible flags and fields of nfs_args_t in an orderly fashion.
4380 Code cleaned up, organized, and moved from amd/hlfsd into
4381 libamu. This saves on overall size of code.
4382 (compute_automounter_nfs_args): A variant of compute_nfs_args()
4383 which sets special options/flags that need to be used when NFS
4384 mounting an automounter's mount point. Used by hlfsd and amd.
4386 * amq/amq.c (get_secure_amd_client): don't print any more
4387 "get_secure_amd_client: using TCP, port 12345". It's more
4388 annoying than useful a message, even when assumed to be compiled
4391 Thu Oct 30 14:33:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4393 * aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs
4394 mount table entries. The code used to define the /etc/mnttab name
4395 for file systems based on physical media (disk, cdrom, floppy) to
4396 the generic name, rather than the OS specific name. For example
4397 autoconf searches for all these types of mount table entries for a
4398 floppy based file system: vfat pcfs pc msdos msdosfs fat. But if
4399 it found any, it hard-coded the mnttab name to "pcfs" rather than
4400 the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs,
4401 nullfs, unionfs, and umapfs.
4403 * aux/configure.in: also test for xfs (for newer Irix) when
4404 looking for mount type names, numbers, etc of a disk-based ufs.
4406 Sun Oct 26 19:32:57 1997 Erez Zadok <ezk@defiant.soscorp.com>
4408 * amq/amq.c (main): use pmap_ping() to test if remote host is up.
4409 This works better on bsdi2 and bsdi3, because their portmapper
4410 does not appear to like forwarding operations (it is generaly
4413 Sat Oct 25 04:55:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4415 *******************************************************************
4416 *** Released am-utils-6.0a13 ***
4417 *******************************************************************
4419 Fri Oct 24 05:04:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4421 * conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for
4422 struct datum typedef.
4424 * conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for
4425 ypall_callback_fxn_t for netbsd.
4427 * aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for
4428 the 5th arg to authunix_create(), while before and after they used
4431 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use
4432 clnt_create_timed() on older Solaris 2.3 systems that did not have
4435 * conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for
4436 kernel only on bsdi2, so do not include it.
4438 Fri Oct 24 00:29:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4440 * hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated
4441 messages about resolution of mailboxes based on uid/gid.
4443 * scripts/ctl-hlfsd.in: check for alternate password file in
4444 ${prefix}/etc/passwd and use it in hlfsd's startup.
4446 Thu Oct 23 22:48:50 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4448 * hlfsd/homedir.c (hlfsd_getpwent): added support for -P
4449 passwdfile option. If hlfsd is started with -P passwdfile, then
4450 the passwdfile is read and parsed just as a standard unix
4451 passwd(4) file. Only the username, uid, and homedir fields are
4452 read and checked. All the rest are ignored. No NIS/netgroup
4455 * hlfsd/hlfsd.c (main): check if hlfsd is run as root after
4456 parsing command line options, so that usage() can be printed when
4459 Wed Oct 22 00:16:39 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4461 * amd/nfs_start.c (mount_automounter): if autofs service listener
4462 fails to initialize it is OK if using a test amd.
4464 * amd/opts.c (f_in_network): new nomadic function in_network(arg),
4465 which returns TRUE if 'arg' is any one of this host's networks.
4467 * libamu/wire.c (getwire): rewritten parts of function, to store
4468 all networks names and numbers in the order of the interface (not
4471 Mon Oct 20 01:59:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4473 * aux/configure.in: don't add ops_ufs.o on AIX twice. My code
4474 would have worked had it not been due to AIX's buggy /bin/sh.
4476 * doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and
4477 am-utils.ps in the distribution sources.
4478 (html): generate html documentation for
4479 http://www.am-utils.org
4481 Sun Oct 19 12:35:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4483 * conf/nfs_prot/nfs_prot_netbsd.h: override the definition of
4484 ypall_callback_fxn_t. The NetBSD team compiles all sources with
4485 gcc -Wall -Wmissing-prototypes -Wstrict-prototypes.
4487 * amd/info_nis.c: allow for override of ypall_callback_fxn_t
4490 * libamu/xutil.c (amu_release_controlling_tty): new function to
4491 release the controlling tty in a clean and sane manner. No longer
4492 using setpgid() b/c it may not work. Uses setsid(),
4493 and ioctl() (in order). This new function is used in amd/amd.c
4494 and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some
4495 systems, but on others it is the same as setpgid().
4497 Sat Oct 18 23:42:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4499 * aux/acconfig.h: check for nfs mount option 'fsname'. Code for
4500 it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but
4501 never used, because the configure test for fsname flag wasn't
4502 used. This fixed a bug in HPUX 10, where syncer and manual mounts
4503 left blank lines in /etc/mnttab.
4505 * aux/configure.in: check for nfs mount option 'fsname'.
4507 Fri Oct 17 13:30:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4509 * amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs
4510 mount flags of toplvl mounts. Important esp. for HPUX 10. Now
4511 hpux-10 will mount amd's mounts points as 'ignore' (by df).
4513 * aux/configure.in: check for NFS mount option 'ignore', useful in
4516 Thu Oct 16 03:28:33 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4518 * aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore"
4519 mount type and not NFS, for the amd mount points.
4521 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log
4522 an RPC timeout as an error, but just an info message. From
4523 Andreas Stolcke <stolcke@speech.sri.com>
4525 * If the NFS server is down or does not support the portmapper
4526 call (such as certain Novell NFS servers) we mark it as version 2
4527 and we let the nfs code deal with the case that is down. If when
4528 the server comes back up, it can support NFS V.3 and/or TCP, it
4529 will use those. From christos@deshaw.com (Christos Zoulas).
4531 * hlfsd/homedir.c (plt_print): various compile time cleanups to
4532 printfs that take a long, but pass an int to print. From
4533 christos@deshaw.com (Christos Zoulas).
4535 * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new
4536 macro to determine if the OS has a bad yp_all(), based on the host
4537 OS name. So far only irix (all versions) have a bad yp_all, so
4538 they will use am_yp_all() instead (which is slower as it
4539 enumerates manually all of the map's entries).
4541 Thu Oct 16 03:14:37 1997 Erez Zadok <ezk@subzero.cs.columbia.edu>
4543 * amd/info_nis.c (am_yp_all): code for a replacement yp_all that
4544 avoids using a file-descriptor leaking yp_all() on some systems
4547 Wed Oct 15 21:52:35 1997 Erez Zadok <ezk>
4549 * fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x
4550 systems using /usr/bin/flex.
4552 * amd/conf_tok.l (yywrap): avoid redefining yywrap for systems
4553 that have a modified GNU flex which does define yywrap (DU-4.x).
4555 Fri Sep 26 14:25:29 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4557 * conf/checkmount/checkmount_bsd44.c: include prototype.
4559 Fri Sep 26 01:26:24 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4561 *******************************************************************
4562 *** Released am-utils-6.0a12 ***
4563 *******************************************************************
4565 Fri Sep 26 00:13:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4567 * conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs
4568 code in irix6 until it can be tested correctly
4570 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out
4571 on clnt_create for 3 seconds, rather than wait for the much longer
4574 * conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0.
4575 Includes NFS3, untested.
4577 Thu Sep 25 11:03:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4579 * amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of
4580 pcfs_args_t if they exist.
4582 * amd/ops_cdfs.c (mount_cdfs): fill in ssector field of
4583 cdfs_args_t if it exists.
4585 * new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05,
4586 hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4.
4588 Wed Sep 24 00:48:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4590 * doc/am-utils.texi (wire-test): updated documentation for the new
4593 * wire-test/wire-test.8: updated man page for new option.
4595 * wire-test/wire-test.c (main): added a test for various
4596 combinations of NFS proto/vers to a remote/local host.
4598 * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
4599 <isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that
4600 freebsd will correctly set mount options for pcfs and cdfs.
4602 * amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to
4603 0777 (if field exists).
4605 * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
4606 <msdosfs/msdosfsmount.h> if available.
4608 * minor new port: rs6000-ibm-aix4.1.4.0.
4610 * libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to
4611 write the "time" field in /etc/mnttab.
4613 * conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for
4614 detecting mnt_time field of mntent_t.
4616 * libamu/mtab.c (mnt_free): fixed typo in macro names for
4617 detecting mnt_time field of mntent_t.
4619 Tue Sep 23 15:30:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4621 * conf/mtab/mtab_file.c (lock): Use flock() in preference over
4622 fcntl() to lock the mtab file.
4624 Mon Sep 22 23:04:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4626 * conf/transp/transp_sockets.c (get_nfs_version): define
4627 the try_again goto label only for NFS3.
4628 (pmap_ping): assume timeout failure of clnt_stat.
4630 * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to
4633 Mon Sep 22 20:34:33 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4635 * conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley
4636 <dsr@mail.lns.cornell.edu> to make sure that amd works with more
4637 secure portmappers that do not allow forwarding of RPC messages to
4640 * */Makefile.am: all source files should also depend on the new
4641 include/am_xdr_func.h header.
4643 * include/am_xdr_func.h: new file as part of the code cleanup from
4644 Christos Zoulas <christos@deshaw.com>.
4646 * Lots of fixes from Christos Zoulas <christos@deshaw.com> that
4647 involved missing prototypes, cleaned up ones, and removal of
4650 * libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch
4651 statement with only one case is unclean.
4653 Mon Sep 22 17:26:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4655 * amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to
4656 0 so that all fields are initialized to zero at first. This way
4657 SunOS 4.x and other systems don't get /etc/mtab entries with
4658 random integers for the fsck/freq fields. Patch from Andreas
4659 Stolcke <stolcke@speech.sri.com>.
4661 Mon Sep 22 00:34:19 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
4663 * conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so
4664 that the important definition for HOSTNAMESZ will be found.
4666 * amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ
4667 (inside the nfs_args structure) if the system uses that macro.
4668 Otherwise systems like SunOS refuse to NFS mount long pathnames
4669 and result in ENAMETOOLONG errno's.
4671 Wed Sep 17 04:56:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4673 * doc/am-utils.texi (Supported Platforms): specify new support for
4674 solaris 2.6, and hlfsd running on 2.5.1 too.
4676 Wed Sep 17 03:55:02 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu>
4678 * conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs
4679 mount if it is not supported or was turned off.
4681 Wed Sep 17 03:19:36 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
4683 * conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount
4684 again. Apparently at some previous release SunOS 4 supported was
4685 broken and all nfs mounts resulted in ESTALE.
4687 Wed Sep 17 00:26:25 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu>
4689 * conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for
4692 * aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs
4693 protocol header selection.
4695 Sat Sep 13 14:31:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4697 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid
4700 Sun Sep 7 18:23:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4702 *******************************************************************
4703 *** Released am-utils-6.0a11 ***
4704 *******************************************************************
4706 Fri Sep 5 11:55:10 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4708 * amd/amd.c (main): if plock() succeeded, don't try to display
4709 errno message. Patch from Chris Metcalf
4710 <metcalf@catfish.lcs.mit.edu.
4712 Thu Sep 4 19:17:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4714 * hlfsd/homedir.c (table_add): make sure duplicate passwd entries
4715 are ignored. Only the first entry should ever be used, because
4716 that's how lookup in passwd database works.
4718 * conf/transp/transp_sockets.c (get_nfs_version): when determining
4719 if a remote host is up or down, use NFS v.2. Fix suggested by
4720 Enami Tsugutomo <enami@cv.sony.co.jp>.
4722 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): new
4723 function to get the best possible NFS version, but also timeout
4724 faster than normal defaults, so remote hosts which are down can be
4725 detected in a reasonable time.
4726 (get_nfs_version): use the new "best" function.
4728 Tue Sep 2 00:41:00 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4730 *******************************************************************
4731 *** Released am-utils-6.0a10 ***
4732 *******************************************************************
4734 Mon Sep 1 15:39:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4736 * conf/transp/transp_tli.c (get_nfs_version): don't use
4737 clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4
4740 * aux/configure.in: test for existence of clnt_tp_create_timed(),
4741 since Solaris 2.4 (and possibly earlier) do not have it.
4743 Mon Sep 1 15:23:18 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
4745 * amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid
4746 field if it exists (solaris 2.4's autofs does not have it).
4748 Mon Sep 1 14:45:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4750 * aux/macros/type_auth_create_gidlist.m4: a new test to determine
4751 the correct type to the 5th argument of authunix_create().
4753 Mon Sep 1 03:44:32 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
4755 * libamu/xdr_func.c (xdr_umntrequest): add test for autofs
4756 structure umntrequest, if it has the field rdevid. Seems Solaris
4757 2.4 and earlier didn't have it.
4759 Mon Sep 1 01:10:53 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4761 * hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it
4762 can be done before primary process forks.
4763 (main): bug fix: wait a bit to give child a chance to initialize.
4764 Without this, hlfsd got into a busy infinite loop while, never
4765 completing the mount.
4767 * amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov>
4768 to make amd works when talking to NIS+ servers in NIS
4771 Mon Sep 1 00:46:56 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4773 * amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024.
4775 Sun Aug 31 20:20:40 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4777 * amd/conf.c (gopt_fully_qualified_hosts): a new function to
4778 process another new global variable.
4780 * amd/ops_nfs.c (make_nfs_auth): if a new global variable
4781 fully_qualified_hosts is on, use FQHN in RPC/NFS authentications.
4782 Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>.
4784 * amd/conf.c (process_last_regular_map): If the amd.conf file only
4785 has a [global] section (pretty useless IMHO), do not try to
4786 process a map that does not exist.
4788 * scripts/amd.conf.5: fixed typos (repeated 'as' word).
4790 * doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!!
4792 * amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm
4793 structure, so it does not carry over from map entry to another.
4795 Sat Aug 30 18:39:21 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4797 * amd/amd.c (main): fixed the meaning of the plock option. A bug
4798 caused it to be reversed.
4800 Sat Aug 30 15:13:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4802 * hlfsd/stubs.c: don't initialize some statics here. They are
4803 better initialized in hlfsd_init_filehandles().
4805 Fri Aug 22 14:47:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4807 * amd/conf.c (gopt_show_statfs_entries): new function and a global
4808 amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes',
4809 then all maps flagged as browsable will also show a count of the
4810 number of entries (keys) in that map.
4812 * amd/nfs_subr.c (count_map_entries): new function to count number
4813 of entries in a map. Now used if browsable is turned on in a map,
4814 to return a count of available keys in a given map.
4816 * hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd
4817 confused the file handles for ".", "..", and the symlink, causing
4820 * aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12,
4821 but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts
4822 with bad memcmp() in libc's (nextstep3).
4824 Thu Aug 21 17:38:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4826 * aux/configure.in: check if autofs_args_t has a field named
4827 addr. Solaris has it for specifying the address of the daemon,
4828 but Irix does not. So how does irix tell the kernel the daemon's
4829 address? I suspect that it is hardcoded to "localhost" using a
4830 "private well-known port" (#define AUTOFS_PORT 2048).
4832 * conf/nfs_prot/nfs_prot_linux.h: added missing autofs
4835 * README.autofs: new file listing autofs support notes
4837 * very preliminary autofs code working. Call it pre-alpha
4840 Sun Aug 17 02:25:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4842 * amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept
4843 "autofs" if system does not support it.
4845 * amd/amd.c (main): log am-utils version string (same as amd -v)
4848 * conf/transp/transp_sockets.c (get_nfs_version): in order to tell
4849 if a remote host is available, try to contact its portmapper and
4850 timeout if no answer is received in 3 seconds.
4852 Thu Aug 14 16:12:04 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4854 * aux/macros/check_extern.m4 (pattern): use a simpler pattern for
4855 match for external function definitions. The function could span
4856 multiple lines, so only match the opening parenthesis, not the
4859 * aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on
4860 posix mode for nextstep3. It is broken.
4862 * amd/amd.c (init_global_options): run uname() only if
4863 <sys/utsname.h> and uname(2) exist.
4865 * amd/rpc_fwd.c (fwd_packet): if remote host is down, the
4866 forwarding socket is null, so declare this an error.
4868 * include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set
4869 for when a remote host is down. Try, in order, "host down", "host
4870 unreachable", "invalid argument".
4872 * amd/ops_nfs.c (discard_fh): don't dereference a null pointer
4873 (happens when remote host is down, and fp->fh_fs is NULL).
4874 (prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID
4877 * amd/sched.c: nobody uses "union wait" any more, or so it
4878 appears, so clean up that code.
4880 * conf/transp/transp_tli.c (get_nfs_version): if remote host is
4881 down, time it out faster than default (3 seconds).
4882 (get_mount_client): free netconfig entry when done with it.
4884 * conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly)
4885 port to nextstep3 (m68k-next-nextstep3).
4887 * fsinfo/Makefile.am (LDADD): needs to link with libamu in case
4888 system does not have strdup().
4890 * include/am_defs.h: complete external definition for getlogin()
4893 * conf/transp/transp_tli.c (get_nfs_version): no need to keep
4894 static versout variable.
4896 * amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote
4897 server is probably down. Don't use sendto() in that case.
4899 * buildall (default): run gmake if found, before trying plain
4900 make. GNU make is always preferable.
4902 Tue Aug 12 21:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4904 * aux/macros/host_macros.m4: cleanup of os_version and os
4905 overrides. Solaris 2.5.1 for example will come up as solaris2 and
4906 2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in
4909 Fri Aug 8 14:37:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4911 *******************************************************************
4912 *** Released am-utils-6.0a9 ***
4913 *******************************************************************
4915 Thu Aug 7 00:52:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4917 * conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2
4918 (i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff
4919 from <ndbm.h> and <sys/resource.h>.
4921 * scripts/amd.conf.5: new map page.
4923 * amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3
4926 * amd/amd.8: updated man page.
4928 * amd/get_args.c (get_args): removed defunct -h option to amd.
4930 * amq/amq.8: updated man page.
4932 * amd/info_nisplus.c (nisplus_search): prototype fixes so Sun
4933 SparcCompiler CC won't complain.
4935 * amd/info_hesiod.c (hesiod_search): small fixes to compile with
4936 hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>.
4938 * aux/macros/opt_ldflags.m4: new option added to configure
4939 --enable-ldflags, to specify -L option for configuring/compiling.
4940 The older one --enable-libs is now to be used only for -l options.
4942 * amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize
4943 nc_protoname from nfs_proto if available for all TLI systems, not
4944 just those that have NFS V3.
4946 * amd/info_ldap.c: ldap patches from Leif Johansson
4947 <leifj@matematik.su.se>, adding two new amd.conf ldap variables:
4948 ldap_cache_seconds and ldap_cache_maxmem.
4950 * hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in
4953 Sun Aug 3 17:20:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4955 * amd/nfs_start.c (mount_automounter): register amd with the rpc
4956 program number that may have been overridden by amd.conf.
4958 * libamu/xutil.c (set_amd_program_number, get_amd_program_number):
4959 allow storing and retrieving alternate amd program numbers.
4961 * amd/conf.c (gopt_portmap_program): new function to parse
4962 amd.conf entry portmap_program=1234.
4964 * amq/amq.c (main): allow specifying an alternate rpc program
4965 number for amd via -P prognum.
4967 * new amq RPC to get the process id of the running amd. This is
4968 used in ctl-amd to quickly find the pid of the amd that is to be
4971 * expanded shared libraries support. Using GNU libtool-1.0,
4972 am-utils now builds shared libraries on many platforms that have
4973 support for it and proper compilers/linkers. See "INSTALL" file
4974 for compatibility chart.
4976 Thu Jul 31 13:07:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4978 * fsinfo/fsi_lex.l: removed code that was in support of very old
4979 versions of flex. No longer needed.
4981 Tue Jul 29 12:00:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4983 * amd/amd.c (init_global_options): find the kernel architecture
4984 from uname() if possible.
4986 Mon Jul 28 03:53:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4988 * new working port: i386-unknown-openbsd2.1
4990 Fri Jul 25 03:16:31 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
4992 * working port: sparc-sun-solaris2.4. Had to fix fhandle_t from
4993 structure to actual char[], because the structure was passed to
4994 xdr_fhandle as data and not a pointer. Surprisingly, gcc
4995 -fpcc-struct-return did not help.
4997 * conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol
4998 definitions for solaris 2.4 have to be different from 2.3, and
5001 * libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup.
5003 Thu Jul 24 16:22:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5005 * conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount
5006 types, not ==. Fix from Christos Zoulas <christos@deshaw.com>.
5008 * mk-amd-map/mk-amd-map.8: man page taken from bsd44.
5010 Thu Jul 24 00:01:55 1997 Erez Zadok <ezk@moisil.cs.columbia.edu>
5012 * conf/mount/mount_linux.c: made the nfs error mapping code into a
5015 Wed Jul 23 16:11:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5017 * conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special
5018 error mappings from errno numbers to NFS errors. From Debian
5021 * scripts/am-eject.in (fs): new script (taken from Debian Linux
5022 folks) to auto-unmount floppy/cd devices before ejecting them.
5024 * fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass
5025 '5' as second arg to show_area_being_processed. I'm not sure why.
5027 * fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as
5028 second arg to show_area_being_processed. I'm not sure why.
5030 * conf/mount/mount_linux.c (parse_opts): as per Debian Linux,
5031 ensure that you have a buffer in *xopts to strcat onto.
5032 (mount_linux): fixed from Debian folks to ensure that NFS mount
5033 sockets are connected only for kernels prior to 1.3.10 (avoids
5034 hangs for multi-homed hosts).
5036 * amd/mapc.c (make_entry_chain): from Debian folks: don't skip
5037 over amd map keys that have a prefix, and include the prefix in
5038 the returned readdir().
5040 * amd/info_passwd.c (passwd_init, passwd_search): format
5041 enhancements from the Debian Linux folks. They added
5042 - var0:=pw-prefix:=anydir
5043 - var1:=pw-rhost:=dom3.dom2.dom1
5044 - var2:=pw-user:=user
5045 - var3:=pw-home:=/anydir/dom1/dom2/dom3/user
5047 * new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1.
5049 * amd/ops_afs.c (afs_retry): patches from Debian Linux. If
5050 afs_mount timed out, then explicitly forbid further retries after
5051 the timeout. (afs_bgmount): buf fix from Debian Linux. Timeout
5052 values (17 and 5) were mistakenly swapped.
5054 Wed Jul 23 15:53:25 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
5056 * conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3
5057 support for Solaris 2.4 (the header files incorrectly define parts
5058 of the NFS V.3 protocol, but the kernel does not support it).
5060 Wed Jul 23 00:07:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5062 * amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init
5063 for determining if using old or new hesiod libraries,
5066 * amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS
5067 V.3 then use non-connected sockets (both TCP and UDP). Otherwise
5068 they cause hangs of mounts from multi-homed hosts when the return
5069 route is not the same as the outgoing route (esp. on NetBSD
5070 1.2.1). If "conn" option was supplied, then don't turn on the
5071 "noconn" mount option. Otherwise default to "noconn" mount
5074 * aux/configure.in: better check for systems that need libgdbm and
5077 Tue Jul 22 04:02:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5079 * hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that
5080 mounts are hidden from df(1) on systems that keep mount tables in
5081 kernel, such as osf1.
5083 Tue Jul 22 02:26:55 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5085 *******************************************************************
5086 *** Released am-utils-6.0a8 ***
5087 *******************************************************************
5089 Mon Jul 21 21:33:19 1997 Erez Zadok <ezk@stone.mcl.cs.columbia.edu>
5091 * hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to
5092 AF_INET when hlfsd mounts itself, thus getting an errno "protocol
5093 family not supported".
5095 Mon Jul 21 20:46:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5097 * verified that amd on NetBSD 1.2.1 (i386) works, but the OS
5100 * verified that amd AIX 3 works w/ the new readdir() code.
5102 Mon Jul 21 18:59:30 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
5104 * amd/mapc.c (maptypes): changed the default map caching type for
5105 nis and ndbm maps to "MAPC_ALL", so that all possible entries will
5106 be available to amd for browsable_dirs=yes.
5108 Mon Jul 21 18:04:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5110 * amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split
5111 afs_readdir into a browsable version and a non-browsable one.
5112 Fixed bugs that resulted in an infinite nfs_readdir loop on the
5113 localhost for some operating systems.
5115 Sat Jul 19 19:38:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5117 * amd/ops_afs.c (afs_readdir): fixed up the browsable code to
5118 comply with nfs_readdir specs. It was returning all entries at
5119 once, even if there was not enough space in the RPC packet. Now,
5120 it sends a reasonably sized chunk, and sets static state to resume
5121 it for the next continuation RPC of readdir.
5123 * amd/conf.c (set_conf_kv): fixed bug that resulted in the first
5124 regular map not getting all of the [global] options defaulted from.
5126 Fri Jul 18 00:45:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5128 * amq/amq.c (main): fixed so that portmapper "ping" will only fail
5131 * scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the
5132 amd/hlfsd process to kill.
5134 * amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to
5135 determine how to avoid df from seeing amd's toplvl mounts. Moved
5136 from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd
5138 (mount_toplvl): fixed df types for irix.
5140 Thu Jul 17 21:59:45 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
5142 * amq/amq.c (main): fixed bug that caused the 5 second timeout for
5143 TLI amq using udp to be ignored.
5144 (main): if amq cannot contact remote host's portmapper within 5
5145 seconds, timeout and fail faster than the default longer timeout
5146 (this is for non-TLI systems).
5148 Thu Jul 17 17:08:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5150 * amq/amq.c (get_secure_amd_client): if amq cannot contact
5151 remote host's portmapper within 5 seconds, timeout and fail faster
5152 than the default TLI timeout of over 4 minutes.
5154 * amd/am_ops.c (ops_showfstypes): added styles for new bsd44
5155 file systems nullfs, unionfs, and umapfs.
5156 (ops_show1): cleanup code and and reuse this function.
5157 (vops): empty placeholders for nullfs, unionfs, and umapfs.
5159 * amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for
5160 bsd44 style file systems.
5162 * fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44
5165 * amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid
5166 conflict with systems that define it in <sys/ioctl.h> and also
5167 define a conflicting one via lex. Newer versions of f/lex are ok.
5169 Wed Jul 16 00:17:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5171 * amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields
5172 acdirmin/max and acregmin/max only if they exist.
5174 * aux/configure.in: test for nfs_args fields acdirmin and
5177 Tue Jul 15 17:24:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5179 * aux/configure.in: commented out checking for MNT2_GEN_OPT_* for
5180 "nondev" and commented back in checking for "nodev". This was a
5183 * include/am_compat.h: more compatibility options: define "ro"
5184 mnttab option all the time. Define "overlay" as needed. Added
5185 more fillers of mnttab options (as per Daniel S. Riley
5186 <dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax,
5187 acregmin, noac, grpid, nosuid, and actimo.
5189 * libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as
5190 per dsr@mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up
5191 the same code for other options in struct opt_tab.
5193 Mon Jul 14 22:36:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5195 * amd/get_args.c (get_args): moved amd.conf file parsing to before
5196 the switching the default log/debug options. Suggested by
5197 dsr@mail.lns.cornell.edu (Daniel S. Riley).
5199 * aux/update_build_version: new script to record the build version
5200 of amd, along with the rest of the info thet comes up with amd -v.
5202 Sun Jul 13 00:30:24 1997 Erez Zadok <ezk@decca.damtp.cam.ac.uk>
5204 * aux/macros/os_cflags.m4: new macro, to add additional
5205 compilation options (also used during configuration), based on the
5206 OS and the compiler. Used for solaris-2.6, osf, and irix6.
5208 Fri Jul 11 10:15:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5210 * amd/conf_tok.l, conf_parse.y: allow values of keys to include
5211 white spaces, if they are double-quoted (key="some value")
5213 * amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes
5214 of hesiod from Danny Braniss <danny@cs.huji.ac.il>.
5216 Fri Jul 11 02:16:06 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5218 *******************************************************************
5219 *** Released am-utils-6.0a7 ***
5220 *******************************************************************
5222 Thu Jul 10 12:19:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5224 * include/am_defs.h: fill in extern definition of innetgr() in
5225 case system headers don't.
5227 * aux/macros/path_prog_lex.m4 aux/configure.in: using macros that
5228 will show the full pathname to yacc/bison and f/lex. Some systems
5229 have older or bad versions of those and this way the user will
5230 know for sure what is being invoked.
5232 * tasks: file populated with todo items.
5234 * scripts/amd2ldif.in: Script to convert amd maps to plain text
5235 LDAP object files. Contributed by Leif Johansson
5236 <leifj@matematik.su.se>.
5238 * aux/config.guess: added recognition for sun3's running 4.2bsd,
5239 from Tom Schmidt <tschmidt@micron.com>. Fixed one small typo.
5241 * amd/conf.c: several variables that were local to a map, were
5242 also added to [global], where they apply to all maps. Each map
5243 can then individually override those defaults. Flags
5244 affected: browsable_dirs and mount_type. Options affected:
5245 map_type, map_options, and search_path.
5247 * amd/amd.h: eliminated several global flags each of which took an
5248 int, in favor of one global flags variable used as a bit field.
5250 * amd/amd.c (init_global_options): moved all global variables into
5251 a single struct amu_global_options, so it is easier to add new
5252 ones and/or identify existing ones.
5254 * amd/get_args.c (get_args): removed unused amd -m option.
5256 * amd/conf.c (gopt_cluster): added new amd.conf option for cluster
5257 name, same as amd -C.
5259 * amd/info_ldap.c: LDAP info map functions from Leif Johansson
5260 <leifj@matematik.su.se>.
5262 * amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global
5263 amd.conf options for ldap_base and ldap_hostports.
5265 * amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test
5266 if the current host is in the ARG host netgroup.
5268 * aux/configure.in: some systems replaced dbm in libc with GNU's
5269 libgdbm, so check for libgdbm, but only if dbm_open is not in
5270 libc already. This was a recommendation from Tom Schmidt
5271 <tschmidt@micron.com>.
5273 * conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3
5276 Wed Jul 9 18:14:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5278 * port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS
5281 Tue Jul 8 17:35:07 1997 Erez Zadok <ezk@elk.mcl.cs.columbia.edu>
5283 * port to i386-unknown-freebsd3.0 done and working. Includes NFS
5286 * aux/macros/check_nfs_fh_dref.m4: freebsd3 should use
5287 file handle dereferencing style similar to freebsd22.
5289 * include/am_defs.h: need to include <net/if_var.h> before
5290 <netinet/if_ether.h> on freebsd3.
5292 * conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions
5295 Tue Jul 8 16:53:41 1997 Erez Zadok <ezk@moisil.cs.columbia.edu>
5297 * amd/info_nis.c (nis_reload): cast nis' callback function so
5298 picky compilers won't complain.
5300 * libamu/xdr_mountres3.c (xdr_mountres3): make sure this function
5301 gets compiled only if the system has NFS V3 and does not have
5304 Tue Jul 8 12:42:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5306 * COPYING: put in some legal stuff in this file.
5308 Mon Jul 7 19:10:44 1997 Erez Zadok <ezk@prometheus.soscorp.com>
5310 * NFS V3 now works under Irix5, thanks to patches from
5311 Andreas Stolcke <stolcke@speech.sri.com>.
5313 * conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5
5314 version and an irix6 version, since irix5's NFS V3 code is broken
5317 * amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer
5318 sizes for some hesiod queries. Patch from Danny Braniss
5319 <danny@cs.huji.ac.il>.
5321 Mon Jul 7 19:04:14 1997 Erez Zadok <ezk@glory.soscorp.com>
5323 * amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3.
5325 Sun Jul 6 14:22:24 1997 Erez Zadok <ezk@glory.soscorp.com>
5327 * aux/{configure.in,acconfig.h}: added checks for struct
5328 nfs_args's fields proto and sotype (bsdi3).
5330 * amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to
5331 nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field
5332 to SOCK_STREAM or SOCK_DGRAM.
5334 * aux/macros/check_mount_style.m4: add case for bsdi3.
5336 * amd/info_hesiod.c: got hesiod support for bsdi3.
5338 Sun Jul 6 11:14:47 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5340 * aux/configure.in: look for hesiod on libc (bsdi3)
5342 * amd/get_args.c (get_args): reformat usage so it fits in 80
5345 * scripts/ctl-amd.in: changed directory name for optional tftpboot
5346 map to /tftpboot/.amd.
5348 Sat Jul 5 17:46:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5350 *******************************************************************
5351 *** Released am-utils-6.0a6 ***
5352 *******************************************************************
5354 Sat Jul 5 03:17:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5356 * scripts/ctl-amd.in: include -T tag for tftpboot.
5358 * new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code
5359 is broken and needs work on the specific nfs_args that irix5 uses
5362 Sat Jul 5 01:44:25 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5364 * amd/get_args.c (get_args): new options amd -T tag. A map with
5365 tag=foo matching the -T tag will be processed. All untagged maps
5366 get processed all the time.
5368 Fri Jul 4 16:19:26 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5370 * aux/configure.in: need to check for strcasecmp in libucb (ncr2)
5372 * aux/macros/check_os_libs.m4: a new macro to set the usage of
5373 libnsl and libsocket based on the OS.
5375 * libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is
5376 defined (problem on osf4).
5378 * conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers.
5380 * include/am_defs.h, aux/macros/try_compile_nfs.m4,
5381 aux/macros/mount_headers.m4: do include <sys/proc.h> because it
5382 failes on irix5. Rather, put in the individual
5383 conf/nfs_prot/nfs_prot_*.h headers.
5385 * amd/conf.c: AIX3 doesn't like strdup() being passed a constant
5386 char*, so cast all strdup()'s args to a non-const char*.
5388 * amd/mapc.c (root_newmap): don't try to strdup only a "const
5391 Fri Jul 4 15:47:10 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
5393 * conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and
5396 Thu Jul 3 17:49:00 1997 Erez Zadok <ezk@prometheus.soscorp.com>
5398 * made sure am-utils compiles, links, and runs properly on Irix
5399 6.2 using "cc -32 -Wl,-woff,"
5401 * aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12
5402 AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add
5405 * aux/configure.in: some cleanup of which libraries are needed.
5406 Espectially ensure that libnsl is included only on Solaris, where
5407 so far it is the only system on which it is absolutely necessary.
5408 Also no longer need to include libc explicitly.
5410 * amd/amd.c,wire-test/wire-test.c (main): convert IP address to
5411 network-long order before printing it.
5413 * wire-test/wire-test.c (main): also check and report on the IP
5414 address of the local host, since some systems have bad versions of
5415 get_myaddress, or ones that conflict with other versions in
5416 multiple libraries (SunOS 4 and Irix especially).
5418 Wed Jul 2 18:19:02 1997 Erez Zadok <ezk@starblazers.soscorp.com>
5420 * scripts/ctl-amd.in: don't use full pathname so killproc() works
5421 better. Also run bsd44 and irix style ps programs.
5423 * aux/macros/check_lib_funcs.m4: bug fixed: used to define usage
5424 of library no matter if it was found or not.
5426 Wed Jul 2 02:11:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5428 * aux/macros/check_mnt2_gen_opt.m4: turned back on the checking
5429 for M_* macros, but ensure that <sys/stream.h> is not included at
5430 all so it won't conflict with other M_* macros.
5432 Tue Jul 1 21:16:51 1997 Erez Zadok <ezk@mako.cs.columbia.edu>
5434 * conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on
5435 irix should be "spec" (host:/path), not the dir of the mnt point.
5437 * amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors
5438 fixed. If on, it essentially ignored the setting in a
5439 selector-controlled /defaults if there were 2 or more entries in it.
5441 Tue Jul 1 12:23:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5443 * scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process
5444 using BSD style ps, then try SVR4 style ps.
5446 * include/am_utils.h (amuDebug): renamed Debug macro to amuDebug
5447 etc., to avoid conflicts with similar named macros in <ldap.h>.
5449 * aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf
5450 support needed for LDAP. Now the code has to be written mostly in
5453 * Included additional patches from Andreas Stolcke
5454 <stolcke@speech.sri.com> to support using the best possible
5455 combination of NFS version (2,3) and protocol (udp,tcp) for any
5456 given host, since it appears that some Irix versions have NFS V3,
5457 but do not support TCP.
5459 * scripts/ctl-amd.in: updated amd control script to look for and
5462 Tue Jul 1 00:28:23 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5464 * amd/mapc.c (mapc_create): now, each map in the amd.conf can be
5465 initialized off of a different type, or default to cycling through
5466 all maps until one of them matches.
5468 Mon Jun 30 20:49:13 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5470 * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done.
5471 if browsable_dirs=yes is set in the map section in amd.conf, that
5472 map will return all entries back to a readdir(2).
5474 Sun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5476 * rudimentary amd.conf file support included. You may even
5477 override things like os=sos5, to get "backwards" compatibility with
5480 Sat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5482 * amd/conf.c: new file to process amd.conf file.
5484 * amd/get_args.c (get_args): new options -H to print help.
5486 * moved enable_default_selectors to be amd.conf controlled, and
5487 not compiler controlled.
5489 * amd/get_args.c (get_args): new options -F <conf-file> to parse an
5490 amd configuration file.
5492 Wed Jun 25 23:15:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5494 * converted all files that used strcmp() == 0 or != 0 to using
5497 Mon Jun 23 22:31:14 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5499 * aux/macros/check_lib_funcs.m4: new M4 macro that can be used to
5500 search for any number of functions in any given library.
5502 Mon Jun 23 01:04:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5504 * amd/mapc.c: Included patch from Leif Johansson
5505 <leifj@matematik.su.se> to ensure that systems without an RE
5506 library can compile.
5508 * libamu/mount_fs.c (mount_fs): Included patch from Andreas
5509 Stolcke <stolcke@speech.sri.com>, to ensure that mount options on
5510 table are properly delimited by a comma.
5512 * amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas
5513 Stolcke <stolcke@speech.sri.com>, to allow users to override the
5514 proto= and vers= mount options.
5516 Sun Jun 22 01:00:11 1997 Eric Dana (edana@ncr2.bgs.com)
5518 * conf/nfs_prot/nfs_prot_svr4.h: port completed to
5519 i486-ncr-sysv4.3.03. Assorted source cleanups done.
5521 * include/am_defs.h, aux/macros/mount_headers.m4: don't include
5522 mnttab.h if sys/mnttab.h was already included, because on ncr2,
5523 they contain conflicting entries for struct mnttab.
5525 Sat Jun 21 23:52:15 1997 Eric Dana (edana@ncr2.bgs.com)
5527 * aux/macros/check_nfs_prot_headers.m4: added support for ncr2.
5529 Fri Jun 20 06:14:17 1997 Erez Zadok <ezk>
5531 * amd/*.c: lots of 64-bit "ugly" ports like casts to long ints.
5533 * aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because
5534 on DU-4.0 it is better than the next one to be picked (nfsv2fh_t).
5536 Wed Jun 18 18:59:49 1997 Erez Zadok <ezk@defiant.soscorp.com>
5538 * aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for
5539 nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is
5542 Tue Jun 10 17:06:58 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5544 * amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is
5545 NULL, set the maxlen and len fields in netbuf to zero.
5547 Wed May 28 22:52:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5549 * scripts/fix-amd-map.in (name): replace all matching patterns on
5552 Sun May 25 19:33:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5554 *******************************************************************
5555 *** Released am-utils-6.0a5 ***
5556 *******************************************************************
5558 Sun May 25 13:37:24 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5560 * amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service
5561 procedure now returns the full string that amd -v returns.
5563 * amd/get_args.c (get_version_string): new function to return
5564 complete version/info string so it could be used more flexibly.
5566 * amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list
5567 of Fs types into a string buffer, rather than a FILE*.
5569 * amd/mapc.c (mapc_showtypes): put the list of map types into a
5570 string buffer, rather than a FILE*.
5572 Sun May 25 01:25:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5574 * amd/get_args.c (get_args): amd -v also prints user who built
5575 amd, hostname built on, and date of configuration.
5577 Sat May 24 13:40:50 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5579 * scripts/lostaltmail.conf-sample: sample lostaltmail
5582 * scripts/lostaltmail.in: new script lostaltmail used to redeliver
5583 "lost" mail that hlfsd redirected to a temp location because the
5584 primary home file system of the user was full.
5586 * scripts/amd2sun.in: new script amd2sun. Used to convert Sub
5587 automount maps to amd maps.
5589 * scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start,
5590 stop, or restart hlfsd.
5592 * scripts/expn.1: man page for expn command.
5594 * scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or
5597 * scripts/expn.in: new script expn. Actually taken from David
5598 Muir Sharnoff <muir@idiom.com>. Used by hlfsd's mail re-delivery
5601 * scripts/wait4amd.in: new script wait4amd added. Waits for amd
5602 to come up on a host, and then runs a command (rsh $hostname by
5605 * scripts/Makefile.am: new directory now holds all shell/perl
5606 scripts that belong to am-utils.
5608 * conf/mount/mount_linux.c (parse_opts): new parser for
5609 linux-specific mounts. Handles fs-type specific mount-options
5610 correctly. Currently implemented: msdos, iso9660.
5612 * amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default
5615 * amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default
5618 * amd/mapc.c (make_entry_chain): fixed bug that resulted in amd
5619 core dumps upon "ls" of a mount point; an invalid pointer was
5620 being returned and dereferenced.
5622 * port to Linux sparc working!
5624 * hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if
5625 failed to write test file, or else the fd will leak.
5627 Sun May 18 00:42:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5629 * amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp()
5630 instead of strcmp().
5632 * Port to Digital Unix 4.0 (OSF) done.
5634 * hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts
5635 with dirname() function in <string.h> on OSF systems.
5637 * fsinfo/fsi_util.c (set_ether_if): take out extern definition of
5638 inet_addr(). It should come from <arpa/inet.h> instead.
5640 * conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs.
5642 * include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to
5643 avoid conflicts with DU 4.0 system header.
5645 Thu May 15 22:49:12 1997 Erez Zadok <ezk@subzero.cs.columbia.edu>
5647 * libamu/mount_fs.c (mount_fs): pass along NFS version so I can
5648 determine if to include additional options in the mount table file
5649 entry (such as proto=tcp, and vers=3).
5651 Thu May 15 00:42:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5653 * libamu/mount_fs.c (mount_fs): include NFS version number in the
5654 mount table options, as well as proto={tcp,udp}.
5656 Wed May 14 14:30:19 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5658 * NFS V3 code ported to most other systems, so it compiles for V2
5661 * NFS VERSION 3 support, first pass. Working for Solaris and
5664 Sun May 11 01:14:29 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5666 * amq/amq.c: many newline characters were missing from various
5669 Sat May 10 13:09:06 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5671 * conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for
5672 Solaris, which include NFS V3 support.
5674 * conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers.
5676 * conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS
5677 protocol version while getting a mount client.
5679 * amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types,
5680 file handle size, and proper file handle based on the correct NFS
5683 * conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under
5684 Solaris and other SVR4 systems.
5686 * amd/ops_nfs.c: store NFS file handle version and version
5687 specific handle in struct fh_cache.
5688 (got_nfs_fh): pick the correct RPC reply based on the NFS version
5690 (prime_nfs_fhandle_cache): figure out the right NFS file handle
5691 for a node, but now include NFS protocol version information.
5692 (call_mountd): set the correct version for the mount protocol,
5693 based on the NFS protocol version.
5694 (nfs_init): use the NFS protocol generic structure
5697 * include/am_utils.h: new structure am_nfs_handle_t to contain all
5698 possible versions of NFS file handles.
5700 * amd/srvr_nfs.c (start_ping): ping program performs NFS version
5702 (recompute_portmap): figure out the correct portmap version mount.
5703 (nfs_keepalive): call start_ping() with the correct NFS version.
5704 (find_nfs_srvr): if mount option "vers=" is given, use it. Get
5705 the NFS server version and verify that it is up.
5707 * conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new
5708 function to find the best NFS version for a particular host.
5710 * libamu/amu.h: determine what is the highest version of NFS we
5713 * include/am_utils.h (NFS_VERSION3): added definition for NFS V3
5715 Added field fs_version to struct fserver, so we can now store the
5716 server protocol version.
5718 Fri May 9 01:09:45 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5720 * aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into
5721 underscores too, so I can test for sub-fields.
5723 * libamu/wire.c: use test that checks for sub-fields of struct
5726 Sat May 6 10:20:17 2000 Erez Zadok <ezk@glory.soscorp.com>
5728 * port to BSD/OS 3.0 completed! Many xdr_ functions were broken
5729 into smaller files. M4 macros fixed to test for existence of
5730 file systems using getvfsbyname().
5732 * amd/sched.c (sigchld): signal handler must waitpid() for all
5735 * hlfsd/homedir.c: signal handler must waitpid() for all possible
5738 * aux/macros/check_restartable_signals.m4: new macro to determine
5739 if need to reinstall signal handlers per OS is better than trying
5740 to figure these out based on system macros.
5742 Fri May 5 19:23:28 2000 Erez Zadok <ezk@glory.soscorp.com>
5744 * amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number.
5746 * amd/ops_afs.c (mount_toplvl): set nfs_args_t version number.
5748 * amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport
5749 (must be supplied for bsdi 3.0)
5751 * libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and
5752 associated new macro) for determining the right way to compute the
5753 size of the interface structure.
5755 Fri Apr 11 15:56:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5757 * aux/configure.in: need to include libc before libnsl if
5758 get_myaddress() is available because on irix libnsl has a buggy
5761 * include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined
5762 on Irix 6 (an SVR4 variant)
5764 Thu Mar 27 02:28:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5766 *******************************************************************
5767 *** Released am-utils-6.0a4 ***
5768 *******************************************************************
5770 Wed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
5772 * amd/amq_subr.c (ok_security): turned off insecure code unless
5773 user explicitly runs configure --enable-amq-mount.
5775 * hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service().
5777 * amd/nfs_start.c (mount_automounter): use code that separately
5778 creates the NFS and the amq service. Register tcp and udp
5781 * conf/transp/transp_*.c (create_amq_service): new function to
5782 separately create the amq service for amd. Simplified prototypes
5783 for create_nfs_service().
5785 Wed Mar 19 20:40:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5787 *******************************************************************
5788 *** Released am-utils-6.0a3 ***
5789 *******************************************************************
5791 Wed Mar 19 17:49:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5793 * new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots
5794 of small changes to support these two.
5796 Wed Mar 19 14:33:30 1997 Erez Zadok <ezk@grande.cs.columbia.edu>
5798 * conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist()
5799 should run if MOUNT_TABLE_ON_FILE, not otherwise.
5801 Mon Mar 17 22:02:43 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5803 * hlfsd/hlfsd.c (main): fill in fhsize field if exists
5806 * amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if
5807 exists (freebsd-2.2).
5809 Sat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
5811 * new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher
5812 changed the filehandle type in struct nfs_args from nfsv2fh_t to
5815 Sat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
5817 * SHARED LIBRARIES: too many change to list individually. Now,
5818 libamu can be built as a shared library, and other programs link
5821 Tue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
5823 * aux/macros/opt_shared.m4: new macro for setting options for
5824 building shared am-utils libraries.
5826 Sun Mar 9 19:17:46 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5828 * fixmount/fixrmtab: cleaned up the script.
5830 * fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that
5831 fixrmtab gets distributed too.
5833 * conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP.
5834 Added extern for xdr_mountlist().
5836 * aux/configure.in: trimmed down many tests for MNT2_GEN_OPT,
5837 MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in
5840 Sat Mar 8 00:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5842 * fixmount/hlfsd ported to bsd44, hpux, and linux systems.
5844 * aux/macros/check_fixmount_style.m4: add check for bsd44 systems.
5846 * conf/fixmount/fixmount_default.c: use lockf() if flock() is
5849 * include/am_defs.h: include <string.h> even if don't have
5850 STDC_HEADERS defined (sunos4).
5851 (seteuid): define seteuid() to be setresuid() for systems that
5852 have but not the other (hpux).
5854 * aux/macros/check_extern.m4: test should include <strings.h>.
5856 Tue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
5858 * lib/xutil.c (debug_option): moved from amd/getargs.c to this
5861 * include/am_utils.h: put in structure for debug options, for all
5864 * amd/get_args.c: moved structure for debug options out.
5866 Sun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
5870 * lib/ualarm.c: replacement function for systems that don't have a
5875 Sun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
5877 * ported mk-amd-map.
5879 * buildall: added -K option to buildall, to run mkconf.
5881 Fri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
5883 *******************************************************************
5884 *** Released am-utils-6.0a2 ***
5885 *******************************************************************
5887 Thu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
5889 * all *.[hcyl] files: add copyright line.
5891 * aux/macros/check_mount_type.m4: test for mount type for
5892 linux-like systems, by checking for loadable or statically linked
5893 kernel filesystem modules.
5895 * aux/macros/check_mnttab_type.m4: test for mount table entry
5896 for linux-like systems, by checking for loadable or statically
5897 linked kernel filesystem modules.
5899 * aux/configure.in: pcfs filesystems can use vfat type (linux)
5901 * aux/macros/check_fs_mntent.m4: test for filesystem existence for
5902 linux-like systems, by checking for loadable or statically linked
5903 kernel filesystem modules.
5905 * conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX
5906 9.0 header files. This should be removed when HPUX 9.0 is deemed
5909 * aux/acconfig.h: set an undefined variable for having an extern
5912 * include/am_defs.h: define extern for clnt_sperrno() if needed.
5914 * aux/configure.in: test for extern clnt_sperrno().
5916 * aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is
5919 * aux/macros/check_mount_style.m4: use mount helper on HPUX.
5921 * aux/macros/check_mtype_type.m4: hpux's mount type is a char*,
5922 not integer (but may be mapped to one later).
5924 * conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header
5925 files. They have mount(2) and vfsmount(2) which don't take same
5926 arguments, and they have string mount types MNTTYPE_* as well as
5927 integer types MOUNT_*. So I need this new mount function to map
5928 from string types to integer types for the vfsmount() function.
5930 * conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling
5931 vfsmount(), call mount_hpux().
5933 Thu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu>
5935 * lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if
5936 both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined.
5938 Thu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
5940 * conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for
5943 * include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h.
5945 * aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h.
5947 * buildall: added ability to configure using other shells than
5948 /bin/sh, on those systems where /bin/sh is buggy or limited
5951 * aux/macros/struct_nfs_fh.m4: reinstated the macro but have it
5952 defined am_nfs_fh, and also test for plain typedef "nfs_fh".
5954 * aux/acconfig.h: #undef am_nfs_fh, which is being defined by a
5957 * aux/configure.in: check for <nfs/export.h>
5959 * include/am_defs.h: include <nfs/export.h> (HPUX) if exists.
5961 * aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if
5964 * aux/macros/mount_headers.m4 (define): removed some non-working
5965 (on HPUX) code that attempts to recreate the fhandle_t rather than
5966 load it up from system headers. Also added some NFS protocol
5967 header inclusion. include <nfs/export.h> (HPUX) if exists.
5969 Wed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu>
5971 * aux/macros/mount_headers.m4 (define): Use M4 changequote to
5972 ensure [] brackets are correctly used.
5974 * aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate
5975 multi-line M4 inclusions in [].
5977 Tue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
5979 * conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if
5982 * aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new
5983 config.h macro for field f_fstypename of struct statfs.
5985 * aux/configure.in: testing for field f_fstypename field of struct
5988 * aux/acconfig.h: moved all of the "static" definitions out to a
5989 fixed file called include/am_defs.h. Added to all */Makefile.am
5990 files a dependency on am_defs.h. Created am_defs.h of course, and
5991 then added #include <amd_defs.h> to all of the source and header
5992 files that required it.
5994 Mon Feb 24 01:27:02 1997 Erez Zadok <ezk@defiant.soscorp.com>
5996 * aux/acconfig.h: two more externals for xdr functions that may be
5997 implemented by libamu.
5999 * conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR
6002 Sun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
6004 * buildall (default): added -D option for turning on even stricker
6007 * */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to
6008 determine dependencies on optional NFS protocol headers.
6010 * aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed.
6012 * aux/macros/check_nfs_prot_header.m4: new test to determine what
6013 NFS protocol headers to use.
6015 * conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to
6016 complete missing system headers for NFS protocol definitions.
6018 Sun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu>
6020 * amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in
6023 * amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is
6026 * include/am_compat.h: a couple more mnttab options
6027 (timeo/retrans) setting just in case.
6029 * amd/autil.c (host_normalize): make sure hostent->h_name is
6030 passed a non-const char *.
6032 * conf/mount/mount_linux.c (mount_linux): cleaned up a block of code.
6034 * {lib,amq,amd}/*.c (many functions): cast xdr_entry to
6037 * lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to
6040 * lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to
6043 * lib/wire.c (getwire): Make sure safe assignment from const to
6046 Sat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu>
6048 * aux/macros/expand_cpp_int.m4: new macro for expanding integers.
6050 * aux/configure.in: added linux/fs.h support in configure and
6053 * conf/mount/mount_linux.c (mount_linux): use macro instead of
6054 "ugly" fixed hex number for mount() arguments.
6056 Sat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6058 * amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and
6059 turned all of its code always on. That code always seems to
6060 compile, as long as you have hesiod and libresolv.
6062 * amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all
6063 of its code always on.
6065 * aux/configure.in: removed superfluous test for hs_zone_transfer
6066 function (will never find it because it is an amd-internal
6069 * amd/mapc.c (maptypes): must used correct new name for am-utils'
6070 hesiod initialization function: hesiod_am_init.
6072 * amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to
6073 hesiod_am_init so as not to conflict with libhesiod's
6074 hesiod_init() function.
6076 * aux/configure.in: added test and explicit inclusion of
6077 libresolv.a for later resolution of library references with
6080 * aux/macros/opt_cppflags.m4: new file. configure/compile C
6083 * aux/macros/opt_libs.m4: new file. configure/compile library
6086 * Makefile.am (EXTRA_DIST_AUX): include two new macros
6087 opt_cppflags.m4 and opt_libs.m4.
6089 * aux/configure.in: test for libhesiod needs to additional
6090 libresolv to link completely. Additional configuration time
6091 options added for setting initial CPPFLAGS and LIBS.
6093 Tue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6095 *******************************************************************
6096 *** Released am-utils-6.0a1 ***
6097 *******************************************************************
6099 Thu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
6101 * amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that
6102 it works on freebsd, where they map dbm_pagfno a non-existing
6103 macro on purpose, to force you to port the code to Berkeley DB.
6105 Fri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6107 * amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the
6108 actual mount_toplvl, to avoid some possible race conditions.
6110 Thu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6112 * amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code.
6114 Wed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6116 * lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code)
6118 * amd/amd.c (main): fix local address using htonl(). Free up
6119 buffers allocated by netdir_*() functions.
6121 Wed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6123 * amd/fix-amd-map.in: new script that will convert old-style amd
6126 Tue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6128 * FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl,
6129 and replies back to simple nfs/link type mount queries).
6131 * conf/mtab/mtab_svr4.c: reorganized the code in this file to be
6132 easier to read, and fixed a few bugs with un/setting the lock file
6135 Wed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6137 * amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older
6138 signals in Svr3 systems. Only stellix ever used this.
6140 * amd/rpc_fwd.c (fwd_reply): removed all code that was triggered
6141 by DYNAMIC_BUFFERS, since it was not in use.
6143 Tue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6145 * amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer
6146 takes '=' sign as old selector. Fix your maps.
6147 (deslashify): removed APOLLO code that treated two '//' as one.
6149 Sun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6151 * amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which
6152 was not used. It made any submount error fail the whole group.
6154 * amd/ops_nfs.c (make_nfs_auth): removed code dependent on
6155 HAS_NFS_QUALIFIED_NAMES.
6156 (mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it
6157 is never on. So code that was triggered by #ifndef
6158 NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to
6160 Removed all ULTRIX_HACK code. Ultrix is DEAD!
6161 removed all PRESET_AC code, which was only on for Linux to preset
6162 the attribute cache values (otherwise they default to zero).
6163 (nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will
6164 have to fixed up later.
6165 (mount_nfs_fh): removed code that was never included, which
6166 attempted to set the port on which amd's nfs mounts on. This
6167 isn't supported by the ping algorithm yet. In any case, it is all
6170 * amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh):
6171 removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or
6172 specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will
6173 have to be addressed later.
6175 * amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent
6176 on PRECISE_SYMLINKS.
6178 * amd/mapc.c (mapc_meta_search): removed code that depended on
6179 HAS_DEPOT. It is known buggy code. The whole DEPOT support needs
6181 (mapc_add_kv): ported code to use standard regular expression
6184 * amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on
6185 FLUSH_KERNEL_NAME_CACHE and the macro itself.
6187 Sat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6189 * amd/map.c (exported_ap_alloc): removed all code triggered by
6190 SHRINK_EXPORTED_AP and the macro itself.
6192 * amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code
6193 in all the time. Assuming that there is always NIS realod
6195 (yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all()
6196 function is broken such that it does not release filedescriptors
6197 it created, then you are hosed. Get a fix for yp_all from your
6198 vendor or switch operating systems.
6200 Tue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6202 * amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to
6203 HAVE_HS_ZONE_TRANSFER.
6205 Mon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6207 * amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is
6208 always included. We should always try to inform the remove mount
6209 daemon of mounts we performed. If we want an option for this, it
6210 should be a run-time option.
6212 * amd/host_ops.c: removed all that optionally did not make the
6213 directory mount points for amd.
6215 * HOST_EXEC code removed from everywhere. There is no indication
6216 that it was used anywhere. If it needs to be used, then a
6217 run-time switch should control it.
6219 Thu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6221 * amd/*_ops.c: removed all references to mntent_t's fields
6222 mnt_freq and mnt_passno, since they are no longe rused (and never
6225 * amd/am_ops.c: removed function sunos4_match, which was off
6226 anyway. This was one of the places where an '=' sign was allowed
6227 as an assignment operator (which is now ':=').
6229 * amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which
6230 was off anyway. This was one of the places where an '=' sign was
6231 allowed as an assignment operator (which is now ':=').
6233 Tue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6235 * amq/amq.c: ported to am-utils. Working.
6237 * conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4
6238 to be string, as it should be (rather than a string mapped to int
6239 and back mapped to string).
6241 Sun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6243 * lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code.
6245 * lib/umount_fs.c: split this into three files: default, osf, and
6246 bsd44, that are in conf/umount/umount_*.c.
6248 Thu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
6250 * aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new
6251 macro to automatically figure out if an external definition for
6252 sys_errlist[] exists.
6254 * lib/xutil.c (xfree): removed "#undef free" because it's not
6255 needed there. Any system that redefines free() needs help.
6257 * conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that
6258 was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be
6259 in active use anywhere. If added later, it should be a run-time
6260 configuration option.
6262 * conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to
6263 be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables
6266 * lib/util.c (str3cat): removed _AIX code. AIX should have a
6267 working realloc, or else find a cleaner solution to this.
6268 (mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync()
6269 after immediately making directories so that fsck will be able to
6270 fix the filesystem in the event of an immediate crash. This was
6271 because a bug in UFS which is fixed by now.
6273 * lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered
6274 code. Does not appear to be on and used anywhere.
6275 (dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now.
6277 * lib/resvport.c: split the binding of reserved ports code to a
6278 separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4)
6281 Thu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
6283 * lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled
6284 in by automake and configure, for optional sources that need to be
6285 built as part of libamu.a.
6287 * aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o
6290 * lib/memcmp.c (memcmp): new file added to replace a possible bad
6291 implementation of memcmp.
6293 Wed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
6295 * converted the sources to use memset/memmove/memcmp instead of
6298 * ran all sources through gnu Indent w/ options specified in
6301 Wed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
6303 * At this point the initial genration of config.h via autoconf and
6304 some preliminary makefiles via automake is done. I will not begin
6305 modifying sources, so it's a good time to document from here.
6307 Wed Dec 10 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
6309 *******************************************************************
6310 *** Initial ChangeLog Entry ***
6311 *******************************************************************