ChangeLog revision 41142
141142Sobrien1998-10-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 241142Sobrien 341142Sobrien ******************************************************************* 441142Sobrien *** Released am-utils-6.0b1 *** 541142Sobrien ******************************************************************* 641142Sobrien 741142Sobrien1998-10-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 841142Sobrien 941142Sobrien * mk-amd-map/mk-amd-map.c (main): use perror not strerror. 1041142Sobrien (main): set return type to int if no ndbm maps. 1141142Sobrien 1241142Sobrien * include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1 1341142Sobrien kernels. 1441142Sobrien 1541142Sobrien1998-10-18 Erez Zadok <ezk@london.mcl.cs.columbia.edu> 1641142Sobrien 1741142Sobrien * A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup 1841142Sobrien for netbsd 1.3.2. 1941142Sobrien 2041142Sobrien1998-10-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2141142Sobrien 2241142Sobrien * aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1 2341142Sobrien systems put NIS functions there. 2441142Sobrien 2541142Sobrien * mk-amd-map/mk-amd-map.c: patch from "David O'Brien" 2641142Sobrien <obrien@NUXI.com> merged in. Use POSIX -1 return code from 2741142Sobrien getopt(), not EOF. Use .db extentions for systems that use it, 2841142Sobrien instead of .{pag,dir}. 2941142Sobrien 3041142Sobrien1998-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3141142Sobrien 3241142Sobrien * wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c, 3341142Sobrien amd/amd.c (main): avoid overrunning hostname buffer. Bug fix from 3441142Sobrien "David O'Brien" <obrien@NUXI.com>. 3541142Sobrien 3641142Sobrien * scripts/amd.conf.5: minor typo reported by "David O'Brien" 3741142Sobrien <obrien@NUXI.com> in .TH section of man page. 3841142Sobrien 3941142Sobrien * amd/info_nis.c (am_yp_all): don't leak key-val entries. Patch 4041142Sobrien from Thomas Richter <richter@chemie.fu-berlin.de>. 4141142Sobrien 4241142Sobrien1998-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4341142Sobrien 4441142Sobrien * doc/am-utils.texi (Program Filesystem): minor typo fixed as per 4541142Sobrien Andreas Stolcke <stolcke@speech.sri.com>. 4641142Sobrien 4741142Sobrien * minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7, 4841142Sobrien and sparc-sun-solaris2.7. 4941142Sobrien 5041142Sobrien * conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now 5141142Sobrien a 4.4lite kernel, and somethings were removed, such as 5241142Sobrien INITMOUNTNAMES. 5341142Sobrien 5441142Sobrien * amd/ops_autofs.c (autofs_lookuppn): don't leak memory while 5541142Sobrien processing /defaults. Free temporary opts. Patch from 5641142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) 5741142Sobrien 5841142Sobrien * amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while 5941142Sobrien processing /defaults. Free temporary opts. Patch from 6041142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) 6141142Sobrien 6241142Sobrien * conf/mtab/mtab_osf.c (read_mtab): patch from 6341142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access 6441142Sobrien uninitialized memory on Digital Unix. 6541142Sobrien 6641142Sobrien1998-10-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 6741142Sobrien 6841142Sobrien * aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most 6941142Sobrien systems now use "char *" as their mount type. 7041142Sobrien 7141142Sobrien1998-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 7241142Sobrien 7341142Sobrien * amd/conf.c (gopt_map_type, ropt_map_type): check if map type 7441142Sobrien exists. 7541142Sobrien 7641142Sobrien * amd/mapc.c (mapc_type_exists): function to test if a map of 7741142Sobrien certain type exists. 7841142Sobrien 7941142Sobrien1998-10-08 Erez Zadok <ezk@horatio.mcl.cs.columbia.edu> 8041142Sobrien 8141142Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 8241142Sobrien include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl 8341142Sobrien in RH-5.1 sparc64 between <netinet/in.h> and 8441142Sobrien <linux/byteorder/generic.h> (2.1 kernels). 8541142Sobrien 8641142Sobrien1998-09-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 8741142Sobrien 8841142Sobrien * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat 8941142Sobrien 5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket 9041142Sobrien from yp_all(). 9141142Sobrien 9241142Sobrien1998-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 9341142Sobrien 9441142Sobrien * conf/mount/mount_linux.c (parse_opts): check for pcfs support 9541142Sobrien only if autoconfigured. 9641142Sobrien 9741142Sobrien1998-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 9841142Sobrien 9941142Sobrien * Makefile.am (EXTRA_DIST): distribute README.yk2 file. 10041142Sobrien 10141142Sobrien * README.y2k: explain y2k compliance status of am-utils. 10241142Sobrien 10341142Sobrien1998-09-16 Erez Zadok <ezk@iguana.mcl.cs.columbia.edu> 10441142Sobrien 10541142Sobrien * amd/amfs_host.c (fetch_fhandle, amfs_host_fmount, 10641142Sobrien amfs_host_umounted): clnt_sperrno() may return a const. 10741142Sobrien 10841142SobrienSat Aug 8 23:28:32 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 10941142Sobrien 11041142Sobrien * aux/configure.in: check for <nfs/nfsmount.h>, as per Christos 11141142Sobrien Zoulas. Turned on checking for mount options: async, synchronous, 11241142Sobrien deadthresh, leasterm, nqnfs, and readahead. 11341142Sobrien 11441142Sobrien * amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas) 11541142Sobrien to include prototype definition for nis_isup(). 11641142Sobrien 11741142SobrienSun Jul 19 18:50:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 11841142Sobrien 11941142Sobrien * hlfsd/stubs.c (getcreds): force sscanf arg to u_long. 12041142Sobrien 12141142SobrienTue Jul 14 20:34:25 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 12241142Sobrien 12341142Sobrien * released snapshot am-utils-6.0a17s1 12441142Sobrien 12541142SobrienWed Jul 8 21:49:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 12641142Sobrien 12741142Sobrien * aux/macros/host_macros.m4: all x86 hosts should have $arch be 12841142Sobrien i386, not i[456]86. 12941142Sobrien 13041142SobrienTue Jul 7 18:55:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 13141142Sobrien 13241142Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 13341142Sobrien include/am_defs.h: include <linux/posix_types.h> before 13441142Sobrien <linux/fs.h> because on redhat 5.1, there is a bug (misuse) of 13541142Sobrien headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of 13641142Sobrien __KERNEL_STRICT_NAMES). 13741142Sobrien 13841142Sobrien * aux/configure.in: check for <linux/posix_types.h> because it is 13941142Sobrien need for RedHat 5.1. 14041142Sobrien 14141142SobrienWed Jun 17 00:05:33 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 14241142Sobrien 14341142Sobrien * scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from 14441142Sobrien .in as well, so it doesn't get removed by make clean. 14541142Sobrien 14641142SobrienTue Jun 16 22:00:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 14741142Sobrien 14841142Sobrien * aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4, 14941142Sobrien check_mount_type.m4}: redhat 5.1 puts some modules in 15041142Sobrien /lib/modules/preferred/. 15141142Sobrien 15241142SobrienWed May 13 16:33:57 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 15341142Sobrien 15441142Sobrien * amd/ops_autofs.c (mount_autofs): cast pid to long. 15541142Sobrien 15638494SobrienThu Apr 23 00:22:17 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 15738494Sobrien 15838494Sobrien ******************************************************************* 15938494Sobrien *** Released am-utils-6.0a16 *** 16038494Sobrien ******************************************************************* 16138494Sobrien 16238494SobrienWed Apr 22 01:20:39 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 16338494Sobrien 16438494Sobrien * aux/macros/check_mount_style.m4: define freebsd3 mount style. 16538494Sobrien 16638494Sobrien * aux/macros/check_mount_trap.m4: new mount trap for freebsd3. 16738494Sobrien 16838494Sobrien * aux/macros/check_mtype_printf_type.m4, 16938494Sobrien aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as 17038494Sobrien of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not 17138494Sobrien integers, but I'll keep them as integers and do the mapping in 17238494Sobrien conf/mount/mount_freebsd3.c 17338494Sobrien 17438494Sobrien * minor new port to i386-pc-bsdi3.1. 17538494Sobrien 17638494Sobrien * minor new port to i386-unknown-netbsd1.3.1. 17738494Sobrien 17838494Sobrien * amd/opts.c: new option addopts:=ARG, which smartly merges ARG 17938494Sobrien options with whatever the /default ones for a key are. This 18038494Sobrien allows adding or overriding /default options individual keys. 18138494Sobrien 18238494Sobrien * amd/am_ops.c (ops_match): strdup/malloc string assigned to 18338494Sobrien opt_opts because it'll get free()'d upon next use. 18438494Sobrien (merge_opts): new function to merge two sets of options. 18538494Sobrien (ops_match): if addopts option exist, append and merge it to the 18638494Sobrien current default options. 18738494Sobrien 18838494SobrienTue Apr 21 12:54:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 18938494Sobrien 19038494Sobrien * wire-test/wire-test.c (main): use dynamically allocated returned 19138494Sobrien string with list of interfaces. 19238494Sobrien 19338494Sobrien * amd/get_args.c (get_version_string): allocate enough space for 19438494Sobrien header version string and a list of network interfaces of any 19538494Sobrien length. 19638494Sobrien 19738494Sobrien * libamu/wire.c (print_wires): return dynamically allocated string 19838494Sobrien containing list of networks. Must be dynamic because some sites 19938494Sobrien had potentially dozens of network interfaces. Patch from Matthew 20038494Sobrien Crosby <mcrosby@ms.com> slightly modified. 20138494Sobrien 20238494SobrienMon Apr 20 00:37:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 20338494Sobrien 20438494Sobrien * conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because 20538494Sobrien irix 5.3 does not have full header definitions for it. 20638494Sobrien 20738494Sobrien * fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and 20838494Sobrien undefined it when not needed (similar to amd/conf_tok.l) 20938494Sobrien 21038494Sobrien * hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size 21138494Sobrien of these to unsigned short (because uid_t on some linux systems is 21238494Sobrien small). 21338494Sobrien 21438494Sobrien * released snapshot am-utils-6.0a16s10 21538494Sobrien 21638494Sobrien * doc/am-utils.texi (opts Option): documented resvport mount 21738494Sobrien option. 21838494Sobrien 21938494SobrienSun Apr 19 18:17:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 22038494Sobrien 22138494Sobrien * doc/am-utils.texi (-D-Option): document behavior of -D info and 22238494Sobrien especially what it does to hesiod (turn on RES_DEBUG). 22338494Sobrien 22438494Sobrien * scripts/amd.conf.5: document info debugging option. 22538494Sobrien 22638494Sobrien * libamu/xutil.c (dbg_opt): parse info debugging option. 22738494Sobrien 22838494Sobrien * include/am_utils.h (D_INFO): define new trace option. 22938494Sobrien 23038494Sobrien * Makefile.am (EXTRA_DIST): include list of official mirrors in 23138494Sobrien distribution. 23238494Sobrien 23338494Sobrien * libamu/wire.c (SIZE): in the simple case, just compute 23438494Sobrien sizeof(struct ifreq). 23538494Sobrien 23638494SobrienSun Apr 19 16:30:35 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 23738494Sobrien 23838494Sobrien * amd/amd.c (daemon_mode): set a temporary secure umask(0022) 23938494Sobrien before writing log file and restore it afterwards. Patch from 24038494Sobrien Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 24138494Sobrien 24238494Sobrien * amd/get_args.c (get_args): 24338494Sobrien 24438494Sobrien * doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf 24538494Sobrien file specified by -F is always processed last. 24638494Sobrien 24738494Sobrien * amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd 24838494Sobrien won't be reused. Allows startup script to redirect stdout. Patch 24938494Sobrien from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 25038494Sobrien 25138494Sobrien * libamu/xutil.c (switch_to_logfile): compare logfile name and 25238494Sobrien syslog string with correct length. Patch from Donald Buczek 25338494Sobrien <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 25438494Sobrien 25538494Sobrien * amd/restart.c (restart): correctly inherit existing NFS V.3 25638494Sobrien mounts upon restart. Patch from Donald Buczek 25738494Sobrien <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 25838494Sobrien 25938494SobrienSat Apr 18 19:01:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 26038494Sobrien 26138494Sobrien * using libtool 1.2 and automake 1.3 (with my patches). 26238494Sobrien 26338494Sobrien * aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to 26438494Sobrien AMU_CFLAGS to avoid conflicts with automake-1.3. 26538494Sobrien 26638494SobrienSun Apr 5 23:09:08 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 26738494Sobrien 26838494Sobrien * converted to using libtool-1.2. 26938494Sobrien 27038494SobrienTue Mar 10 16:52:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 27138494Sobrien 27238494Sobrien * fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly 27338494Sobrien for loop (ITER) which used to run only to initialize the variable 27438494Sobrien dd once and then break; with a simple assignment. 27538494Sobrien 27638494Sobrien * hlfsd/hlfsd.h: cleanup so it compiles with Solaris 27738494Sobrien /opt/SUNWspro/bin/cc, and use gid_t not int. 27838494Sobrien 27938494Sobrien * amd/mapc.c (mapc_sync): don't dereference pointer (so it 28038494Sobrien compiles with Solaris /opt/SUNWspro/bin/cc) 28138494Sobrien 28238494SobrienSun Mar 8 15:54:22 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 28338494Sobrien 28438494Sobrien * aux/config.{guess,sub}: used from gcc-2.8.1. 28538494Sobrien 28638494SobrienSat Mar 7 15:33:27 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 28738494Sobrien 28838494Sobrien * released snapshot am-utils-6.0a16s9 28938494Sobrien 29038494Sobrien * INSTALL, doc/am-utils.texi (Supported Platforms): updated names 29138494Sobrien based on new output of new config.guess. 29238494Sobrien 29338494Sobrien * aux/config.{sub,guess}: used newer versions from gcc-2.8.0. 29438494Sobrien 29538494Sobrien * amd/amd.8,doc/am-utils.texi: document correct usage of default 29638494Sobrien /etc/amd.conf file. 29738494Sobrien 29838494Sobrien * fixmount/fixmount.c (inetresport,privsock): use some more 29938494Sobrien portable code from amq/amq.c. 30038494Sobrien 30138494Sobrien * amd/get_args.c (get_args): use default /etc/amd.conf file only 30238494Sobrien if no arguments had been passed to amd. 30338494Sobrien 30438494Sobrien * fixmount/fixmount.c (clnt_create_timeout): use tli/socket code 30538494Sobrien ala amq/amq.c so that fixmount will work on both types of systems. 30638494Sobrien 30738494Sobrien * amq/amq.c (main): do no close tcp socket before running udp try, 30838494Sobrien because we're not sure if it was opened at all. 30938494Sobrien 31038494Sobrien * mips-dec-ultrix* port merged in and cleaned up. 31138494Sobrien 31238494Sobrien * aux/configure.in: up minor shared library revision number, since 31338494Sobrien it has changed enough. 31438494Sobrien 31538494Sobrien * hlfsd/hlfsd.c (main): don't check for overlay mount option here, 31638494Sobrien as it is now done in compute_nfs_args(). Remove ultrix specific 31738494Sobrien code also because it was moved to compute_nfs_args(). 31838494Sobrien 31938494Sobrien * conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that 32038494Sobrien we have more generic code in print_nfs_args(). 32138494Sobrien 32238494Sobrien * libamu/mount_fs.c (print_nfs_args): print maxlen of 32338494Sobrien nfs_args.addr, and also syncaddr (which is mostly NULL). Print 32438494Sobrien struct knetconfig from nfs_args->knconf. 32538494Sobrien 32638494Sobrien * aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs 32738494Sobrien headers here, but in try_compile_anyfs.m4. 32838494Sobrien 32938494Sobrien * aux/macros/type_ufs_args.m4: move test for struct ufs_specific 33038494Sobrien (for ultrix) here from its own macro. 33138494Sobrien 33238494Sobrien * aux/macros/type_cdfs_args.m4: move test for struct iso_specific 33338494Sobrien (for ultrix) here from its own macro. 33438494Sobrien 33538494Sobrien * amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking 33638494Sobrien for overlay mount option. Remove code which checks for overlay 33738494Sobrien option, as it is now done in compute_nfs_args(). 33838494Sobrien 33938494Sobrien * libamu/mount_fs.c (compute_mount_flags): move here code which 34038494Sobrien checks for overlay mount option which was in amd/amfs_toplvl.c: 34138494Sobrien mount_amfs_toplvl(). 34238494Sobrien 34338494SobrienWed Feb 7 15:35:51 1998 Rainer Orth <ro@xayide.TechFak.Uni-Bielefeld.DE> 34438494Sobrien 34538494Sobrien * The following are Rainer's ChangeLog entries for his ultrix 34638494Sobrien port, added manually. -Erez. 34738494Sobrien 34838494Sobrien * merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c 34938494Sobrien (mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl) 35038494Sobrien 35138494Sobrien * include/am_defs.h: include cdfs specific mount headers avoid 35238494Sobrien duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix) 35338494Sobrien 35438494Sobrien * include/am_compat.h: define several mount options corresponding 35538494Sobrien to mount flags: pgthresh, hard (nfs), defperm, nodefperm, 35638494Sobrien noversion, rrip (cdfs), nocache, quota, sync (generic) removed 35738494Sobrien duplicate MNTTAB_OPT_RO definition 35838494Sobrien 35938494Sobrien * aux/macros/try_compile_anyfs.m4: include Ultrix specific 36038494Sobrien ufs/cdfs mount headers 36138494Sobrien 36238494Sobrien * aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX 36338494Sobrien specific mount headers 36438494Sobrien 36538494Sobrien * aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_* 36638494Sobrien mount types in mount headers (Ultrix) 36738494Sobrien 36838494Sobrien * aux/configure.in: Ultrix/Digital UNIX specific checks: new 36938494Sobrien headers, mount structures and fields, filesystem and mount types, 37038494Sobrien mount flags 37138494Sobrien 37238494Sobrien * aux/acconfig.h: placeholders for new mount options: quota 37338494Sobrien (generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs) 37438494Sobrien cdfs, nfs, ufs mount structure fields new ufs, cdfs mount 37538494Sobrien structures 37638494Sobrien 37738494Sobrien * amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in 37838494Sobrien ufs_args.ufs_flags and has ufs specific pgthresh option 37938494Sobrien 38038494Sobrien * amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific 38138494Sobrien CDFS mount flags and options 38238494Sobrien 38338494Sobrien * amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh), 38438494Sobrien hlfsd/hlfsd.c (main): store generic mount flags in 38538494Sobrien nfs_args.gfs_flags, handle separate NFS ro flag 38638494Sobrien 38738494Sobrien * aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific, 38838494Sobrien struct_ufs_specific}.m4: new files; check for Ultrix specific 38938494Sobrien mount structures 39038494Sobrien 39138494Sobrien * conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag 39238494Sobrien 39338494Sobrien * aux/macros/type_auth_create_gidlist.m4 (ultrix*): 39438494Sobrien AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a 39538494Sobrien comment in <rpc/auth.h> 39638494Sobrien 39738494Sobrien * include/am_defs.h: #define KERNEL to avoid definition of 39838494Sobrien gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before 39938494Sobrien <config.h> to force single definition here 40038494Sobrien 40138494Sobrien * libamu/mount_fs.c (compute_nfs_args): Ultrix support for 40238494Sobrien nfs_args.gfs_flags moved to callers store mount options in 40338494Sobrien nap->optstr 40438494Sobrien 40538494Sobrien * include/am_defs.h: fix _am_mntent mnt_{type, opts} field 40638494Sobrien descriptions 40738494Sobrien 40838494Sobrien * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4: 40938494Sobrien include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req 41038494Sobrien definition in prototypes 41138494Sobrien 41238494Sobrien * aux/macros/mount_headers.m4: include <sys/errno.h> before 41338494Sobrien AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_* 41438494Sobrien definitions 41538494Sobrien 41638494Sobrien * aux/aclocal: adapt for local perl path and $prefix 41738494Sobrien 41838494Sobrien * conf/nfs_prot/nfs_prot_ultrix.h: new file 41938494Sobrien 42038494Sobrien * aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h 42138494Sobrien 42238494Sobrien * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4, 42338494Sobrien aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple 42438494Sobrien inclusion of <rpc/xdr.h> 42538494Sobrien 42638494SobrienSat Mar 7 13:56:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 42738494Sobrien 42838494Sobrien * aux/configure.in: save state of config.cache and confdefs.h 42938494Sobrien (as dbgcf.h) at various points of the configure. 43038494Sobrien 43138494Sobrien * aux/macros/save_state.m4: new macro to save state of configure, 43238494Sobrien esp. useful in long ones. Saves confdefs.h and write $ac_cv_* 43338494Sobrien cache variables that are known so far. 43438494Sobrien 43538494Sobrien * released snapshot am-utils-6.0a16s8 43638494Sobrien 43738494Sobrien1998-03-06 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 43838494Sobrien 43938494Sobrien * fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining 44038494Sobrien it, but only for flex. 44138494Sobrien 44238494SobrienFri Mar 6 17:23:17 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 44338494Sobrien 44438494Sobrien * hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file 44538494Sobrien to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible) 44638494Sobrien to write the dump file. 44738494Sobrien 44838494Sobrien * doc/am-utils.texi,amd/opts.c: rename all references to nomadic 44938494Sobrien functions to boolean functions, which is what they really are. 45038494Sobrien 45138494Sobrien * aux/configure.in: don't look for strcasecmp in libucb at all, 45238494Sobrien but rather complete it from libamu/strcasecmp.c as needed. 45338494Sobrien 45438494SobrienFri Mar 6 03:29:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 45538494Sobrien 45638494Sobrien * conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS. 45738494Sobrien 45838494Sobrien * libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X 45938494Sobrien which defines IFF_ROUTE instead of IFF_LOOPBACK. Patch from Tom 46038494Sobrien Schmidt <tschmidt@micron.com>. 46138494Sobrien 46238494Sobrien * released snapshot am-utils-6.0a16s7 46338494Sobrien 46438494Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to 46538494Sobrien hppa1.0-hp-hpux11.00.tgz. 46638494Sobrien 46738494SobrienThu Mar 5 21:59:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 46838494Sobrien 46938494Sobrien * converted all sources to use mntent field names, and map mnttab 47038494Sobrien field names to mntent's. 47138494Sobrien 47238494Sobrien * include/am_defs.h (mnt_special): map struct mnttab field names 47338494Sobrien to struct mntent field names. 47438494Sobrien 47538494Sobrien * aux/macros/check_mount_trap.m4: hpux11's mount trap style is 47638494Sobrien identical to svr4/solaris2. 47738494Sobrien 47838494Sobrien * aux/macros/check_mount_style.m4: hpux11's mount style is 47938494Sobrien identical to svr4/solaris2. 48038494Sobrien 48138494Sobrien * aux/macros/check_network_transport_type.m4: hpux11 is a TLI 48238494Sobrien system! 48338494Sobrien 48438494Sobrien * aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address 48538494Sobrien dereferencing style is same as svr4. 48638494Sobrien 48738494Sobrien * aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh 48838494Sobrien dereferencing style is same as svr4. 48938494Sobrien 49038494Sobrien * conf/transp/transp_tli.c (create_nfs_service): if failed to 49138494Sobrien getnetconfigent() of ticlts, then try udp (hpux11). 49238494Sobrien 49338494Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for 49438494Sobrien struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris 49538494Sobrien 2.5.1 (HP used them). 49638494Sobrien 49738494Sobrien * amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open() 49838494Sobrien because hpux11 doesn't like it. if t_open failed, print error 49938494Sobrien based on t_errlist, not sys_errlist. 50038494Sobrien 50138494SobrienWed Mar 4 22:01:55 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 50238494Sobrien 50338494Sobrien * doc/am-utils.texi: lots of documentation fixes from Rainer Orth 50438494Sobrien <ro@TechFak.Uni-Bielefeld.DE>. 50538494Sobrien 50638494SobrienSat Feb 28 22:16:35 1998 Erez Zadok <ezk@kosh.cs.columbia.edu> 50738494Sobrien 50838494Sobrien * fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used 50938494Sobrien later. 51038494Sobrien 51138494Sobrien * include/am_defs.h: defined the extern for ualarm() if it isn't 51238494Sobrien found, regardless if the function isn't found in standard 51338494Sobrien libraries, because otherwise libamu will include it. 51438494Sobrien 51538494Sobrien1998-02-28 Erez Zadok (per Ron Snyder) <ezk@short.cvo.roguewave.com> 51638494Sobrien 51738494Sobrien * initial port to hpux-11 completed. Compiles cleanly, but 51838494Sobrien probably does not work, because of missing NFS V.2/3 headers. 51938494Sobrien 52038494Sobrien * amd/conf_tok.l: cast yytext to char* when passed to strlen and 52138494Sobrien strdup, for hpux-11's ansi-cc compiler. 52238494Sobrien 52338494Sobrien * include/am_utils.h: renamed all xfree() to XFREE() to avoid 52438494Sobrien conflict with hpux-11's system headers. Also move (voidp) cast 52538494Sobrien from sources to inside the macro itself. 52638494Sobrien 52738494SobrienSat Feb 28 13:44:21 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 52838494Sobrien 52938494Sobrien * released snapshot am-utils-6.0a16s6 53038494Sobrien 53138494Sobrien * amd/info_nis.c (nis_isup): new function to test if NIS is up 53238494Sobrien without hanging amd. Used to ensure that amd does not clear the 53338494Sobrien maps when the expiration period arrived, if the service is down. 53438494Sobrien Otherwise it would be left with empty maps. It is better to stay 53538494Sobrien with possibly old information than none at all. 53638494Sobrien 53738494Sobrien * amd/mapc.c (mapc_sync): check to see if map service is up. 53838494Sobrien 53938494SobrienTue Feb 24 02:19:42 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 54038494Sobrien 54138494Sobrien * aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it 54238494Sobrien includes auxiliary library only if needed. 54338494Sobrien 54438494Sobrien1998-02-22 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 54538494Sobrien 54638494Sobrien * amd/conf_tok.l: undefine ECHO again, so it doesn't get used 54738494Sobrien later. 54838494Sobrien 54938494SobrienSun Feb 22 01:41:08 1998 Erez Zadok <ezk@zen.cs.columbia.edu> 55038494Sobrien 55138494Sobrien * conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1 55238494Sobrien completed. 55338494Sobrien 55438494Sobrien * conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3. 55538494Sobrien 55638494SobrienSat Feb 21 19:45:48 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 55738494Sobrien 55838494Sobrien * doc/am-utils.texi (Network Host Filesystem): correct example for 55938494Sobrien type:=host map. 56038494Sobrien 56138494Sobrien * aux/macros/os_cflags.m4: only osf4 should compile with 56238494Sobrien -D_SOCKADDR_LEN. 56338494Sobrien 56438494Sobrien * aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2 56538494Sobrien and OSF4. 56638494Sobrien 56738494Sobrien * BUGS: include a new file listing known bugs. 56838494Sobrien 56938494SobrienSat Feb 21 03:50:48 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 57038494Sobrien 57138494Sobrien * conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux 57238494Sobrien versions. 57338494Sobrien 57438494Sobrien * aux/macros/type_recvfrom_fromlen.m4: linux alpha should use 57538494Sobrien size_t for recvfrom fromlen arg. 57638494Sobrien 57738494SobrienSat Feb 21 03:33:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 57838494Sobrien 57938494Sobrien * scripts/ctl-hlfsd.in: turn -D fork so primary process never 58038494Sobrien hangs. 58138494Sobrien 58238494SobrienSat Feb 21 02:45:51 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 58338494Sobrien 58438494Sobrien * include/am_defs.h: don't include <sys/stat.h> and 58538494Sobrien <linux/stat.h>, just remaining definitions in <statbuf.h> 58638494Sobrien 58738494SobrienThu Jan 29 00:44:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 58838494Sobrien 58938494Sobrien * released snapshot am-utils-6.0a16s5 59038494Sobrien 59138494Sobrien * conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to 59238494Sobrien mount(2). 59338494Sobrien 59438494Sobrien * check for <sys/fs/xfs_clnt.h> and include it when needed. 59538494Sobrien 59638494Sobrien * conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize 59738494Sobrien efs and xfs separately from "ufs". 59838494Sobrien 59938494Sobrien * amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs. 60038494Sobrien 60138494Sobrien * aux/configure.in: look for irix efs and xfs file systems. 60238494Sobrien 60338494Sobrien * scripts/amd.conf.5: new unmount_on_exit option documented. 60438494Sobrien 60538494Sobrien * doc/am-utils.texi (unmount_on_exit): new option documented. 60638494Sobrien 60738494Sobrien * amd/conf.c (gopt_unmount_on_exit): new function to handle new 60838494Sobrien amd.conf option. 60938494Sobrien 61038494Sobrien * amd/map.c (umount_exported): if global amd.conf flag 61138494Sobrien unmount_on_exit is on, then try to unmount all mounted (or 61238494Sobrien restartable) file systems. 61338494Sobrien 61438494Sobrien * amd/amd.c: if print_pid option is on, then normally print it to 61538494Sobrien stdout. If also pid_file is specified, then print the process ID 61638494Sobrien into that file. 61738494Sobrien 61838494Sobrien * amd/get_args.c (get_args): print correct -l option depending if 61938494Sobrien system supports syslog and/or syslog facilities. Patch from 62038494Sobrien Tom Schmidt <tschmidt@micron.com>. 62138494Sobrien 62238494Sobrien * doc/am-utils.texi (opts Option): updates for documentation for 62338494Sobrien new cdfs options defperm, nodefperm, noversion, rrip. 62438494Sobrien 62538494Sobrien * amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm, 62638494Sobrien nodefperm, noversion, rrip. 62738494Sobrien 62838494Sobrien * conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h> 62938494Sobrien on osf. 63038494Sobrien 63138494Sobrien * aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4, 63238494Sobrien expand_cpp_string.m4}: use #error to make failed compilations 63338494Sobrien fail faster, rather than have the program fail during a run. 63438494Sobrien 63538494Sobrien * include/am_compat.h: added a few new cdfs options: rrip, 63638494Sobrien noversion, defperm, and nodefperm (used in OSF). 63738494Sobrien 63838494SobrienWed Jan 28 20:24:09 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 63938494Sobrien 64038494Sobrien * released snapshot am-utils-6.0a16s4 64138494Sobrien 64238494Sobrien * doc/am-utils.texi (Global Parameters): update manual for new 64338494Sobrien amd.conf global variable hesiod_base. 64438494Sobrien 64538494Sobrien * scripts/amd.conf.5: update man page for new amd.conf global 64638494Sobrien variable hesiod_base. 64738494Sobrien 64838494Sobrien * amd/get_args.c (get_args): use /etc/amd.conf file if exists by 64938494Sobrien default, else try command line options. Patch from Randall 65038494Sobrien S. Winchester <rsw@Glue.umd.edu>. 65138494Sobrien 65238494SobrienWed Jan 28 12:20:56 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 65338494Sobrien 65438494Sobrien * amd/info_hesiod.c (hesiod_search), amd/conf.c 65538494Sobrien (gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options): 65638494Sobrien included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to 65738494Sobrien support a hesiod base name in the amd.conf file. 65838494Sobrien 65938494Sobrien * doc/am-utils.texi (pid_file Parameter): document new global 66038494Sobrien amd.conf parameter. 66138494Sobrien 66238494Sobrien * scripts/amd.conf.5: document new global option pid_file. 66338494Sobrien 66438494Sobrien * amd/amd.c (daemon_mode): if cannot open pid_file, continue to 66538494Sobrien run, but print error message. 66638494Sobrien 66738494Sobrien * amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode, 66838494Sobrien init_global_options): Included patch from Randall S. Winchester 66938494Sobrien <rsw@Glue.umd.edu>, to support pid files in the amd.conf file. 67038494Sobrien 67138494Sobrien * amd/get_args.c (get_args): correct usage info on amd -t. 67238494Sobrien 67338494Sobrien * amd/*.c: massive file name and symbol name changes. All amd 67438494Sobrien file systems files and symbols are prefix with amfs_*. Now using 67538494Sobrien real name of file system: amfs_auto instead of afs, amfs_inherit 67638494Sobrien instead of ifs, amfs_linkx instead of sfsx, etc. This will enable 67738494Sobrien clear distinction between amd file system and generic ones like 67838494Sobrien nfs/ufs/pcfs/hsfs. Also, now we can implement true afs (Andrew 67938494Sobrien f/s) and DFS (Distributed f/s). 68038494Sobrien 68138494Sobrien * amd/amfs_union.c: unionfs for amd is always defined, no need to 68238494Sobrien #ifdef it. 68338494Sobrien 68438494SobrienMon Jan 26 16:51:38 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 68538494Sobrien 68638494Sobrien * libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on 68738494Sobrien or off, based on the particular quirks of the OS in question. 68838494Sobrien 68938494Sobrien * aux/macros/check_nfs_socket_connection.m4: new macro to set the 69038494Sobrien correct wait of handling un/connected NFS sockets. 69138494Sobrien 69238494Sobrien * scripts/wait4amd.in: use rlogin instead of rsh. 69338494Sobrien 69438494Sobrien * amd/am_ops.c (ops_showfstypes): when showing F/S types in amd 69538494Sobrien -v, always show "nfs3" for NFS V.3. 69638494Sobrien 69738494Sobrien1998-01-25 Erez Zadok <ezk@snoopy.cs.columbia.edu> 69838494Sobrien 69938494Sobrien * lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets 70038494Sobrien more picky than 2.7.2.3 did. 70138494Sobrien 70238494Sobrien1998-01-24 Erez Zadok <ezk@snoopy.cs.columbia.edu> 70338494Sobrien 70438494Sobrien * include/am_utils.h (dlog): amuDebug macros reduced to shorter 70538494Sobrien forms. 70638494Sobrien 70738494SobrienFri Jan 23 18:38:30 1998 Erez Zadok <ezk@goat.mcl.cs.columbia.edu> 70838494Sobrien 70938494Sobrien * released snapshot am-utils-6.0a16s3 71038494Sobrien 71138494Sobrien * include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included 71238494Sobrien in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h 71338494Sobrien must not, fake a definition for varargs. 71438494Sobrien 71538494SobrienFri Jan 16 10:16:40 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 71638494Sobrien 71738494Sobrien * README: show how to configure in additional support such as 71838494Sobrien hesiod using various --enable-* flags. 71938494Sobrien 72038494SobrienWed Jan 14 15:13:02 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 72138494Sobrien 72238494Sobrien * aux/configure.in: look for strcasecmp(), and replace it if not 72338494Sobrien available. 72438494Sobrien 72538494Sobrien * amd/ops_nfsl.c (nfsl_match): host names should be compared using 72638494Sobrien case insensitive. 72738494Sobrien 72838494Sobrien * amd/opts.c: for each map variable, define if the comparison 72938494Sobrien needs to be done case insensitive. 73038494Sobrien 73138494Sobrien * include/am_utils.h (STRCEQ): a new macro to use strcasecmp(). 73238494Sobrien Patch from Thomas Richter <richter@chemie.fu-berlin.de> 73338494Sobrien 73438494Sobrien1998-01-14 Erez Zadok <ezk@irt.cs.columbia.edu> 73538494Sobrien 73638494Sobrien * aux/configure.in: look for "isofs" as a possible mount type for 73738494Sobrien cdfs (RedHat Linux). 73838494Sobrien 73938494SobrienWed Jan 14 02:07:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 74038494Sobrien 74138494Sobrien * conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount 74238494Sobrien type if not defined. 74338494Sobrien 74438494Sobrien * conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if 74538494Sobrien already defined. 74638494Sobrien 74738494Sobrien * aux/configure.in: look for ext2fs before ufs, b/c some linux 74838494Sobrien have both. 74938494Sobrien 75038494SobrienMon Jan 12 15:43:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 75138494Sobrien 75238494Sobrien * Makefile.am (snapshot): allow me to install snapshots into the 75338494Sobrien ftp directory. 75438494Sobrien 75538494Sobrien * scripts/ctl-hlfsd.in: don't turn on -D mem by default. 75638494Sobrien 75738494Sobrien * amd/get_args.c (get_args): minor bug in output of amd -H. 75838494Sobrien 75938494SobrienMon Jan 12 03:05:06 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 76038494Sobrien 76138494Sobrien ******************************************************************* 76238494Sobrien *** Released am-utils-6.0a15 *** 76338494Sobrien ******************************************************************* 76438494Sobrien 76538494SobrienSun Jan 11 15:06:34 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 76638494Sobrien 76738494Sobrien * amd/conf.c (*_browsable_dirs): allow specifying 76838494Sobrien browsable_dirs=full, which will print *all* entries (other than 76938494Sobrien /default), including those with '*' and '/' characters. 77038494Sobrien 77138494Sobrien * amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length 77238494Sobrien to 1500. 77338494Sobrien 77438494Sobrien * doc/am-utils.texi: fixed reversed documentation for NFS mount 77538494Sobrien options vers and proto. 77638494Sobrien 77738494Sobrien * doc/Makefile.am (install-html): separate target just for 77838494Sobrien installing html files. Another new target "alldocs" is just for 77938494Sobrien installing all files needed for the am-utils home page. 78038494Sobrien 78138494Sobrien * scripts/amd.conf-sample: updated example for log_file. 78238494Sobrien 78338494Sobrien * scripts/amd.conf.5: updated for new way to declare new syslog 78438494Sobrien facility in the log_file option. 78538494Sobrien 78638494Sobrien * amd/amd.8: updated for new way to declare new syslog facility in 78738494Sobrien the -l option. 78838494Sobrien 78938494Sobrien * libamu/xutil.c (get_syslog_facility): allow users to specify the 79038494Sobrien syslog facility as an appended string to the log device. Ex. amd 79138494Sobrien -l syslog:local7 will use LOG_LOCAL7, while the older -l syslog 79238494Sobrien will use the default LOG_DAEMON facility. 79338494Sobrien 79438494Sobrien * amd/get_args.c (get_args): updated new syntax for amd -l 79538494Sobrien syslog:facility. 79638494Sobrien 79738494SobrienThu Jan 8 04:05:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 79838494Sobrien 79938494Sobrien * aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3 80038494Sobrien (intel). 80138494Sobrien 80238494Sobrien * libamu/wire.c (print_wires): bug fix. Nullify output buffer 80338494Sobrien before appending to it, on systems with two or more network 80438494Sobrien interfaces. 80538494Sobrien 80638494Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for 80738494Sobrien the mntent for cachefs. 80838494Sobrien 80938494Sobrien * include/am_defs.h: external definition for strstr() should use 81038494Sobrien const for both arguments. 81138494Sobrien 81238494Sobrien * aux/configure.in: add extern definitions for getwd() if missing. 81338494Sobrien 81438494Sobrien * include/am_defs.h: define the extern for strdup() even if the 81538494Sobrien function does not exist, for it will be filled in by 81638494Sobrien libamu/strdup.c 81738494Sobrien 81838494Sobrien * amq/pawd.c (cluster_server): don't use getccent() if the extern 81938494Sobrien for it isn't there. On hpux 10.20, the function is in libc, but 82038494Sobrien <cluster.h> and struct cct_entry do not exist. 82138494Sobrien 82238494Sobrien * aux/configure.in: check for an extern for getccent() b/c some 82338494Sobrien hpux systems don't have it (hpux 10.20). 82438494Sobrien 82538494SobrienWed Jan 7 00:09:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 82638494Sobrien 82738494Sobrien * doc/am-utils.texi (Amq -T option): manual documentation updates 82838494Sobrien for new amq options -T/-U. 82938494Sobrien 83038494Sobrien * amq/amq.8: updated man page for new amq options -T/-U. 83138494Sobrien 83238494Sobrien * amq/amq.c: two new switches to amq. -U will contact amd using 83338494Sobrien UDP only. -T will use TCP only. Normally amq will try TCP and 83438494Sobrien if that failed, will try UDP. 83538494Sobrien 83638494Sobrien * doc/am-utils.texi (pawd): manual documentation for pawd. 83738494Sobrien 83838494Sobrien * amq/pawd.1: new man page for pawd. 83938494Sobrien 84038494SobrienTue Jan 6 04:21:59 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 84138494Sobrien 84238494Sobrien * amq/pawd.c: a new program, Print Automounter Working Directory, 84338494Sobrien to print the proper pathname of the cwd or any other pathname, 84438494Sobrien adjusted for automounter paths, while avoiding mount points. 84538494Sobrien 84638494Sobrien * aux/macros/localconfig.m4: trivial support for am-utils 84738494Sobrien maintainers to adjust some of the configuration of am-utils after 84838494Sobrien it has been auto-configured by putting whatever definitions you 84938494Sobrien wish in a file called localconfig.h, located in the top build 85038494Sobrien directory (the same one where config.h is created for you). 85138494Sobrien 85238494Sobrien * doc/am-utils.texi (Caching Filesystem): updated documents for 85338494Sobrien cachefs file system. 85438494Sobrien 85538494Sobrien * amd/ops_cachefs.c: initial cachefs support, for solaris. 85638494Sobrien type:=cachefs, requires cachedir:=/cache/dir/name to be defined 85738494Sobrien and initialized with cfsadmin -c. $rfs is backdir to be cached 85838494Sobrien from, and $fs is the local mount point of the cachefs. 85938494Sobrien 86038494Sobrien * conf/mount/mount_svr4.c (mount_svr4): support mounting of 86138494Sobrien cachefs file systems. 86238494Sobrien 86338494Sobrien * amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the 86438494Sobrien mnttab type is. 86538494Sobrien 86638494SobrienMon Jan 5 23:22:49 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 86738494Sobrien 86838494Sobrien * amd/opts.c: added support for new variable $cachedir. 86938494Sobrien 87038494Sobrien * include/am_utils.h: added opt_cachedir field to struct am_opts. 87138494Sobrien 87238494SobrienSat Jan 3 01:43:57 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 87338494Sobrien 87438494Sobrien * amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the 87538494Sobrien local hostname does not match $rhost, and if so, also assume 87638494Sobrien type:=nfs. 87738494Sobrien 87838494SobrienFri Jan 2 01:00:40 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 87938494Sobrien 88038494Sobrien * updated all source files to add 1998 as a copyright year. 88138494Sobrien 88238494Sobrien * amd/ops_nfsl.c: new amd meta file system "type:=nfsl". Behaves 88338494Sobrien like type:=linkx if the pathname denoted by $fs exists, and like 88438494Sobrien type:=nfs if it does not. A convenient shortcut for the most 88538494Sobrien popular amd map entry. 88638494Sobrien 88738494Sobrien * amd/amd.c (main): amd should chdir to / before starting, to 88838494Sobrien avoid hanging on other NFS server if started elsewhere. 88938494Sobrien 89038494Sobrien * amd/ops_TEMPLATE.c: added an empty template file for developers 89138494Sobrien who wish to write new amd pseudo file systems. 89238494Sobrien 89338494SobrienThu Jan 1 00:27:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 89438494Sobrien 89538494Sobrien * hlfsd/homedir.c (plt_init): make function exported, to save on 89638494Sobrien the unnecessary init_homedir() function which was removed. 89738494Sobrien (table_add): don't use xmalloc() when you can use strdup() 89838494Sobrien instead. 89938494Sobrien 90038494SobrienThu Jan 1 00:15:58 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 90138494Sobrien 90238494Sobrien * hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this 90338494Sobrien because we will be making more passwd calls afterwards. On 90438494Sobrien Solaris 2.5.1, making getpwent() calls after calling endpwent() 90538494Sobrien results in a memory leak! (and no, even Purify didn't detect 90638494Sobrien it...) 90738494Sobrien 90838494SobrienTue Dec 23 18:23:47 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 90938494Sobrien 91038494Sobrien * hlfsd/hlfsd.c (main): Bug fix. Don't try to free() an 91138494Sobrien automatically allocated address. 91238494Sobrien 91338494Sobrien * amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an 91438494Sobrien automatically allocated address. 91538494Sobrien 91638494Sobrien * ALL SOURCES: change every direct call to free() to xfree(), so 91738494Sobrien it can be mapped to the right debugging function as needed. 91838494Sobrien 91938494Sobrien * include/am_utils.h: new free() policy. If debugging memory, 92038494Sobrien call dxfree(), which will print the file name and line number 92138494Sobrien where the free occurred and the pointer address. if only regular 92238494Sobrien debugging, then free() and reset the pointer to NULL so it cannot 92338494Sobrien be used afterwards inadvertently. If not DEBUG at all, then just 92438494Sobrien run free(). Three different #define macros set the right mapping. 92538494Sobrien 92638494Sobrien * libamu/xutil.c (dxfree): renamed function to dxfree(), so it can 92738494Sobrien be called only when debugging the memory. 92838494Sobrien 92938494SobrienTue Dec 23 04:24:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 93038494Sobrien 93138494Sobrien * wire-test/wire-test.c (main): use xmalloc() not malloc(). 93238494Sobrien 93338494Sobrien * conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not 93438494Sobrien calloc(). 93538494Sobrien 93638494Sobrien * conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc(). 93738494Sobrien 93838494Sobrien * conf/mount/mount_linux.c (parse_opts): use xmalloc() not 93938494Sobrien malloc(). 94038494Sobrien 94138494Sobrien * amd/info_ldap.c: use xmalloc() not malloc(). 94238494Sobrien 94338494Sobrien * libamu/xutil.c (xzalloc): new function to allocate memory and 94438494Sobrien zero its bytes. 94538494Sobrien 94638494Sobrien * amq/amq.c: amq does not need its own definition of xfree(). 94738494Sobrien 94838494Sobrien * aux/macros/opt_debug.m4: if used --enable-debug=mem, then also 94938494Sobrien look for function malloc_verify() in libmapmalloc.a, and function 95038494Sobrien mallinfo() in libmalloc. 95138494Sobrien 95238494Sobrien * libamu/xutil.c (checkup_mem): do not use mallinfo field 95338494Sobrien uordbytes, because it does not always exist. Rather, compute it 95438494Sobrien from other fields.. 95538494Sobrien 95638494Sobrien * include/am_utils.h: add external definition to xfree() function 95738494Sobrien used when debugging memory references. 95838494Sobrien 95938494SobrienMon Dec 22 03:01:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 96038494Sobrien 96138494Sobrien * amd/ops_afs.c (afs_readdir_browsable): reduce the number of 96238494Sobrien bytes heuristically computed to be returned to the kernel. 96338494Sobrien Otherwise browsable_dirs fails on OpenBSD 2.2. 96438494Sobrien 96538494Sobrien * amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of 96638494Sobrien mf_private field to AFTER it gets used. 96738494Sobrien 96838494SobrienSat Dec 20 00:51:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 96938494Sobrien 97038494Sobrien * amd/ops_host.c (host_umounted): don't use clnt_spcreateerror() 97138494Sobrien on systems that don't support it. 97238494Sobrien 97338494Sobrien * include/am_defs.h: add missing extern definition for free(). 97438494Sobrien 97538494Sobrien * aux/configure.in: check for external definition for free(). 97638494Sobrien 97738494Sobrien * libamu/Makefile.am: add to comment a mention of strstr as an 97838494Sobrien optional function. 97938494Sobrien 98038494Sobrien * libamu/xutil.c (switch_to_logfile): use openlog() options only 98138494Sobrien if they exist. 98238494Sobrien 98338494Sobrien * conf/transp/transp_sockets.c (get_nfs_version): don't use 98438494Sobrien clnt_spcreateerror if it does not exist. 98538494Sobrien 98638494Sobrien * aux/configure.in: check for missing functions clnt_create and 98738494Sobrien clnt_spcreateerror. Check for missing strstr, and complete 98838494Sobrien its code. Check for missing external definition for strstr. 98938494Sobrien 99038494Sobrien * aux/macros/host_macros.m4: normalize sun3* names. 99138494Sobrien 99238494Sobrien * Makefile.am: updates for new sunos3 files distributed. 99338494Sobrien 99438494Sobrien * conf/nfs_prot/nfs_prot_sunos3.h: new file. 99538494Sobrien 99638494Sobrien * conf/fh_dref/fh_dref_sunos3.h: new file. 99738494Sobrien 99838494Sobrien * aux/macros/check_nfs_prot_headers.m4: added sunos3 case. 99938494Sobrien 100038494Sobrien * aux/macros/check_nfs_fh_dref.m4: added sunos3 case. 100138494Sobrien 100238494Sobrien * doc/am-utils.texi (wire Selector Variable): updated manual for 100338494Sobrien adjusted variables wire, network, and netnumber, all using the 100438494Sobrien in_network() function. 100538494Sobrien 100638494SobrienFri Dec 19 04:37:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 100738494Sobrien 100838494Sobrien * amd/opts.c: allow options to be processed by executing arbitrary 100938494Sobrien functions. Converted wire, network, and netnumber all to use the 101038494Sobrien nomadic function in_network. So from now on they perform a match 101138494Sobrien against all networks, not just primary. 101238494Sobrien 101338494Sobrien * initial port to alpha-unknown-linux-gnu, probably works, but 101438494Sobrien untested yet. 101538494Sobrien 101638494Sobrien * conf/nfs_prot/nfs_prot_linux.h: add special definitions for 101738494Sobrien __FD_* macros which for som strange reason do not get included 101838494Sobrien from <selectbits.h> on redhat alpha linux. Also turn off usage of 101938494Sobrien <rpc/des_auth.h> because it is incomplete on the same systems. 102038494Sobrien 102138494Sobrien * hlfsd/homedir.c (table_add): cast uid field to int, for 102238494Sobrien comparison. 102338494Sobrien 102438494Sobrien * include/am_defs.h: more coflicts with redhat alpha linux 102538494Sobrien "resolved". 102638494Sobrien 102738494Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4: 102838494Sobrien There's a conflict of definitions on redhat alpha linux between 102938494Sobrien <netinet/in.h> and <linux/fs.h> which must be avoided. 103038494Sobrien 103138494Sobrien * aux/configure.in: check for <socketbits.h>, which is in use on 103238494Sobrien redhat alpha linux. 103338494Sobrien 103438494Sobrien * doc/am-utils.texi (Selectors): added documentation to describe 103538494Sobrien the new "!" (negated) nomadic functions. 103638494Sobrien 103738494Sobrien * amd/opts.c (f_in_network): print debugging info that is correct, 103838494Sobrien rather than saying that any ARG is on a local network. 103938494Sobrien (eval_opts): added support for negating nomadic functions, by 104038494Sobrien prepending "!" to their name. Example, !exists(/foo/bar). 104138494Sobrien 104238494SobrienThu Dec 18 20:57:19 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 104338494Sobrien 104438494Sobrien * include/am_compat.h: ensure that all NFS3 systems have the mount 104538494Sobrien table entries (and amd opts switches) "proto" and "vers". 104638494Sobrien 104738494Sobrien * hlfsd/homedir.c (table_add): added some debugging info to try 104838494Sobrien and track down a serious memory leak in hlfsd. 104938494Sobrien 105038494Sobrien1997-12-18 Erez Zadok <ezk@t-rex.mcl.cs.columbia.edu> 105138494Sobrien 105238494Sobrien * libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that 105338494Sobrien you do NOT set the noconn option, and use connected sockets 105438494Sobrien always. So I'm now forced not to set it at all, and have the user 105538494Sobrien specify it as "conn" or "noconn" in their /default entry. Argh... 105638494Sobrien Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be 105738494Sobrien buggy (TCP hangs with "short receive" kernel errors). I'd better 105838494Sobrien wait until they get it working in their version of the automounter 105938494Sobrien first. So I'm putting the "noconn" option back. 106038494Sobrien 106138494SobrienThu Dec 18 02:39:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 106238494Sobrien 106338494Sobrien * libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set 106438494Sobrien nfs_args field maxgrouplist accordingly. 106538494Sobrien 106638494Sobrien * include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition 106738494Sobrien for mount table entry for maxgroups based on NFS mount option 106838494Sobrien maxgrp. 106938494Sobrien 107038494Sobrien * aux/configure.in: put back testing for NFS mount option 107138494Sobrien "maxgrps". Added test for mount table entry "maxgroups". 107238494Sobrien 107338494Sobrien * libamu/mount_fs.c (compute_nfs_args): perform more careful tests 107438494Sobrien on nfs_proto, because it could be NULL. 107538494Sobrien 107638494Sobrien * doc/am-utils.texi (Selectors): added example of in_network() 107738494Sobrien selector. 107838494Sobrien 107938494Sobrien * aux/macros/check_hide_mount_type.m4: all hpux versions, 108038494Sobrien including 9.x, should use "ignore" as the mount type to hide from 108138494Sobrien amd. 108238494Sobrien 108338494SobrienWed Dec 17 13:09:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 108438494Sobrien 108538494Sobrien * include/am_utils.h (NSTREQ): use new macro instead of strncmp() 108638494Sobrien every where in the sources. 108738494Sobrien 108838494SobrienWed Dec 17 01:15:01 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 108938494Sobrien 109038494Sobrien * libamu/mount_fs.c (print_nfs_args): if -D trace is on, will 109138494Sobrien print as much info that is given in struct nfs_args as possible. 109238494Sobrien useful for detecting internal flags and options, as well as the 109338494Sobrien file handle used. 109438494Sobrien 109538494Sobrien * scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc 109638494Sobrien after /etc and before /etc/local. 109738494Sobrien 109838494SobrienTue Dec 16 18:51:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 109938494Sobrien 110038494Sobrien * aux/configure.in, libamu/Makefile.am: added support for linking 110138494Sobrien with specific versions of libamu. Upped shared library version of 110238494Sobrien libamu to 1 (libamu.so.1.0.0) 110338494Sobrien 110438494Sobrien * include/am_defs.h: added external definition for mkstemp() as 110538494Sobrien needed. 110638494Sobrien 110738494Sobrien * minor new port to i386-unknown-netbsd1.3 (BETA version of 110838494Sobrien netbsd). 110938494Sobrien 111038494Sobrien * aux/config.guess: don't leave a trailing '.' on the system name 111138494Sobrien for NetBSD-1.3_BETA and similarly for OpenBSD. 111238494Sobrien 111338494Sobrien * conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight 111438494Sobrien differences in ypall calling conventions. 111538494Sobrien 111638494Sobrien * mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible 111738494Sobrien in preference over mktemp(), b/c it is more secure. 111838494Sobrien 111938494Sobrien * aux/configure.in: check for mkstemp(), a more secure version of 112038494Sobrien mktemp(). 112138494Sobrien 112238494SobrienMon Dec 15 02:32:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 112338494Sobrien 112438494Sobrien * amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount 112538494Sobrien table "vers" option generally do not set the mnttab entry to 112638494Sobrien "nfs3", but to "nfs" and then they set "vers=3". Setting it to 112738494Sobrien "nfs3" works, but it may break some things like "df -t nfs" and 112838494Sobrien the "quota" program (esp. on Solaris and Irix). So on those 112938494Sobrien systems, set it to "nfs". 113038494Sobrien 113138494SobrienSat Dec 13 01:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 113238494Sobrien 113338494Sobrien * doc/am-utils.texi (Distrib): updates for new ports, location of 113438494Sobrien am-utils' home page, and URL cross references (now supported by my 113538494Sobrien version of texi2html). 113638494Sobrien 113738494Sobrien * aux/macros/check_mtype_type.m4: also use string type for file 113838494Sobrien system mount types under nextstep for mount(2). 113938494Sobrien 114038494Sobrien * aux/macros/check_mtype_printf_type.m4}: nextstep can handle both 114138494Sobrien integer and string types for file system mount types in mount(2), 114238494Sobrien but it is better to use string types. 114338494Sobrien 114438494Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to 114538494Sobrien 0, not 1! Otherwise, all NFS calls (esp. mount) return errno 1 114638494Sobrien (EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now 114738494Sobrien works. 114838494Sobrien 114938494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0, 115038494Sobrien not 1! Otherwise, all NFS calls (esp. mount) return errno 1 115138494Sobrien (EPERM) instead of 0 (OK). 115238494Sobrien 115338494Sobrien * libamu/xdr_func.c (xdr_*): add debugging calls that are optioned 115438494Sobrien by -D trace (protocol trace). 115538494Sobrien 115638494Sobrien1997-12-11 Erez Zadok <ezk@bach.cs.columbia.edu> 115738494Sobrien 115838494Sobrien * A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR 115938494Sobrien macro based on existence on others, and include <sys/stat.h>. 116038494Sobrien 116138494SobrienThu Dec 11 14:14:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 116238494Sobrien 116338494Sobrien * aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off 116438494Sobrien inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on 116538494Sobrien which this header is broken (it tries to include non-existing 116638494Sobrien headers). 116738494Sobrien 116838494SobrienWed Dec 10 16:09:07 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 116938494Sobrien 117038494Sobrien * libamu/mount_fs.c (mnt_flags): support either nfs or generic 117138494Sobrien mount option for grpid. 117238494Sobrien 117338494Sobrien * aux/configure.in: turn back on NFS mount option grpid. 117438494Sobrien 117538494SobrienSat Dec 6 04:36:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 117638494Sobrien 117738494Sobrien * doc/Makefile.am (install-ps): added target to install postscript 117838494Sobrien file in the am-utils' home page, as well as a few other useful 117938494Sobrien files for the new am-utils Web page. 118038494Sobrien 118138494SobrienMon Nov 17 05:22:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 118238494Sobrien 118338494Sobrien ******************************************************************* 118438494Sobrien *** Released am-utils-6.0a14 *** 118538494Sobrien ******************************************************************* 118638494Sobrien 118738494SobrienSun Nov 16 21:56:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 118838494Sobrien 118938494Sobrien * doc/am-utils.texi (Supported Platforms): updated table of new 119038494Sobrien ports. 119138494Sobrien 119238494SobrienSat Nov 15 06:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 119338494Sobrien 119438494Sobrien * libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab 119538494Sobrien options so that they can be printed in logs as needed. 119638494Sobrien 119738494Sobrien * doc/am-utils.texi (osver Parameter): updated for the correct 119838494Sobrien usage of the -o/-O options. 119938494Sobrien 120038494Sobrien * scripts/amd.conf.5: corrected info for -o/-O options. 120138494Sobrien 120238494Sobrien * amd/amd.8: updated man page for new -O op_sys_name option, and 120338494Sobrien corrected the usage of the -o op_sys_ver option 120438494Sobrien 120538494Sobrien * amd/get_args.c (get_args): added new amd option -O to override 120638494Sobrien OS name. 120738494Sobrien (get_args): updated usage string. Removed old -m option. Added 120838494Sobrien -o and -O options. 120938494Sobrien 121038494Sobrien * conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case 121138494Sobrien it is not there. Reportedly, irix 5.2 does not define it. 121238494Sobrien 121338494Sobrien * scripts/lostaltmail.in: removed references to unused $hack 121438494Sobrien variable. 121538494Sobrien 121638494Sobrien * aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf 121738494Sobrien <metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers 121838494Sobrien for solaris2.5. 121938494Sobrien 122038494Sobrien * doc/am-utils.texi (Distrib): typo in the subscription 122138494Sobrien instructions to amd-dev. Patch from Stefan Vogel 122238494Sobrien <vogel@physik-rzu.unizh.ch>. 122338494Sobrien 122438494Sobrien1997-11-15 Erez Zadok <ezk@amtrak.cs.columbia.edu> 122538494Sobrien 122638494Sobrien * NFS3 works on powerpc-ibm-aix4.2.1.0. 122738494Sobrien 122838494Sobrien * libamu/mount_fs.c (compute_nfs_args): set fh3 variable to 122938494Sobrien static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the 123038494Sobrien stack of an automatic variable when pointer to it is passed around 123138494Sobrien several times. 123238494Sobrien 123338494SobrienFri Nov 14 20:09:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 123438494Sobrien 123538494Sobrien * libamu/xutil.c (real_plog): syslog like behavior for normal 123638494Sobrien logging. Will not print repeated strings, only a count "last 123738494Sobrien message repeated N times", but will always print something if 123838494Sobrien message is repeated more than 100 times. 123938494Sobrien 124038494Sobrien * scripts/lostaltmail.in: look for lostaltmail.conf files also in 124138494Sobrien /etc/global, /etc/os, and /etc/local (in that order). 124238494Sobrien 124338494SobrienMon Nov 10 03:03:17 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 124438494Sobrien 124538494Sobrien * conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3 124638494Sobrien mounts. 124738494Sobrien 124838494Sobrien * aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for 124938494Sobrien aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h 125038494Sobrien 125138494Sobrien * conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the 125238494Sobrien NFS_SA_DREF macro is a pointer to the structure that used to be 125338494Sobrien passed to it before. So now I have to dereference the pointer 125438494Sobrien before accessing its values. 125538494Sobrien 125638494Sobrien * hlfsd/hlfsd.c (main): use the new and cleaner 125738494Sobrien compute_nfs_args() and compute_automounter_nfs_args() functions. 125838494Sobrien 125938494Sobrien * amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner 126038494Sobrien compute_nfs_args() and compute_automounter_nfs_args() functions. 126138494Sobrien 126238494Sobrien * amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION. Use the new 126338494Sobrien and cleaner compute_nfs_args() and compute_automounter_nfs_args() 126438494Sobrien functions. 126538494Sobrien 126638494Sobrien * libamu/mount_fs.c (compute_nfs_args): major code cleanup that 126738494Sobrien relates for struct nfs_args. A new function sets the numerous 126838494Sobrien possible flags and fields of nfs_args_t in an orderly fashion. 126938494Sobrien Code cleaned up, organized, and moved from amd/hlfsd into 127038494Sobrien libamu. This saves on overall size of code. 127138494Sobrien (compute_automounter_nfs_args): A variant of compute_nfs_args() 127238494Sobrien which sets special options/flags that need to be used when NFS 127338494Sobrien mounting an automounter's mount point. Used by hlfsd and amd. 127438494Sobrien 127538494Sobrien * amq/amq.c (get_secure_amd_client): don't print any more 127638494Sobrien "get_secure_amd_client: using TCP, port 12345". It's more 127738494Sobrien annoying than useful a message, even when assumed to be compiled 127838494Sobrien under DEBUG only. 127938494Sobrien 128038494SobrienThu Oct 30 14:33:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 128138494Sobrien 128238494Sobrien * aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs 128338494Sobrien mount table entries. The code used to define the /etc/mnttab name 128438494Sobrien for file systems based on physical media (disk, cdrom, floppy) to 128538494Sobrien the generic name, rather than the OS specific name. For example 128638494Sobrien autoconf searches for all these types of mount table entries for a 128738494Sobrien floppy based file system: vfat pcfs pc msdos msdosfs fat. But if 128838494Sobrien it found any, it hard-coded the mnttab name to "pcfs" rather than 128938494Sobrien the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs, 129038494Sobrien nullfs, unionfs, and umapfs. 129138494Sobrien 129238494Sobrien * aux/configure.in: also test for xfs (for newer Irix) when 129338494Sobrien looking for mount type names, numbers, etc of a disk-based ufs. 129438494Sobrien 129538494SobrienSun Oct 26 19:32:57 1997 Erez Zadok <ezk@defiant.soscorp.com> 129638494Sobrien 129738494Sobrien * amq/amq.c (main): use pmap_ping() to test if remote host is up. 129838494Sobrien This works better on bsdi2 and bsdi3, because their portmapper 129938494Sobrien does not appear to like forwarding operations (it is generaly 130038494Sobrien insecure). 130138494Sobrien 130238494SobrienSat Oct 25 04:55:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 130338494Sobrien 130438494Sobrien ******************************************************************* 130538494Sobrien *** Released am-utils-6.0a13 *** 130638494Sobrien ******************************************************************* 130738494Sobrien 130838494SobrienFri Oct 24 05:04:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 130938494Sobrien 131038494Sobrien * conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for 131138494Sobrien struct datum typedef. 131238494Sobrien 131338494Sobrien * conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for 131438494Sobrien ypall_callback_fxn_t for netbsd. 131538494Sobrien 131638494Sobrien * aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for 131738494Sobrien the 5th arg to authunix_create(), while before and after they used 131838494Sobrien gid_t. 131938494Sobrien 132038494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use 132138494Sobrien clnt_create_timed() on older Solaris 2.3 systems that did not have 132238494Sobrien it. 132338494Sobrien 132438494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for 132538494Sobrien kernel only on bsdi2, so do not include it. 132638494Sobrien 132738494SobrienFri Oct 24 00:29:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 132838494Sobrien 132938494Sobrien * hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated 133038494Sobrien messages about resolution of mailboxes based on uid/gid. 133138494Sobrien 133238494Sobrien * scripts/ctl-hlfsd.in: check for alternate password file in 133338494Sobrien ${prefix}/etc/passwd and use it in hlfsd's startup. 133438494Sobrien 133538494SobrienThu Oct 23 22:48:50 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 133638494Sobrien 133738494Sobrien * hlfsd/homedir.c (hlfsd_getpwent): added support for -P 133838494Sobrien passwdfile option. If hlfsd is started with -P passwdfile, then 133938494Sobrien the passwdfile is read and parsed just as a standard unix 134038494Sobrien passwd(4) file. Only the username, uid, and homedir fields are 134138494Sobrien read and checked. All the rest are ignored. No NIS/netgroup 134238494Sobrien support! 134338494Sobrien 134438494Sobrien * hlfsd/hlfsd.c (main): check if hlfsd is run as root after 134538494Sobrien parsing command line options, so that usage() can be printed when 134638494Sobrien -h is invoked. 134738494Sobrien 134838494SobrienWed Oct 22 00:16:39 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 134938494Sobrien 135038494Sobrien * amd/nfs_start.c (mount_automounter): if autofs service listener 135138494Sobrien fails to initialize it is OK if using a test amd. 135238494Sobrien 135338494Sobrien * amd/opts.c (f_in_network): new nomadic function in_network(arg), 135438494Sobrien which returns TRUE if 'arg' is any one of this host's networks. 135538494Sobrien 135638494Sobrien * libamu/wire.c (getwire): rewritten parts of function, to store 135738494Sobrien all networks names and numbers in the order of the interface (not 135838494Sobrien in reverse). 135938494Sobrien 136038494SobrienMon Oct 20 01:59:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 136138494Sobrien 136238494Sobrien * aux/configure.in: don't add ops_ufs.o on AIX twice. My code 136338494Sobrien would have worked had it not been due to AIX's buggy /bin/sh. 136438494Sobrien 136538494Sobrien * doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and 136638494Sobrien am-utils.ps in the distribution sources. 136738494Sobrien (html): generate html documentation for 136838494Sobrien http://www.cs.columbia.edu/~ezk/am-utils/ 136938494Sobrien 137038494SobrienSun Oct 19 12:35:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 137138494Sobrien 137238494Sobrien * conf/nfs_prot/nfs_prot_netbsd.h: override the definition of 137338494Sobrien ypall_callback_fxn_t. The NetBSD team compiles all sources with 137438494Sobrien gcc -Wall -Wmissing-prototypes -Wstrict-prototypes. 137538494Sobrien 137638494Sobrien * amd/info_nis.c: allow for override of ypall_callback_fxn_t 137738494Sobrien function typedef. 137838494Sobrien 137938494Sobrien * libamu/xutil.c (amu_release_controlling_tty): new function to 138038494Sobrien release the controlling tty in a clean and sane manner. No longer 138138494Sobrien using setpgid() b/c it may not work. Uses setsid(), 138238494Sobrien and ioctl() (in order). This new function is used in amd/amd.c 138338494Sobrien and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some 138438494Sobrien systems, but on others it is the same as setpgid(). 138538494Sobrien 138638494SobrienSat Oct 18 23:42:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 138738494Sobrien 138838494Sobrien * aux/acconfig.h: check for nfs mount option 'fsname'. Code for 138938494Sobrien it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but 139038494Sobrien never used, because the configure test for fsname flag wasn't 139138494Sobrien used. This fixed a bug in HPUX 10, where syncer and manual mounts 139238494Sobrien left blank lines in /etc/mnttab. 139338494Sobrien 139438494Sobrien * aux/configure.in: check for nfs mount option 'fsname'. 139538494Sobrien 139638494SobrienFri Oct 17 13:30:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 139738494Sobrien 139838494Sobrien * amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs 139938494Sobrien mount flags of toplvl mounts. Important esp. for HPUX 10. Now 140038494Sobrien hpux-10 will mount amd's mounts points as 'ignore' (by df). 140138494Sobrien 140238494Sobrien * aux/configure.in: check for NFS mount option 'ignore', useful in 140338494Sobrien HPUX 10. 140438494Sobrien 140538494SobrienThu Oct 16 03:28:33 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 140638494Sobrien 140738494Sobrien * aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore" 140838494Sobrien mount type and not NFS, for the amd mount points. 140938494Sobrien 141038494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log 141138494Sobrien an RPC timeout as an error, but just an info message. From 141238494Sobrien Andreas Stolcke <stolcke@speech.sri.com> 141338494Sobrien 141438494Sobrien * If the NFS server is down or does not support the portmapper 141538494Sobrien call (such as certain Novell NFS servers) we mark it as version 2 141638494Sobrien and we let the nfs code deal with the case that is down. If when 141738494Sobrien the server comes back up, it can support NFS V.3 and/or TCP, it 141838494Sobrien will use those. From christos@deshaw.com (Christos Zoulas). 141938494Sobrien 142038494Sobrien * hlfsd/homedir.c (plt_print): various compile time cleanups to 142138494Sobrien printfs that take a long, but pass an int to print. From 142238494Sobrien christos@deshaw.com (Christos Zoulas). 142338494Sobrien 142438494Sobrien * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new 142538494Sobrien macro to determine if the OS has a bad yp_all(), based on the host 142638494Sobrien OS name. So far only irix (all versions) have a bad yp_all, so 142738494Sobrien they will use am_yp_all() instead (which is slower as it 142838494Sobrien enumerates manually all of the map's entries). 142938494Sobrien 143038494SobrienThu Oct 16 03:14:37 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 143138494Sobrien 143238494Sobrien * amd/info_nis.c (am_yp_all): code for a replacement yp_all that 143338494Sobrien avoids using a file-descriptor leaking yp_all() on some systems 143438494Sobrien like irix. 143538494Sobrien 143638494SobrienWed Oct 15 21:52:35 1997 Erez Zadok <ezk> 143738494Sobrien 143838494Sobrien * fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x 143938494Sobrien systems using /usr/bin/flex. 144038494Sobrien 144138494Sobrien * amd/conf_tok.l (yywrap): avoid redefining yywrap for systems 144238494Sobrien that have a modified GNU flex which does define yywrap (DU-4.x). 144338494Sobrien 144438494SobrienFri Sep 26 14:25:29 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 144538494Sobrien 144638494Sobrien * conf/checkmount/checkmount_bsd44.c: include prototype. 144738494Sobrien 144838494SobrienFri Sep 26 01:26:24 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 144938494Sobrien 145038494Sobrien ******************************************************************* 145138494Sobrien *** Released am-utils-6.0a12 *** 145238494Sobrien ******************************************************************* 145338494Sobrien 145438494SobrienFri Sep 26 00:13:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 145538494Sobrien 145638494Sobrien * conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs 145738494Sobrien code in irix6 until it can be tested correctly 145838494Sobrien 145938494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out 146038494Sobrien on clnt_create for 3 seconds, rather than wait for the much longer 146138494Sobrien default. 146238494Sobrien 146338494Sobrien * conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0. 146438494Sobrien Includes NFS3, untested. 146538494Sobrien 146638494SobrienThu Sep 25 11:03:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 146738494Sobrien 146838494Sobrien * amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of 146938494Sobrien pcfs_args_t if they exist. 147038494Sobrien 147138494Sobrien * amd/ops_cdfs.c (mount_cdfs): fill in ssector field of 147238494Sobrien cdfs_args_t if it exists. 147338494Sobrien 147438494Sobrien * new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05, 147538494Sobrien hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4. 147638494Sobrien 147738494SobrienWed Sep 24 00:48:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 147838494Sobrien 147938494Sobrien * doc/am-utils.texi (wire-test): updated documentation for the new 148038494Sobrien option. 148138494Sobrien 148238494Sobrien * wire-test/wire-test.8: updated man page for new option. 148338494Sobrien 148438494Sobrien * wire-test/wire-test.c (main): added a test for various 148538494Sobrien combinations of NFS proto/vers to a remote/local host. 148638494Sobrien 148738494Sobrien * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 148838494Sobrien <isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that 148938494Sobrien freebsd will correctly set mount options for pcfs and cdfs. 149038494Sobrien 149138494Sobrien * amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to 149238494Sobrien 0777 (if field exists). 149338494Sobrien 149438494Sobrien * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 149538494Sobrien <msdosfs/msdosfsmount.h> if available. 149638494Sobrien 149738494Sobrien * minor new port: rs6000-ibm-aix4.1.4.0. 149838494Sobrien 149938494Sobrien * libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to 150038494Sobrien write the "time" field in /etc/mnttab. 150138494Sobrien 150238494Sobrien * conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for 150338494Sobrien detecting mnt_time field of mntent_t. 150438494Sobrien 150538494Sobrien * libamu/mtab.c (mnt_free): fixed typo in macro names for 150638494Sobrien detecting mnt_time field of mntent_t. 150738494Sobrien 150838494SobrienTue Sep 23 15:30:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 150938494Sobrien 151038494Sobrien * conf/mtab/mtab_file.c (lock): Use flock() in preference over 151138494Sobrien fcntl() to lock the mtab file. 151238494Sobrien 151338494SobrienMon Sep 22 23:04:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 151438494Sobrien 151538494Sobrien * conf/transp/transp_sockets.c (get_nfs_version): define 151638494Sobrien the try_again goto label only for NFS3. 151738494Sobrien (pmap_ping): assume timeout failure of clnt_stat. 151838494Sobrien 151938494Sobrien * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to 152038494Sobrien "groups *". 152138494Sobrien 152238494SobrienMon Sep 22 20:34:33 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 152338494Sobrien 152438494Sobrien * conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley 152538494Sobrien <dsr@mail.lns.cornell.edu> to make sure that amd works with more 152638494Sobrien secure portmappers that do not allow forwarding of RPC messages to 152738494Sobrien other services. 152838494Sobrien 152938494Sobrien * */Makefile.am: all source files should also depend on the new 153038494Sobrien include/am_xdr_func.h header. 153138494Sobrien 153238494Sobrien * include/am_xdr_func.h: new file as part of the code cleanup from 153338494Sobrien Christos Zoulas <christos@deshaw.com>. 153438494Sobrien 153538494Sobrien * Lots of fixes from Christos Zoulas <christos@deshaw.com> that 153638494Sobrien involved missing prototypes, cleaned up ones, and removal of 153738494Sobrien unused variables. 153838494Sobrien 153938494Sobrien * libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch 154038494Sobrien statement with only one case is unclean. 154138494Sobrien 154238494SobrienMon Sep 22 17:26:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 154338494Sobrien 154438494Sobrien * amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to 154538494Sobrien 0 so that all fields are initialized to zero at first. This way 154638494Sobrien SunOS 4.x and other systems don't get /etc/mtab entries with 154738494Sobrien random integers for the fsck/freq fields. Patch from Andreas 154838494Sobrien Stolcke <stolcke@speech.sri.com>. 154938494Sobrien 155038494SobrienMon Sep 22 00:34:19 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 155138494Sobrien 155238494Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so 155338494Sobrien that the important definition for HOSTNAMESZ will be found. 155438494Sobrien 155538494Sobrien * amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ 155638494Sobrien (inside the nfs_args structure) if the system uses that macro. 155738494Sobrien Otherwise systems like SunOS refuse to NFS mount long pathnames 155838494Sobrien and result in ENAMETOOLONG errno's. 155938494Sobrien 156038494SobrienWed Sep 17 04:56:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 156138494Sobrien 156238494Sobrien * doc/am-utils.texi (Supported Platforms): specify new support for 156338494Sobrien solaris 2.6, and hlfsd running on 2.5.1 too. 156438494Sobrien 156538494SobrienWed Sep 17 03:55:02 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 156638494Sobrien 156738494Sobrien * conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs 156838494Sobrien mount if it is not supported or was turned off. 156938494Sobrien 157038494SobrienWed Sep 17 03:19:36 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 157138494Sobrien 157238494Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount 157338494Sobrien again. Apparently at some previous release SunOS 4 supported was 157438494Sobrien broken and all nfs mounts resulted in ESTALE. 157538494Sobrien 157638494SobrienWed Sep 17 00:26:25 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 157738494Sobrien 157838494Sobrien * conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for 157938494Sobrien solaris 2.6. 158038494Sobrien 158138494Sobrien * aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs 158238494Sobrien protocol header selection. 158338494Sobrien 158438494SobrienSat Sep 13 14:31:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 158538494Sobrien 158638494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid 158738494Sobrien infinite loop. 158838494Sobrien 158938494SobrienSun Sep 7 18:23:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 159038494Sobrien 159138494Sobrien ******************************************************************* 159238494Sobrien *** Released am-utils-6.0a11 *** 159338494Sobrien ******************************************************************* 159438494Sobrien 159538494SobrienFri Sep 5 11:55:10 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 159638494Sobrien 159738494Sobrien * amd/amd.c (main): if plock() succeeded, don't try to display 159838494Sobrien errno message. Patch from Chris Metcalf 159938494Sobrien <metcalf@catfish.lcs.mit.edu. 160038494Sobrien 160138494SobrienThu Sep 4 19:17:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 160238494Sobrien 160338494Sobrien * hlfsd/homedir.c (table_add): make sure duplicate passwd entries 160438494Sobrien are ignored. Only the first entry should ever be used, because 160538494Sobrien that's how lookup in passwd database works. 160638494Sobrien 160738494Sobrien * conf/transp/transp_sockets.c (get_nfs_version): when determining 160838494Sobrien if a remote host is up or down, use NFS v.2. Fix suggested by 160938494Sobrien Enami Tsugutomo <enami@cv.sony.co.jp>. 161038494Sobrien 161138494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): new 161238494Sobrien function to get the best possible NFS version, but also timeout 161338494Sobrien faster than normal defaults, so remote hosts which are down can be 161438494Sobrien detected in a reasonable time. 161538494Sobrien (get_nfs_version): use the new "best" function. 161638494Sobrien 161738494SobrienTue Sep 2 00:41:00 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 161838494Sobrien 161938494Sobrien ******************************************************************* 162038494Sobrien *** Released am-utils-6.0a10 *** 162138494Sobrien ******************************************************************* 162238494Sobrien 162338494SobrienMon Sep 1 15:39:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 162438494Sobrien 162538494Sobrien * conf/transp/transp_tli.c (get_nfs_version): don't use 162638494Sobrien clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4 162738494Sobrien and earlier). 162838494Sobrien 162938494Sobrien * aux/configure.in: test for existence of clnt_tp_create_timed(), 163038494Sobrien since Solaris 2.4 (and possibly earlier) do not have it. 163138494Sobrien 163238494SobrienMon Sep 1 15:23:18 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 163338494Sobrien 163438494Sobrien * amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid 163538494Sobrien field if it exists (solaris 2.4's autofs does not have it). 163638494Sobrien 163738494SobrienMon Sep 1 14:45:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 163838494Sobrien 163938494Sobrien * aux/macros/type_auth_create_gidlist.m4: a new test to determine 164038494Sobrien the correct type to the 5th argument of authunix_create(). 164138494Sobrien 164238494SobrienMon Sep 1 03:44:32 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 164338494Sobrien 164438494Sobrien * libamu/xdr_func.c (xdr_umntrequest): add test for autofs 164538494Sobrien structure umntrequest, if it has the field rdevid. Seems Solaris 164638494Sobrien 2.4 and earlier didn't have it. 164738494Sobrien 164838494SobrienMon Sep 1 01:10:53 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 164938494Sobrien 165038494Sobrien * hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it 165138494Sobrien can be done before primary process forks. 165238494Sobrien (main): bug fix: wait a bit to give child a chance to initialize. 165338494Sobrien Without this, hlfsd got into a busy infinite loop while, never 165438494Sobrien completing the mount. 165538494Sobrien 165638494Sobrien * amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov> 165738494Sobrien to make amd works when talking to NIS+ servers in NIS 165838494Sobrien compatibility mode. 165938494Sobrien 166038494SobrienMon Sep 1 00:46:56 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 166138494Sobrien 166238494Sobrien * amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024. 166338494Sobrien 166438494SobrienSun Aug 31 20:20:40 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 166538494Sobrien 166638494Sobrien * amd/conf.c (gopt_fully_qualified_hosts): a new function to 166738494Sobrien process another new global variable. 166838494Sobrien 166938494Sobrien * amd/ops_nfs.c (make_nfs_auth): if a new global variable 167038494Sobrien fully_qualified_hosts is on, use FQHN in RPC/NFS authentications. 167138494Sobrien Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>. 167238494Sobrien 167338494Sobrien * amd/conf.c (process_last_regular_map): If the amd.conf file only 167438494Sobrien has a [global] section (pretty useless IMHO), do not try to 167538494Sobrien process a map that does not exist. 167638494Sobrien 167738494Sobrien * scripts/amd.conf.5: fixed typos (repeated 'as' word). 167838494Sobrien 167938494Sobrien * doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!! 168038494Sobrien 168138494Sobrien * amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm 168238494Sobrien structure, so it does not carry over from map entry to another. 168338494Sobrien 168438494SobrienSat Aug 30 18:39:21 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 168538494Sobrien 168638494Sobrien * amd/amd.c (main): fixed the meaning of the plock option. A bug 168738494Sobrien caused it to be reversed. 168838494Sobrien 168938494SobrienSat Aug 30 15:13:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 169038494Sobrien 169138494Sobrien * hlfsd/stubs.c: don't initialize some statics here. They are 169238494Sobrien better initialized in hlfsd_init_filehandles(). 169338494Sobrien 169438494SobrienFri Aug 22 14:47:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 169538494Sobrien 169638494Sobrien * amd/conf.c (gopt_show_statfs_entries): new function and a global 169738494Sobrien amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes', 169838494Sobrien then all maps flagged as browsable will also show a count of the 169938494Sobrien number of entries (keys) in that map. 170038494Sobrien 170138494Sobrien * amd/nfs_subr.c (count_map_entries): new function to count number 170238494Sobrien of entries in a map. Now used if browsable is turned on in a map, 170338494Sobrien to return a count of available keys in a given map. 170438494Sobrien 170538494Sobrien * hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd 170638494Sobrien confused the file handles for ".", "..", and the symlink, causing 170738494Sobrien mess. 170838494Sobrien 170938494Sobrien * aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12, 171038494Sobrien but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts 171138494Sobrien with bad memcmp() in libc's (nextstep3). 171238494Sobrien 171338494SobrienThu Aug 21 17:38:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 171438494Sobrien 171538494Sobrien * aux/configure.in: check if autofs_args_t has a field named 171638494Sobrien addr. Solaris has it for specifying the address of the daemon, 171738494Sobrien but Irix does not. So how does irix tell the kernel the daemon's 171838494Sobrien address? I suspect that it is hardcoded to "localhost" using a 171938494Sobrien "private well-known port" (#define AUTOFS_PORT 2048). 172038494Sobrien 172138494Sobrien * conf/nfs_prot/nfs_prot_linux.h: added missing autofs 172238494Sobrien definitions. 172338494Sobrien 172438494Sobrien * README.autofs: new file listing autofs support notes 172538494Sobrien 172638494Sobrien * very preliminary autofs code working. Call it pre-alpha 172738494Sobrien quality. 172838494Sobrien 172938494SobrienSun Aug 17 02:25:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 173038494Sobrien 173138494Sobrien * amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept 173238494Sobrien "autofs" if system does not support it. 173338494Sobrien 173438494Sobrien * amd/amd.c (main): log am-utils version string (same as amd -v) 173538494Sobrien at start of run. 173638494Sobrien 173738494Sobrien * conf/transp/transp_sockets.c (get_nfs_version): in order to tell 173838494Sobrien if a remote host is available, try to contact its portmapper and 173938494Sobrien timeout if no answer is received in 3 seconds. 174038494Sobrien 174138494SobrienThu Aug 14 16:12:04 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 174238494Sobrien 174338494Sobrien * aux/macros/check_extern.m4 (pattern): use a simpler pattern for 174438494Sobrien match for external function definitions. The function could span 174538494Sobrien multiple lines, so only match the opening parenthesis, not the 174638494Sobrien closing one too. 174738494Sobrien 174838494Sobrien * aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on 174938494Sobrien posix mode for nextstep3. It is broken. 175038494Sobrien 175138494Sobrien * amd/amd.c (init_global_options): run uname() only if 175238494Sobrien <sys/utsname.h> and uname(2) exist. 175338494Sobrien 175438494Sobrien * amd/rpc_fwd.c (fwd_packet): if remote host is down, the 175538494Sobrien forwarding socket is null, so declare this an error. 175638494Sobrien 175738494Sobrien * include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set 175838494Sobrien for when a remote host is down. Try, in order, "host down", "host 175938494Sobrien unreachable", "invalid argument". 176038494Sobrien 176138494Sobrien * amd/ops_nfs.c (discard_fh): don't dereference a null pointer 176238494Sobrien (happens when remote host is down, and fp->fh_fs is NULL). 176338494Sobrien (prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID 176438494Sobrien and FSF_DOWN. 176538494Sobrien 176638494Sobrien * amd/sched.c: nobody uses "union wait" any more, or so it 176738494Sobrien appears, so clean up that code. 176838494Sobrien 176938494Sobrien * conf/transp/transp_tli.c (get_nfs_version): if remote host is 177038494Sobrien down, time it out faster than default (3 seconds). 177138494Sobrien (get_mount_client): free netconfig entry when done with it. 177238494Sobrien 177338494Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly) 177438494Sobrien port to nextstep3 (m68k-next-nextstep3). 177538494Sobrien 177638494Sobrien * fsinfo/Makefile.am (LDADD): needs to link with libamu in case 177738494Sobrien system does not have strdup(). 177838494Sobrien 177938494Sobrien * include/am_defs.h: complete external definition for getlogin() 178038494Sobrien if needed. 178138494Sobrien 178238494Sobrien * conf/transp/transp_tli.c (get_nfs_version): no need to keep 178338494Sobrien static versout variable. 178438494Sobrien 178538494Sobrien * amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote 178638494Sobrien server is probably down. Don't use sendto() in that case. 178738494Sobrien 178838494Sobrien * buildall (default): run gmake if found, before trying plain 178938494Sobrien make. GNU make is always preferable. 179038494Sobrien 179138494SobrienTue Aug 12 21:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 179238494Sobrien 179338494Sobrien * aux/macros/host_macros.m4: cleanup of os_version and os 179438494Sobrien overrides. Solaris 2.5.1 for example will come up as solaris2 and 179538494Sobrien 2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in 179638494Sobrien the amd.conf file. 179738494Sobrien 179838494SobrienFri Aug 8 14:37:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 179938494Sobrien 180038494Sobrien ******************************************************************* 180138494Sobrien *** Released am-utils-6.0a9 *** 180238494Sobrien ******************************************************************* 180338494Sobrien 180438494SobrienThu Aug 7 00:52:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 180538494Sobrien 180638494Sobrien * conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2 180738494Sobrien (i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff 180838494Sobrien from <ndbm.h> and <sys/resource.h>. 180938494Sobrien 181038494Sobrien * scripts/amd.conf.5: new map page. 181138494Sobrien 181238494Sobrien * amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3 181338494Sobrien does not. 181438494Sobrien 181538494Sobrien * amd/amd.8: updated man page. 181638494Sobrien 181738494Sobrien * amd/get_args.c (get_args): removed defunct -h option to amd. 181838494Sobrien 181938494Sobrien * amq/amq.8: updated man page. 182038494Sobrien 182138494Sobrien * amd/info_nisplus.c (nisplus_search): prototype fixes so Sun 182238494Sobrien SparcCompiler CC won't complain. 182338494Sobrien 182438494Sobrien * amd/info_hesiod.c (hesiod_search): small fixes to compile with 182538494Sobrien hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>. 182638494Sobrien 182738494Sobrien * aux/macros/opt_ldflags.m4: new option added to configure 182838494Sobrien --enable-ldflags, to specify -L option for configuring/compiling. 182938494Sobrien The older one --enable-libs is now to be used only for -l options. 183038494Sobrien 183138494Sobrien * amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize 183238494Sobrien nc_protoname from nfs_proto if available for all TLI systems, not 183338494Sobrien just those that have NFS V3. 183438494Sobrien 183538494Sobrien * amd/info_ldap.c: ldap patches from Leif Johansson 183638494Sobrien <leifj@matematik.su.se>, adding two new amd.conf ldap variables: 183738494Sobrien ldap_cache_seconds and ldap_cache_maxmem. 183838494Sobrien 183938494Sobrien * hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in 184038494Sobrien htons(). 184138494Sobrien 184238494SobrienSun Aug 3 17:20:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 184338494Sobrien 184438494Sobrien * amd/nfs_start.c (mount_automounter): register amd with the rpc 184538494Sobrien program number that may have been overridden by amd.conf. 184638494Sobrien 184738494Sobrien * libamu/xutil.c (set_amd_program_number, get_amd_program_number): 184838494Sobrien allow storing and retrieving alternate amd program numbers. 184938494Sobrien 185038494Sobrien * amd/conf.c (gopt_portmap_program): new function to parse 185138494Sobrien amd.conf entry portmap_program=1234. 185238494Sobrien 185338494Sobrien * amq/amq.c (main): allow specifying an alternate rpc program 185438494Sobrien number for amd via -P prognum. 185538494Sobrien 185638494Sobrien * new amq RPC to get the process id of the running amd. This is 185738494Sobrien used in ctl-amd to quickly find the pid of the amd that is to be 185838494Sobrien killed. 185938494Sobrien 186038494Sobrien * expanded shared libraries support. Using GNU libtool-1.0, 186138494Sobrien am-utils now builds shared libraries on many platforms that have 186238494Sobrien support for it and proper compilers/linkers. See "INSTALL" file 186338494Sobrien for compatibility chart. 186438494Sobrien 186538494SobrienThu Jul 31 13:07:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 186638494Sobrien 186738494Sobrien * fsinfo/fsi_lex.l: removed code that was in support of very old 186838494Sobrien versions of flex. No longer needed. 186938494Sobrien 187038494SobrienTue Jul 29 12:00:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 187138494Sobrien 187238494Sobrien * amd/amd.c (init_global_options): find the kernel architecture 187338494Sobrien from uname() if possible. 187438494Sobrien 187538494SobrienMon Jul 28 03:53:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 187638494Sobrien 187738494Sobrien * new working port: i386-unknown-openbsd2.1 187838494Sobrien 187938494SobrienFri Jul 25 03:16:31 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 188038494Sobrien 188138494Sobrien * working port: sparc-sun-solaris2.4. Had to fix fhandle_t from 188238494Sobrien structure to actual char[], because the structure was passed to 188338494Sobrien xdr_fhandle as data and not a pointer. Surprisingly, gcc 188438494Sobrien -fpcc-struct-return did not help. 188538494Sobrien 188638494Sobrien * conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol 188738494Sobrien definitions for solaris 2.4 have to be different from 2.3, and 188838494Sobrien different from 2.5. 188938494Sobrien 189038494Sobrien * libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup. 189138494Sobrien 189238494SobrienThu Jul 24 16:22:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 189338494Sobrien 189438494Sobrien * conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount 189538494Sobrien types, not ==. Fix from Christos Zoulas <christos@deshaw.com>. 189638494Sobrien 189738494Sobrien * mk-amd-map/mk-amd-map.8: man page taken from bsd44. 189838494Sobrien 189938494SobrienThu Jul 24 00:01:55 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 190038494Sobrien 190138494Sobrien * conf/mount/mount_linux.c: made the nfs error mapping code into a 190238494Sobrien small function. 190338494Sobrien 190438494SobrienWed Jul 23 16:11:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 190538494Sobrien 190638494Sobrien * conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special 190738494Sobrien error mappings from errno numbers to NFS errors. From Debian 190838494Sobrien Linux. 190938494Sobrien 191038494Sobrien * scripts/am-eject.in (fs): new script (taken from Debian Linux 191138494Sobrien folks) to auto-unmount floppy/cd devices before ejecting them. 191238494Sobrien 191338494Sobrien * fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass 191438494Sobrien '5' as second arg to show_area_being_processed. I'm not sure why. 191538494Sobrien 191638494Sobrien * fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as 191738494Sobrien second arg to show_area_being_processed. I'm not sure why. 191838494Sobrien 191938494Sobrien * conf/mount/mount_linux.c (parse_opts): as per Debian Linux, 192038494Sobrien ensure that you have a buffer in *xopts to strcat onto. 192138494Sobrien (mount_linux): fixed from Debian folks to ensure that NFS mount 192238494Sobrien sockets are connected only for kernels prior to 1.3.10 (avoids 192338494Sobrien hangs for multi-homed hosts). 192438494Sobrien 192538494Sobrien * amd/mapc.c (make_entry_chain): from Debian folks: don't skip 192638494Sobrien over amd map keys that have a prefix, and include the prefix in 192738494Sobrien the returned readdir(). 192838494Sobrien 192938494Sobrien * amd/info_passwd.c (passwd_init, passwd_search): format 193038494Sobrien enhancements from the Debian Linux folks. They added 193138494Sobrien - var0:=pw-prefix:=anydir 193238494Sobrien - var1:=pw-rhost:=dom3.dom2.dom1 193338494Sobrien - var2:=pw-user:=user 193438494Sobrien - var3:=pw-home:=/anydir/dom1/dom2/dom3/user 193538494Sobrien 193638494Sobrien * new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1. 193738494Sobrien 193838494Sobrien * amd/ops_afs.c (afs_retry): patches from Debian Linux. If 193938494Sobrien afs_mount timed out, then explicitly forbid further retries after 194038494Sobrien the timeout. (afs_bgmount): buf fix from Debian Linux. Timeout 194138494Sobrien values (17 and 5) were mistakenly swapped. 194238494Sobrien 194338494SobrienWed Jul 23 15:53:25 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 194438494Sobrien 194538494Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3 194638494Sobrien support for Solaris 2.4 (the header files incorrectly define parts 194738494Sobrien of the NFS V.3 protocol, but the kernel does not support it). 194838494Sobrien 194938494SobrienWed Jul 23 00:07:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 195038494Sobrien 195138494Sobrien * amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init 195238494Sobrien for determining if using old or new hesiod libraries, 195338494Sobrien respectively. 195438494Sobrien 195538494Sobrien * amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS 195638494Sobrien V.3 then use non-connected sockets (both TCP and UDP). Otherwise 195738494Sobrien they cause hangs of mounts from multi-homed hosts when the return 195838494Sobrien route is not the same as the outgoing route (esp. on NetBSD 195938494Sobrien 1.2.1). If "conn" option was supplied, then don't turn on the 196038494Sobrien "noconn" mount option. Otherwise default to "noconn" mount 196138494Sobrien option. 196238494Sobrien 196338494Sobrien * aux/configure.in: better check for systems that need libgdbm and 196438494Sobrien <ndbm.h> 196538494Sobrien 196638494SobrienTue Jul 22 04:02:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 196738494Sobrien 196838494Sobrien * hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that 196938494Sobrien mounts are hidden from df(1) on systems that keep mount tables in 197038494Sobrien kernel, such as osf1. 197138494Sobrien 197238494SobrienTue Jul 22 02:26:55 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 197338494Sobrien 197438494Sobrien ******************************************************************* 197538494Sobrien *** Released am-utils-6.0a8 *** 197638494Sobrien ******************************************************************* 197738494Sobrien 197838494SobrienMon Jul 21 21:33:19 1997 Erez Zadok <ezk@stone.mcl.cs.columbia.edu> 197938494Sobrien 198038494Sobrien * hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to 198138494Sobrien AF_INET when hlfsd mounts itself, thus getting an errno "protocol 198238494Sobrien family not supported". 198338494Sobrien 198438494SobrienMon Jul 21 20:46:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 198538494Sobrien 198638494Sobrien * verified that amd on NetBSD 1.2.1 (i386) works, but the OS 198738494Sobrien itself is flaky. 198838494Sobrien 198938494Sobrien * verified that amd AIX 3 works w/ the new readdir() code. 199038494Sobrien 199138494SobrienMon Jul 21 18:59:30 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 199238494Sobrien 199338494Sobrien * amd/mapc.c (maptypes): changed the default map caching type for 199438494Sobrien nis and ndbm maps to "MAPC_ALL", so that all possible entries will 199538494Sobrien be available to amd for browsable_dirs=yes. 199638494Sobrien 199738494SobrienMon Jul 21 18:04:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 199838494Sobrien 199938494Sobrien * amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split 200038494Sobrien afs_readdir into a browsable version and a non-browsable one. 200138494Sobrien Fixed bugs that resulted in an infinite nfs_readdir loop on the 200238494Sobrien localhost for some operating systems. 200338494Sobrien 200438494SobrienSat Jul 19 19:38:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 200538494Sobrien 200638494Sobrien * amd/ops_afs.c (afs_readdir): fixed up the browsable code to 200738494Sobrien comply with nfs_readdir specs. It was returning all entries at 200838494Sobrien once, even if there was not enough space in the RPC packet. Now, 200938494Sobrien it sends a reasonably sized chunk, and sets static state to resume 201038494Sobrien it for the next continuation RPC of readdir. 201138494Sobrien 201238494Sobrien * amd/conf.c (set_conf_kv): fixed bug that resulted in the first 201338494Sobrien regular map not getting all of the [global] options defaulted from. 201438494Sobrien 201538494SobrienFri Jul 18 00:45:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 201638494Sobrien 201738494Sobrien * amq/amq.c (main): fixed so that portmapper "ping" will only fail 201838494Sobrien upon an RPC timeout 201938494Sobrien 202038494Sobrien * scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the 202138494Sobrien amd/hlfsd process to kill. 202238494Sobrien 202338494Sobrien * amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to 202438494Sobrien determine how to avoid df from seeing amd's toplvl mounts. Moved 202538494Sobrien from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd 202638494Sobrien is hidden from df. 202738494Sobrien (mount_toplvl): fixed df types for irix. 202838494Sobrien 202938494SobrienThu Jul 17 21:59:45 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 203038494Sobrien 203138494Sobrien * amq/amq.c (main): fixed bug that caused the 5 second timeout for 203238494Sobrien TLI amq using udp to be ignored. 203338494Sobrien (main): if amq cannot contact remote host's portmapper within 5 203438494Sobrien seconds, timeout and fail faster than the default longer timeout 203538494Sobrien (this is for non-TLI systems). 203638494Sobrien 203738494SobrienThu Jul 17 17:08:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 203838494Sobrien 203938494Sobrien * amq/amq.c (get_secure_amd_client): if amq cannot contact 204038494Sobrien remote host's portmapper within 5 seconds, timeout and fail faster 204138494Sobrien than the default TLI timeout of over 4 minutes. 204238494Sobrien 204338494Sobrien * amd/am_ops.c (ops_showfstypes): added styles for new bsd44 204438494Sobrien file systems nullfs, unionfs, and umapfs. 204538494Sobrien (ops_show1): cleanup code and and reuse this function. 204638494Sobrien (vops): empty placeholders for nullfs, unionfs, and umapfs. 204738494Sobrien 204838494Sobrien * amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for 204938494Sobrien bsd44 style file systems. 205038494Sobrien 205138494Sobrien * fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44 205238494Sobrien sources. 205338494Sobrien 205438494Sobrien * amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid 205538494Sobrien conflict with systems that define it in <sys/ioctl.h> and also 205638494Sobrien define a conflicting one via lex. Newer versions of f/lex are ok. 205738494Sobrien 205838494SobrienWed Jul 16 00:17:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 205938494Sobrien 206038494Sobrien * amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields 206138494Sobrien acdirmin/max and acregmin/max only if they exist. 206238494Sobrien 206338494Sobrien * aux/configure.in: test for nfs_args fields acdirmin and 206438494Sobrien acregmin. 206538494Sobrien 206638494SobrienTue Jul 15 17:24:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 206738494Sobrien 206838494Sobrien * aux/configure.in: commented out checking for MNT2_GEN_OPT_* for 206938494Sobrien "nondev" and commented back in checking for "nodev". This was a 207038494Sobrien typo. 207138494Sobrien 207238494Sobrien * include/am_compat.h: more compatibility options: define "ro" 207338494Sobrien mnttab option all the time. Define "overlay" as needed. Added 207438494Sobrien more fillers of mnttab options (as per Daniel S. Riley 207538494Sobrien <dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax, 207638494Sobrien acregmin, noac, grpid, nosuid, and actimo. 207738494Sobrien 207838494Sobrien * libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as 207938494Sobrien per dsr@mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up 208038494Sobrien the same code for other options in struct opt_tab. 208138494Sobrien 208238494SobrienMon Jul 14 22:36:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 208338494Sobrien 208438494Sobrien * amd/get_args.c (get_args): moved amd.conf file parsing to before 208538494Sobrien the switching the default log/debug options. Suggested by 208638494Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley). 208738494Sobrien 208838494Sobrien * aux/update_build_version: new script to record the build version 208938494Sobrien of amd, along with the rest of the info thet comes up with amd -v. 209038494Sobrien 209138494SobrienSun Jul 13 00:30:24 1997 Erez Zadok <ezk@decca.damtp.cam.ac.uk> 209238494Sobrien 209338494Sobrien * aux/macros/os_cflags.m4: new macro, to add additional 209438494Sobrien compilation options (also used during configuration), based on the 209538494Sobrien OS and the compiler. Used for solaris-2.6, osf, and irix6. 209638494Sobrien 209738494SobrienFri Jul 11 10:15:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 209838494Sobrien 209938494Sobrien * amd/conf_tok.l, conf_parse.y: allow values of keys to include 210038494Sobrien white spaces, if they are double-quoted (key="some value") 210138494Sobrien 210238494Sobrien * amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes 210338494Sobrien of hesiod from Danny Braniss <danny@cs.huji.ac.il>. 210438494Sobrien 210538494SobrienFri Jul 11 02:16:06 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 210638494Sobrien 210738494Sobrien ******************************************************************* 210838494Sobrien *** Released am-utils-6.0a7 *** 210938494Sobrien ******************************************************************* 211038494Sobrien 211138494SobrienThu Jul 10 12:19:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 211238494Sobrien 211338494Sobrien * include/am_defs.h: fill in extern definition of innetgr() in 211438494Sobrien case system headers don't. 211538494Sobrien 211638494Sobrien * aux/macros/path_prog_lex.m4 aux/configure.in: using macros that 211738494Sobrien will show the full pathname to yacc/bison and f/lex. Some systems 211838494Sobrien have older or bad versions of those and this way the user will 211938494Sobrien know for sure what is being invoked. 212038494Sobrien 212138494Sobrien * tasks: file populated with todo items. 212238494Sobrien 212338494Sobrien * scripts/amd2ldif.in: Script to convert amd maps to plain text 212438494Sobrien LDAP object files. Contributed by Leif Johansson 212538494Sobrien <leifj@matematik.su.se>. 212638494Sobrien 212738494Sobrien * aux/config.guess: added recognition for sun3's running 4.2bsd, 212838494Sobrien from Tom Schmidt <tschmidt@micron.com>. Fixed one small typo. 212938494Sobrien 213038494Sobrien * amd/conf.c: several variables that were local to a map, were 213138494Sobrien also added to [global], where they apply to all maps. Each map 213238494Sobrien can then individually override those defaults. Flags 213338494Sobrien affected: browsable_dirs and mount_type. Options affected: 213438494Sobrien map_type, map_options, and search_path. 213538494Sobrien 213638494Sobrien * amd/amd.h: eliminated several global flags each of which took an 213738494Sobrien int, in favor of one global flags variable used as a bit field. 213838494Sobrien 213938494Sobrien * amd/amd.c (init_global_options): moved all global variables into 214038494Sobrien a single struct amu_global_options, so it is easier to add new 214138494Sobrien ones and/or identify existing ones. 214238494Sobrien 214338494Sobrien * amd/get_args.c (get_args): removed unused amd -m option. 214438494Sobrien 214538494Sobrien * amd/conf.c (gopt_cluster): added new amd.conf option for cluster 214638494Sobrien name, same as amd -C. 214738494Sobrien 214838494Sobrien * amd/info_ldap.c: LDAP info map functions from Leif Johansson 214938494Sobrien <leifj@matematik.su.se>. 215038494Sobrien 215138494Sobrien * amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global 215238494Sobrien amd.conf options for ldap_base and ldap_hostports. 215338494Sobrien 215438494Sobrien * amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test 215538494Sobrien if the current host is in the ARG host netgroup. 215638494Sobrien 215738494Sobrien * aux/configure.in: some systems replaced dbm in libc with GNU's 215838494Sobrien libgdbm, so check for libgdbm, but only if dbm_open is not in 215938494Sobrien libc already. This was a recommendation from Tom Schmidt 216038494Sobrien <tschmidt@micron.com>. 216138494Sobrien 216238494Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3 216338494Sobrien completed. 216438494Sobrien 216538494SobrienWed Jul 9 18:14:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 216638494Sobrien 216738494Sobrien * port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS 216838494Sobrien V.3. 216938494Sobrien 217038494SobrienTue Jul 8 17:35:07 1997 Erez Zadok <ezk@elk.mcl.cs.columbia.edu> 217138494Sobrien 217238494Sobrien * port to i386-unknown-freebsd3.0 done and working. Includes NFS 217338494Sobrien V.3. 217438494Sobrien 217538494Sobrien * aux/macros/check_nfs_fh_dref.m4: freebsd3 should use 217638494Sobrien file handle dereferencing style similar to freebsd22. 217738494Sobrien 217838494Sobrien * include/am_defs.h: need to include <net/if_var.h> before 217938494Sobrien <netinet/if_ether.h> on freebsd3. 218038494Sobrien 218138494Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions 218238494Sobrien for freeBSD 3.0. 218338494Sobrien 218438494SobrienTue Jul 8 16:53:41 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 218538494Sobrien 218638494Sobrien * amd/info_nis.c (nis_reload): cast nis' callback function so 218738494Sobrien picky compilers won't complain. 218838494Sobrien 218938494Sobrien * libamu/xdr_mountres3.c (xdr_mountres3): make sure this function 219038494Sobrien gets compiled only if the system has NFS V3 and does not have 219138494Sobrien xdr_mountres3. 219238494Sobrien 219338494SobrienTue Jul 8 12:42:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 219438494Sobrien 219538494Sobrien * COPYING: put in some legal stuff in this file. 219638494Sobrien 219738494SobrienMon Jul 7 19:10:44 1997 Erez Zadok <ezk@prometheus.soscorp.com> 219838494Sobrien 219938494Sobrien * NFS V3 now works under Irix5, thanks to patches from 220038494Sobrien Andreas Stolcke <stolcke@speech.sri.com>. 220138494Sobrien 220238494Sobrien * conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5 220338494Sobrien version and an irix6 version, since irix5's NFS V3 code is broken 220438494Sobrien and hacky. 220538494Sobrien 220638494Sobrien * amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer 220738494Sobrien sizes for some hesiod queries. Patch from Danny Braniss 220838494Sobrien <danny@cs.huji.ac.il>. 220938494Sobrien 221038494SobrienMon Jul 7 19:04:14 1997 Erez Zadok <ezk@glory.soscorp.com> 221138494Sobrien 221238494Sobrien * amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3. 221338494Sobrien 221438494SobrienSun Jul 6 14:22:24 1997 Erez Zadok <ezk@glory.soscorp.com> 221538494Sobrien 221638494Sobrien * aux/{configure.in,acconfig.h}: added checks for struct 221738494Sobrien nfs_args's fields proto and sotype (bsdi3). 221838494Sobrien 221938494Sobrien * amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to 222038494Sobrien nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field 222138494Sobrien to SOCK_STREAM or SOCK_DGRAM. 222238494Sobrien 222338494Sobrien * aux/macros/check_mount_style.m4: add case for bsdi3. 222438494Sobrien 222538494Sobrien * amd/info_hesiod.c: got hesiod support for bsdi3. 222638494Sobrien 222738494SobrienSun Jul 6 11:14:47 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 222838494Sobrien 222938494Sobrien * aux/configure.in: look for hesiod on libc (bsdi3) 223038494Sobrien 223138494Sobrien * amd/get_args.c (get_args): reformat usage so it fits in 80 223238494Sobrien columns. 223338494Sobrien 223438494Sobrien * scripts/ctl-amd.in: changed directory name for optional tftpboot 223538494Sobrien map to /tftpboot/.amd. 223638494Sobrien 223738494SobrienSat Jul 5 17:46:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 223838494Sobrien 223938494Sobrien ******************************************************************* 224038494Sobrien *** Released am-utils-6.0a6 *** 224138494Sobrien ******************************************************************* 224238494Sobrien 224338494SobrienSat Jul 5 03:17:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 224438494Sobrien 224538494Sobrien * scripts/ctl-amd.in: include -T tag for tftpboot. 224638494Sobrien 224738494Sobrien * new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code 224838494Sobrien is broken and needs work on the specific nfs_args that irix5 uses 224938494Sobrien for V3 mounts. 225038494Sobrien 225138494SobrienSat Jul 5 01:44:25 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 225238494Sobrien 225338494Sobrien * amd/get_args.c (get_args): new options amd -T tag. A map with 225438494Sobrien tag=foo matching the -T tag will be processed. All untagged maps 225538494Sobrien get processed all the time. 225638494Sobrien 225738494SobrienFri Jul 4 16:19:26 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 225838494Sobrien 225938494Sobrien * aux/configure.in: need to check for strcasecmp in libucb (ncr2) 226038494Sobrien 226138494Sobrien * aux/macros/check_os_libs.m4: a new macro to set the usage of 226238494Sobrien libnsl and libsocket based on the OS. 226338494Sobrien 226438494Sobrien * libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is 226538494Sobrien defined (problem on osf4). 226638494Sobrien 226738494Sobrien * conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers. 226838494Sobrien 226938494Sobrien * include/am_defs.h, aux/macros/try_compile_nfs.m4, 227038494Sobrien aux/macros/mount_headers.m4: do include <sys/proc.h> because it 227138494Sobrien failes on irix5. Rather, put in the individual 227238494Sobrien conf/nfs_prot/nfs_prot_*.h headers. 227338494Sobrien 227438494Sobrien * amd/conf.c: AIX3 doesn't like strdup() being passed a constant 227538494Sobrien char*, so cast all strdup()'s args to a non-const char*. 227638494Sobrien 227738494Sobrien * amd/mapc.c (root_newmap): don't try to strdup only a "const 227838494Sobrien char *". 227938494Sobrien 228038494SobrienFri Jul 4 15:47:10 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 228138494Sobrien 228238494Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and 228338494Sobrien sys/errno.h. 228438494Sobrien 228538494SobrienThu Jul 3 17:49:00 1997 Erez Zadok <ezk@prometheus.soscorp.com> 228638494Sobrien 228738494Sobrien * made sure am-utils compiles, links, and runs properly on Irix 228838494Sobrien 6.2 using "cc -32 -Wl,-woff," 228938494Sobrien 229038494Sobrien * aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12 229138494Sobrien AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add 229238494Sobrien them to $LIBS. 229338494Sobrien 229438494Sobrien * aux/configure.in: some cleanup of which libraries are needed. 229538494Sobrien Espectially ensure that libnsl is included only on Solaris, where 229638494Sobrien so far it is the only system on which it is absolutely necessary. 229738494Sobrien Also no longer need to include libc explicitly. 229838494Sobrien 229938494Sobrien * amd/amd.c,wire-test/wire-test.c (main): convert IP address to 230038494Sobrien network-long order before printing it. 230138494Sobrien 230238494Sobrien * wire-test/wire-test.c (main): also check and report on the IP 230338494Sobrien address of the local host, since some systems have bad versions of 230438494Sobrien get_myaddress, or ones that conflict with other versions in 230538494Sobrien multiple libraries (SunOS 4 and Irix especially). 230638494Sobrien 230738494SobrienWed Jul 2 18:19:02 1997 Erez Zadok <ezk@starblazers.soscorp.com> 230838494Sobrien 230938494Sobrien * scripts/ctl-amd.in: don't use full pathname so killproc() works 231038494Sobrien better. Also run bsd44 and irix style ps programs. 231138494Sobrien 231238494Sobrien * aux/macros/check_lib_funcs.m4: bug fixed: used to define usage 231338494Sobrien of library no matter if it was found or not. 231438494Sobrien 231538494SobrienWed Jul 2 02:11:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 231638494Sobrien 231738494Sobrien * aux/macros/check_mnt2_gen_opt.m4: turned back on the checking 231838494Sobrien for M_* macros, but ensure that <sys/stream.h> is not included at 231938494Sobrien all so it won't conflict with other M_* macros. 232038494Sobrien 232138494SobrienTue Jul 1 21:16:51 1997 Erez Zadok <ezk@mako.cs.columbia.edu> 232238494Sobrien 232338494Sobrien * conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on 232438494Sobrien irix should be "spec" (host:/path), not the dir of the mnt point. 232538494Sobrien 232638494Sobrien * amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors 232738494Sobrien fixed. If on, it essentially ignored the setting in a 232838494Sobrien selector-controlled /defaults if there were 2 or more entries in it. 232938494Sobrien 233038494SobrienTue Jul 1 12:23:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 233138494Sobrien 233238494Sobrien * scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process 233338494Sobrien using BSD style ps, then try SVR4 style ps. 233438494Sobrien 233538494Sobrien * include/am_utils.h (amuDebug): renamed Debug macro to amuDebug 233638494Sobrien etc., to avoid conflicts with similar named macros in <ldap.h>. 233738494Sobrien 233838494Sobrien * aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf 233938494Sobrien support needed for LDAP. Now the code has to be written mostly in 234038494Sobrien amd/info_ldap.c. 234138494Sobrien 234238494Sobrien * Included additional patches from Andreas Stolcke 234338494Sobrien <stolcke@speech.sri.com> to support using the best possible 234438494Sobrien combination of NFS version (2,3) and protocol (udp,tcp) for any 234538494Sobrien given host, since it appears that some Irix versions have NFS V3, 234638494Sobrien but do not support TCP. 234738494Sobrien 234838494Sobrien * scripts/ctl-amd.in: updated amd control script to look for and 234938494Sobrien use amd.conf file. 235038494Sobrien 235138494SobrienTue Jul 1 00:28:23 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 235238494Sobrien 235338494Sobrien * amd/mapc.c (mapc_create): now, each map in the amd.conf can be 235438494Sobrien initialized off of a different type, or default to cycling through 235538494Sobrien all maps until one of them matches. 235638494Sobrien 235738494SobrienMon Jun 30 20:49:13 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 235838494Sobrien 235938494Sobrien * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done. 236038494Sobrien if browsable_dirs=yes is set in the map section in amd.conf, that 236138494Sobrien map will return all entries back to a readdir(2). 236238494Sobrien 236338494SobrienSun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 236438494Sobrien 236538494Sobrien * rudimentary amd.conf file support included. You may even 236638494Sobrien override things like os=sos5, to get "backwards" compatibilty with 236738494Sobrien upl102. 236838494Sobrien 236938494SobrienSat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 237038494Sobrien 237138494Sobrien * amd/conf.c: new file to process amd.conf file. 237238494Sobrien 237338494Sobrien * amd/get_args.c (get_args): new options -H to print help. 237438494Sobrien 237538494Sobrien * moved enable_default_selectors to be amd.conf controlled, and 237638494Sobrien not compiler controlled. 237738494Sobrien 237838494Sobrien * amd/get_args.c (get_args): new options -F <conf-file> to parse an 237938494Sobrien amd configuration file. 238038494Sobrien 238138494SobrienWed Jun 25 23:15:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 238238494Sobrien 238338494Sobrien * converted all files that used strcmp() == 0 or != 0 to using 238438494Sobrien the STREQ() macro. 238538494Sobrien 238638494SobrienMon Jun 23 22:31:14 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 238738494Sobrien 238838494Sobrien * aux/macros/check_lib_funcs.m4: new M4 macro that can be used to 238938494Sobrien search for any number of functions in any given library. 239038494Sobrien 239138494SobrienMon Jun 23 01:04:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 239238494Sobrien 239338494Sobrien * amd/mapc.c: Included patch from Leif Johansson 239438494Sobrien <leifj@matematik.su.se> to ensure that systems without an RE 239538494Sobrien library can compile. 239638494Sobrien 239738494Sobrien * libamu/mount_fs.c (mount_fs): Included patch from Andreas 239838494Sobrien Stolcke <stolcke@speech.sri.com>, to ensure that mount options on 239938494Sobrien table are properly delimited by a comma. 240038494Sobrien 240138494Sobrien * amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas 240238494Sobrien Stolcke <stolcke@speech.sri.com>, to allow users to override the 240338494Sobrien proto= and vers= mount options. 240438494Sobrien 240538494SobrienSun Jun 22 01:00:11 1997 Eric Dana (edana@ncr2.bgs.com) 240638494Sobrien 240738494Sobrien * conf/nfs_prot/nfs_prot_svr4.h: port completed to 240838494Sobrien i486-ncr-sysv4.3.03. Assorted source cleanups done. 240938494Sobrien 241038494Sobrien * include/am_defs.h, aux/macros/mount_headers.m4: don't include 241138494Sobrien mnttab.h if sys/mnttab.h was already included, because on ncr2, 241238494Sobrien they contain conflicting entries for struct mnttab. 241338494Sobrien 241438494SobrienSat Jun 21 23:52:15 1997 Eric Dana (edana@ncr2.bgs.com) 241538494Sobrien 241638494Sobrien * aux/macros/check_nfs_prot_headers.m4: added support for ncr2. 241738494Sobrien 241838494SobrienFri Jun 20 06:14:17 1997 Erez Zadok <ezk> 241938494Sobrien 242038494Sobrien * amd/*.c: lots of 64-bit "ugly" ports like casts to long ints. 242138494Sobrien 242238494Sobrien * aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because 242338494Sobrien on DU-4.0 it is better than the next one to be picked (nfsv2fh_t). 242438494Sobrien 242538494SobrienWed Jun 18 18:59:49 1997 Erez Zadok <ezk@defiant.soscorp.com> 242638494Sobrien 242738494Sobrien * aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for 242838494Sobrien nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is 242938494Sobrien better. 243038494Sobrien 243138494SobrienTue Jun 10 17:06:58 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 243238494Sobrien 243338494Sobrien * amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is 243438494Sobrien NULL, set the maxlen and len fields in netbuf to zero. 243538494Sobrien 243638494SobrienWed May 28 22:52:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 243738494Sobrien 243838494Sobrien * scripts/fix-amd-map.in (name): replace all matching patterns on 243938494Sobrien line. 244038494Sobrien 244138494SobrienSun May 25 19:33:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 244238494Sobrien 244338494Sobrien ******************************************************************* 244438494Sobrien *** Released am-utils-6.0a5 *** 244538494Sobrien ******************************************************************* 244638494Sobrien 244738494SobrienSun May 25 13:37:24 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 244838494Sobrien 244938494Sobrien * amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service 245038494Sobrien procedure now returns the full string that amd -v returns. 245138494Sobrien 245238494Sobrien * amd/get_args.c (get_version_string): new function to return 245338494Sobrien complete version/info string so it could be used more flexibly. 245438494Sobrien 245538494Sobrien * amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list 245638494Sobrien of Fs types into a string buffer, rather than a FILE*. 245738494Sobrien 245838494Sobrien * amd/mapc.c (mapc_showtypes): put the list of map types into a 245938494Sobrien string buffer, rather than a FILE*. 246038494Sobrien 246138494SobrienSun May 25 01:25:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 246238494Sobrien 246338494Sobrien * amd/get_args.c (get_args): amd -v also prints user who built 246438494Sobrien amd, hostname built on, and date of configuration. 246538494Sobrien 246638494SobrienSat May 24 13:40:50 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 246738494Sobrien 246838494Sobrien * scripts/lostaltmail.conf-sample: sample lostaltmail 246938494Sobrien configuration file. 247038494Sobrien 247138494Sobrien * scripts/lostaltmail.in: new script lostaltmail used to redeliver 247238494Sobrien "lost" mail that hlfsd redirected to a temp location because the 247338494Sobrien primary home file system of the user was full. 247438494Sobrien 247538494Sobrien * scripts/amd2sun.in: new script amd2sun. Used to convert Sub 247638494Sobrien automount maps to amd maps. 247738494Sobrien 247838494Sobrien * scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start, 247938494Sobrien stop, or restart hlfsd. 248038494Sobrien 248138494Sobrien * scripts/expn.1: man page for expn command. 248238494Sobrien 248338494Sobrien * scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or 248438494Sobrien restart amd. 248538494Sobrien 248638494Sobrien * scripts/expn.in: new script expn. Actually taken from David 248738494Sobrien Muir Sharnoff <muir@idiom.com>. Used by hlfsd's mail re-delivery 248838494Sobrien script. 248938494Sobrien 249038494Sobrien * scripts/wait4amd.in: new script wait4amd added. Waits for amd 249138494Sobrien to come up on a host, and then runs a command (rsh $hostname by 249238494Sobrien default). 249338494Sobrien 249438494Sobrien * scripts/Makefile.am: new directory now holds all shell/perl 249538494Sobrien scripts that belong to am-utils. 249638494Sobrien 249738494Sobrien * conf/mount/mount_linux.c (parse_opts): new parser for 249838494Sobrien linux-specific mounts. Handles fs-type specific mount-options 249938494Sobrien correctly. Currently implemented: msdos, iso9660. 250038494Sobrien 250138494Sobrien * amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default 250238494Sobrien (fix for linux). 250338494Sobrien 250438494Sobrien * amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default 250538494Sobrien (fix for linux). 250638494Sobrien 250738494Sobrien * amd/mapc.c (make_entry_chain): fixed bug that resulted in amd 250838494Sobrien core dumps upon "ls" of a mount point; an invalid pointer was 250938494Sobrien being returned and dereferenced. 251038494Sobrien 251138494Sobrien * port to Linux sparc working! 251238494Sobrien 251338494Sobrien * hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if 251438494Sobrien failed to write test file, or else the fd will leak. 251538494Sobrien 251638494SobrienSun May 18 00:42:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 251738494Sobrien 251838494Sobrien * amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp() 251938494Sobrien instead of strcmp(). 252038494Sobrien 252138494Sobrien * Port to Digital Unix 4.0 (OSF) done. 252238494Sobrien 252338494Sobrien * hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts 252438494Sobrien with dirname() function in <string.h> on OSF systems. 252538494Sobrien 252638494Sobrien * fsinfo/fsi_util.c (set_ether_if): take out extern defintion of 252738494Sobrien inet_addr(). It should come from <arpa/inet.h> instead. 252838494Sobrien 252938494Sobrien * conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs. 253038494Sobrien 253138494Sobrien * include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to 253238494Sobrien avoid conflicts with DU 4.0 system header. 253338494Sobrien 253438494SobrienThu May 15 22:49:12 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 253538494Sobrien 253638494Sobrien * libamu/mount_fs.c (mount_fs): pass along NFS version so I can 253738494Sobrien determine if to include additional options in the mount table file 253838494Sobrien entry (such as proto=tcp, and vers=3). 253938494Sobrien 254038494SobrienThu May 15 00:42:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 254138494Sobrien 254238494Sobrien * libamu/mount_fs.c (mount_fs): include NFS version number in the 254338494Sobrien mount table options, as well as proto={tcp,udp}. 254438494Sobrien 254538494SobrienWed May 14 14:30:19 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 254638494Sobrien 254738494Sobrien * NFS V3 code ported to most other systems, so it compiles for V2 254838494Sobrien and V3 NFS systems. 254938494Sobrien 255038494Sobrien * NFS VERSION 3 support, first pass. Working for Solaris and 255138494Sobrien using TCP. 255238494Sobrien 255338494SobrienSun May 11 01:14:29 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 255438494Sobrien 255538494Sobrien * amq/amq.c: many newline characters were missing from various 255638494Sobrien stderr printfs. 255738494Sobrien 255838494SobrienSat May 10 13:09:06 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 255938494Sobrien 256038494Sobrien * conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for 256138494Sobrien Solaris, which include NFS V3 support. 256238494Sobrien 256338494Sobrien * conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers. 256438494Sobrien 256538494Sobrien * conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS 256638494Sobrien protocol version while getting a mount client. 256738494Sobrien 256838494Sobrien * amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types, 256938494Sobrien file handle size, and proper file handle based on the correct NFS 257038494Sobrien version number. 257138494Sobrien 257238494Sobrien * conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under 257338494Sobrien Solaris and other SVR4 systems. 257438494Sobrien 257538494Sobrien * amd/ops_nfs.c: store NFS file handle version and version 257638494Sobrien specific handle in struct fh_cache. 257738494Sobrien (got_nfs_fh): pick the correct RPC reply based on the NFS version 257838494Sobrien of the server. 257938494Sobrien (prime_nfs_fhandle_cache): figure out the right NFS file handle 258038494Sobrien for a node, but now include NFS protocol version information. 258138494Sobrien (call_mountd): set the correct version for the mount protocol, 258238494Sobrien based on the NFS protocol version. 258338494Sobrien (nfs_init): use the NFS protocol generic structure 258438494Sobrien am_nfs_handle_t. 258538494Sobrien 258638494Sobrien * include/am_utils.h: new structure am_nfs_handle_t to contain all 258738494Sobrien possible versions of NFS file handles. 258838494Sobrien 258938494Sobrien * amd/srvr_nfs.c (start_ping): ping program performs NFS version 259038494Sobrien specific pings. 259138494Sobrien (recompute_portmap): figure out the correct portmap version mount. 259238494Sobrien (nfs_keepalive): call start_ping() with the correct NFS version. 259338494Sobrien (find_nfs_srvr): if mount option "vers=" is given, use it. Get 259438494Sobrien the NFS server version and verify that it is up. 259538494Sobrien 259638494Sobrien * conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new 259738494Sobrien function to find the best NFS version for a particular host. 259838494Sobrien 259938494Sobrien * libamu/amu.h: determine what is the highest version of NFS we 260038494Sobrien should try. 260138494Sobrien 260238494Sobrien * include/am_utils.h (NFS_VERSION3): added definition for NFS V3 260338494Sobrien protocol number. 260438494Sobrien Added field fs_version to struct fserver, so we can now store the 260538494Sobrien server protocol version. 260638494Sobrien 260738494SobrienFri May 9 01:09:45 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 260838494Sobrien 260938494Sobrien * aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into 261038494Sobrien underscores too, so I can test for sub-fields. 261138494Sobrien 261238494Sobrien * libamu/wire.c: use test that checks for sub-fields of struct 261338494Sobrien ifreq. 261438494Sobrien 261538494SobrienSat May 6 10:20:17 2000 Erez Zadok <ezk@glory.soscorp.com> 261638494Sobrien 261738494Sobrien * port to BSD/OS 3.0 completed! Many xdr_ functions were broken 261838494Sobrien into smaller files. M4 macros fixed to test for existence of 261938494Sobrien file systems using getvfsbyname(). 262038494Sobrien 262138494Sobrien * amd/sched.c (sigchld): signal handler must waitpid() for all 262238494Sobrien possible children. 262338494Sobrien 262438494Sobrien * hlfsd/homedir.c: signal handler must waitpid() for all possible 262538494Sobrien children. 262638494Sobrien 262738494Sobrien * aux/macros/check_restartable_signals.m4: new macro to determine 262838494Sobrien if need to reinstall signal handlers per OS is better than trying 262938494Sobrien to figure these out based on system macros. 263038494Sobrien 263138494SobrienFri May 5 19:23:28 2000 Erez Zadok <ezk@glory.soscorp.com> 263238494Sobrien 263338494Sobrien * amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number. 263438494Sobrien 263538494Sobrien * amd/ops_afs.c (mount_toplvl): set nfs_args_t version number. 263638494Sobrien 263738494Sobrien * amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport 263838494Sobrien (must be supplied for bsdi 3.0) 263938494Sobrien 264038494Sobrien * libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and 264138494Sobrien associated new macro) for determining the right way to compute the 264238494Sobrien size of the interface structure. 264338494Sobrien 264438494SobrienFri Apr 11 15:56:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 264538494Sobrien 264638494Sobrien * aux/configure.in: need to include libc before libnsl if 264738494Sobrien get_myaddress() is available because on irix libnsl has a buggy 264838494Sobrien get_myaddress(). 264938494Sobrien 265038494Sobrien * include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined 265138494Sobrien on Irix 6 (an SVR4 variant) 265238494Sobrien 265338494SobrienThu Mar 27 02:28:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 265438494Sobrien 265538494Sobrien ******************************************************************* 265638494Sobrien *** Released am-utils-6.0a4 *** 265738494Sobrien ******************************************************************* 265838494Sobrien 265938494SobrienWed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 266038494Sobrien 266138494Sobrien * amd/amq_subr.c (ok_security): turned off insecure code unless 266238494Sobrien user explicitly runs configure --enable-amq-mount. 266338494Sobrien 266438494Sobrien * hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service(). 266538494Sobrien 266638494Sobrien * amd/nfs_start.c (mount_automounter): use code that separately 266738494Sobrien creates the NFS and the amq service. Register tcp and udp 266838494Sobrien services for amd. 266938494Sobrien 267038494Sobrien * conf/transp/transp_*.c (create_amq_service): new function to 267138494Sobrien separately create the amq service for amd. Simplified prototypes 267238494Sobrien for create_nfs_service(). 267338494Sobrien 267438494SobrienWed Mar 19 20:40:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 267538494Sobrien 267638494Sobrien ******************************************************************* 267738494Sobrien *** Released am-utils-6.0a3 *** 267838494Sobrien ******************************************************************* 267938494Sobrien 268038494SobrienWed Mar 19 17:49:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 268138494Sobrien 268238494Sobrien * new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots 268338494Sobrien of small changes to support these two. 268438494Sobrien 268538494SobrienWed Mar 19 14:33:30 1997 Erez Zadok <ezk@grande.cs.columbia.edu> 268638494Sobrien 268738494Sobrien * conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist() 268838494Sobrien should run if MOUNT_TABLE_ON_FILE, not otherwise. 268938494Sobrien 269038494SobrienMon Mar 17 22:02:43 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 269138494Sobrien 269238494Sobrien * hlfsd/hlfsd.c (main): fill in fhsize field if exists 269338494Sobrien (freebsd-2.2). 269438494Sobrien 269538494Sobrien * amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if 269638494Sobrien exists (freebsd-2.2). 269738494Sobrien 269838494SobrienSat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 269938494Sobrien 270038494Sobrien * new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher 270138494Sobrien changed the filehandle type in struct nfs_args from nfsv2fh_t to 270238494Sobrien u_char. 270338494Sobrien 270438494SobrienSat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 270538494Sobrien 270638494Sobrien * SHARED LIBRARIES: too many change to list individually. Now, 270738494Sobrien libamu can be built as a shared library, and other programs link 270838494Sobrien with it. 270938494Sobrien 271038494SobrienTue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 271138494Sobrien 271238494Sobrien * aux/macros/opt_shared.m4: new macro for setting options for 271338494Sobrien building shared am-utils libraries. 271438494Sobrien 271538494SobrienSun Mar 9 19:17:46 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 271638494Sobrien 271738494Sobrien * fixmount/fixrmtab: cleaned up the script. 271838494Sobrien 271938494Sobrien * fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that 272038494Sobrien fixrmtab gets distributed too. 272138494Sobrien 272238494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP. 272338494Sobrien Added extern for xdr_mountlist(). 272438494Sobrien 272538494Sobrien * aux/configure.in: trimmed down many tests for MNT2_GEN_OPT, 272638494Sobrien MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in 272738494Sobrien the sources. 272838494Sobrien 272938494SobrienSat Mar 8 00:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 273038494Sobrien 273138494Sobrien * fixmount/hlfsd ported to bsd44, hpux, and linux systems. 273238494Sobrien 273338494Sobrien * aux/macros/check_fixmount_style.m4: add check for bsd44 systems. 273438494Sobrien 273538494Sobrien * conf/fixmount/fixmount_default.c: use lockf() if flock() is 273638494Sobrien unavailable. 273738494Sobrien 273838494Sobrien * include/am_defs.h: include <string.h> even if don't have 273938494Sobrien STDC_HEADERS defined (sunos4). 274038494Sobrien (seteuid): define seteuid() to be setresuid() for systems that 274138494Sobrien have but not the other (hpux). 274238494Sobrien 274338494Sobrien * aux/macros/check_extern.m4: test should include <strings.h>. 274438494Sobrien 274538494SobrienTue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 274638494Sobrien 274738494Sobrien * lib/xutil.c (debug_option): moved from amd/getargs.c to this 274838494Sobrien more proper file. 274938494Sobrien 275038494Sobrien * include/am_utils.h: put in structure for debug options, for all 275138494Sobrien progams to use. 275238494Sobrien 275338494Sobrien * amd/get_args.c: moved structure for debug options out. 275438494Sobrien 275538494SobrienSun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 275638494Sobrien 275738494Sobrien * ported fixmount. 275838494Sobrien 275938494Sobrien * lib/ualarm.c: replacement function for systems that don't have a 276038494Sobrien ualarm(). 276138494Sobrien 276238494Sobrien * ported fsinfo. 276338494Sobrien 276438494SobrienSun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 276538494Sobrien 276638494Sobrien * ported mk-amd-map. 276738494Sobrien 276838494Sobrien * buildall: added -K option to buildall, to run mkconf. 276938494Sobrien 277038494SobrienFri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 277138494Sobrien 277238494Sobrien ******************************************************************* 277338494Sobrien *** Released am-utils-6.0a2 *** 277438494Sobrien ******************************************************************* 277538494Sobrien 277638494SobrienThu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 277738494Sobrien 277838494Sobrien * all *.[hcyl] files: add copyright line. 277938494Sobrien 278038494Sobrien * aux/macros/check_mount_type.m4: test for mount type for 278138494Sobrien linux-like systems, by checking for loadable or statically linked 278238494Sobrien kernel filesystem modules. 278338494Sobrien 278438494Sobrien * aux/macros/check_mnttab_type.m4: test for mount table entry 278538494Sobrien for linux-like systems, by checking for loadable or statically 278638494Sobrien linked kernel filesystem modules. 278738494Sobrien 278838494Sobrien * aux/configure.in: pcfs filesystems can use vfat type (linux) 278938494Sobrien 279038494Sobrien * aux/macros/check_fs_mntent.m4: test for filesystem existence for 279138494Sobrien linux-like systems, by checking for loadable or statically linked 279238494Sobrien kernel filesystem modules. 279338494Sobrien 279438494Sobrien * conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX 279538494Sobrien 9.0 header files. This should be removed when HPUX 9.0 is deemed 279638494Sobrien defunct. 279738494Sobrien 279838494Sobrien * aux/acconfig.h: set an undefined variable for having an extern 279938494Sobrien to clnt_sperrno(). 280038494Sobrien 280138494Sobrien * include/am_defs.h: define extern for clnt_sperrno() if needed. 280238494Sobrien 280338494Sobrien * aux/configure.in: test for extern clnt_sperrno(). 280438494Sobrien 280538494Sobrien * aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is 280638494Sobrien similar to irix. 280738494Sobrien 280838494Sobrien * aux/macros/check_mount_style.m4: use mount helper on HPUX. 280938494Sobrien 281038494Sobrien * aux/macros/check_mtype_type.m4: hpux's mount type is a char*, 281138494Sobrien not integer (but may be mapped to one later). 281238494Sobrien 281338494Sobrien * conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header 281438494Sobrien files. They have mount(2) and vfsmount(2) which don't take same 281538494Sobrien arguments, and they have string mount types MNTTYPE_* as well as 281638494Sobrien integer types MOUNT_*. So I need this new mount function to map 281738494Sobrien from string types to integer types for the vfsmount() function. 281838494Sobrien 281938494Sobrien * conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling 282038494Sobrien vfsmount(), call mount_hpux(). 282138494Sobrien 282238494SobrienThu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 282338494Sobrien 282438494Sobrien * lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if 282538494Sobrien both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined. 282638494Sobrien 282738494SobrienThu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 282838494Sobrien 282938494Sobrien * conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for 283038494Sobrien hpux. 283138494Sobrien 283238494Sobrien * include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h. 283338494Sobrien 283438494Sobrien * aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h. 283538494Sobrien 283638494Sobrien * buildall: added ability to configure using other shells than 283738494Sobrien /bin/sh, on those systems where /bin/sh is buggy or limited 283838494Sobrien (HPUX). 283938494Sobrien 284038494Sobrien * aux/macros/struct_nfs_fh.m4: reinstated the macro but have it 284138494Sobrien defined am_nfs_fh, and also test for plain typedef "nfs_fh". 284238494Sobrien 284338494Sobrien * aux/acconfig.h: #undef am_nfs_fh, which is being defined by a 284438494Sobrien reinstated macro. 284538494Sobrien 284638494Sobrien * aux/configure.in: check for <nfs/export.h> 284738494Sobrien 284838494Sobrien * include/am_defs.h: include <nfs/export.h> (HPUX) if exists. 284938494Sobrien 285038494Sobrien * aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if 285138494Sobrien exists. 285238494Sobrien 285338494Sobrien * aux/macros/mount_headers.m4 (define): removed some non-working 285438494Sobrien (on HPUX) code that attempts to recreate the fhandle_t rather than 285538494Sobrien load it up from system headers. Also added some NFS protocol 285638494Sobrien header inclusion. include <nfs/export.h> (HPUX) if exists. 285738494Sobrien 285838494SobrienWed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 285938494Sobrien 286038494Sobrien * aux/macros/mount_headers.m4 (define): Use M4 changequote to 286138494Sobrien ensure [] brackets are correctly used. 286238494Sobrien 286338494Sobrien * aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate 286438494Sobrien multi-line M4 inclusions in []. 286538494Sobrien 286638494SobrienTue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 286738494Sobrien 286838494Sobrien * conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if 286938494Sobrien it exists. 287038494Sobrien 287138494Sobrien * aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new 287238494Sobrien config.h macro for field f_fstypename of struct statfs. 287338494Sobrien 287438494Sobrien * aux/configure.in: testing for field f_fstypename field of struct 287538494Sobrien statfs (NetBSD). 287638494Sobrien 287738494Sobrien * aux/acconfig.h: moved all of the "static" definitions out to a 287838494Sobrien fixed file called include/am_defs.h. Added to all */Makefile.am 287938494Sobrien files a dependency on am_defs.h. Created am_defs.h of course, and 288038494Sobrien then added #include <amd_defs.h> to all of the source and header 288138494Sobrien files that required it. 288238494Sobrien 288338494SobrienMon Feb 24 01:27:02 1997 Erez Zadok <ezk@defiant.soscorp.com> 288438494Sobrien 288538494Sobrien * aux/acconfig.h: two more externals for xdr functions that may be 288638494Sobrien implemented by libamu. 288738494Sobrien 288838494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR 288938494Sobrien definitions. 289038494Sobrien 289138494SobrienSun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 289238494Sobrien 289338494Sobrien * buildall (default): added -D option for turning on even stricker 289438494Sobrien developer options. 289538494Sobrien 289638494Sobrien * */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to 289738494Sobrien determine dependencies on optional NFS protocol headers. 289838494Sobrien 289938494Sobrien * aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed. 290038494Sobrien 290138494Sobrien * aux/macros/check_nfs_prot_header.m4: new test to determine what 290238494Sobrien NFS protocol headers to use. 290338494Sobrien 290438494Sobrien * conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to 290538494Sobrien complete missing system headers for NFS protocol definitions. 290638494Sobrien 290738494SobrienSun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 290838494Sobrien 290938494Sobrien * amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in 291038494Sobrien #ifdef's as needed. 291138494Sobrien 291238494Sobrien * amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is 291338494Sobrien suitable #ifdef'ed. 291438494Sobrien 291538494Sobrien * include/am_compat.h: a couple more mnttab options 291638494Sobrien (timeo/retrans) setting just in case. 291738494Sobrien 291838494Sobrien * amd/autil.c (host_normalize): make sure hostent->h_name is 291938494Sobrien passed a non-const char *. 292038494Sobrien 292138494Sobrien * conf/mount/mount_linux.c (mount_linux): cleaned up a block of code. 292238494Sobrien 292338494Sobrien * {lib,amq,amd}/*.c (many functions): cast xdr_entry to 292438494Sobrien XDRPROC_T_TYPE. 292538494Sobrien 292638494Sobrien * lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to 292738494Sobrien XDRPROC_T_TYPE. 292838494Sobrien 292938494Sobrien * lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to 293038494Sobrien XDRPROC_T_TYPE. 293138494Sobrien 293238494Sobrien * lib/wire.c (getwire): Make sure safe assignment from const to 293338494Sobrien none is done. 293438494Sobrien 293538494SobrienSat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 293638494Sobrien 293738494Sobrien * aux/macros/expand_cpp_int.m4: new macro for expanding integers. 293838494Sobrien 293938494Sobrien * aux/configure.in: added linux/fs.h support in configure and 294038494Sobrien several M4 macros. 294138494Sobrien 294238494Sobrien * conf/mount/mount_linux.c (mount_linux): use macro instead of 294338494Sobrien "ugly" fixed hex number for mount() arguments. 294438494Sobrien 294538494SobrienSat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 294638494Sobrien 294738494Sobrien * amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and 294838494Sobrien turned all of its code always on. That code always seems to 294938494Sobrien compile, as long as you have hesiod and libresolv. 295038494Sobrien 295138494Sobrien * amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all 295238494Sobrien of its code always on. 295338494Sobrien 295438494Sobrien * aux/configure.in: removed superfluous test for hs_zone_transfer 295538494Sobrien function (will never find it because it is an amd-internal 295638494Sobrien function). 295738494Sobrien 295838494Sobrien * amd/mapc.c (maptypes): must used correct new name for am-utils' 295938494Sobrien hesiod initialization function: hesiod_am_init. 296038494Sobrien 296138494Sobrien * amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to 296238494Sobrien hesiod_am_init so as not to conflict with libhesiod's 296338494Sobrien hesiod_init() function. 296438494Sobrien 296538494Sobrien * aux/configure.in: added test and explicit inclusion of 296638494Sobrien libresolv.a for later resolution of library references with 296738494Sobrien libhesiod. 296838494Sobrien 296938494Sobrien * aux/macros/opt_cppflags.m4: new file. configure/compile C 297038494Sobrien preprocessor flags. 297138494Sobrien 297238494Sobrien * aux/macros/opt_libs.m4: new file. configure/compile library 297338494Sobrien flags. 297438494Sobrien 297538494Sobrien * Makefile.am (EXTRA_DIST_AUX): include two new macros 297638494Sobrien opt_cppflags.m4 and opt_libs.m4. 297738494Sobrien 297838494Sobrien * aux/configure.in: test for libhesiod needs to additional 297938494Sobrien libresolv to link completely. Additional configuration time 298038494Sobrien options added for setting initial CPPFLAGS and LIBS. 298138494Sobrien 298238494SobrienTue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 298338494Sobrien 298438494Sobrien ******************************************************************* 298538494Sobrien *** Released am-utils-6.0a1 *** 298638494Sobrien ******************************************************************* 298738494Sobrien 298838494SobrienThu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 298938494Sobrien 299038494Sobrien * amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that 299138494Sobrien it works on freebsd, where they map dbm_pagfno a non-existing 299238494Sobrien macro on purpose, to force you to port the code to Berkeley DB. 299338494Sobrien 299438494SobrienFri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 299538494Sobrien 299638494Sobrien * amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the 299738494Sobrien actual mount_toplvl, to avoid some possible race conditions. 299838494Sobrien 299938494SobrienThu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 300038494Sobrien 300138494Sobrien * amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code. 300238494Sobrien 300338494SobrienWed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 300438494Sobrien 300538494Sobrien * lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code) 300638494Sobrien 300738494Sobrien * amd/amd.c (main): fix local address using htonl(). Free up 300838494Sobrien buffers allocated by netdir_*() functions. 300938494Sobrien 301038494SobrienWed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 301138494Sobrien 301238494Sobrien * amd/fix-amd-map.in: new script that will convert old-style amd 301338494Sobrien maps to new one. 301438494Sobrien 301538494SobrienTue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 301638494Sobrien 301738494Sobrien * FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl, 301838494Sobrien and replies back to simple nfs/link type mount queries). 301938494Sobrien 302038494Sobrien * conf/mtab/mtab_svr4.c: reorganized the code in this file to be 302138494Sobrien easier to read, and fixed a few bugs with un/setting the lock file 302238494Sobrien descriptor. 302338494Sobrien 302438494SobrienWed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 302538494Sobrien 302638494Sobrien * amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older 302738494Sobrien signals in Svr3 systems. Only stellix ever used this. 302838494Sobrien 302938494Sobrien * amd/rpc_fwd.c (fwd_reply): removed all code that was triggered 303038494Sobrien by DYNAMIC_BUFFERS, since it was not in use. 303138494Sobrien 303238494SobrienTue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 303338494Sobrien 303438494Sobrien * amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer 303538494Sobrien takes '=' sign as old selector. Fix your maps. 303638494Sobrien (deslashify): removed APOLLO code that treated two '//' as one. 303738494Sobrien 303838494SobrienSun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 303938494Sobrien 304038494Sobrien * amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which 304138494Sobrien was not used. It made any submount error fail the whole group. 304238494Sobrien 304338494Sobrien * amd/ops_nfs.c (make_nfs_auth): removed code dependent on 304438494Sobrien HAS_NFS_QUALIFIED_NAMES. 304538494Sobrien (mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it 304638494Sobrien is never on. So code that was triggered by #ifndef 304738494Sobrien NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to 304838494Sobrien be fixed later. 304938494Sobrien Removed all ULTRIX_HACK code. Ultrix is DEAD! 305038494Sobrien removed all PRESET_AC code, which was only on for Linux to preset 305138494Sobrien the attribute cache values (otherwise they default to zero). 305238494Sobrien (nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will 305338494Sobrien have to fixed up later. 305438494Sobrien (mount_nfs_fh): removed code that was never included, which 305538494Sobrien attempted to set the port on which amd's nfs mounts on. This 305638494Sobrien isn't supported by the ping algorithm yet. In any case, it is all 305738494Sobrien done in nfs_init(). 305838494Sobrien 305938494Sobrien * amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh): 306038494Sobrien removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or 306138494Sobrien specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will 306238494Sobrien have to be addressed later. 306338494Sobrien 306438494Sobrien * amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent 306538494Sobrien on PRECISE_SYMLINKS. 306638494Sobrien 306738494Sobrien * amd/mapc.c (mapc_meta_search): removed code that depended on 306838494Sobrien HAS_DEPOT. It is known buggy code. The whole DEPOT support needs 306938494Sobrien to be rethought. 307038494Sobrien (mapc_add_kv): ported code to use standard regular expression 307138494Sobrien (regexp) library. 307238494Sobrien 307338494Sobrien * amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on 307438494Sobrien FLUSH_KERNEL_NAME_CACHE and the macro itself. 307538494Sobrien 307638494SobrienSat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 307738494Sobrien 307838494Sobrien * amd/map.c (exported_ap_alloc): removed all code triggered by 307938494Sobrien SHRINK_EXPORTED_AP and the macro itself. 308038494Sobrien 308138494Sobrien * amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code 308238494Sobrien in all the time. Assuming that there is always NIS realod 308338494Sobrien available. 308438494Sobrien (yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all() 308538494Sobrien function is broken such that it does not release filedescriptors 308638494Sobrien it created, then you are hosed. Get a fix for yp_all from your 308738494Sobrien vendor or switch operating systems. 308838494Sobrien 308938494SobrienTue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 309038494Sobrien 309138494Sobrien * amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to 309238494Sobrien HAVE_HS_ZONE_TRANSFER. 309338494Sobrien 309438494SobrienMon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 309538494Sobrien 309638494Sobrien * amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is 309738494Sobrien always included. We should always try to inform the remove mount 309838494Sobrien daemon of mounts we performed. If we want an option for this, it 309938494Sobrien should be a run-time option. 310038494Sobrien 310138494Sobrien * amd/host_ops.c: removed all that optionally did not make the 310238494Sobrien directory mount points for amd. 310338494Sobrien 310438494Sobrien * HOST_EXEC code removed from everywhere. There is no indication 310538494Sobrien that it was used anywhere. If it needs to be used, then a 310638494Sobrien run-time switch should control it. 310738494Sobrien 310838494SobrienThu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 310938494Sobrien 311038494Sobrien * amd/*_ops.c: removed all references to mntent_t's fields 311138494Sobrien mnt_freq and mnt_passno, since they are no longe rused (and never 311238494Sobrien have been). 311338494Sobrien 311438494Sobrien * amd/am_ops.c: removed function sunos4_match, which was off 311538494Sobrien anyway. This was one of the places where an '=' sign was allowed 311638494Sobrien as an assignment operator (which is now ':='). 311738494Sobrien 311838494Sobrien * amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which 311938494Sobrien was off anyway. This was one of the places where an '=' sign was 312038494Sobrien allowed as an assignment operator (which is now ':='). 312138494Sobrien 312238494SobrienTue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 312338494Sobrien 312438494Sobrien * amq/amq.c: ported to am-utils. Working. 312538494Sobrien 312638494Sobrien * conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4 312738494Sobrien to be string, as it should be (rather than a string mapped to int 312838494Sobrien and back mapped to string). 312938494Sobrien 313038494SobrienSun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 313138494Sobrien 313238494Sobrien * lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code. 313338494Sobrien 313438494Sobrien * lib/umount_fs.c: split this into three files: default, osf, and 313538494Sobrien bsd44, that are in conf/umount/umount_*.c. 313638494Sobrien 313738494SobrienThu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 313838494Sobrien 313938494Sobrien * aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new 314038494Sobrien macro to automatically figure out if an external definition for 314138494Sobrien sys_errlist[] exists. 314238494Sobrien 314338494Sobrien * lib/xutil.c (xfree): removed "#undef free" because it's not 314438494Sobrien needed there. Any system that redefines free() needs help. 314538494Sobrien 314638494Sobrien * conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that 314738494Sobrien was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be 314838494Sobrien in active use anywhere. If added later, it should be a run-time 314938494Sobrien configuration option. 315038494Sobrien 315138494Sobrien * conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to 315238494Sobrien be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables 315338494Sobrien in a file in /etc. 315438494Sobrien 315538494Sobrien * lib/util.c (str3cat): removed _AIX code. AIX should have a 315638494Sobrien working realloc, or else find a cleaner solution to this. 315738494Sobrien (mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync() 315838494Sobrien after immediately making directories so that fsck will be able to 315938494Sobrien fix the filesystem in the event of an immediate crash. This was 316038494Sobrien because a bug in UFS which is fixed by now. 316138494Sobrien 316238494Sobrien * lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered 316338494Sobrien code. Does not appear to be on and used anywhere. 316438494Sobrien (dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now. 316538494Sobrien 316638494Sobrien * lib/resvport.c: split the binding of reserved ports code to a 316738494Sobrien separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4) 316838494Sobrien from the BSD code. 316938494Sobrien 317038494SobrienThu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 317138494Sobrien 317238494Sobrien * lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled 317338494Sobrien in by automake and configure, for optional sources that need to be 317438494Sobrien built as part of libamu.a. 317538494Sobrien 317638494Sobrien * aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o 317738494Sobrien to LIBOBJS. 317838494Sobrien 317938494Sobrien * lib/memcmp.c (memcmp): new file added to replace a possible bad 318038494Sobrien implementation of memcmp. 318138494Sobrien 318238494SobrienWed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 318338494Sobrien 318438494Sobrien * converted the sources to use memset/memmove/memcmp instead of 318538494Sobrien bzero/becopy/bcmp. 318638494Sobrien 318738494Sobrien * ran all sources through gnu Indent w/ options specified in 318838494Sobrien aux/amindent. 318938494Sobrien 319038494SobrienWed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 319138494Sobrien 319238494Sobrien * At this point the initial genration of config.h via autoconf and 319338494Sobrien some preliminary makefiles via automake is done. I will not begin 319438494Sobrien modifying sources, so it's a good time to document from here. 3195