ChangeLog revision 82794
182794Sobrien2001-06-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 282794Sobrien 382794Sobrien ******************************************************************* 482794Sobrien *** Released am-utils-6.0.7 *** 582794Sobrien ******************************************************************* 682794Sobrien 782794Sobrien2001-06-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 882794Sobrien 982794Sobrien * config.guess, config.sub, doc/texinfo.tex: updates from the 1082794Sobrien latest GNU distributions. 1182794Sobrien 1282794Sobrien * INSTALL, doc/am-utils.texi (Supported Platforms): update info on 1382794Sobrien freebsd5.0 1482794Sobrien 1582794Sobrien * LSM.am-utils, NEWS, README.y2k, ChangeLog: make sure all 1682794Sobrien am-utils URL references use www.am-utils.org, not the columbia 1782794Sobrien URL. 1882794Sobrien 1982794Sobrien2001-05-24 Erez Zadok <ezk@fsl-gw.fsl.cs.sunysb.edu> 2082794Sobrien 2182794Sobrien * conf/transp/transp_sockets.c (create_nfs_service): cast to u_long 2282794Sobrien to ensure clean compile on freebsd5 and bsdi2. 2382794Sobrien 2482794Sobrien2001-05-19 Erez Zadok <ezk@kosh.dyn.optonline.net> 2582794Sobrien 2682794Sobrien * conf/mount/mount_linux.c: typo: added comma after '0' element. 2782794Sobrien 2882794Sobrien2001-05-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 2982794Sobrien 3082794Sobrien * conf/mount/mount_linux.c (linux_nfs_error): don't special case 3182794Sobrien the 0 result, just put it into the translation list 3282794Sobrien 3382794Sobrien2001-05-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 3482794Sobrien 3582794Sobrien * conf/mount/mount_linux.c (linux_nfs_error): don't report success 3682794Sobrien (0) as error (NE_IO)! 3782794Sobrien 3882794Sobrien2001-05-18 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 3982794Sobrien 4082794Sobrien * amd/amfs_host.c (amfs_host_mount): don't fail the mount if at 4182794Sobrien least one share is already mounted 4282794Sobrien 4382794Sobrien2001-05-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4482794Sobrien 4582794Sobrien ******************************************************************* 4682794Sobrien *** Released am-utils-6.0.6 *** 4782794Sobrien ******************************************************************* 4882794Sobrien 4982794Sobrien2001-05-01 Ion Badulescu <ionut@gonzales.dev.hydraweb.com> 5082794Sobrien 5182794Sobrien * conf/mount/mount_linux.c: fixed stupid error in the linux 5282794Sobrien nfs_errormap[], which was mapping ENOENT to success!!! 5382794Sobrien 5482794Sobrien2001-04-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 5582794Sobrien 5682794Sobrien * BUGS: added info about the direct mount problems on Linux and 5782794Sobrien about the kernel patches on www.am-utils.org. 5882794Sobrien 5982794Sobrien * amd/autil.c (forcibly_timeout_mp): always log a message when the 6082794Sobrien forced unmount request is ignored 6182794Sobrien 6282794Sobrien2001-04-23 Ion Badulescu <ionut@buggy.dev.hydraweb.com> 6382794Sobrien 6482794Sobrien * amd/ops_autofs.c (autofs_lookuppn): renamed 6582794Sobrien CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS 6682794Sobrien (leftover from 03/29/01) 6782794Sobrien 6882794Sobrien2001-04-14 Erez Zadok <ezk@whitestar.dyn.optonline.net> 6982794Sobrien 7082794Sobrien * COPYING: update copyright year 7182794Sobrien 7282794Sobrien * amd/amfs_auto.c, amd/amfs_host.c, amd/amfs_nfsx.c, 7382794Sobrien amd/amfs_toplvl.c, amd/amfs_union.c, amd/conf.c, amd/info_nis.c, 7482794Sobrien amd/info_nisplus.c, amd/mapc.c, amd/nfs_subr.c, amd/ops_nfs.c, 7582794Sobrien amd/rpc_fwd.c, amd/srvr_amfs_auto.c, amd/srvr_nfs.c, 7682794Sobrien conf/autofs/autofs_solaris_v1.c, conf/mtab/mtab_file.c, 7782794Sobrien conf/mtab/mtab_isc3.c, conf/mtab/mtab_svr4.c, 7882794Sobrien conf/transp/transp_sockets.c, conf/transp/transp_tli.c, 7982794Sobrien libamu/mount_fs.c, libamu/mtab.c: rewritten various dlog/plog 8082794Sobrien messages for clarity, to avoid duplication, to better recognize 8182794Sobrien what the message means and where it ran, and to fix typos. 8282794Sobrien 8382794Sobrien * amd/nfs_subr.c (nfsproc_lookup_2_svc): moved trace message of 8482794Sobrien function's name to the beginning of the function, before any other 8582794Sobrien messages are logged. 8682794Sobrien 8782794Sobrien2001-04-05 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 8882794Sobrien 8982794Sobrien * include/am_defs.h: define NFSCLIENT, NFS, PCFS, LOFS, RFS, 9082794Sobrien MSDOSFS, MFS and CD9660 to 1, so that both #if FOO and #ifdef FOO 9182794Sobrien work (needed for MacOS X); removed duplicate definition of NFS. 9282794Sobrien 9382794Sobrien2001-04-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 9482794Sobrien 9582794Sobrien * released snapshot am-utils-6.0.6s2 9682794Sobrien 9782794Sobrien2001-03-29 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 9882794Sobrien 9982794Sobrien * amd/amd.h, amd/amfs_auto.c, amd/conf.c, 10082794Sobrien doc/am-utils.texi, 10182794Sobrien scripts/amd.conf-sample, scripts/amd.conf.5: 10282794Sobrien renamed selectors_on_default to selectors_in_defaults, 10382794Sobrien kept the former as a deprecated option; 10482794Sobrien renamed CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS; 10582794Sobrien renamed gopt_selectors_on_default() to gopt_selectors_in_defaults() 10682794Sobrien 10782794Sobrien2001-03-15 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 10882794Sobrien 10982794Sobrien * conf/mount/mount_linux.c (parse_opts): added support for lofs 11082794Sobrien (mount_linux): support lofs through bind mounts and/or FiST lofs 11182794Sobrien 11282794Sobrien * scripts/ctl-hlfsd.in: search for /var/spool/mail in addition to 11382794Sobrien /var/mail and /usr/spool/mail 11482794Sobrien 11582794Sobrien * conf/nfs_prot/nfs_prot_linux.h (MS_BIND): add define for it, if 11682794Sobrien kernel is newer than 2.4.0 11782794Sobrien (MNTTYPE_LOFS): ditto 11882794Sobrien 11982794Sobrien * acconfig.h: added MNT2_GEN_OPT_BIND 12082794Sobrien 12182794Sobrien * configure.in: bumped up library patchlevel; added detection for 12282794Sobrien the MS_BIND generic mount option 12382794Sobrien 12482794Sobrien2001-02-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 12582794Sobrien 12682794Sobrien * aux/macros/check_mount_trap.m4, 12782794Sobrien aux/macros/check_nfs_fh_dref.m4, 12882794Sobrien aux/macros/check_nfs_prot_headers.m4, 12982794Sobrien aux/macros/type_recvfrom_fromlen.m4, 13082794Sobrien aux/macros/type_yp_order_outorder.m4: 13182794Sobrien Fixed newer freebsd's fh type, expanded more aix3, osf2, hpux9 to 13282794Sobrien aix[1-3], osf[1-3] and hpux[6-9]. 13382794Sobrien 13482794Sobrien2001-02-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 13582794Sobrien 13682794Sobrien * check_mount_style.m4, check_mount_trap.m4, 13782794Sobrien check_network_transport_type.m4, check_nfs_fh_dref.m4, 13882794Sobrien check_nfs_prot_headers.m4, check_nfs_sa_dref.m4, 13982794Sobrien check_nfs_socket_connection.m4, os_cflags.m4, 14082794Sobrien type_yp_order_outorder.m4: small fixes to Ion's cleanup, and more 14182794Sobrien cleanup (use [[0-1]] instead of M4 changequote commands). 14282794Sobrien 14382794Sobrien * Makefile.am: removed unused conf/trap/trap_hpux11.h 14482794Sobrien 14582794Sobrien2001-02-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 14682794Sobrien 14782794Sobrien * aux/macros/check_network_transport_type.m4, 14882794Sobrien aux/macros/check_mount_style.m4, 14982794Sobrien aux/macros/check_mount_trap.m4, 15082794Sobrien aux/macros/check_network_transport_type.m4, 15182794Sobrien aux/macros/check_nfs_fh_dref.m4, 15282794Sobrien aux/macros/check_nfs_prot_headers.m4, 15382794Sobrien aux/macros/check_nfs_sa_dref.m4, 15482794Sobrien aux/macros/check_nfs_socket_connection.m4, 15582794Sobrien aux/macros/os_cflags.m4, 15682794Sobrien aux/macros/type_auth_create_gidlist.m4, 15782794Sobrien aux/macros/type_recvfrom_fromlen.m4, 15882794Sobrien aux/macros/type_yp_order_outorder.m4: 15982794Sobrien Reworked the scripts, so that a new _unknown_ version of a known OS 16082794Sobrien will use the option for the newest _known_ version of that OS. For 16182794Sobrien example, when freebsd6 comes out, it will use the stuff for 16282794Sobrien freebsd5, not the stuff for freebsd2. This makes configure more 16382794Sobrien likely to succeed on new systems/versions. 16482794Sobrien 16582794Sobrien2001-02-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 16682794Sobrien 16782794Sobrien * Makefile.am (EXTRA_DIST_CONF): include nfs_prot_darwin.h in 16882794Sobrien distributions. 16982794Sobrien 17082794Sobrien2001-02-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 17182794Sobrien 17282794Sobrien * libamu/mtab.c: added the functions hasmnteq and haseq to 17382794Sobrien ease checks for non-numeric values in opt=value strings. 17482794Sobrien Recoded hasmntval to qualify input as numeric, allow hex and 17582794Sobrien octal strings on rhs of =, and log when the value is missing 17682794Sobrien or invalid. 17782794Sobrien 17882794Sobrien * conf/mount/mount_linux.c: revised mount_linux to use new 17982794Sobrien hasmnteq function to extract type of non-nfs mounts, and added 18082794Sobrien a log message to catch possible failure of strdup. 18182794Sobrien 18282794Sobrien * amd/am_ops.c: revised merge_ops to use new haseq function 18382794Sobrien 18482794Sobrien * amd/srvr_nfs.c: revised find_nfs_srvr to use hasmnteq to 18582794Sobrien discover protocol setting. 18682794Sobrien 18782794Sobrien * include/am_utils.h: added function prototypes for hasmnteq 18882794Sobrien and haseq 18982794Sobrien 19082794Sobrien2001-02-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 19182794Sobrien 19282794Sobrien * include/mount_headers2.h (_LINUX_NFS3_H): define it, to avoid 19382794Sobrien pulling in unwanted declarations from 2.2.19pre and 2.4.1ac 19482794Sobrien 19582794Sobrien * include/am_defs.h (_LINUX_NFS3_H): ditto 19682794Sobrien 19782794Sobrien * conf/nfs_prot/nfs_prot_linux.h: whitespace, comments 19882794Sobrien 19982794Sobrien2001-02-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 20082794Sobrien 20182794Sobrien * aux/macros/check_fs_mntent.m4 (ac_safe): remove debugging "echo" 20282794Sobrien command. 20382794Sobrien 20482794Sobrien2001-02-18 Erez Zadok <ezk@earth.cs.columbia.edu> 20582794Sobrien 20682794Sobrien * released snapshot am-utils-6.0.6s1 20782794Sobrien 20882794Sobrien * aux/macros/mount_headers.m4, include/mount_headers[12].h: split 20982794Sobrien mount_headers.h in two because one relative header (nfs_prot.h) 21082794Sobrien file cannot be included inside another from the start directory of 21182794Sobrien the first (it's relative to the directory of the first). 21282794Sobrien 21382794Sobrien2001-02-09 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 21482794Sobrien 21582794Sobrien * AUTHORS: added Ahmon Dancy <dancy@franz.com> 21682794Sobrien 21782794Sobrien * (all): added Darwin/Rhapsody/Apple OS X support from Ahmon Dancy 21882794Sobrien 21982794Sobrien * aux/macros/mount_headers.m4: moved all the C code into a 22082794Sobrien separate file, include/mount_headers.h; the effect is that 22182794Sobrien configure goes down in size by a factor of 2.5! 22282794Sobrien 22382794Sobrien * include/mount_headers.h: new file, with C code from 22482794Sobrien aux/macros/mount_headers.m4 22582794Sobrien 22682794Sobrien2001-02-01 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 22782794Sobrien 22882794Sobrien * conf/mount/mount_linux.c: made linux_nfs_error() more robust. 22982794Sobrien 23082794Sobrien2001-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 23182794Sobrien 23282794Sobrien ******************************************************************* 23382794Sobrien *** Released am-utils-6.0.5 *** 23482794Sobrien ******************************************************************* 23582794Sobrien 23682794Sobrien2001-02-01 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 23782794Sobrien 23882794Sobrien * conf/nfs_prot/nfs_prot_linux.h (nfs_error): moved the definition 23982794Sobrien of nfs_error here, from mount_linux.c, so that it can actually be 24082794Sobrien used. 24182794Sobrien 24282794Sobrien * conf/mount/mount_linux.c: added unused errno 41 to the 24382794Sobrien nfs_errormap array, lest the following errno's get shifted up by 24482794Sobrien one! 24582794Sobrien 24682794Sobrien2001-01-12 Ion Badulescu <ionut@buggy.dev.hydraweb.com> 24782794Sobrien 24882794Sobrien * include/am_defs.h: don't allow linux/fs.h to be sucked in via 24982794Sobrien linux/auto_fs.h, it breaks the compile on glibc platforms. 25082794Sobrien 25182794SobrienSat Jan 13 00:04:38 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 25282794Sobrien 25382794Sobrien * amd/amd.h (autofs_lookuppn): Fixup whitespace. 25482794Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): Likewise. 25582794Sobrien * amd/amfs_error.c: (amfs_error_match): Likewise. 25682794Sobrien * amd/amfs_host.c (fetch_fhandle): Fixup whitespace. Remove 25782794Sobrien unnecessary temporary variable. 25882794Sobrien * amd/info_file.c (read_line): Likewise. 25982794Sobrien (search_or_reload_file): Likewise. 26082794Sobrien * amd/info_ldap.c (get_ldap_timestamp): Likewise. 26182794Sobrien * amd/nfs_prot_svc.c: Likewise. 26282794Sobrien * amd/ops_TEMPLATE.c (foofs_match, foofs_lookuppn, 26382794Sobrien foofs_readlink, foofs_ffserver): Likewise. 26482794Sobrien * amd/ops_autofs.c (autofs_bgmount): Likewise. 26582794Sobrien * amd/ops_lofs.c (lofs_match): Likewise. 26682794Sobrien * amd/ops_nfs.c (got_nfs_fh): Fixup whitespace. 26782794Sobrien * amd/ops_xfs.c (xfs_match): Likewise. 26882794Sobrien * amd/srvr_amfs_auto.c (srvrlog): Line break. 26982794Sobrien * amd/srvr_nfs.c (got_portmap, call_portmap, nfs_pinged, 27082794Sobrien nfs_srvr_port): Fixup whitespace. 27182794Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: Likewise. 27282794Sobrien * conf/nfs_prot/nfs_prot_hpux.h: Likewise. 27382794Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: Likewise. 27482794Sobrien * conf/nfs_prot/nfs_prot_irix5.h: Likewise. 27582794Sobrien * conf/nfs_prot/nfs_prot_irix6.h: Likewise. 27682794Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: Likewise. 27782794Sobrien * conf/nfs_prot/nfs_prot_osf2.h: Likewise. 27882794Sobrien * conf/nfs_prot/nfs_prot_osf4.h: Likewise. 27982794Sobrien * conf/nfs_prot/nfs_prot_osf5_1.h: Likewise. 28082794Sobrien * conf/nfs_prot/nfs_prot_sunos3.h: Likewise. 28182794Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: Likewise. 28282794Sobrien * conf/nfs_prot/nfs_prot_ultrix.h: Likewise. 28382794Sobrien * conf/transp/transp_tli.c (get_mount_client): Likewise. 28482794Sobrien * hlfsd/nfs_prot_svc.c: Likewise. 28582794Sobrien * include/am_defs.h (sys_errlist): Likewise. 28682794Sobrien * include/am_utils.h (am_get_progname, am_get_hostname, 28782794Sobrien amq_program_1): Likewise. 28882794Sobrien (nfsxprt): Moved declaration. 28982794Sobrien 29082794SobrienFri Jan 12 23:46:31 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 29182794Sobrien 29282794Sobrien * hlfsd/hlfsd.h (HLFSD_VERSION): Bump copyright year to 2001. 29382794Sobrien 29482794SobrienFri Jan 12 23:31:45 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 29582794Sobrien 29682794Sobrien Removed support for amq -M. 29782794Sobrien 29882794Sobrien * acconfig.h (ENABLE_AMQ_MOUNT): Removed. 29982794Sobrien * aux/macros/opt_amq_mount.m4: Removed. 30082794Sobrien * Makefile.am (EXTRA_DIST_AUX): Don't distribute 30182794Sobrien opt_amq_mount.m4. 30282794Sobrien * configure.in (AC_OPT_AMQ_MOUNT): Removed invocation. 30382794Sobrien 30482794Sobrien * amd/amq_subr.c (ok_security, amqproc_mount_1_svc): Removed. 30582794Sobrien * amd/amq_svc.c (amq_program_1): Removed amq -M support. 30682794Sobrien * amq/amq.c (mount_map): Removed. 30782794Sobrien (main): Removed -M option handling. 30882794Sobrien Removed transport-type specific CLIENT creation. 30982794Sobrien (get_secure_amd_client, amq_bind_resv_port, privsock): Removed. 31082794Sobrien 31182794Sobrien * amq/amq.8: Removed -M documentation. 31282794Sobrien * doc/am-utils.texi (Top-level Filesystem): Removed amq -M 31382794Sobrien reference, but retain comment on mount -t amd. 31482794Sobrien (Controlling Amd): Likewise. 31582794Sobrien 31682794Sobrien * tasks: Removed this task. 31782794Sobrien 31882794Sobrien2001-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 31982794Sobrien 32082794Sobrien * Makefile.am (EXTRA_DIST): distribute new LDAP files. 32182794Sobrien 32282794Sobrien * README.ldap, ldap-id.txt, ldap-id.ms: LDAP status information, 32382794Sobrien proposed Schema, and internet draft. 32482794Sobrien 32582794SobrienFri Jan 12 22:27:07 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 32682794Sobrien 32782794Sobrien * Support Tru64 UNIX V5.1: 32882794Sobrien 32982794Sobrien * conf/nfs_prot/nfs_prot_osf5_1.h: New file. 33082794Sobrien 33182794Sobrien * Makefile.am (EXTRA_DIST_CONF): Distribute it. 33282794Sobrien 33382794Sobrien * aux/macros/check_nfs_prot_headers.m4: Tru64 UNIX V5.1 has 33482794Sobrien AutoFS, need to disable it until a port exists. 33582794Sobrien 33682794Sobrien * INSTALL, doc/am-utils.texi (Supported Platforms): Mention new 33782794Sobrien minor port. 33882794Sobrien 33982794Sobrien2001-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 34082794Sobrien 34182794Sobrien * ALL: bump copyright year to 2001. 34282794Sobrien 34382794Sobrien2001-01-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 34482794Sobrien 34582794Sobrien * acconfig.h: correct comments for NODEV/NONDEV mount options 34682794Sobrien 34782794SobrienFri Jan 5 05:12:02 2001 Erez Zadok <ezk@subzero.cs.columbia.edu> 34882794Sobrien 34982794Sobrien * libamu/xdr_func.c: removed ugly casts to "groups*", now that 35082794Sobrien irix6's nfs_prot.h is fixed. 35182794Sobrien 35282794Sobrien * conf/nfs_prot/nfs_prot_irix6.h: copied relevant parts of 35382794Sobrien <rpcsvc/mount.h> here so we don't have to include this header. 35482794Sobrien 35582794Sobrien2001-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 35682794Sobrien 35782794Sobrien * conf/nfs_prot/nfs_prot_irix6.h: redefine "groups" typedef to 35882794Sobrien struct groups, not the pointer to this struct. 35982794Sobrien 36082794Sobrien * include/am_xdr_func.h: prototype should take "groups *" as 2nd 36182794Sobrien arg. 36282794Sobrien 36382794Sobrien * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): change 36482794Sobrien casting of second arg of xdr_groups to "groups *". It's only 36582794Sobrien needed for irix6, due to problems with xdr_groups on that platform. 36682794Sobrien (xdr_groups): prototype should take "groups *" as 2nd arg. 36782794Sobrien 36882794Sobrien * conf/nfs_prot/nfs_prot_aix*.h: correct xdr_groups extern 36982794Sobrien definition. Report from Ahmon Dancy <dancy@franz.com>. 37082794Sobrien 37182794Sobrien2000-12-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 37282794Sobrien 37382794Sobrien * released snapshot am-utils-6.0.5s4 37482794Sobrien 37582794Sobrien * minor port i386-unknown-freebsd4.2 (documented) 37682794Sobrien 37782794Sobrien2000-12-07 Ion Badulescu <lionut@gonzales.dev.hydraweb.com> 37882794Sobrien 37982794Sobrien * configure.in (LIBTOOL_LDFLAGS): fix libtool version 38082794Sobrien 38182794Sobrien2000-12-02 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 38282794Sobrien 38382794Sobrien * doc/am-utils.texi (opts Option): document lock/nolock 38482794Sobrien 38582794Sobrien * libamu/mount_fs.c (mnt_flags): allow the use of the "nolock" 38682794Sobrien option 38782794Sobrien 38882794Sobrien * include/am_defs.h: don't include <linux/fs.h> on a glibc2 system 38982794Sobrien 39082794Sobrien * include/am_compat.h: define the "nolock" mnttab option if the 39182794Sobrien NONLM NFS mount option is defined 39282794Sobrien 39382794Sobrien * acconfig.h: added MNT2_NFS_OPT_NONLM 39482794Sobrien 39582794Sobrien * configure.in: added detection of the NONLM Linux NFS mount 39682794Sobrien option; added a clarification for the library versioning rules and 39782794Sobrien increased the patchlevel 39882794Sobrien 39982794Sobrien2000-11-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 40082794Sobrien 40182794Sobrien * libamu/wire.c (getwire_lookup): truncate the hostname to 40282794Sobrien MAXHOSTNAMELEN characters. 40382794Sobrien 40482794Sobrien2000-11-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 40582794Sobrien 40682794Sobrien * include/am_utils.h (MAXHOSTNAMELEN): if not defined, set this to 40782794Sobrien 256 bytes, not 64. Suggestion form Kris Kennaway 40882794Sobrien <kris@FreeBSD.org>. 40982794Sobrien 41082794Sobrien2000-11-26 Erez Zadok <ezk@dmath5.geometrie.tuwien.ac.at> 41182794Sobrien 41282794Sobrien * configure.in (AC_CHECK_MNT2_NFS_OPTS): check for NFS mount 41382794Sobrien options kerb, rdirplus, readdirsize, and xlatecookie 41482794Sobrien (NetBSD-1.5K). 41582794Sobrien 41682794Sobrien * acconfig.h: recognize NFS mount options rdirplus, readdirsize, 41782794Sobrien and xlatecookie (NetBSD-1.5K) 41882794Sobrien 41982794Sobrien2000-11-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 42082794Sobrien 42182794Sobrien * amd/srvr_nfs.c: comment on NFS proto search order. 42282794Sobrien 42382794Sobrien * libamu/xutil.c (real_plog): don't try to write the last byte of 42482794Sobrien the fmt buf. Security suggestion from NetBSD: Thomas Klausner 42582794Sobrien <wiz@danbala.ifoer.tuwien.ac.at> 42682794Sobrien 42782794Sobrien2000-11-22 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 42882794Sobrien 42982794Sobrien * amd/amfs_auto.c (amfs_auto_bgmount), 43082794Sobrien amd/ops_autofs.c (autofs_bgmount): removed the initialization of 43182794Sobrien fattr.na_fileid, it is now done in map.c when the map is initialized 43282794Sobrien 43382794Sobrien * amd/map.c (init_map): initialize fattr.na_fileid to am_gen, not 43482794Sobrien to 0, to avoid cache aliasing problems on Linux (and to follow the 43582794Sobrien NFS spec!) 43682794Sobrien 43782794Sobrien2000-11-22 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at> 43882794Sobrien 43982794Sobrien * libamu/mount_fs.c (mount_fs): avoid using extra limited-size buf 44082794Sobrien (security) 44182794Sobrien 44282794Sobrien * libamu/xutil.c, fsinfo/fsinfo.h, include/am_utils.h: use 44382794Sobrien __attribute__, __format__, and __printf__ for GCC string auditing. 44482794Sobrien 44582794Sobrien * wire-test/wire-test.8: this is not a section 8L man page. 44682794Sobrien 44782794Sobrien * libamu/xutil.c (expand_error): don't use sys_nerr on systems 44882794Sobrien that support strerror(). 44982794Sobrien (dplog): fmt is const 45082794Sobrien (plog): fmt is const 45182794Sobrien (real_plog): fmt is const. use new expand_error function with its 45282794Sobrien new return value. be more careful about running off the end of 45382794Sobrien char[] fixed size buffers. 45482794Sobrien 45582794Sobrien * libamu/wire.c (getwire): fix alignment error on alpha using an 45682794Sobrien extra automatic storage variable ifrpool. 45782794Sobrien 45882794Sobrien * hlfsd/hlfsd.c (fatal): use proper printf style to plog. 45982794Sobrien 46082794Sobrien * fsinfo/fsinfo.c (find_username): getlogin() returns a const. 46182794Sobrien 46282794Sobrien * fsinfo/fsi_util.c (error, lerror, lwarning, fatal, log): use 46382794Sobrien vfprintf. 46482794Sobrien 46582794Sobrien * fsinfo/fsi_lex.l (yyerror): use vfprintf. 46682794Sobrien 46782794Sobrien * fixmount/fixmount.8: this is not a section 8L man page. 46882794Sobrien 46982794Sobrien * doc/am-utils.texi (Hesiod maps): fixed typo. 47082794Sobrien 47182794Sobrien * amd/sched.c (do_task_notify): typo in comment. 47282794Sobrien 47382794Sobrien * amd/opts.c (expand_op): expand_error[] is a const char *. 47482794Sobrien 47582794Sobrien * amd/amd.c (main): use proper printf style to plog. 47682794Sobrien 47782794Sobrien2000-11-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 47882794Sobrien 47982794Sobrien * libamu/mount_fs.c (mnt_flags, compute_nfs_args): recognize 48082794Sobrien proplist mnttab flag. Bug fix from Wolfram Klaus 48182794Sobrien <klaus@physik.fu-berlin.de>. 48282794Sobrien 48382794Sobrien2000-11-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 48482794Sobrien 48582794Sobrien * released snapshot am-utils-6.0.5s3 48682794Sobrien 48782794Sobrien * updated config.guess, config.sub, and doc/texinfo.tex from 48882794Sobrien mirrors 48982794Sobrien 49082794Sobrien * Makefile.am (update): proper updating of config.* and texinfo 49182794Sobrien from mirrors. 49282794Sobrien 49382794Sobrien * aux/macros/check_nfs_prot_headers.m4: newer netbsd systems 49482794Sobrien reports their system name as "netbsdelf" in config.guess. 49582794Sobrien 49682794Sobrien2000-11-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 49782794Sobrien 49882794Sobrien * released snapshot am-utils-6.0.5s2 49982794Sobrien 50082794Sobrien2000-11-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 50182794Sobrien 50282794Sobrien * doc/am-utils.texi (opts Option): document new mount option 50382794Sobrien "proplist" 50482794Sobrien 50582794Sobrien * include/am_compat.h: define amd mount option "proplist" if the 50682794Sobrien system doesn't recognize it, but the NFS bit flag exists. 50782794Sobrien 50882794Sobrien * configure.in, acconfig.h: recognize/support "proplist" NFS mount 50982794Sobrien option in Amd, useful under DU-4.0 to process ACLs over NFS 51082794Sobrien mounts. 51182794Sobrien 51282794Sobrien2000-11-10 Ion Badulescu <ib42@earth.cs.columbia.edu> 51382794Sobrien 51482794Sobrien * conf/mount/mount_linux.c (mount_linux): removed unnecessary 51582794Sobrien rsize/wsize defaults -- performance killers on 2.2.18+ and 2.4.0+ 51682794Sobrien 51782794Sobrien2000-11-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 51882794Sobrien 51982794Sobrien * MIRRORS (Note): added a mirror at ufl.edu 52082794Sobrien 52182794Sobrien2000-10-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 52282794Sobrien 52382794Sobrien * scripts/am-eject.in: accept "cdrom" and "floppy" as arguments. 52482794Sobrien 52582794Sobrien2000-10-11 Erez Zadok <ezk@lorien.dev.hydraweb.com> 52682794Sobrien 52782794Sobrien * amq/amq.8: synchronize Amq's options with reality 52882794Sobrien 52982794Sobrien * amq/amq.c (main): synchronize Amq's usage() string with reality 53082794Sobrien 53182794Sobrien2000-10-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 53282794Sobrien 53382794Sobrien * scripts/ctl-amd.in: add targets condrestart (redhat) and 53482794Sobrien reload. 53582794Sobrien 53682794Sobrien2000-10-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 53782794Sobrien 53882794Sobrien * scripts/lostaltmail.in (vrfy_user): ensure that MAILDIR is 53982794Sobrien defined. 54082794Sobrien 54182794Sobrien2000-10-02 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 54282794Sobrien 54382794Sobrien * aux/macros/mount_headers.m4: only include <linux/fs.h> 54482794Sobrien on a non-glibc2 system 54582794Sobrien 54682794Sobrien * aux/macros/try_compile_anyfs.m4: ditto 54782794Sobrien 54882794Sobrien * aux/macros/check_mount_type.m4: linux 2.4 stores loadable modules 54982794Sobrien in a different directory structure 55082794Sobrien 55182794Sobrien * aux/macros/check_mnttab_type.m4: ditto 55282794Sobrien 55382794Sobrien * aux/macros/check_fs_mntent.m4: ditto; also, replace the nfs3 55482794Sobrien linux hack with a hopefully more stable hack 55582794Sobrien 55682794Sobrien2000-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 55782794Sobrien 55882794Sobrien * amd/opts.c (backslash): Bell char (ASCII 007) should be \g, not 55982794Sobrien \a. 56082794Sobrien 56182794Sobrien2000-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 56282794Sobrien 56382794Sobrien * include/am_utils.h: removed unused field opt_autopref 56482794Sobrien 56582794Sobrien * amd/opts.c: removed unused variable $autopref 56682794Sobrien 56782794Sobrien2000-09-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 56882794Sobrien 56982794Sobrien * released snapshot am-utils-6.0.5s1 57082794Sobrien 57182794Sobrien2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 57282794Sobrien 57382794Sobrien * aux/macros/check_fs_mntent.m4 (_LINUX_NFS_XDR_H): define it so 57482794Sobrien linux/nfs_xdr.h doesn't get included (not intended for user space) 57582794Sobrien 57682794Sobrien2000-09-05 Erez Zadok <ezk@aladdin.dev.hydraweb.com> 57782794Sobrien 57882794Sobrien * conf/mtab/mtab_svr4.c (lockfile): function not needed unless 57982794Sobrien MOUNT_TABLE_ON_FILE is defined. 58082794Sobrien mtlckname static var is onlyneeded if MOUNT_TABLE_ON_FILE. 58182794Sobrien (update_mnttab_fields): only needed if MOUNT_TABLE_ON_FILE. 58282794Sobrien 58382794Sobrien2000-09-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 58482794Sobrien 58582794Sobrien * buildall (Usage): typo in usage string 58682794Sobrien 58782794Sobrien2000-08-25 Erez Zadok <ezk@lynn.soscorp.com> 58882794Sobrien 58982794Sobrien * conf/mount/mount_linux.c (mount_linux): MNT2_NFS_OPT_VER3 may 59082794Sobrien is no defined on older Linux systems (kernel 2.0.36) 59182794Sobrien 59282794Sobrien2000-08-19 Erez Zadok <ezk@earth.cs.columbia.edu> 59382794Sobrien 59482794Sobrien * scripts/amd.conf.5: correct swapped descriptions for ldap_base 59582794Sobrien and ldap_hostports. 59682794Sobrien 59782794Sobrien * doc/am-utils.texi: correct swapped descriptions for ldap_base 59882794Sobrien and ldap_hostports. 59982794Sobrien 60082794Sobrien * scripts/amd.conf-sample: swap examples for ldap_base and 60182794Sobrien ldap_hostports. 60282794Sobrien 60382794Sobrien2000-08-13 Erez Zadok <ezk@earth.cs.columbia.edu> 60482794Sobrien 60582794Sobrien * scripts/amd.conf-sample: -O is CLI equivalent to "os" 60682794Sobrien amd.conf parameter 60782794Sobrien 60882794Sobrien2000-07-30 Erez Zadok <ezk@earth.cs.columbia.edu> 60982794Sobrien 61082794Sobrien * scripts/amd.conf-sample (nfs_retransmit_counter): correct 61182794Sobrien meaning and use of parameter 61282794Sobrien 61382794Sobrien2000-07-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 61482794Sobrien 61582794Sobrien * doc/am-utils.texi: updated URLs to www.am-utils.org. 61682794Sobrien 61782794Sobrien2000-07-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 61882794Sobrien 61982794Sobrien ******************************************************************* 62082794Sobrien *** Released am-utils-6.0.4 *** 62182794Sobrien ******************************************************************* 62282794Sobrien 62382794Sobrien2000-07-08 Erez Zadok <ezk@earth.cs.columbia.edu> 62482794Sobrien 62582794Sobrien * configure.in: update shared library information 62682794Sobrien 62782794Sobrien2000-07-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 62882794Sobrien 62982794Sobrien * INSTALL: document osf4.0f 63082794Sobrien 63182794Sobrien * doc/am-utils.texi (Supported Platforms): document osf4.0f 63282794Sobrien 63382794Sobrien2000-06-19 Erez Zadok <ezk@vir.cs.columbia.edu> 63482794Sobrien 63582794Sobrien * doc/am-utils.texi (dollar Selector Variable): document 63682794Sobrien ${dollar}. 63782794Sobrien 63882794Sobrien * amd/opts.c: special new variable ${dollar} which expands into a 63982794Sobrien literal '$' sign. Otherwise there is no way to include a literal 64082794Sobrien dollar symbol in an amd map. 64182794Sobrien 64282794Sobrien2000-06-11 Erez Zadok <ezk@earth.cs.columbia.edu> 64382794Sobrien 64482794Sobrien * amd/opts.c: correct comment name at top of opt_fields. 64582794Sobrien 64682794Sobrien2000-06-11 Ion Badulescu <ionut@moisil.cs.columbia.edu> 64782794Sobrien 64882794Sobrien * config.guess.long: munge config.guess' output so that intel 64982794Sobrien linux appears as i386-pc-linux 65082794Sobrien 65182794SobrienFri Jun 9 16:06:56 2000 Erez Zadok <ezk@defiant.dev.hydraweb.com> 65282794Sobrien 65382794Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: getifaddrs() on bsdi2 is broken. 65482794Sobrien Don't use it. 65582794Sobrien 65682794Sobrien2000-06-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 65782794Sobrien 65882794Sobrien * amd/mapc.c (maptypes): Change default allocation mode to 65982794Sobrien MAPC_INC where reload support is missing to avoid warning in 66082794Sobrien mapc_create(). 66182794Sobrien 66282794Sobrien2000-06-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 66382794Sobrien 66482794Sobrien * conf/nfs_prot/nfs_prot_sunos5_5.h: turn off autofs support for 66582794Sobrien solaris 2.5 until a full port can be done. 66682794Sobrien 66782794Sobrien2000-06-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 66882794Sobrien 66982794Sobrien * released snapshot am-utils-6.0.4s5 67082794Sobrien 67182794Sobrien * Makefile.am, aux/GNUmakefile: fix maintainer rules to update 67282794Sobrien config.* and texinfo.tex files. 67382794Sobrien 67482794Sobrien * amd/nfs_subr.c (nfsproc_getattr_2_svc): Don't conditionalize the 67582794Sobrien mtime update of the symlinks on the SYMTTL option, but rather 67682794Sobrien delay unmount of what was looked up using am_timeo_w. Patch from 67782794Sobrien Nick Williams <Nick.Williams@msdw.com>. As Nick says "Basically: 67882794Sobrien during unmount, increment the parent dir's mtime (fixes people 67982794Sobrien doing amq -u). During stat, increase the TTL (to fix bad-luck 68082794Sobrien timeouts), but leave the mtime alone." 68182794Sobrien 68282794Sobrien (nfsproc_lookup_2_svc, nfsproc_readlink_2_svc, unlink_or_rmdir, 68382794Sobrien nfsproc_readdir_2_svc): correctly update d_drops stats for amq -s. 68482794Sobrien Patch from Nick Williams <Nick.Williams@msdw.com>. 68582794Sobrien 68682794Sobrien * amd/map.c (unmount_mp): update mtime of amd symlink to further 68782794Sobrien reduce the chances of race conditions between unmounting and 68882794Sobrien looking up an entry again. Patch from Nick Williams 68982794Sobrien <Nick.Williams@msdw.com>. 69082794Sobrien 69182794Sobrien * README: updated instructions 69282794Sobrien 69382794Sobrien * bootstrap: remove log file before existing 69482794Sobrien 69582794Sobrien2000-06-06 Erez Zadok <ezk@aladdin.dev.hydraweb.com> 69682794Sobrien 69782794Sobrien * configure.in: no longer using aux/ subdir. don't force autoconf 69882794Sobrien 2.14. comment out (but leave explanation) everything that's needed 69982794Sobrien for autoconf 2.14, so for now it works with autoconf-2.13, but the 70082794Sobrien code is ready for 2.14 when it is released. Similar changes to 70182794Sobrien make code work with automake-1.4, until the next release comes 70282794Sobrien out. 70382794Sobrien 70482794Sobrien * libamu/Makefile.am: include definitions that are required in 70582794Sobrien automake 1.4, but won't be necessary when the next release of 70682794Sobrien automake comes out (see XXX comments). 70782794Sobrien 70882794Sobrien * cache_check_dynamic.m4, check_checkmount_style.m4, 70982794Sobrien check_mnttab_style.m4, check_mount_style.m4, 71082794Sobrien check_network_transport_type.m4, check_nfs_prot_headers.m4, 71182794Sobrien check_umount_style.m4: use symlink creation code that works for 71282794Sobrien both autoconf 2.13 and 2.14 (when the latter comes out). 71382794Sobrien 71482794Sobrien * bootstrap: new script for maintainers to run to update autoconf, 71582794Sobrien automake, and libtool related files. Has the same effect as 71682794Sobrien "buildall -K". 71782794Sobrien 71882794Sobrien * removed dependencies on CVS versions of autoconf, automake, and 71982794Sobrien libtool, especially the modified automake I had. This is so that 72082794Sobrien maintainers could built the auto* files out of the latest released 72182794Sobrien GNU autoconf, automake, and libtool. However, without my nice 72282794Sobrien patches to automake, many files that used to live in the aux/ 72382794Sobrien subdir now were moved to the top level source directory: acconfig.h, 72482794Sobrien acinclude.m4, aclocal.m4, aux_conf.h.in, config.guess, 72582794Sobrien config.guess.long, config.h.in, config.sub, configure.in, depcomp, 72682794Sobrien install-sh, ltconfig, ltmain.sh, missing, and mkinstalldirs. Also 72782794Sobrien texinfo.tex and mdate-sh moved from aux/ dir to doc/ dir. 72882794Sobrien 72982794Sobrien2000-06-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 73082794Sobrien 73182794Sobrien * cvs-server.txt: instructions for maintainers to access the CVS 73282794Sobrien server for am-utils. 73382794Sobrien 73482794Sobrien2000-06-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 73582794Sobrien 73682794Sobrien * amd/am_ops.c (ops_match): changed XLOG_USER messages about 73782794Sobrien merging addopts options to the more appropriate XLOG_INFO. Patch 73882794Sobrien submitted by Tom Schmidt <tschmidt@micron.com>. 73982794Sobrien 74082794Sobrien * config.{guess,sub}: make sure chmod'ed a+rx. Updated from 74182794Sobrien latest GNU copies. 74282794Sobrien 74382794Sobrien2000-05-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 74482794Sobrien 74582794Sobrien * released snapshot am-utils-6.0.4s4 74682794Sobrien 74782794Sobrien2000-05-29 Ion Badulescu <ionut@moisil.cs.columbia.edu> 74882794Sobrien 74982794Sobrien * conf/transp/transp_sockets.c (amu_svc_getcaller): cast result of 75082794Sobrien svc_getcaller() to sockaddr_in, to appease glibc 2.2 75182794Sobrien 75282794Sobrien2000-05-28 Erez Zadok <ezk@mulberry.mcl.cs.columbia.edu> 75382794Sobrien 75482794Sobrien * doc/am-utils.texi (Network Filesystem Group): minor typos 75582794Sobrien 75682794Sobrien2000-05-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 75782794Sobrien 75882794Sobrien * amd/amfs_auto.c (amfs_auto_readdir_browsable): cast pointers to 75982794Sobrien long for 64-bit architectures. 76082794Sobrien 76182794Sobrien * libamu/xutil.c (amu_release_controlling_tty): eliminate an 76282794Sobrien unused variable "tempfile" 76382794Sobrien 76482794Sobrien * libamu/wire.c (getwire_lookup): handle calling irs_gen_acc with 76582794Sobrien one or two arguments (bsdi3 vs. bsdi4) 76682794Sobrien 76782794Sobrien2000-05-26 Ion Badulescu <ionut@moisil.cs.columbia.edu> 76882794Sobrien 76982794Sobrien * libamu/xutil.c (amu_release_controlling_tty): close standard 77082794Sobrien file descriptors, re-open them as /dev/null 77182794Sobrien 77282794Sobrien * include/am_defs.h: don't try to include both <ndbm.h> and 77382794Sobrien <db1/ndbm.h>, it really doesn't work 77482794Sobrien 77582794Sobrien2000-05-16 Ion Badulescu <ib42@earth.cs.columbia.edu> 77682794Sobrien 77782794Sobrien * hlfsd/stubs.c (nfsproc_lookup_2_svc): added code to update mtime 77882794Sobrien on lookup if MNT2_NFS_OPT_SYMTTL is not defined (copied from 77982794Sobrien getattr). This fixes the problem introduced by the Linux nfsv3 78082794Sobrien patches. 78182794Sobrien 78282794Sobrien2000-04-30 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 78382794Sobrien 78482794Sobrien * include/am_defs.h, aux/macros/mount_headers.m4, 78582794Sobrien aux/macros/try_compile_anyfs.m4: include linux/kdev_t.h and 78682794Sobrien linux/list.h before including linux/fs.h, and define __KERNEL__ 78782794Sobrien for those two headers. All of this to get a couple of definitions 78882794Sobrien that are needed in the new struct vfsmount. 78982794Sobrien 79082794Sobrien * aux/configure.in: look for <linux/kdev_t.h> and <linux/list.h>. 79182794Sobrien 79282794Sobrien * include/am_defs.h, aux/macros/mount_headers.m4: avoid conflicts 79382794Sobrien between linux/in.h. and netinet/in.h (linux-2.3.99-pre6), by 79482794Sobrien defining _LINUX_IN_H so it doesn't get included. 79582794Sobrien 79682794Sobrien2000-04-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 79782794Sobrien 79882794Sobrien * minor new ports: i686-pc-linux-gnu-rh6.2, 79982794Sobrien i386-unknown-freebsdelf3.4, i586-pc-linux-gnu-rh6.2. 80082794Sobrien 80182794Sobrien2000-04-03 Erez Zadok <ezk@vir.cs.columbia.edu> 80282794Sobrien 80382794Sobrien * aux/acconfig.h: move all #undef macros above @TOP@, so they can 80482794Sobrien be recognized by pickier autoconf. 80582794Sobrien 80682794Sobrien2000-04-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 80782794Sobrien 80882794Sobrien * aux/macros/cache_check_dynamic.m4 (ac_tmp): use correct echo -n 80982794Sobrien or \c. 81082794Sobrien 81182794Sobrien2000-03-25 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 81282794Sobrien 81382794Sobrien * include/am_defs.h: ditto 81482794Sobrien 81582794Sobrien * aux/macros/{mount_headers,try_compile_anyfs}.m4: force 81682794Sobrien non-inclusion of <linux/string.h>. Breaks build on newer 2.3 81782794Sobrien kernels. 81882794Sobrien 81982794Sobrien2000-02-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 82082794Sobrien 82182794Sobrien * doc/am-utils.texi (Amq -w option): document new amq -w option. 82282794Sobrien 82382794Sobrien * amq/amq.8: document new amq -w option. 82482794Sobrien 82582794Sobrien * amq/amq.c: disable last remains of insecure amq -M code. 82682794Sobrien (main): add amq -H option to show usage. 82782794Sobrien (main): new amq -w option, translates getpwd() into an amd path. 82882794Sobrien 82982794Sobrien2000-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 83082794Sobrien 83182794Sobrien * minor new port: alphaev6-dec-osf5.0 83282794Sobrien 83382794Sobrien * doc/am-utils.texi (Supported Platforms): hpux-11 supports NFSv3, 83482794Sobrien but only for UDP. 83582794Sobrien 83682794Sobrien * released snapshot am-utils-6.0.4s3 83782794Sobrien 83882794Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: support NFSv3 in hpux-11. Note 83982794Sobrien that hpux-11 NFSv3 supports UDP only, and trying TCP locks up the 84082794Sobrien kernel! Must set nfs_proto=udp in amd.conf [global]. 84182794Sobrien 84282794Sobrien * aux/config.guess.long: set and export PATH separately. DU5 84382794Sobrien /bin/sh doesn't like setting it on the command line in a 84482794Sobrien back-tick'ed `script`. 84582794Sobrien 84682794Sobrien2000-02-24 Ion Badulescu <ionut@moisil.cs.columbia.edu> 84782794Sobrien 84882794Sobrien * Makefile.am: removed struct_nfs_mount_data.m4 84982794Sobrien 85082794Sobrien * aux/macros/struct_nfs_mount_data.m4: deleted 85182794Sobrien 85282794Sobrien * aux/acconfig.h: removed definition for HAVE_NFS_MOUNT_DATA 85382794Sobrien 85482794Sobrien * aux/configure.in: removed check for struct nfs_mount_data 85582794Sobrien 85682794Sobrien2000-02-24 Ion Badulescu <ib42@beetle.mcl.cs.columbia.edu> 85782794Sobrien 85882794Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): changed log message to 85982794Sobrien avoid having 'failed' in a message not indicating a failure 86082794Sobrien (amfs_auto_lookuppn): ditto 86182794Sobrien 86282794Sobrien * amd/ops_autofs.c (autofs_bgmount): ditto 86382794Sobrien (autofs_lookuppn): ditto 86482794Sobrien 86582794Sobrien2000-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 86682794Sobrien 86782794Sobrien * added .cvsignore files into the CVS repository. 86882794Sobrien 86982794Sobrien * remove files which can be regenerated: .in, configure, some 87082794Sobrien files in aux/, and more. 87182794Sobrien 87282794Sobrien2000-02-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 87382794Sobrien 87482794Sobrien * doc/am-utils.texi (nfs_vers/nfs_proto): description of two 87582794Sobrien parameters was reversed. Reported by Paul Jenner 87682794Sobrien <p.jenner@eim.surrey.ac.uk>. 87782794Sobrien 87882794Sobrien2000-02-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 87982794Sobrien 88082794Sobrien * released snapshot am-utils-6.0.4s2 88182794Sobrien 88282794Sobrien * amd/mntfs.c (realloc_mntfs): don't fallback on certain ops such 88382794Sobrien as inherit, error, and toplvl (failover code). 88482794Sobrien 88582794Sobrien * amd/conf.c (gopt_nfs_vers, gopt_nfs_proto): two new (documented) 88682794Sobrien global options in amd.conf: one to set the NFS version globally 88782794Sobrien (i.e., nfs_vers=2), and one to set the NFS protocol globally 88882794Sobrien (i.e., nfs_proto=udp). 88982794Sobrien 89082794Sobrien * amd/mntfs.c (realloc_mntfs): attempt to fix the failover code, 89182794Sobrien so when a matching mount entry failed, try the next one. 89282794Sobrien 89382794Sobrien2000-02-15 Erez Zadok <ezk@moisil.cs.columbia.edu> 89482794Sobrien 89582794Sobrien * amd/amfs_auto.c: a new debug option "readdir" to trace the 89682794Sobrien progress of the browsable_dirs code. 89782794Sobrien 89882794Sobrien * conf/mount/mount_linux.c (mount_linux): ensure that the new 89982794Sobrien linux NFSv3 code works for v2-only machines. 90082794Sobrien 90182794Sobrien2000-02-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 90282794Sobrien 90382794Sobrien * aux/configure.in: cleanup unused dnl entries. 90482794Sobrien 90582794Sobrien * conf/mount/mount_linux.c (parse_opts): typo: check for string 90682794Sobrien equality, not string inequality for pcfs and cdfs. 90782794Sobrien 90882794Sobrien * aux/acconfig.h: look for MNT2_NFS_OPT_INTR as well. 90982794Sobrien 91082794Sobrien * libamu/mount_fs.c (compute_mount_flags): check for INTR and 91182794Sobrien NOINTR options as well (intr was never passed to linux mount 91282794Sobrien syscall). 91382794Sobrien 91482794Sobrien2000-02-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 91582794Sobrien 91682794Sobrien * released snapshot am-utils-6.0.4s1 91782794Sobrien 91882794Sobrien * aux/GNUmakefile: buildall -k (for maintainers) temporarily now 91982794Sobrien ignores autoconf warnings: "The macro `AC_OUTPUT_COMMANDS' is 92082794Sobrien obsolete". It is harmless but annoying, and will be fixed when 92182794Sobrien autoconf and automake in their respective CVS trees are working 92282794Sobrien and in sync again. 92382794Sobrien 92482794Sobrien * scripts/amd.conf.5: document -D hrtime,xdrtrace 92582794Sobrien 92682794Sobrien * all man pages: update copyright to 2000. 92782794Sobrien 92882794Sobrien * doc/am-utils.texi: update copyright to 2000. 92982794Sobrien 93082794SobrienWed Feb 9 14:22:31 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 93182794Sobrien 93282794Sobrien * include/am_utils.h (D_XDRTRACE): Define. 93382794Sobrien (D_TEST): Disable here. 93482794Sobrien 93582794Sobrien * libamu/xutil.c (dbg_opt): Handle it. 93682794Sobrien 93782794Sobrien * doc/am-utils.texi (-D-Option): Document it. 93882794Sobrien 93982794Sobrien * libamu/xdr_func.c: Use it instead of D_TRACE. 94082794Sobrien 94182794Sobrien * include/am_utils.h (D_HRTIME): Define. 94282794Sobrien 94382794Sobrien * doc/am-utils.texi (-D-Option): Document it. 94482794Sobrien 94582794Sobrien * libamu/xutil.c (show_time_host_and_name): Print high-resolution 94682794Sobrien timestamp if available and activated. 94782794Sobrien 94882794Sobrien * aux/configure.in (clock_gettime): Check for it in -lrt and 94982794Sobrien -lposix4. 95082794Sobrien 95182794Sobrien * hlfsd/hlfsd.c (mnttab_file_name): Initialize to MNTTAB_FILE_NAME 95282794Sobrien if defined, even for some systems with in kernel mount tables. 95382794Sobrien 95482794Sobrien2000-02-08 Ion Badulescu <ionut@moisil.cs.columbia.edu> 95582794Sobrien 95682794Sobrien * aux/macros/mount_headers.m4: remove #if 0 around linux/nfs.h to 95782794Sobrien allow compiles against libc5 95882794Sobrien 95982794Sobrien * aux/macros/check_mnttab_type.m4: avoid detecting nfs3 under 96082794Sobrien linux when the kernel doesn't support it 96182794Sobrien 96282794Sobrien * include/am_compat.h: add workaround for linux efs 96382794Sobrien 96482794Sobrien2000-02-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 96582794Sobrien 96682794Sobrien * aux/configure.in: test for ANSI C compiler (before AC_C_CONST). 96782794Sobrien Comment out unused AC_STRUCT_ST_RDEV (which is obsolete anyway). 96882794Sobrien 96982794Sobrien2000-02-07 Ion Badulescu <ionut@moisil.cs.columbia.edu> 97082794Sobrien 97182794Sobrien * libamu/mount_fs.c (compute_nfs_args): turn on VER3 option for 97282794Sobrien nfs (linux NFSv3). 97382794Sobrien 97482794Sobrien * include/am_defs.h: avoid reinclusion of some header files under 97582794Sobrien linux. 97682794Sobrien 97782794Sobrien * conf/nfs_prot/nfs_prot_linux.h: support NFSv3. 97882794Sobrien 97982794Sobrien * conf/mount/mount_linux.c (mount_linux): support nfs mount 98082794Sobrien (implementation) version 4 for NFSv3. 98182794Sobrien 98282794Sobrien * aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS. 98382794Sobrien 98482794Sobrien * aux/macros/mount_headers.m4: don't include <linux/fs.h> (may 98582794Sobrien need to fix the code on other linux machines). 98682794Sobrien 98782794Sobrien * aux/macros/check_mnttab_type.m4 (ac_safe): ditto. 98882794Sobrien 98982794Sobrien * aux/macros/check_fs_mntent.m4 (ac_safe): check for nfs3 option 99082794Sobrien under linux (depends on ac_cv variable, is that a good idea?) 99182794Sobrien 99282794Sobrien * added NFSv3 support for linux 99382794Sobrien 99482794Sobrien * aux/{configure.in,acconfig.h}: new option ver3 99582794Sobrien 99682794Sobrien * aux/macros/mount_headers.m4: commented out inclusion of 99782794Sobrien linux/fs.h, it's not needed on rh61 (and actually generates 99882794Sobrien conflicts), we should see if it's still needed on libc5 systems 99982794Sobrien 100082794Sobrien * aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS rather than 100182794Sobrien try to have its own (out of date) list of headers and ifdef's and 100282794Sobrien ... 100382794Sobrien 100482794Sobrien2000-02-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 100582794Sobrien 100682794Sobrien ******************************************************************* 100782794Sobrien *** Released am-utils-6.0.3 *** 100882794Sobrien ******************************************************************* 100982794Sobrien 101082794Sobrien2000-02-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 101182794Sobrien 101282794Sobrien * conf/mount/mount_default.c: dummy empty file to work around a 101382794Sobrien limitation of automake (it looks for LIBBOBJS in aclocal.m4 and 101482794Sobrien processes them even if they are optional, enclosed in if/else). 101582794Sobrien 101682794Sobrien2000-01-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 101782794Sobrien 101882794Sobrien * released snapshot am-utils-6.0.3s5 101982794Sobrien 102082794Sobrien2000-01-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 102182794Sobrien 102282794Sobrien * update to use latest version of autoconf, automake, and libtool. 102382794Sobrien 102482794Sobrien * aux/GNUmakefile (depcomp): "make update" should also update the 102582794Sobrien depcomp script. 102682794Sobrien 102782794Sobrien * Makefile.am (EXTRA_DIST_AUX): include depcomp in distribution. 102882794Sobrien 102982794Sobrien * aux/configure.in: use renamed AC_CHECK_AMU_FS. 103082794Sobrien 103182794Sobrien * aux/macros/check_amu_fs.m4: renamed macro name and file name to 103282794Sobrien say AMU_FS, not AM_FS. 103382794Sobrien 103482794Sobrien * aux/acconfig.h: renamed HAVE_AM_FS_* to HAVE_AMU_FS_* because 103582794Sobrien latest version of autoconf doesn't handle it (bug in 2.14a) 103682794Sobrien 103782794Sobrien * aux/configure.in: require version 2.14 of autoconf. 103882794Sobrien 103982794Sobrien * amd/mapc.c (mapc_reload_map): more fixes from Nick Williams. 104082794Sobrien 104182794Sobrien * doc/am-utils.texi (Automount Filesystem): document type:=auto 104282794Sobrien map browsability option. 104382794Sobrien 104482794Sobrien * amd/mapc.c (make_entry_chain): patch from Steven Danz 104582794Sobrien <sdanz@awc.kc.noaa.gov> to allow browsable auto maps. 104682794Sobrien 104782794Sobrien2000-01-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 104882794Sobrien 104982794Sobrien * released snapshot am-utils-6.0.3s4 105082794Sobrien 105182794Sobrien * amd/mapc.c (mapc_reload_map): fixes to sync maps even if they 105282794Sobrien are set to mapcache:=sync. Fix from Nick Williams 105382794Sobrien <Nick.Williams@msdw.com>. 105482794Sobrien 105582794Sobrien2000-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 105682794Sobrien 105782794Sobrien * released snapshot am-utils-6.0.3s3 105882794Sobrien 105982794Sobrien * minor port to i386-unknown-netbsd1.4.1 106082794Sobrien 106182794Sobrien * amd/nfs_subr.c (nfsproc_getattr_2_svc): patch from Nick Williams 106282794Sobrien <Nick.Williams@msdw.com> to fix (or reduce the incidence of) stale 106382794Sobrien file handles when doing rapid mounts and umounts in succession 106482794Sobrien such as "ls /vol/foo ; amq -u /vol/foo ; ls /vol/foo" 106582794Sobrien 106682794Sobrien2000-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 106782794Sobrien 106882794Sobrien * minor port to i386-pc-bsdi4.1. 106982794Sobrien 107082794Sobrien2000-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 107182794Sobrien 107282794Sobrien * libamu/wire.c (getwire_lookup): pass NULL as conf_file (2nd) 107382794Sobrien argument to irs_gen_acc(), which was changed in bsdi 4.1. 107482794Sobrien 107582794Sobrien2000-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 107682794Sobrien 107782794Sobrien * amd/get_args.c (get_args): don't use MNTTAB_FILE_NAME for 107882794Sobrien systems with in-kernel mount tables unless this macro is defined 107982794Sobrien (Solaris 8). 108082794Sobrien 108182794Sobrien2000-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 108282794Sobrien 108382794Sobrien * ALL: bump copyright year to 2000. 108482794Sobrien 108582794Sobrien1999-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 108682794Sobrien 108782794Sobrien * conf/mount/mount_svr4.c (mount_svr4): optionstr exists on 108882794Sobrien solaris 7, but should not be used unless MAX_MNTOPT_STR also 108982794Sobrien exists (solaris 8). 109082794Sobrien 109182794Sobrien * doc/am-utils.texi (opts Option): document new mount option: 109282794Sobrien optionstr. 109382794Sobrien 109482794SobrienFri Dec 10 01:31:53 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 109582794Sobrien 109682794Sobrien * conf/trap/trap_svr4.h (MOUNT_TRAP): Pass mount option string to 109782794Sobrien mount_svr4(). 109882794Sobrien (mount_svr4): Adapt prototype. 109982794Sobrien * conf/mount/mount_svr4.c (mount_svr4): Pass them to kernel so 110082794Sobrien they are evaluated and show up in Solaris 8 in-kernel mnttab. 110182794Sobrien 110282794Sobrien * aux/configure.in: Check for new Solaris 8 MS_OPTIONSTR mount(2) 110382794Sobrien option. 110482794Sobrien * aux/acconfig.h (MNT2_GEN_OPT_OPTIONSTR): Provide template. 110582794Sobrien 110682794Sobrien1999-12-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 110782794Sobrien 110882794Sobrien * released snapshot am-utils-6.0.3s2 110982794Sobrien 111082794Sobrien1999-12-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 111182794Sobrien 111282794Sobrien * doc/am-utils.texi (opts Option): document noexec and nomnttab 111382794Sobrien (new to Solaris 8). 111482794Sobrien 111582794Sobrien * Makefile.am (EXTRA_DIST_CONF): include nfs_prot_sunos5_8.h in 111682794Sobrien distribution. 111782794Sobrien 111882794Sobrien * applied fixes from Reiner Orth for Solaris 8. 111982794Sobrien 112082794Sobrien * libamu/wire.c (getwire): increment the cp pointer in the loop 112182794Sobrien body, because the ioctl() inside the "for" loop will overwrite the 112282794Sobrien ifr structure, thus not detecting all of the interfaces. Bug 112382794Sobrien reported and fixed by Amitha Perera <perera@cs.rpi.edu>. 112482794Sobrien 112582794SobrienThu Dec 9 19:09:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 112682794Sobrien 112782794Sobrien * conf/mtab/mtab_svr4.c (unlockmnttab, lockmnttab): No-ops if 112882794Sobrien MOUNT_TABLE_ON_FILE. 112982794Sobrien 113082794Sobrien * amd/get_args.c (get_args): Initialize mnttab_file_name even for 113182794Sobrien in-kernel mount table. conf/mtab/mtab_svr4.c (read_mtab) depends 113282794Sobrien on a non-NULL value. 113382794Sobrien 113482794Sobrien * amd/info_ldap.c (get_ldap_timestamp): Don't peek into opaque 113582794Sobrien LDAP structure to get error code, but use it directly. 113682794Sobrien (amu_ldap_search): Likewise. 113782794Sobrien 113882794Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: Rip superfluous and wrong 113982794Sobrien ldap support. 114082794Sobrien * conf/nfs_prot/nfs_prot_sunos5_8.h: Likewise. 114182794Sobrien 114282794Sobrien * conf/nfs_prot/nfs_prot_sunos5_8.h: New file, doesn't typedef 114382794Sobrien nfsstat, already in <nfs/nfs.h>. 114482794Sobrien * aux/macros/check_nfs_prot_headers.m4: Use it for all Solaris 114582794Sobrien versions beyond 7. 114682794Sobrien Allow for micro versions of SunOS 5.[67]. 114782794Sobrien 114882794Sobrien * aux/configure.in: Check for new Solaris 8 Beta Refresh 114982794Sobrien MS_NOMNTTAB mount(2) option. 115082794Sobrien * aux/macros/check_mnttab_location.m4: Use it to test for 115182794Sobrien mntfs-based in-kernel mnttab. 115282794Sobrien 115382794Sobrien * aux/macros/os_cflags.m4: Treat Solaris 8 and higher like 2.6/7. 115482794Sobrien 115582794Sobrien * aux/macros/check_fs_headers.m4: Revert test for duplicate 115682794Sobrien objects. 115782794Sobrien * aux/macros/check_fs_mntent.m4: Likewise 115882794Sobrien 115982794Sobrien * aux/macros/HEADER: Fixed typo. 116082794Sobrien 116182794Sobrien * include/am_defs.h: Likewise. 116282794Sobrien 116382794Sobrien1999-12-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 116482794Sobrien 116582794Sobrien * aux/macros/*.m4: prepare for hpux-12 (assume same as hpux-11) 116682794Sobrien 116782794Sobrien1999-11-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 116882794Sobrien 116982794Sobrien * BUGS: document glibc-2.1 nis file descriptor leak in yp_bind. 117082794Sobrien 117182794Sobrien * amd/info_ldap.c (string2he): updated function which does not 117282794Sobrien corrupt strings when called more than once. Patch from 117382794Sobrien JOHANN.PFEFFERL.JP@germany.agfa.com. 117482794Sobrien 117582794Sobrien1999-11-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 117682794Sobrien 117782794Sobrien * MIRRORS (Asia): two new mirrors in Japan. 117882794Sobrien 117982794Sobrien1999-11-10 Erez Zadok <ezk@kosh.cs.columbia.edu> 118082794Sobrien 118182794Sobrien * doc/am-utils.texi: document new variables for ${uid} and ${gid}. 118282794Sobrien 118382794Sobrien * amd/nfs_subr.c (nfsproc_lookup_2_svc): find the uid/gid of the 118482794Sobrien last lookup from the RPC credentials. 118582794Sobrien 118682794Sobrien * aux/configure.in: upped version-info to 4:0:2 because I've added 118782794Sobrien a new interface to libamu. 118882794Sobrien 118982794Sobrien * libamu/misc_rpc.c (getcreds): moved function from hlfsd to here, 119082794Sobrien so it can be used by amd. 119182794Sobrien 119282794Sobrien * amd/opts.c: new variables ${uid} and ${gid}. 119382794Sobrien 119482794Sobrien1999-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 119582794Sobrien 119682794Sobrien * scripts/ctl-amd.in: add "status" command that tells you if amd 119782794Sobrien is running on not (same output as RedHat scripts). 119882794Sobrien Added start_msg and stop_msg targets as they are used on HPUX. 119982794Sobrien reported by Jon Peatfield <J.S.Peatfield@damtp.cam.ac.uk>. 120082794Sobrien 120152894Sobrien1999-10-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 120252894Sobrien 120352894Sobrien * released snapshot am-utils-6.0.3s1 120452894Sobrien 120552894Sobrien1999-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 120652894Sobrien 120752894Sobrien * amd/amd.c (main): On AIX you must lower the stack size using 120852894Sobrien ulimit() before calling plock. Otherwise plock will reserve a lot 120952894Sobrien of memory space based on your maximum stack size limit. Since it 121052894Sobrien is not easily possible to tell what should the limit be, I print a 121152894Sobrien warning before calling plock(). See the manual pages for 121252894Sobrien ulimit(1,3,4) on your AIX system. 121352894Sobrien 121452894Sobrien * include/am_defs.h: define default extern for vsnprintf() 121552894Sobrien 121652894Sobrien * aux/configure.in: check for extern definition for vsnprintf() 121752894Sobrien 121852894Sobrien1999-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 121952894Sobrien 122052894Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): patch from Nick Williams 122152894Sobrien <njw@ms.com>. SYMPTOMS: 'occasionally' sublinks do not point to 122252894Sobrien the correct location, but to the top level of the mountpoint and 122352894Sobrien an (error-hook) is seen being mounted in the log file. This causes 122452894Sobrien things to Go Wrong(TM). 122552894Sobrien CAUSE: When evaluating two locations which are requested 122652894Sobrien 'practically simultaneously', and the two locations resolve to the 122752894Sobrien same NFS mountpoint (but different sublinks), the later request 122852894Sobrien will be "deferred" and retried after wakeup when the first mount 122952894Sobrien succeeds. To do this, it rewinds the options location string to 123052894Sobrien re-evaluate the location when the mount is retried. However, it 123152894Sobrien shouldn't rewind the options for two reasons: (a) the semantics of 123252894Sobrien the map language say you shouldn't and (b) the NFS mount reference 123352894Sobrien is not reset at the same time, meaning that on the retry it will 123452894Sobrien have an options structure out-of-sync with the mount 123552894Sobrien structure. The "shortcut" code when retrying the mount sees the 123652894Sobrien mount structure is already filled in and does not fully evaluate 123752894Sobrien the options structure.... so if the first location is not the one 123852894Sobrien which ties in with the mountpoint (see ordering in the 123952894Sobrien recreate-by), you're now well messed up. 124052894Sobrien 124152894Sobrien * BUGS: mention aix4.3 plock() bug (memory usage blows up and 124252894Sobrien plock fails) 124352894Sobrien 124452894Sobrien1999-10-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 124552894Sobrien 124652894Sobrien * aux/GNUmakefile: certain files should be copied if they are 124752894Sobrien newer, not also if they are bigger: install-sh, ltconfig, 124852894Sobrien ltmain.sh, mdate-sh, missing, mkinstalldirs, and texinfo.tex. 124952894Sobrien 125052894Sobrien * minor new port: i586-pc-linux-gnu-rh6.1 (RedHat Linux 6.1) 125152894Sobrien 125252894Sobrien1999-10-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 125352894Sobrien 125452894Sobrien * aux/macros/check_nfs_prot_headers.m4: prepare for OSF-5. 125552894Sobrien 125652894Sobrien * aux/macros/check_nfs_fh_dref.m4: prepare for Tru64, aka OSF-5. 125752894Sobrien 125852894Sobrien1999-09-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 125952894Sobrien 126052894Sobrien ******************************************************************* 126152894Sobrien *** Released am-utils-6.0.2 *** 126252894Sobrien ******************************************************************* 126352894Sobrien 126452894Sobrien1999-09-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 126552894Sobrien 126652894Sobrien * conf/mount/mount_linux.c (mount_linux): print the updated mount 126752894Sobrien flags. 126852894Sobrien 126952894Sobrien * doc/am-utils.texi: document $full_os and $vendor. 127052894Sobrien 127152894Sobrien * scripts/amd.conf-sample: examples of $full_os and $vendor. 127252894Sobrien 127352894Sobrien * scripts/amd.conf.5: document $full_os and $vendor. 127452894Sobrien 127552894Sobrien * amd/conf.c: add support for $full_os and $vendor. 127652894Sobrien 127752894Sobrien1999-09-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 127852894Sobrien 127952894Sobrien * doc/am-utils.texi (netgrp Selector Function): don't give 128052894Sobrien examples with old single '=' assignment variable. Use foo:=bar. 128152894Sobrien 128252894Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): corectly indent long 128352894Sobrien comment describing this complex function. 128452894Sobrien 128552894Sobrien * doc/Makefile.am (alldocs): do install-ps last (because distiller 128652894Sobrien is slow) and install-html next to last (because texi2html is also 128752894Sobrien slow). 128852894Sobrien 128952894Sobrien * amd/amd.8: Major fixes to the description of the option -t 129052894Sobrien timeout.retransmit. 129152894Sobrien 129252894Sobrien * doc/am-utils.texi: better description of "trace" debug option. 129352894Sobrien amd -H (not -v) shows log_options and debug_options. Major fixes 129452894Sobrien to the description of amd -t timeout.retransmit, and the amd.conf 129552894Sobrien parameters nfs_retransmit_counter and nfs_retry_interval. 129652894Sobrien 129752894Sobrien * scripts/amd.conf.5: better description of "trace" debug option. 129852894Sobrien amd -H (not -v) shows log_options and debug_options. Major fixes 129952894Sobrien to the description of the parameters nfs_retransmit_counter and 130052894Sobrien nfs_retry_interval. 130152894Sobrien 130252894Sobrien1999-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 130352894Sobrien 130452894Sobrien * doc/am-utils.texi (Automount Filesystem): cache:= is not a mount 130552894Sobrien option, but a mount map option. 130652894Sobrien 130752894Sobrien * libamu/xutil.c (switch_to_logfile): log the name of the log file 130852894Sobrien we switched into, after the log file had been [re]opened. 130952894Sobrien 131052894Sobrien1999-09-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 131152894Sobrien 131252894Sobrien * amd/mapc.c (mapc_reload_map): count and show the number of times 131352894Sobrien a map was reloaded. Only reload a map if its modify-time was 131452894Sobrien updated. But amq -f forced a reload no matter what. 131552894Sobrien 131652894Sobrien * amd/amd.h: new flag to struct mnt_map to count number of times a 131752894Sobrien map was reloaded. 131852894Sobrien 131952894Sobrien * amd/mapc.c (mapc_reload_map): attempt to reload the map without 132052894Sobrien losing current data by reloading into a temp copy, and switching 132152894Sobrien the hashes round only if the reload was successful. Patch from Jon 132252894Sobrien Peatfield <J.S.Peatfield@damtp.cam.ac.uk>. 132352894Sobrien (mapc_sync): mapc_reload_map() always succeeds. 132452894Sobrien 132551591Sobrien1999-09-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 132651591Sobrien 132752894Sobrien * amd/info_ldap.c (amu_ldap_rebind): don't busy-loop trying to 132852894Sobrien rebind to an LDAP server forever. Try up to 10 times. 132952894Sobrien 133052894Sobrien * fsinfo/fsi_lex.l (yyerror): rework code that will never happen 133152894Sobrien 133251591Sobrien * released snapshot am-utils-6.0.2s2 133351591Sobrien 133451591Sobrien * aux/configure.in: bumped library version-info to 3:2:1, since 133551591Sobrien some libamu code got changed. 133651591Sobrien 133751591Sobrien * libamu/xutil.c (real_plog): use vsnprintf, not vsprintf, which 133851591Sobrien is better and more secure. Fix from "David O'Brien" 133951591Sobrien <obrien@NUXI.com>. 134051591Sobrien 134151591Sobrien * aux/configure.in: check for vsnprintf. 134251591Sobrien 134351591Sobrien1999-09-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 134451591Sobrien 134551591Sobrien * aux/macros/linux_headers.m4: use AC_MSG_ERROR. 134651591Sobrien 134751591Sobrien * aux/macros/opt_{cppflags,ldflags,libs,amu_cflags}.m4: the ARG is 134851591Sobrien not optional. Make sure ARG is supplied else flag an error. 134951591Sobrien 135051591Sobrien1999-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 135151591Sobrien 135251591Sobrien * minor port i386-unknown-freebsdelf3.3 135351591Sobrien 135451591Sobrien * released snapshot am-utils-6.0.2s1 135551591Sobrien 135651591Sobrien1999-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 135751591Sobrien 135851591Sobrien * aux/configure.in (AC_CHECK_FUNCS): check for getitimer(). 135951591Sobrien 136051591Sobrien * include/am_defs.h: extern definition for getitimer(). 136151591Sobrien 136251591Sobrien * aux/configure.in: use AC_CHECK_EXTERNS. Look for getitimer() 136351591Sobrien extern. 136451591Sobrien 136551591Sobrien * aux/macros/check_extern.m4: define a simple AC_CHECK_EXTERNS 136651591Sobrien that calls AC_CHECK_EXTERN in a loop. This saves repeated code in 136751591Sobrien configure. 136851591Sobrien 136951591Sobrien * aux/macros/type_auth_create_gidlist.m4: AIX 4.x systems use 137051591Sobrien 'int' as the 5th arg to authunix_create(). 137151591Sobrien 137251591Sobrien * aux/macros/type_recvfrom_fromlen.m4: all AIX 4.x systems use a 137351591Sobrien size_t for the 6th arg of recvfrom(). 137451591Sobrien 137551591Sobrien * aux/macros/os_cflags.m4: define _XOPEN_EXTENDED_SOURCE for 137651591Sobrien aix4.x systems. 137751591Sobrien 137851591Sobrien * libamu/mount_fs.c (print_nfs_args): cast some values to int, to 137951591Sobrien avoid gcc -Wall errors. 138051591Sobrien 138151591Sobrien * scripts/expn.in: use sockaddr_in(), not pack() to correctly fill 138251591Sobrien in a struct sockaddr_in. On Solaris x86 hosts, using pack() 138351591Sobrien results in byte-misaligned values. Bug fix from Jeffrey C Honig 138451591Sobrien <jch@BSDI.COM>. 138551591Sobrien 138651591Sobrien * libamu/mount_fs.c (compute_automounter_mount_flags): turn on 138751591Sobrien automntfs (ignore on bsdi-4.1) flag. 138851591Sobrien (compute_automounter_nfs_args): ditto. 138951591Sobrien 139051591Sobrien * aux/acconfig.h: add new flag for automntfs (ignore) 139151591Sobrien 139251591Sobrien * aux/configure.in: check for new automntfs flag (bsdi-4.1). 139351591Sobrien 139451591Sobrien1999-09-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 139551591Sobrien 139651591Sobrien * MIRRORS: added new site in Germany. Updated status of umn.edu 139751591Sobrien and ferginc.com, who may no longer be mirroring am-utils. 139851591Sobrien 139951292Sobrien1999-09-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 140051292Sobrien 140151292Sobrien ******************************************************************* 140251292Sobrien *** Released am-utils-6.0.1 *** 140351292Sobrien ******************************************************************* 140451292Sobrien 140551292Sobrien1999-09-08 Erez Zadok <ezk@cs.columbia.edu> 140651292Sobrien 140751292Sobrien * aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct 140851292Sobrien netexport defined. 140951292Sobrien 141051292Sobrien * aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and 141151292Sobrien struct netexport defined. 141251292Sobrien 141351292Sobrien1999-09-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 141451292Sobrien 141551292Sobrien * aux/macros/check_field.m4 (ac_upcase_var_name): include 141651292Sobrien <ifaddrs.h> so we can detect fields within struct ifaddrs. 141751292Sobrien 141851292Sobrien * libamu/wire.c (getwire): bsdi-2.1 uses a second arg to 141951292Sobrien getifaddrs() and struct ifaddrs has no ifa_next field. 142051292Sobrien 142151292Sobrien * aux/configure.in: check if 'struct ifaddrs' has a field 142251292Sobrien ifa_next. 142351292Sobrien 142451292Sobrien * include/amq_defs.h (AMQ_STRLEN): double size of amq string 142551292Sobrien length to 2048 bytes. 142651292Sobrien 142751292Sobrien * conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs 142851292Sobrien header files and ufs/ufs/ufsmount.h. Bug reported by <Christos 142951292Sobrien Zoulas> christos@zoulas.com. 143051292Sobrien 143151292Sobrien * aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>. 143251292Sobrien Bug reported by <Christos Zoulas> christos@zoulas.com. 143351292Sobrien 143451292Sobrien * aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h> 143551292Sobrien 143651292Sobrien1999-09-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 143751292Sobrien 143851292Sobrien * libamu/xutil.c (expand_error): use strerror if available instead 143951292Sobrien of sys_errlist. Bug reported by <Christos Zoulas> 144051292Sobrien christos@zoulas.com. 144151292Sobrien 144251292Sobrien * hlfsd/hlfsd.c (fatal): use strerror if available instead of 144351292Sobrien sys_errlist. 144451292Sobrien 144551292Sobrien * amq/amq.c (show_mi): use strerror if available instead of 144651292Sobrien sys_errlist. 144751292Sobrien 144851292Sobrien * aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4 144951292Sobrien nfs_prot header is used for any future (1.5 etc.) netbsd systems. 145051292Sobrien 145151292Sobrien * amq/pawd.c (find_mt): check for type nfsl as well. Fix from 145251292Sobrien "Andrew J. Korty" <ajk@purdue.edu> 145351292Sobrien 145451292Sobrien1999-08-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 145551292Sobrien 145651292Sobrien * doc/am-utils.texi (Supported Platforms): updates for redhat 145751292Sobrien systems. 145851292Sobrien 145951292Sobrien * INSTALL: updates for redhat systems. 146051292Sobrien 146151292Sobrien * libamu/wire.c (getwire_lookup): spell "succeeded" correctly 146251292Sobrien 146351292Sobrien1999-08-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 146451292Sobrien 146551292Sobrien * scripts/ctl-amd.in: sleep 1 second between killing amd and 146651292Sobrien restarting it, because amq may respond that amd is down, where in 146751292Sobrien fact it is still trying to unmount itself after unmapping itself 146851292Sobrien from the portmapper. 146951292Sobrien 147051292Sobrien * aux/config.guess.long: new script to print long version of 147151292Sobrien config.guess output. 147251292Sobrien 147351292Sobrien * buildall (host_alias): use long version of config.guess. 147451292Sobrien 147551292Sobrien1999-08-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 147651292Sobrien 147751292Sobrien * scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop 147851292Sobrien scripts. 147951292Sobrien 148051292Sobrien1999-08-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 148151292Sobrien 148251292Sobrien * released snapshot am-utils-6.0.1s11 148351292Sobrien 148451292Sobrien * libamu/xutil.c (expand_error): make sure expanding the string 148551292Sobrien with textual version of errno doesn't overrun the 1024 bytes 148651292Sobrien buffer. 148751292Sobrien (real_plog): null terminate msg, just in case. 148851292Sobrien 148951292Sobrien * amq/amq.c (main): don't getopt -M option and don't process it 149051292Sobrien unless ENABLE_AMQ_MOUNT is on. 149151292Sobrien 149251292Sobrien * amd/amq_svc.c (amq_program_1): all code that relates to amq -M 149351292Sobrien is conditional on #ifdef ENABLE_AMQ_MOUNT. 149451292Sobrien 149551292Sobrien * amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked 149651292Sobrien when amq -M code is disabled. Not taking any chances. 149751292Sobrien 149851292Sobrien1999-08-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 149951292Sobrien 150051292Sobrien * released snapshot am-utils-6.0.1s10 150151292Sobrien 150251292SobrienSun Aug 22 16:18:59 1999 Erez Zadok <ezk@subzero.cs.columbia.edu> 150351292Sobrien 150451292Sobrien * libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on 150551292Sobrien 128.59.16.0), try to shift the network out of zeros (e.g., 150651292Sobrien 128.59.16) and try again. Irix 6.4 requires short network 150751292Sobrien numbers. 150851292Sobrien 150951292Sobrien1999-08-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 151051292Sobrien 151151292Sobrien * libamu/wire.c (getwire_lookup): correctly compute subnet using 151251292Sobrien netmask. 151351292Sobrien 151451292Sobrien * libamu/mount_fs.c (compute_automounter_nfs_args): require that 151551292Sobrien Amd's own NFS mounts use reserved ports (if possible). IP packet 151651292Sobrien security fix from Jeffrey C Honig <jch@BSDI.COM>. 151751292Sobrien 151851292Sobrien * conf/transp/transp_tli.c (create_autofs_service): use correct 151951292Sobrien autofs_port. IP packet security fix from Jeffrey C Honig 152051292Sobrien <jch@BSDI.COM>. 152151292Sobrien 152251292Sobrien * conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary 152351292Sobrien function. IP packet security fix from Jeffrey C Honig 152451292Sobrien <jch@BSDI.COM>. 152551292Sobrien (create_nfs_service): use bind_resv_port() directly. ensure that 152651292Sobrien privileged ports are used. IP packet security fix from Jeffrey C 152751292Sobrien Honig <jch@BSDI.COM>. 152851292Sobrien 152951292Sobrien * amd/nfs_prot_svc.c (nfs_program_2): verify that requests come 153051292Sobrien from reserved ports and from a local IP address. IP packet 153151292Sobrien security fix from Jeffrey C Honig <jch@BSDI.COM>. 153251292Sobrien 153351292Sobrien * amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of 153451292Sobrien hard-coded 1024. IP packet security fix from Jeffrey C Honig 153551292Sobrien <jch@BSDI.COM>. 153651292Sobrien (amqproc_mount_1_svc): provide information on the caller making an 153751292Sobrien amq -M request. IP packet security fix from Jeffrey C Honig 153851292Sobrien <jch@BSDI.COM>. 153951292Sobrien 154051292Sobrien * amd/map.c (free_map_if_success): If the program doing an unmount 154151292Sobrien of a program filesystem fails, amd tries to interpret the return 154251292Sobrien code as an errno. Fix from Jeffrey C Honig <jch@BSDI.COM>. 154351292Sobrien 154451292Sobrien * amd/info_nis.c (determine_nis_domain): don't always print 154551292Sobrien warning about NIS domain name not being set, even if NIS is not in 154651292Sobrien use. 154751292Sobrien 154851292Sobrien1999-08-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 154951292Sobrien 155051292Sobrien * amd/info_ldap.c (get_ldap_timestamp): initialize variable err. 155151292Sobrien (amu_ldap_search): initialize variable err. 155251292Sobrien 155351292Sobrien1999-08-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 155451292Sobrien 155551292Sobrien * libamu/wire.c: written using getifaddrs() for BSD systems, 155651292Sobrien contributed by BSDI, Jeffrey C Honig <jch@BSDI.COM>). 155751292Sobrien 155851292Sobrien1999-08-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 155951292Sobrien 156051292Sobrien * include/am_utils.h (SALLOC): a simple macro to allocate N bytes. 156151292Sobrien 156251292Sobrien * aux/configure.in: check for irs.h and ifaddrs.h. 156351292Sobrien Increase libamu.so --version-info to 3:1:1 since we've changed the 156451292Sobrien source code for the library. 156551292Sobrien Check for getifaddrs() function. 156651292Sobrien 156751292Sobrien1999-08-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 156851292Sobrien 156951292Sobrien * libamu/mount_fs.c (print_nfs_args): print fields namlen and 157051292Sobrien bsize if they exist. 157151292Sobrien 157251292Sobrien * conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen 157351292Sobrien and ->bsize fields correctly, if those fields exist. This is a 157451292Sobrien bug in that amd neglected to set these fields, but told the 157551292Sobrien kernel it is mounting the nfs_args_t structure using mount version 157651292Sobrien 3 (which requires both bsize and namlen fields). 157751292Sobrien 157851292Sobrien * aux/configure.in: test for two new nfs_args_t fields (used on 157951292Sobrien newer linux with mount versions 2 and 3): bsize and namlen. 158051292Sobrien 158151292Sobrien * doc/am-utils.texi (netgrpd Selector Function): document new 158251292Sobrien selector function. 158351292Sobrien 158451292Sobrien * amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to 158551292Sobrien test if the current host (fully-qualified name) is in the ARG host 158651292Sobrien netgroup. The netgrp() function uses the short form of a host 158751292Sobrien name. Patch from Christophe Kalt <Christophe-Kalt@deshaw.com>. 158851292Sobrien 158951292Sobrien * doc/am-utils.texi (automount2amd): document new script. 159051292Sobrien 159151292Sobrien * scripts/Makefile.am: create, install, and distribute 159251292Sobrien automount2amd perl script and its man page. 159351292Sobrien 159451292Sobrien * scripts/automount2amd.8: new man page for automount2amd. 159551292Sobrien 159651292Sobrien * scripts/automount2amd.in: new file, contributed a in 1993 by 159751292Sobrien Mike Walker <mike@tab00.larc.nasa.gov>. Fixed to use addopts for 159851292Sobrien any automount map options specified. 159951292Sobrien 160051292Sobrien1999-08-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 160151292Sobrien 160251292Sobrien * released snapshot am-utils-6.0.1s9 160351292Sobrien 160451292Sobrien1999-08-09 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 160551292Sobrien 160651292Sobrien * amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to 160751292Sobrien 1. 160851292Sobrien (amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0. 160951292Sobrien (amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of 161051292Sobrien (u_int)~0. 161151292Sobrien 161251292Sobrien * amd/mapc.c (make_entry_chain): NFS cookies should be 161351292Sobrien monotonically increasing, because Linux 2.3 expects that, even 161451292Sobrien though it is not in the spec (RFC-1094) for NFS V2. 161551292Sobrien 161651292Sobrien1999-08-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 161751292Sobrien 161851292Sobrien * aux/macros/check_lib_funcs.m4: removed unused macro. 161951292Sobrien 162051292Sobrien * aux/macros/linux_headers.m4: new macro to ensure that linux 162151292Sobrien kernel headers match running kernel version. 162251292Sobrien 162351292Sobrien * aux/acconfig.h: define HOST_HEADER_VERSION so we can check if 162451292Sobrien amd is configured on linux hosts that run one kernel but have 162551292Sobrien headers for a different version. 162651292Sobrien 162751292Sobrien * amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the 162851292Sobrien logic which uses nis_isup and has_yp_order. Make sure it is used 162951292Sobrien correctly , esp. for NIS+ in NIS-compatibility mode. Bug fix from 163051292Sobrien Peter Breitenlohner <peb@mppmu.mpg.de>. 163151292Sobrien 163251292Sobrien * include/am_defs.h: fix conflicts on linux 2.2 systems with older 163351292Sobrien libc5. Bug fix from Peter Breitenlohner <peb@mppmu.mpg.de>. 163451292Sobrien 163551292Sobrien * scripts/lostaltmail.in: use sockaddr_in(), not pack() to 163651292Sobrien correctly fill in a struct sockaddr_in. On Solaris x86 hosts, 163751292Sobrien using pack() results in byte-misaligned values. 163851292Sobrien 163951292Sobrien1999-08-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 164051292Sobrien 164151292Sobrien * conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3 164251292Sobrien mounting, as per Dale Talcott <aeh@quest.cc.purdue.edu>. Also use 164351292Sobrien better macros for case statement. 164451292Sobrien 164551292Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures 164651292Sobrien unless ldap is actually available. 164751292Sobrien 164851292Sobrien * use updated config.guess and config.sub. Use newer automake 164951292Sobrien that fixes problems with distributing optional libamu files 165051292Sobrien (clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c, 165151292Sobrien and ualarm.c) 165251292Sobrien 165351292Sobrien1999-07-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 165451292Sobrien 165551292Sobrien * minor port i386-unknown-openbsd2.5 165651292Sobrien 165751292Sobrien1999-07-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 165851292Sobrien 165951292Sobrien * minor ports to freebsdelf 3.[0-2] and 4.0 completed 166051292Sobrien 166151292Sobrien * aux/macros/check_nfs_prot_headers.m4: support freebsdelf 166251292Sobrien 166351292Sobrien * aux/macros/check_nfs_socket_connection.m4: support freebsdelf 166451292Sobrien 166551292Sobrien1999-06-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 166651292Sobrien 166751292Sobrien * released snapshot am-utils-6.0.1s8 166851292Sobrien 166951292Sobrien1999-06-23 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 167051292Sobrien 167151292Sobrien * include/am_defs.h: avoid various header conflicts on 167251292Sobrien RedHat/Linux 6.0 and kernels 2.2.10 or newer. 167351292Sobrien 167451292Sobrien * aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and 167551292Sobrien kernel 2.2.10) 167651292Sobrien 167751292Sobrien * amd/amfs_program.c (amfs_program_exec): make sure logfp is 167851292Sobrien initialized dynamically to stderr if needed. 167951292Sobrien 168051292Sobrien * libamu/xutil.c (dplog): make sure logfp is initialized 168151292Sobrien dynamically to stderr if needed. 168251292Sobrien (plog): ditto. 168351292Sobrien 168451292Sobrien * amd/amfs_program.c (amfs_program_exec): set logfp to stderr if 168551292Sobrien not initialized. 168651292Sobrien 168751292Sobrien * libamu/xutil.c: don't initialize logfp statically to stderr, 168851292Sobrien because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer 168951292Sobrien be manipulated like a variable. 169051292Sobrien 169151292Sobrien * include/am_defs.h: avoid more conflicts between <linux/fs.h> and 169251292Sobrien <sys/mount.h> on 2.2 linux kernels. 169351292Sobrien include <db1/ndbm.h> as needed (RedHat/Linux 6.0) 169451292Sobrien 169551292Sobrien1999-04-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 169651292Sobrien 169751292Sobrien * all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS) 169851292Sobrien 169951292Sobrien * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER): 170051292Sobrien renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake 170151292Sobrien won't attempt to add it to the header files to distribute. 170251292Sobrien 170351292Sobrien1999-04-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 170451292Sobrien 170551292Sobrien * aux/GNUmakefile: invoke aclocal with new --altdir flag. 170651292Sobrien 170751292Sobrien1999-04-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 170851292Sobrien 170951292Sobrien * minor new port: i386-unknown-netbsd1.4 (ALPHA) 171051292Sobrien 171151292Sobrien * aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h> 171251292Sobrien and <isofs/cd9660/cd9660_mount.h> because they are also included 171351292Sobrien from MOUNT_HEADERS. Causes multiple inclusion of unprotected 171451292Sobrien headers on netbsd-1.4_ALPHA. 171551292Sobrien 171651292Sobrien1999-04-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 171751292Sobrien 171851292Sobrien * aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's 171951292Sobrien sys_errlist extern doesn't end with []. 172051292Sobrien 172151292Sobrien * aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support. 172251292Sobrien 172351292Sobrien1999-04-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 172451292Sobrien 172551292Sobrien * newer automake wants texinfo.tex to be in aux/ not doc/ 172651292Sobrien 172751292Sobrien1999-03-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 172851292Sobrien 172951292Sobrien * amd/conf_parse.y: alloca support. 173051292Sobrien 173151292Sobrien * fsinfo/fsi_gram.y: alloca support. 173251292Sobrien 173351292Sobrien * libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if 173451292Sobrien needed. 173551292Sobrien 173651292Sobrien * aux/configure.in: test for alloca support. Needed because bison 173751292Sobrien generates parsers that use alloca, and hpux9 does have alloca and 173851292Sobrien its /bin/cc doesn't support it builtin (the way gcc does). 173951292Sobrien 174051292Sobrien * libamu/alloca.c: new file, needed on hpux9 with /bin/cc. Taken 174151292Sobrien verbatim from bison-1.25. 174251292Sobrien 174351292Sobrien * include/am_defs.h: fixed typo #errir -> #error 174451292Sobrien 174551292Sobrien * released snapshot am-utils-6.0.1s7 174651292Sobrien 174751292Sobrien * README.y2k: more information about am-utils' compatibility, from 174851292Sobrien Paul Balyoz <pbalyoz@sedona.ch.intel.com>. 174951292Sobrien 175051292Sobrien * scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K 175151292Sobrien compliant format. Patch from Paul Balyoz 175251292Sobrien <pbalyoz@sedona.ch.intel.com> 175351292Sobrien 175451292Sobrien * doc/am-utils.texi (Supported Platforms): hpux10.20 could have 175551292Sobrien nfs v.3 support (with some vendor patches), but it is turned off. 175651292Sobrien 175751292Sobrien * aux/macros/os_cflags.m4: use ansi compiler options on hpux. 175851292Sobrien 175951292Sobrien * conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid 176051292Sobrien confusing am-utils. 10.20 with some patches has incomplete 176151292Sobrien support. Patch from Jon Peatfield 176251292Sobrien <J.S.Peatfield@damtp.cam.ac.uk>. 176351292Sobrien 176451292Sobrien1999-03-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 176551292Sobrien 176651292Sobrien * minor port i386-pc-bsdi4.0.1 176751292Sobrien 176851292Sobrien1999-03-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 176951292Sobrien 177051292Sobrien * doc/am-utils.texi (Supported Platforms): add forgotten listing 177151292Sobrien for powerpc-linux. 177251292Sobrien 177351292Sobrien1999-03-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 177451292Sobrien 177551292Sobrien * scripts/amd.conf.5: fix typo. From Jeffrey C Honig 177651292Sobrien <jch@BSDI.COM>. 177751292Sobrien 177851292Sobrien * doc/am-utils.texi: document iso9660 options norrip, gens, and 177951292Sobrien extatt. 178051292Sobrien (opts Option): documented dumbtimr and noauto options. From 178151292Sobrien Jeffrey C Honig <jch@BSDI.COM>. 178251292Sobrien 178351292Sobrien * include/am_compat.h: define default strings for options norrip, 178451292Sobrien gens, and extatt. 178551292Sobrien 178651292Sobrien * amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and 178751292Sobrien extatt. 178851292Sobrien 178951292Sobrien * aux/macros/mount_headers.m4: also include 179051292Sobrien <isofs/cd9660/cd9660_mount.h> as needed. 179151292Sobrien 179251292Sobrien * aux/configure.in: check for isofs mount options for bsdi4: 179351292Sobrien norrip, gens, and extatt. Reported by Jeffrey C Honig 179451292Sobrien <jch@BSDI.COM>. 179551292Sobrien 179651292Sobrien * aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags 179751292Sobrien (bsdi4). 179851292Sobrien 179951292Sobrien1999-03-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 180051292Sobrien 180151292Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: ditto. 180251292Sobrien 180351292Sobrien * conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>, 180451292Sobrien for bsdi4, as per Jeffrey C Honig <jch@BSDI.COM>. 180551292Sobrien 180651292Sobrien1999-03-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 180751292Sobrien 180851292Sobrien * get latest copies of config.guess, config.sub, ltconfig, and 180951292Sobrien ltmain.sh from libtool-1.2f. 181051292Sobrien 181151292Sobrien * all Makefile.am: don't use continuation lines (using \) for 181251292Sobrien short lists of files. 181351292Sobrien 181451292Sobrien * libamu/Makefile.am (DISTCLEANFILES): make distclean should 181551292Sobrien remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c. 181651292Sobrien Reported by Jeffrey C Honig <jch@BSDI.COM>. 181751292Sobrien 181851292Sobrien * fixmount/Makefile.am (DISTCLEANFILES): make distclean should 181951292Sobrien remove checkmount.c. Reported by Jeffrey C Honig <jch@BSDI.COM>. 182051292Sobrien 182151292Sobrien * Makefile.am (DISTCLEANFILES): make distclean should remove 182251292Sobrien amu_nfs_prot.h, config.cache.old, and dbgcf.h. Reported by 182351292Sobrien Jeffrey C Honig <jch@BSDI.COM>. 182451292Sobrien 182551292Sobrien1999-03-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 182651292Sobrien 182751292Sobrien * released snapshot am-utils-6.0.1s6 182851292Sobrien 182951292Sobrien1999-03-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 183051292Sobrien 183151292Sobrien * INSTALL: document freebsdelf. 183251292Sobrien 183351292Sobrien * doc/am-utils.texi (Supported Platforms): document freebsdelf. 183451292Sobrien 183551292Sobrien1999-03-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 183651292Sobrien 183751292Sobrien * minor new ports: i386-unknown-freebsdelf3.1 and 183851292Sobrien i386-unknown-freebsdelf4.0 183951292Sobrien 184051292Sobrien * aux/macros/check_nfs_prot_headers.m4: freebsd4 support. 184151292Sobrien 184251292Sobrien * aux/macros/check_nfs_socket_connection.m4: freebsd4 support. 184351292Sobrien 184451292Sobrien * aux/macros/check_nfs_fh_dref.m4: freebsd4 support. 184551292Sobrien 184651292Sobrien * amd/opts.c (eval_opts): changed log level of "executing 184751292Sobrien negated..." message from USER to INFO, as per Guntram Wolski 184851292Sobrien <gwolsk@sei.com>. 184951292Sobrien 185051292Sobrien1999-02-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 185151292Sobrien 185251292Sobrien * */Makefile.am (LDADD): force linking against an installed 185351292Sobrien libamu.{a,so}. 185451292Sobrien 185551292Sobrien * doc/am-utils.texi (addopts Option): document remopts interaction 185651292Sobrien with addopts. 185751292Sobrien 185851292Sobrien * amd/am_ops.c (ops_match): if addopts are specified, apply them 185951292Sobrien to the value of remopts as well as opts. 186051292Sobrien 186151292Sobrien * amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used. 186251292Sobrien 186351292Sobrien1999-02-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 186451292Sobrien 186551292Sobrien * released snapshot am-utils-6.0.1s5 186651292Sobrien 186751292Sobrien * conf/mount/mount_linux.c (mount_linux): set default nfs_args 186851292Sobrien options for ac{reg,dir}{min,man} as per the mount-2.8a package, 186951292Sobrien but only if noac option was not used. 187051292Sobrien 187151292Sobrien1999-02-05 Erez Zadok <ezk@retro.cs.columbia.edu> 187251292Sobrien 187351292Sobrien * conf/mount/mount_linux.c (mount_linux): print nfs_args again 187451292Sobrien since it was updated. 187551292Sobrien (mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels 187651292Sobrien and newer. Bug was found by Neil Conway 187751292Sobrien <nconway.list@ukaea.org.uk> 187851292Sobrien 187951292Sobrien1999-02-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 188051292Sobrien 188151292Sobrien * released snapshot am-utils-6.0.1s4 188251292Sobrien 188351292Sobrien1999-02-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 188451292Sobrien 188551292Sobrien * amq/amq.c (main): don't list -M as a valid amq option unless 188651292Sobrien configure'd with --enable-amq-mount. 188751292Sobrien 188851292SobrienWed Feb 3 18:11:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 188951292Sobrien 189051292Sobrien * amd/nfs_start.c (amd_use_autofs): Define. 189151292Sobrien (mount_automounter): Create autofs service listener only if 189251292Sobrien necessary to avoid unnecessary clashes with e.g. automountd. 189351292Sobrien 189451292Sobrien * amd/amd.h (amd_use_autofs): Declare. 189551292Sobrien 189651292Sobrien * amd/conf.c (gopt_mount_type): Set amd_use_autofs. 189751292Sobrien (ropt_mount_type): Likewise. 189851292Sobrien 189951292Sobrien1999-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 190051292Sobrien 190151292Sobrien * aux/macros/check_mnt2_nfs_opt.m4:: ditto 190251292Sobrien 190351292Sobrien * aux/macros/check_mnt2_cdfs_opt.m4: ditto 190451292Sobrien 190551292Sobrien * aux/macros/check_mnt2_gen_opt.m4: ditto 190651292Sobrien 190751292Sobrien * aux/macros/check_mnttab_opt.m4: new macro in this file to loop 190851292Sobrien over AC_CHECK_MNTTAB_OPT. Reduces size of configure script a lot. 190951292Sobrien 191051292Sobrien * conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h, 191151292Sobrien nfs/nfs.h and nfs/nfsmount.h if they exist. Patch from 191251292Sobrien christos@zoulas.com (Christos Zoulas). 191351292Sobrien 191451292Sobrien * amd/info_hesiod.c: some forward declarations. Patch from 191551292Sobrien christos@zoulas.com (Christos Zoulas). 191651292Sobrien 191751292Sobrien1999-01-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 191851292Sobrien 191951292Sobrien * libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn 192051292Sobrien option if it was already in that state. Patch from David 192151292Sobrien Wolfskill <dhw@whistle.com>. 192251292Sobrien 192351292Sobrien1999-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 192451292Sobrien 192551292Sobrien * aux/configure.in: automake nowadays supports LTLIBOBJS (but not 192651292Sobrien LTALLOCA yet). Substitute value of LIBTOOL_DEPS for libtool 192751292Sobrien rebuild make rules. 192851292Sobrien 192951292Sobrien * Makefile.am: new rules to remake libtool (maintainers only) 193051292Sobrien 193151292Sobrien * amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags 193251292Sobrien if -D trace was used. 193351292Sobrien 193451292Sobrien1999-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 193551292Sobrien 193651292Sobrien * buildall: all if statements should have an else clause because 193751292Sobrien of Ultrix's /bin/sh. 193851292Sobrien 193951292Sobrien1999-01-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 194051292Sobrien 194151292Sobrien * amq/amq.c: removed dummy variables. 194251292Sobrien 194351292Sobrien * amq/pawd.c: removed dummy variable.s 194451292Sobrien 194551292Sobrien * fixmount/fixmount.c (usage): removed dummy variables. 194651292Sobrien 194751292Sobrien * fsinfo/fsinfo.c: removed dummy variables. 194851292Sobrien 194951292Sobrien * hlfsd/hlfsd.c: removed dummy variables. 195051292Sobrien 195151292Sobrien * wire-test/wire-test.c: removed dummy variables. 195251292Sobrien 195351292Sobrien * mk-amd-map/mk-amd-map.c: removed dummy variables. 195451292Sobrien 195551292Sobrien * doc/texinfo.tex: updates from GNU mirror. 195651292Sobrien 195751292Sobrien * aux/GNUmakefile (../doc/texinfo.tex): new rule to update 195851292Sobrien doc/texinfo.tex from GNU mirror. 195951292Sobrien 196051292Sobrien * released snapshot am-utils-6.0.1s3 196151292Sobrien 196251292Sobrien * Makefile.am (install-snapshot): better snapshot and new 196351292Sobrien install-snapshot and test-snapshot rules (maintainer). 196451292Sobrien 196551292Sobrien * amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the 196651292Sobrien args may be NULL. 196751292Sobrien Some dlog() entries were not enclosed in #ifdef DEBUG. Fix from 196851292Sobrien Bill Paul <wpaul@ctr.columbia.edu> 196951292Sobrien 197051292Sobrien1999-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 197151292Sobrien 197251292Sobrien * check for experimental generic 'ignore' mount flag on freebsd3. 197351292Sobrien 197451292Sobrien * Update library -version-info to 3:0:1 (will result in 2.1.0 .so 197551292Sobrien version, which is backwards compatible with older versions.) Only 197651292Sobrien one new interface was added to libamu. 197751292Sobrien 197851292Sobrien * amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags 197951292Sobrien that are specific to automounter mounts. 198051292Sobrien 198151292Sobrien * aux/configure.in: update libamu.so age and revision since a new 198251292Sobrien interface was added to libamu/mount_fs.c 198351292Sobrien (compute_automounter_mount_flags). 198451292Sobrien 198551292Sobrien * libamu/mount_fs.c (compute_automounter_mount_flags): new 198651292Sobrien function to compute generic mount flags that are specific to mount 198751292Sobrien points only. 198851292Sobrien 198951292Sobrien * aux/{configure.in,acconfig.h}: add support for generic mount 199051292Sobrien entry ignore option. 199151292Sobrien 199251292Sobrien * released snapshot am-utils-6.0.1s2 199351292Sobrien 199451292Sobrien * amd/info_ldap.c (get_ldap_timestamp): dlog format fixes. 199551292Sobrien 199651292Sobrien * libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format 199751292Sobrien of knc_semantics from u_long to u_int. 199851292Sobrien 199951292Sobrien * aux/macros/check_mount_style.m4: freebsd3 no longer needs a 200051292Sobrien special mount helper. 200151292Sobrien 200251292Sobrien1999-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 200351292Sobrien 200451292Sobrien * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS): 200551292Sobrien amu_nfs_conf.h should always be found in $top_builddir. 200651292Sobrien 200751292SobrienTue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 200851292Sobrien 200951292Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine 201051292Sobrien to avoid wrong reports from show_fstypes. 201151292Sobrien 201251292Sobrien * conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise. 201351292Sobrien 201451292Sobrien * conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise. 201551292Sobrien 201651292SobrienTue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 201751292Sobrien 201851292Sobrien * BUGS (mips-dec-ultrix4.3): Update Ultrix caveats. 201951292Sobrien 202051292SobrienTue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 202151292Sobrien 202251292Sobrien * hlfsd/homedir.c (delay): Cast child to long, adapt format. 202351292Sobrien (hlfsd_getpwent): Likewise for pw_uid. 202451292Sobrien 202551292Sobrien * amd/info_nis.c (nis_init): Cast order to unsigned long, adapt 202651292Sobrien format. 202751292Sobrien 202851292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast 202951292Sobrien tv_sec to int to match format. 203051292Sobrien (get_nfs_version): Cast nfs_version, NFS_VERSION to int to match 203151292Sobrien formats. 203251292Sobrien 203351292Sobrien * amd/amfs_program.c (amfs_program_exec): Cast ptr difference to 203451292Sobrien long, adapt format. 203551292Sobrien 203651292Sobrien * include/am_defs.h: Handle __attribute__ if available. From 203751292Sobrien GNU fileutils 4.0 lib/errors.h. 203851292Sobrien 203951292SobrienMon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 204051292Sobrien 204151292Sobrien * libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to 204251292Sobrien match format. 204351292Sobrien 204451292Sobrien * hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long, 204551292Sobrien adapt format. 204651292Sobrien (nfsproc_lookup_2_svc): Likewise. 204751292Sobrien (nfsproc_readlink_2_svc): Likewise for userid, groupid. 204851292Sobrien 204951292Sobrien * hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match 205051292Sobrien format. 205151292Sobrien 205251292Sobrien * hlfsd/homedir.c (homedir): Cast uid, child to long, adapt 205351292Sobrien format. 205451292Sobrien 205551292Sobrien * amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned 205651292Sobrien long, adapt format. 205751292Sobrien 205851292Sobrien * amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to 205951292Sobrien unsigned long, adapt format. 206051292Sobrien (got_nfs_fh): Likewise. 206151292Sobrien (prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match 206251292Sobrien format. 206351292Sobrien (call_mountd): Likewise, mnt_version also. 206451292Sobrien (mount_nfs_fh): Likewise. 206551292Sobrien 206651292Sobrien * amd/ops_autofs.c (autofs_program_1): Cast args to int to match 206751292Sobrien format. 206851292Sobrien (autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to 206951292Sobrien unsigned long, adapt formats. 207051292Sobrien (autofs_bgmount): Cast opt_fs to unsigned to, adapt format. 207151292Sobrien (autofs_bgmount): Use long format to match arg. 207251292Sobrien (autofs_lookuppn): Removed superfluous arg. 207351292Sobrien 207451292Sobrien * amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match 207551292Sobrien format. 207651292Sobrien (got_portmap): Likewise for port. 207751292Sobrien (recompute_portmap): Likewise for fs->fs_version, mnt_version. 207851292Sobrien (find_nfs_srvr): Likewise for nfs_version. 207951292Sobrien 208051292Sobrien * amd/sched.c (sched_task): Cast wchan to unsigned long, adapt 208151292Sobrien format. 208251292Sobrien 208351292Sobrien * amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem 208451292Sobrien to unsigned long, adapt format. 208551292Sobrien Cast tvv.tv_sec to int to match format. 208651292Sobrien 208751292Sobrien * amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match 208851292Sobrien format. 208951292Sobrien 209051292Sobrien * amd/map.c (root_fh): Cast pid to long, adapt format. 209151292Sobrien (timeout_mp): Cast time_t to long, adapt format. 209251292Sobrien 209351292Sobrien * amd/clock.c (reschedule_timeouts): Use long format, cast time_t 209451292Sobrien arg. 209551292Sobrien 209651292Sobrien * amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to 209751292Sobrien match format. 209851292Sobrien (amfs_host_fmount): Likewise. 209951292Sobrien (amfs_host_umounted): Likewise. Removed superfluous arg. 210051292Sobrien 210151292Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned 210251292Sobrien long, adapt format. 210351292Sobrien (amfs_auto_bgmount): Use long format, cast time_t arg. 210451292Sobrien (amfs_auto_lookuppn): Removed superfluous arg. 210551292Sobrien 210651292Sobrien * amd/amd.c (main): Cast geteuid() result to long, adapt format. 210751292Sobrien 210851292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version 210951292Sobrien to int to match format. 211051292Sobrien 211151292Sobrien * include/am_utils.h: Declare plog, dplog as printf-like. 211251292Sobrien 211351292Sobrien * conf/mount/mount_irix6.c (mount_irix): Print type as char *. 211451292Sobrien 211551292SobrienMon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 211651292Sobrien 211751292Sobrien * amd/info_hesiod.c (hesiod_isup): New function. 211851292Sobrien * amd/mapc.c (maptypes): Add it. 211951292Sobrien 212051292Sobrien1999-01-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 212151292Sobrien 212251292Sobrien * released snapshot am-utils-6.0.1s1 212351292Sobrien 212451292Sobrien1999-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 212551292Sobrien 212651292Sobrien * ALL: bump copyright year to 1999. 212751292Sobrien 212851292SobrienFri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 212951292Sobrien 213051292Sobrien * aux/macros/check_mtype_type.m4: Ultrix uses an int mount type, 213151292Sobrien too. 213251292Sobrien 213351292Sobrien * aux/macros/check_mtype_printf_type.m4: Adapt corresponding 213451292Sobrien printf type. 213551292Sobrien 213651292SobrienFri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 213751292Sobrien 213851292Sobrien * aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused. 213951292Sobrien 214051292Sobrien * conf/nfs_prot/nfs_prot_irix6.h: Likewise. 214151292Sobrien 214251292Sobrien * conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise. 214351292Sobrien 214451292Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise. 214551292Sobrien 214651292Sobrien * Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current 214751292Sobrien automake. 214851292Sobrien 214951292SobrienThu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 215051292Sobrien 215151292Sobrien * aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not 215251292Sobrien in current automake. 215351292Sobrien 215451292SobrienThu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 215551292Sobrien 215651292Sobrien * doc/am-utils.texi: Added some missing inter-punctation after 215751292Sobrien @xref, or use @pxref/@ref as appropriate. Spotted by makeinfo 215851292Sobrien from texinfo 3.12b. 215951292Sobrien 216051292Sobrien1999-01-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 216151292Sobrien 216251292Sobrien * doc/texinfo.tex: updated off of latest GNU mirror. 216351292Sobrien 216451292Sobrien1999-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 216551292Sobrien 216651292Sobrien * doc/am-utils.texi (Supported Platforms): update platforms that 216751292Sobrien support NFS v.3. Nicer postscript printing on double-sided pages. 216851292Sobrien 216951292Sobrien * amd/info_hesiod.c: add extern definition for hesiod_init() 217051292Sobrien 217142629Sobrien1999-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 217242629Sobrien 217342629Sobrien ******************************************************************* 217442629Sobrien *** Released am-utils-6.0 *** 217542629Sobrien ******************************************************************* 217642629Sobrien 217742629Sobrien1998-12-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 217842629Sobrien 217942629Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7. 218042629Sobrien 218142629Sobrien1998-12-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 218242629Sobrien 218342629Sobrien * conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on 218442629Sobrien bsdi4 for NFS V3/nfs mounts. 218542629Sobrien 218642629Sobrien1998-12-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 218742629Sobrien 218842629Sobrien * using latest libtool (1.2e + patches), now supporting shared 218942629Sobrien libraries on many more systems. Also using latest autoconf and 219042629Sobrien automake (unreleased GNU CVS'd versions.) 219142629Sobrien 219242629Sobrien * minor new ports: hppa2.0w-hp-hpux11.00, 219342629Sobrien i386-unknown-netbsd1.3.3, mips-sgi-irix6.5. 219442629Sobrien 219542629Sobrien * fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that 219642629Sobrien have /usr/bin/flex but not libfl. 219742629Sobrien 219842629Sobrien1998-12-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 219942629Sobrien 220042629Sobrien * lots of code cleanup, to make sure libamu.so does not use 220142629Sobrien undefined symbols. Some system's shared libraries cannot handle 220242629Sobrien that. 220342629Sobrien 220442629Sobrien1998-12-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 220542629Sobrien 220642629Sobrien * include/am_defs.h: only defined seteuid extern if function also 220742629Sobrien exists and is not superceded by setresuid (hpux). 220842629Sobrien 220942629Sobrien * amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit 221042629Sobrien braces to avoid confusion with nested if-then-else clauses. 221142629Sobrien 221242629Sobrien * aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs: 221342629Sobrien updated from latest versions. 221442629Sobrien 221542629Sobrien1998-12-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 221642629Sobrien 221742629Sobrien * minor new port: i386-pc-bsdi4.0 221842629Sobrien 221942629Sobrien * conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header 222042629Sobrien definitions for bsdi4. 222142629Sobrien 222242629Sobrien * {amd,fsinfo}/Makefile.am: force path to .y/.l files, because 222342629Sobrien some make programs (bsdi4) do not support VPATH correctly. 222442629Sobrien 222542629Sobrien1998-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 222642629Sobrien 222742629Sobrien * conf/mount/mount_aix.c: minor code cleanup 222842629Sobrien 222942629Sobrien * aux/configure.in: check for extern definition to xdr_groups. 223042629Sobrien 223142629Sobrien1998-12-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 223242629Sobrien 223342629Sobrien * minor new port: powerpc-ibm-aix4.3.1.0 223442629Sobrien 223542629Sobrien * aux/macros/*.m4: updates for aix 4.3 223642629Sobrien 223742629Sobrien1998-12-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 223842629Sobrien 223942629Sobrien * minor new port: i386-unknown-openbsd2.4 224042629Sobrien 224142629Sobrien * aux/configure.in: don't check for xfs on openbsd because 224242629Sobrien openbsd-2.4 introduces a new file system named xfs, but different 224342629Sobrien than Irix's XFS. Sigh. 224442629Sobrien 224542629Sobrien * minor new port: i386-unknown-freebsd2.2.8 224642629Sobrien 224742629Sobrien1998-12-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 224842629Sobrien 224942629Sobrien * amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host 225042629Sobrien name match. Bug fix from Douglas K. Rand" <rand@aero.und.edu>. 225142629Sobrien 225242629Sobrien1998-11-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 225342629Sobrien 225442629Sobrien * scripts/ctl-amd.in: wait4amd2die runs in the stop action, to 225542629Sobrien avoid race conditions when shutting down systems running amd. 225642629Sobrien 225742629Sobrien * Makefile.am: add a dist-hook to change modes of the directories 225842629Sobrien in the tar file so they are not world writable. 225942629Sobrien 226042629Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support, 226142629Sobrien since it is now finally defined in the header files and 226242629Sobrien (hopefully) stable. 226342629Sobrien 226442629Sobrien * amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option 226542629Sobrien is specified in mount options. freebsd patches from David 226642629Sobrien O'Brien. 226742629Sobrien 226842629Sobrien * amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c 226942629Sobrien (main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main), 227042629Sobrien amd/get_args.c (get_args): posix: use -1 to check for return from 227142629Sobrien getopt() (not EOF), as per posix. 227242629Sobrien 227342629Sobrien * amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David 227442629Sobrien O'Brien" <obrien@NUXI.com>, from the FreeBSD source tree. Use 227542629Sobrien real variable whose pointer is on the stack for decoding a long 227642629Sobrien int. 227742629Sobrien 227842629Sobrien1998-11-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 227942629Sobrien 228042629Sobrien * scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's 228142629Sobrien chkconfig utility. 228242629Sobrien 228342629Sobrien1998-11-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 228442629Sobrien 228542629Sobrien * released snapshot am-utils-6.0b2s3 228642629Sobrien 228742629Sobrien * conf/transp/transp_sockets.c (create_nfs_service): remove C++ 228842629Sobrien style comments. 228942629Sobrien 229042629Sobrien1998-11-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 229142629Sobrien 229242629Sobrien * released snapshot am-utils-6.0b2s2 229342629Sobrien 229442629Sobrien * created CVS package 229542629Sobrien 229642629Sobrien * amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race 229742629Sobrien condition between unmounting and re-mounting an entry, by 229842629Sobrien increasing the ttl of a looked up entry before unmounting it. 229942629Sobrien Patch from Mike Mitchell <mcm@unx.sas.com>. 230042629Sobrien 230142629Sobrien * All files: spell comments and strings. 230242629Sobrien 230342629Sobrien1998-11-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 230442629Sobrien 230542629Sobrien * aux/configure.in: look for yp_all in libnsl only if yp_all not 230642629Sobrien already found elsewhere (in libc or other default libraries). 230742629Sobrien This is so RedHat 5.1 systems could find yp functions in libnsl, 230842629Sobrien but also so AIX 4.2.1 will NOT include libnsl, because the latter 230942629Sobrien has broken nis functionality that also exists and works ok in libc. 231042629Sobrien 231142629Sobrien1998-10-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 231242629Sobrien 231342629Sobrien * amd/amd.c (main): bug fix: swapped arguments to kill(2). Fix 231442629Sobrien from Danny Rathjens <dkr@cs.fiu.edu>. 231542629Sobrien 231642629Sobrien1998-10-28 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu> 231742629Sobrien 231842629Sobrien * released snapshot am-utils-6.0b2s1 231942629Sobrien 232042629Sobrien1998-10-27 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu> 232142629Sobrien 232242629Sobrien * aux/macros/*.m4: support bsdi4 as bsdi3. 232342629Sobrien 232442629Sobrien * aux/macros/os_ldflags.m4: enable detection of LDAP on solaris 232542629Sobrien 2.7 (libraries located in /usr/lib/fn). This is off until Sun 232642629Sobrien includes LDAP header information. 232742629Sobrien 232841142Sobrien1998-10-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 232941142Sobrien 233041142Sobrien ******************************************************************* 233141142Sobrien *** Released am-utils-6.0b1 *** 233241142Sobrien ******************************************************************* 233341142Sobrien 233441142Sobrien1998-10-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 233541142Sobrien 233641142Sobrien * mk-amd-map/mk-amd-map.c (main): use perror not strerror. 233741142Sobrien (main): set return type to int if no ndbm maps. 233841142Sobrien 233941142Sobrien * include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1 234041142Sobrien kernels. 234141142Sobrien 234241142Sobrien1998-10-18 Erez Zadok <ezk@london.mcl.cs.columbia.edu> 234341142Sobrien 234441142Sobrien * A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup 234541142Sobrien for netbsd 1.3.2. 234641142Sobrien 234741142Sobrien1998-10-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 234841142Sobrien 234941142Sobrien * aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1 235041142Sobrien systems put NIS functions there. 235141142Sobrien 235241142Sobrien * mk-amd-map/mk-amd-map.c: patch from "David O'Brien" 235341142Sobrien <obrien@NUXI.com> merged in. Use POSIX -1 return code from 235441142Sobrien getopt(), not EOF. Use .db extentions for systems that use it, 235541142Sobrien instead of .{pag,dir}. 235641142Sobrien 235741142Sobrien1998-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 235841142Sobrien 235941142Sobrien * wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c, 236041142Sobrien amd/amd.c (main): avoid overrunning hostname buffer. Bug fix from 236141142Sobrien "David O'Brien" <obrien@NUXI.com>. 236241142Sobrien 236341142Sobrien * scripts/amd.conf.5: minor typo reported by "David O'Brien" 236441142Sobrien <obrien@NUXI.com> in .TH section of man page. 236541142Sobrien 236641142Sobrien * amd/info_nis.c (am_yp_all): don't leak key-val entries. Patch 236741142Sobrien from Thomas Richter <richter@chemie.fu-berlin.de>. 236841142Sobrien 236941142Sobrien1998-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 237041142Sobrien 237141142Sobrien * doc/am-utils.texi (Program Filesystem): minor typo fixed as per 237241142Sobrien Andreas Stolcke <stolcke@speech.sri.com>. 237341142Sobrien 237441142Sobrien * minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7, 237541142Sobrien and sparc-sun-solaris2.7. 237641142Sobrien 237741142Sobrien * conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now 237841142Sobrien a 4.4lite kernel, and somethings were removed, such as 237941142Sobrien INITMOUNTNAMES. 238041142Sobrien 238141142Sobrien * amd/ops_autofs.c (autofs_lookuppn): don't leak memory while 238241142Sobrien processing /defaults. Free temporary opts. Patch from 238341142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) 238441142Sobrien 238541142Sobrien * amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while 238641142Sobrien processing /defaults. Free temporary opts. Patch from 238741142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) 238841142Sobrien 238941142Sobrien * conf/mtab/mtab_osf.c (read_mtab): patch from 239041142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access 239141142Sobrien uninitialized memory on Digital Unix. 239241142Sobrien 239341142Sobrien1998-10-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 239441142Sobrien 239541142Sobrien * aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most 239641142Sobrien systems now use "char *" as their mount type. 239741142Sobrien 239841142Sobrien1998-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 239941142Sobrien 240041142Sobrien * amd/conf.c (gopt_map_type, ropt_map_type): check if map type 240141142Sobrien exists. 240241142Sobrien 240341142Sobrien * amd/mapc.c (mapc_type_exists): function to test if a map of 240441142Sobrien certain type exists. 240541142Sobrien 240641142Sobrien1998-10-08 Erez Zadok <ezk@horatio.mcl.cs.columbia.edu> 240741142Sobrien 240841142Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 240941142Sobrien include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl 241041142Sobrien in RH-5.1 sparc64 between <netinet/in.h> and 241141142Sobrien <linux/byteorder/generic.h> (2.1 kernels). 241241142Sobrien 241341142Sobrien1998-09-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 241441142Sobrien 241541142Sobrien * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat 241641142Sobrien 5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket 241741142Sobrien from yp_all(). 241841142Sobrien 241941142Sobrien1998-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 242041142Sobrien 242141142Sobrien * conf/mount/mount_linux.c (parse_opts): check for pcfs support 242241142Sobrien only if autoconfigured. 242341142Sobrien 242441142Sobrien1998-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 242541142Sobrien 242641142Sobrien * Makefile.am (EXTRA_DIST): distribute README.yk2 file. 242741142Sobrien 242841142Sobrien * README.y2k: explain y2k compliance status of am-utils. 242941142Sobrien 243041142Sobrien1998-09-16 Erez Zadok <ezk@iguana.mcl.cs.columbia.edu> 243141142Sobrien 243241142Sobrien * amd/amfs_host.c (fetch_fhandle, amfs_host_fmount, 243341142Sobrien amfs_host_umounted): clnt_sperrno() may return a const. 243441142Sobrien 243541142SobrienSat Aug 8 23:28:32 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 243641142Sobrien 243741142Sobrien * aux/configure.in: check for <nfs/nfsmount.h>, as per Christos 243841142Sobrien Zoulas. Turned on checking for mount options: async, synchronous, 243941142Sobrien deadthresh, leasterm, nqnfs, and readahead. 244041142Sobrien 244141142Sobrien * amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas) 244241142Sobrien to include prototype definition for nis_isup(). 244341142Sobrien 244441142SobrienSun Jul 19 18:50:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 244541142Sobrien 244641142Sobrien * hlfsd/stubs.c (getcreds): force sscanf arg to u_long. 244741142Sobrien 244841142SobrienTue Jul 14 20:34:25 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 244941142Sobrien 245041142Sobrien * released snapshot am-utils-6.0a17s1 245141142Sobrien 245241142SobrienWed Jul 8 21:49:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 245341142Sobrien 245441142Sobrien * aux/macros/host_macros.m4: all x86 hosts should have $arch be 245541142Sobrien i386, not i[456]86. 245641142Sobrien 245741142SobrienTue Jul 7 18:55:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 245841142Sobrien 245941142Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 246041142Sobrien include/am_defs.h: include <linux/posix_types.h> before 246141142Sobrien <linux/fs.h> because on redhat 5.1, there is a bug (misuse) of 246241142Sobrien headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of 246341142Sobrien __KERNEL_STRICT_NAMES). 246441142Sobrien 246541142Sobrien * aux/configure.in: check for <linux/posix_types.h> because it is 246641142Sobrien need for RedHat 5.1. 246741142Sobrien 246841142SobrienWed Jun 17 00:05:33 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 246941142Sobrien 247041142Sobrien * scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from 247141142Sobrien .in as well, so it doesn't get removed by make clean. 247241142Sobrien 247341142SobrienTue Jun 16 22:00:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 247441142Sobrien 247541142Sobrien * aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4, 247641142Sobrien check_mount_type.m4}: redhat 5.1 puts some modules in 247741142Sobrien /lib/modules/preferred/. 247841142Sobrien 247941142SobrienWed May 13 16:33:57 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 248041142Sobrien 248141142Sobrien * amd/ops_autofs.c (mount_autofs): cast pid to long. 248241142Sobrien 248351292SobrienTue Apr 28 15:12:36 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 248451292Sobrien 248551292Sobrien * conf/nfs_prot/nfs_prot/nfs_prot_irix6.h, 248651292Sobrien conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to 248751292Sobrien avoid amd/am_ops.c (show_fstypes) from erroneously claiming 248851292Sobrien support. 248951292Sobrien 249051292SobrienFri Apr 24 23:02:11 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 249151292Sobrien 249251292Sobrien * libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON 249351292Sobrien unconditionally, may be missing on Ultrix V4.3. 249451292Sobrien 249551292SobrienThu Apr 23 20:24:33 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 249651292Sobrien 249751292Sobrien * conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define, 249851292Sobrien missing from <sys/mntent.h>. 249951292Sobrien 250051292Sobrien * conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h> 250151292Sobrien without KERNEL defined here. 250251292Sobrien 250351292Sobrien * aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>, 250451292Sobrien <cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of 250551292Sobrien ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed. 250651292Sobrien 250751292Sobrien * amd/ops_ufs.c (mount_ufs): Removed obsolete comment. 250851292Sobrien 250951292Sobrien * ChangeLog: Fixed confusing linebreaks from ChangeLog imports. 251051292Sobrien Removed purely local (and obsolete) entry. 251151292Sobrien 251238494SobrienThu Apr 23 00:22:17 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 251338494Sobrien 251438494Sobrien ******************************************************************* 251538494Sobrien *** Released am-utils-6.0a16 *** 251638494Sobrien ******************************************************************* 251738494Sobrien 251838494SobrienWed Apr 22 01:20:39 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 251938494Sobrien 252038494Sobrien * aux/macros/check_mount_style.m4: define freebsd3 mount style. 252138494Sobrien 252238494Sobrien * aux/macros/check_mount_trap.m4: new mount trap for freebsd3. 252338494Sobrien 252438494Sobrien * aux/macros/check_mtype_printf_type.m4, 252538494Sobrien aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as 252638494Sobrien of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not 252738494Sobrien integers, but I'll keep them as integers and do the mapping in 252838494Sobrien conf/mount/mount_freebsd3.c 252938494Sobrien 253038494Sobrien * minor new port to i386-pc-bsdi3.1. 253138494Sobrien 253238494Sobrien * minor new port to i386-unknown-netbsd1.3.1. 253338494Sobrien 253438494Sobrien * amd/opts.c: new option addopts:=ARG, which smartly merges ARG 253538494Sobrien options with whatever the /default ones for a key are. This 253638494Sobrien allows adding or overriding /default options individual keys. 253738494Sobrien 253838494Sobrien * amd/am_ops.c (ops_match): strdup/malloc string assigned to 253938494Sobrien opt_opts because it'll get free()'d upon next use. 254038494Sobrien (merge_opts): new function to merge two sets of options. 254138494Sobrien (ops_match): if addopts option exist, append and merge it to the 254238494Sobrien current default options. 254338494Sobrien 254438494SobrienTue Apr 21 12:54:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 254538494Sobrien 254638494Sobrien * wire-test/wire-test.c (main): use dynamically allocated returned 254738494Sobrien string with list of interfaces. 254838494Sobrien 254938494Sobrien * amd/get_args.c (get_version_string): allocate enough space for 255038494Sobrien header version string and a list of network interfaces of any 255138494Sobrien length. 255238494Sobrien 255338494Sobrien * libamu/wire.c (print_wires): return dynamically allocated string 255438494Sobrien containing list of networks. Must be dynamic because some sites 255538494Sobrien had potentially dozens of network interfaces. Patch from Matthew 255638494Sobrien Crosby <mcrosby@ms.com> slightly modified. 255738494Sobrien 255838494SobrienMon Apr 20 00:37:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 255938494Sobrien 256038494Sobrien * conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because 256138494Sobrien irix 5.3 does not have full header definitions for it. 256238494Sobrien 256338494Sobrien * fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and 256438494Sobrien undefined it when not needed (similar to amd/conf_tok.l) 256538494Sobrien 256638494Sobrien * hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size 256738494Sobrien of these to unsigned short (because uid_t on some linux systems is 256838494Sobrien small). 256938494Sobrien 257038494Sobrien * released snapshot am-utils-6.0a16s10 257138494Sobrien 257238494Sobrien * doc/am-utils.texi (opts Option): documented resvport mount 257338494Sobrien option. 257438494Sobrien 257538494SobrienSun Apr 19 18:17:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 257638494Sobrien 257738494Sobrien * doc/am-utils.texi (-D-Option): document behavior of -D info and 257838494Sobrien especially what it does to hesiod (turn on RES_DEBUG). 257938494Sobrien 258038494Sobrien * scripts/amd.conf.5: document info debugging option. 258138494Sobrien 258238494Sobrien * libamu/xutil.c (dbg_opt): parse info debugging option. 258338494Sobrien 258438494Sobrien * include/am_utils.h (D_INFO): define new trace option. 258538494Sobrien 258638494Sobrien * Makefile.am (EXTRA_DIST): include list of official mirrors in 258738494Sobrien distribution. 258838494Sobrien 258938494Sobrien * libamu/wire.c (SIZE): in the simple case, just compute 259038494Sobrien sizeof(struct ifreq). 259138494Sobrien 259238494SobrienSun Apr 19 16:30:35 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 259338494Sobrien 259438494Sobrien * amd/amd.c (daemon_mode): set a temporary secure umask(0022) 259538494Sobrien before writing log file and restore it afterwards. Patch from 259638494Sobrien Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 259738494Sobrien 259838494Sobrien * amd/get_args.c (get_args): 259938494Sobrien 260038494Sobrien * doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf 260138494Sobrien file specified by -F is always processed last. 260238494Sobrien 260338494Sobrien * amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd 260438494Sobrien won't be reused. Allows startup script to redirect stdout. Patch 260538494Sobrien from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 260638494Sobrien 260738494Sobrien * libamu/xutil.c (switch_to_logfile): compare logfile name and 260838494Sobrien syslog string with correct length. Patch from Donald Buczek 260938494Sobrien <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 261038494Sobrien 261138494Sobrien * amd/restart.c (restart): correctly inherit existing NFS V.3 261238494Sobrien mounts upon restart. Patch from Donald Buczek 261338494Sobrien <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 261438494Sobrien 261538494SobrienSat Apr 18 19:01:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 261638494Sobrien 261738494Sobrien * using libtool 1.2 and automake 1.3 (with my patches). 261838494Sobrien 261938494Sobrien * aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to 262038494Sobrien AMU_CFLAGS to avoid conflicts with automake-1.3. 262138494Sobrien 262238494SobrienSun Apr 5 23:09:08 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 262338494Sobrien 262438494Sobrien * converted to using libtool-1.2. 262538494Sobrien 262638494SobrienTue Mar 10 16:52:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 262738494Sobrien 262838494Sobrien * fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly 262938494Sobrien for loop (ITER) which used to run only to initialize the variable 263038494Sobrien dd once and then break; with a simple assignment. 263138494Sobrien 263238494Sobrien * hlfsd/hlfsd.h: cleanup so it compiles with Solaris 263338494Sobrien /opt/SUNWspro/bin/cc, and use gid_t not int. 263438494Sobrien 263538494Sobrien * amd/mapc.c (mapc_sync): don't dereference pointer (so it 263638494Sobrien compiles with Solaris /opt/SUNWspro/bin/cc) 263738494Sobrien 263838494SobrienSun Mar 8 15:54:22 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 263938494Sobrien 264038494Sobrien * aux/config.{guess,sub}: used from gcc-2.8.1. 264138494Sobrien 264238494SobrienSat Mar 7 15:33:27 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 264338494Sobrien 264438494Sobrien * released snapshot am-utils-6.0a16s9 264538494Sobrien 264638494Sobrien * INSTALL, doc/am-utils.texi (Supported Platforms): updated names 264738494Sobrien based on new output of new config.guess. 264838494Sobrien 264938494Sobrien * aux/config.{sub,guess}: used newer versions from gcc-2.8.0. 265038494Sobrien 265138494Sobrien * amd/amd.8,doc/am-utils.texi: document correct usage of default 265238494Sobrien /etc/amd.conf file. 265338494Sobrien 265438494Sobrien * fixmount/fixmount.c (inetresport,privsock): use some more 265538494Sobrien portable code from amq/amq.c. 265638494Sobrien 265738494Sobrien * amd/get_args.c (get_args): use default /etc/amd.conf file only 265838494Sobrien if no arguments had been passed to amd. 265938494Sobrien 266038494Sobrien * fixmount/fixmount.c (clnt_create_timeout): use tli/socket code 266138494Sobrien ala amq/amq.c so that fixmount will work on both types of systems. 266238494Sobrien 266338494Sobrien * amq/amq.c (main): do no close tcp socket before running udp try, 266438494Sobrien because we're not sure if it was opened at all. 266538494Sobrien 266638494Sobrien * mips-dec-ultrix* port merged in and cleaned up. 266738494Sobrien 266838494Sobrien * aux/configure.in: up minor shared library revision number, since 266938494Sobrien it has changed enough. 267038494Sobrien 267138494Sobrien * hlfsd/hlfsd.c (main): don't check for overlay mount option here, 267238494Sobrien as it is now done in compute_nfs_args(). Remove ultrix specific 267338494Sobrien code also because it was moved to compute_nfs_args(). 267438494Sobrien 267538494Sobrien * conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that 267638494Sobrien we have more generic code in print_nfs_args(). 267738494Sobrien 267838494Sobrien * libamu/mount_fs.c (print_nfs_args): print maxlen of 267938494Sobrien nfs_args.addr, and also syncaddr (which is mostly NULL). Print 268038494Sobrien struct knetconfig from nfs_args->knconf. 268138494Sobrien 268238494Sobrien * aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs 268338494Sobrien headers here, but in try_compile_anyfs.m4. 268438494Sobrien 268538494Sobrien * aux/macros/type_ufs_args.m4: move test for struct ufs_specific 268638494Sobrien (for ultrix) here from its own macro. 268738494Sobrien 268838494Sobrien * aux/macros/type_cdfs_args.m4: move test for struct iso_specific 268938494Sobrien (for ultrix) here from its own macro. 269038494Sobrien 269138494Sobrien * amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking 269238494Sobrien for overlay mount option. Remove code which checks for overlay 269338494Sobrien option, as it is now done in compute_nfs_args(). 269438494Sobrien 269538494Sobrien * libamu/mount_fs.c (compute_mount_flags): move here code which 269638494Sobrien checks for overlay mount option which was in amd/amfs_toplvl.c: 269738494Sobrien mount_amfs_toplvl(). 269838494Sobrien 269938494SobrienWed Feb 7 15:35:51 1998 Rainer Orth <ro@xayide.TechFak.Uni-Bielefeld.DE> 270038494Sobrien 270138494Sobrien * The following are Rainer's ChangeLog entries for his ultrix 270238494Sobrien port, added manually. -Erez. 270338494Sobrien 270438494Sobrien * merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c 270538494Sobrien (mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl) 270638494Sobrien 270751292Sobrien * include/am_defs.h: include cdfs specific mount headers 270851292Sobrien avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix) 270938494Sobrien 271038494Sobrien * include/am_compat.h: define several mount options corresponding 271138494Sobrien to mount flags: pgthresh, hard (nfs), defperm, nodefperm, 271238494Sobrien noversion, rrip (cdfs), nocache, quota, sync (generic) removed 271338494Sobrien duplicate MNTTAB_OPT_RO definition 271438494Sobrien 271538494Sobrien * aux/macros/try_compile_anyfs.m4: include Ultrix specific 271638494Sobrien ufs/cdfs mount headers 271738494Sobrien 271838494Sobrien * aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX 271938494Sobrien specific mount headers 272038494Sobrien 272138494Sobrien * aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_* 272238494Sobrien mount types in mount headers (Ultrix) 272338494Sobrien 272438494Sobrien * aux/configure.in: Ultrix/Digital UNIX specific checks: new 272538494Sobrien headers, mount structures and fields, filesystem and mount types, 272638494Sobrien mount flags 272738494Sobrien 272838494Sobrien * aux/acconfig.h: placeholders for new mount options: quota 272938494Sobrien (generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs) 273038494Sobrien cdfs, nfs, ufs mount structure fields new ufs, cdfs mount 273138494Sobrien structures 273238494Sobrien 273338494Sobrien * amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in 273438494Sobrien ufs_args.ufs_flags and has ufs specific pgthresh option 273538494Sobrien 273638494Sobrien * amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific 273738494Sobrien CDFS mount flags and options 273838494Sobrien 273938494Sobrien * amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh), 274038494Sobrien hlfsd/hlfsd.c (main): store generic mount flags in 274138494Sobrien nfs_args.gfs_flags, handle separate NFS ro flag 274238494Sobrien 274338494Sobrien * aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific, 274438494Sobrien struct_ufs_specific}.m4: new files; check for Ultrix specific 274538494Sobrien mount structures 274638494Sobrien 274738494Sobrien * conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag 274838494Sobrien 274938494Sobrien * aux/macros/type_auth_create_gidlist.m4 (ultrix*): 275038494Sobrien AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a 275138494Sobrien comment in <rpc/auth.h> 275238494Sobrien 275338494Sobrien * include/am_defs.h: #define KERNEL to avoid definition of 275482794Sobrien gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before 275582794Sobrien <config.h> to force single definition here 275638494Sobrien 275738494Sobrien * libamu/mount_fs.c (compute_nfs_args): Ultrix support for 275882794Sobrien nfs_args.gfs_flags moved to callers store mount options in 275982794Sobrien nap->optstr 276038494Sobrien 276138494Sobrien * include/am_defs.h: fix _am_mntent mnt_{type, opts} field 276238494Sobrien descriptions 276338494Sobrien 276438494Sobrien * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4: 276538494Sobrien include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req 276638494Sobrien definition in prototypes 276738494Sobrien 276838494Sobrien * aux/macros/mount_headers.m4: include <sys/errno.h> before 276938494Sobrien AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_* 277038494Sobrien definitions 277138494Sobrien 277238494Sobrien * conf/nfs_prot/nfs_prot_ultrix.h: new file 277338494Sobrien 277451292Sobrien * aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h 277538494Sobrien 277638494Sobrien * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4, 277738494Sobrien aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple 277838494Sobrien inclusion of <rpc/xdr.h> 277938494Sobrien 278038494SobrienSat Mar 7 13:56:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 278138494Sobrien 278238494Sobrien * aux/configure.in: save state of config.cache and confdefs.h 278338494Sobrien (as dbgcf.h) at various points of the configure. 278438494Sobrien 278538494Sobrien * aux/macros/save_state.m4: new macro to save state of configure, 278638494Sobrien esp. useful in long ones. Saves confdefs.h and write $ac_cv_* 278738494Sobrien cache variables that are known so far. 278838494Sobrien 278938494Sobrien * released snapshot am-utils-6.0a16s8 279038494Sobrien 279138494Sobrien1998-03-06 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 279238494Sobrien 279338494Sobrien * fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining 279438494Sobrien it, but only for flex. 279538494Sobrien 279638494SobrienFri Mar 6 17:23:17 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 279738494Sobrien 279838494Sobrien * hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file 279938494Sobrien to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible) 280038494Sobrien to write the dump file. 280138494Sobrien 280238494Sobrien * doc/am-utils.texi,amd/opts.c: rename all references to nomadic 280338494Sobrien functions to boolean functions, which is what they really are. 280438494Sobrien 280538494Sobrien * aux/configure.in: don't look for strcasecmp in libucb at all, 280638494Sobrien but rather complete it from libamu/strcasecmp.c as needed. 280738494Sobrien 280838494SobrienFri Mar 6 03:29:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 280938494Sobrien 281038494Sobrien * conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS. 281138494Sobrien 281238494Sobrien * libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X 281338494Sobrien which defines IFF_ROUTE instead of IFF_LOOPBACK. Patch from Tom 281438494Sobrien Schmidt <tschmidt@micron.com>. 281538494Sobrien 281638494Sobrien * released snapshot am-utils-6.0a16s7 281738494Sobrien 281838494Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to 281938494Sobrien hppa1.0-hp-hpux11.00.tgz. 282038494Sobrien 282138494SobrienThu Mar 5 21:59:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 282238494Sobrien 282338494Sobrien * converted all sources to use mntent field names, and map mnttab 282438494Sobrien field names to mntent's. 282538494Sobrien 282638494Sobrien * include/am_defs.h (mnt_special): map struct mnttab field names 282738494Sobrien to struct mntent field names. 282838494Sobrien 282938494Sobrien * aux/macros/check_mount_trap.m4: hpux11's mount trap style is 283038494Sobrien identical to svr4/solaris2. 283138494Sobrien 283238494Sobrien * aux/macros/check_mount_style.m4: hpux11's mount style is 283338494Sobrien identical to svr4/solaris2. 283438494Sobrien 283538494Sobrien * aux/macros/check_network_transport_type.m4: hpux11 is a TLI 283638494Sobrien system! 283738494Sobrien 283838494Sobrien * aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address 283938494Sobrien dereferencing style is same as svr4. 284038494Sobrien 284138494Sobrien * aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh 284238494Sobrien dereferencing style is same as svr4. 284338494Sobrien 284438494Sobrien * conf/transp/transp_tli.c (create_nfs_service): if failed to 284538494Sobrien getnetconfigent() of ticlts, then try udp (hpux11). 284638494Sobrien 284738494Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for 284838494Sobrien struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris 284938494Sobrien 2.5.1 (HP used them). 285038494Sobrien 285138494Sobrien * amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open() 285238494Sobrien because hpux11 doesn't like it. if t_open failed, print error 285338494Sobrien based on t_errlist, not sys_errlist. 285438494Sobrien 285538494SobrienWed Mar 4 22:01:55 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 285638494Sobrien 285738494Sobrien * doc/am-utils.texi: lots of documentation fixes from Rainer Orth 285838494Sobrien <ro@TechFak.Uni-Bielefeld.DE>. 285938494Sobrien 286038494SobrienSat Feb 28 22:16:35 1998 Erez Zadok <ezk@kosh.cs.columbia.edu> 286138494Sobrien 286238494Sobrien * fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used 286338494Sobrien later. 286438494Sobrien 286538494Sobrien * include/am_defs.h: defined the extern for ualarm() if it isn't 286638494Sobrien found, regardless if the function isn't found in standard 286738494Sobrien libraries, because otherwise libamu will include it. 286838494Sobrien 286938494Sobrien1998-02-28 Erez Zadok (per Ron Snyder) <ezk@short.cvo.roguewave.com> 287038494Sobrien 287138494Sobrien * initial port to hpux-11 completed. Compiles cleanly, but 287238494Sobrien probably does not work, because of missing NFS V.2/3 headers. 287338494Sobrien 287438494Sobrien * amd/conf_tok.l: cast yytext to char* when passed to strlen and 287538494Sobrien strdup, for hpux-11's ansi-cc compiler. 287638494Sobrien 287738494Sobrien * include/am_utils.h: renamed all xfree() to XFREE() to avoid 287838494Sobrien conflict with hpux-11's system headers. Also move (voidp) cast 287938494Sobrien from sources to inside the macro itself. 288038494Sobrien 288138494SobrienSat Feb 28 13:44:21 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 288238494Sobrien 288338494Sobrien * released snapshot am-utils-6.0a16s6 288438494Sobrien 288538494Sobrien * amd/info_nis.c (nis_isup): new function to test if NIS is up 288638494Sobrien without hanging amd. Used to ensure that amd does not clear the 288738494Sobrien maps when the expiration period arrived, if the service is down. 288838494Sobrien Otherwise it would be left with empty maps. It is better to stay 288938494Sobrien with possibly old information than none at all. 289038494Sobrien 289138494Sobrien * amd/mapc.c (mapc_sync): check to see if map service is up. 289238494Sobrien 289338494SobrienTue Feb 24 02:19:42 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 289438494Sobrien 289538494Sobrien * aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it 289638494Sobrien includes auxiliary library only if needed. 289738494Sobrien 289838494Sobrien1998-02-22 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 289938494Sobrien 290038494Sobrien * amd/conf_tok.l: undefine ECHO again, so it doesn't get used 290138494Sobrien later. 290238494Sobrien 290338494SobrienSun Feb 22 01:41:08 1998 Erez Zadok <ezk@zen.cs.columbia.edu> 290438494Sobrien 290538494Sobrien * conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1 290638494Sobrien completed. 290738494Sobrien 290838494Sobrien * conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3. 290938494Sobrien 291038494SobrienSat Feb 21 19:45:48 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 291138494Sobrien 291238494Sobrien * doc/am-utils.texi (Network Host Filesystem): correct example for 291338494Sobrien type:=host map. 291438494Sobrien 291538494Sobrien * aux/macros/os_cflags.m4: only osf4 should compile with 291638494Sobrien -D_SOCKADDR_LEN. 291738494Sobrien 291838494Sobrien * aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2 291938494Sobrien and OSF4. 292038494Sobrien 292138494Sobrien * BUGS: include a new file listing known bugs. 292238494Sobrien 292338494SobrienSat Feb 21 03:50:48 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 292438494Sobrien 292538494Sobrien * conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux 292638494Sobrien versions. 292738494Sobrien 292838494Sobrien * aux/macros/type_recvfrom_fromlen.m4: linux alpha should use 292938494Sobrien size_t for recvfrom fromlen arg. 293038494Sobrien 293138494SobrienSat Feb 21 03:33:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 293238494Sobrien 293338494Sobrien * scripts/ctl-hlfsd.in: turn -D fork so primary process never 293438494Sobrien hangs. 293538494Sobrien 293638494SobrienSat Feb 21 02:45:51 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 293738494Sobrien 293838494Sobrien * include/am_defs.h: don't include <sys/stat.h> and 293938494Sobrien <linux/stat.h>, just remaining definitions in <statbuf.h> 294038494Sobrien 294138494SobrienThu Jan 29 00:44:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 294238494Sobrien 294338494Sobrien * released snapshot am-utils-6.0a16s5 294438494Sobrien 294538494Sobrien * conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to 294638494Sobrien mount(2). 294738494Sobrien 294838494Sobrien * check for <sys/fs/xfs_clnt.h> and include it when needed. 294938494Sobrien 295038494Sobrien * conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize 295138494Sobrien efs and xfs separately from "ufs". 295238494Sobrien 295338494Sobrien * amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs. 295438494Sobrien 295538494Sobrien * aux/configure.in: look for irix efs and xfs file systems. 295638494Sobrien 295738494Sobrien * scripts/amd.conf.5: new unmount_on_exit option documented. 295838494Sobrien 295938494Sobrien * doc/am-utils.texi (unmount_on_exit): new option documented. 296038494Sobrien 296138494Sobrien * amd/conf.c (gopt_unmount_on_exit): new function to handle new 296238494Sobrien amd.conf option. 296338494Sobrien 296438494Sobrien * amd/map.c (umount_exported): if global amd.conf flag 296538494Sobrien unmount_on_exit is on, then try to unmount all mounted (or 296638494Sobrien restartable) file systems. 296738494Sobrien 296838494Sobrien * amd/amd.c: if print_pid option is on, then normally print it to 296938494Sobrien stdout. If also pid_file is specified, then print the process ID 297038494Sobrien into that file. 297138494Sobrien 297238494Sobrien * amd/get_args.c (get_args): print correct -l option depending if 297338494Sobrien system supports syslog and/or syslog facilities. Patch from 297438494Sobrien Tom Schmidt <tschmidt@micron.com>. 297538494Sobrien 297638494Sobrien * doc/am-utils.texi (opts Option): updates for documentation for 297738494Sobrien new cdfs options defperm, nodefperm, noversion, rrip. 297838494Sobrien 297938494Sobrien * amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm, 298038494Sobrien nodefperm, noversion, rrip. 298138494Sobrien 298238494Sobrien * conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h> 298338494Sobrien on osf. 298438494Sobrien 298538494Sobrien * aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4, 298638494Sobrien expand_cpp_string.m4}: use #error to make failed compilations 298738494Sobrien fail faster, rather than have the program fail during a run. 298838494Sobrien 298938494Sobrien * include/am_compat.h: added a few new cdfs options: rrip, 299038494Sobrien noversion, defperm, and nodefperm (used in OSF). 299138494Sobrien 299238494SobrienWed Jan 28 20:24:09 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 299338494Sobrien 299438494Sobrien * released snapshot am-utils-6.0a16s4 299538494Sobrien 299638494Sobrien * doc/am-utils.texi (Global Parameters): update manual for new 299738494Sobrien amd.conf global variable hesiod_base. 299838494Sobrien 299938494Sobrien * scripts/amd.conf.5: update man page for new amd.conf global 300038494Sobrien variable hesiod_base. 300138494Sobrien 300238494Sobrien * amd/get_args.c (get_args): use /etc/amd.conf file if exists by 300338494Sobrien default, else try command line options. Patch from Randall 300438494Sobrien S. Winchester <rsw@Glue.umd.edu>. 300538494Sobrien 300638494SobrienWed Jan 28 12:20:56 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 300738494Sobrien 300838494Sobrien * amd/info_hesiod.c (hesiod_search), amd/conf.c 300938494Sobrien (gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options): 301038494Sobrien included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to 301138494Sobrien support a hesiod base name in the amd.conf file. 301238494Sobrien 301338494Sobrien * doc/am-utils.texi (pid_file Parameter): document new global 301438494Sobrien amd.conf parameter. 301538494Sobrien 301638494Sobrien * scripts/amd.conf.5: document new global option pid_file. 301738494Sobrien 301838494Sobrien * amd/amd.c (daemon_mode): if cannot open pid_file, continue to 301938494Sobrien run, but print error message. 302038494Sobrien 302138494Sobrien * amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode, 302238494Sobrien init_global_options): Included patch from Randall S. Winchester 302338494Sobrien <rsw@Glue.umd.edu>, to support pid files in the amd.conf file. 302438494Sobrien 302538494Sobrien * amd/get_args.c (get_args): correct usage info on amd -t. 302638494Sobrien 302738494Sobrien * amd/*.c: massive file name and symbol name changes. All amd 302838494Sobrien file systems files and symbols are prefix with amfs_*. Now using 302938494Sobrien real name of file system: amfs_auto instead of afs, amfs_inherit 303038494Sobrien instead of ifs, amfs_linkx instead of sfsx, etc. This will enable 303138494Sobrien clear distinction between amd file system and generic ones like 303238494Sobrien nfs/ufs/pcfs/hsfs. Also, now we can implement true afs (Andrew 303338494Sobrien f/s) and DFS (Distributed f/s). 303438494Sobrien 303538494Sobrien * amd/amfs_union.c: unionfs for amd is always defined, no need to 303638494Sobrien #ifdef it. 303738494Sobrien 303838494SobrienMon Jan 26 16:51:38 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 303938494Sobrien 304038494Sobrien * libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on 304138494Sobrien or off, based on the particular quirks of the OS in question. 304238494Sobrien 304338494Sobrien * aux/macros/check_nfs_socket_connection.m4: new macro to set the 304438494Sobrien correct wait of handling un/connected NFS sockets. 304538494Sobrien 304638494Sobrien * scripts/wait4amd.in: use rlogin instead of rsh. 304738494Sobrien 304838494Sobrien * amd/am_ops.c (ops_showfstypes): when showing F/S types in amd 304938494Sobrien -v, always show "nfs3" for NFS V.3. 305038494Sobrien 305138494Sobrien1998-01-25 Erez Zadok <ezk@snoopy.cs.columbia.edu> 305238494Sobrien 305338494Sobrien * lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets 305438494Sobrien more picky than 2.7.2.3 did. 305538494Sobrien 305638494Sobrien1998-01-24 Erez Zadok <ezk@snoopy.cs.columbia.edu> 305738494Sobrien 305838494Sobrien * include/am_utils.h (dlog): amuDebug macros reduced to shorter 305938494Sobrien forms. 306038494Sobrien 306138494SobrienFri Jan 23 18:38:30 1998 Erez Zadok <ezk@goat.mcl.cs.columbia.edu> 306238494Sobrien 306338494Sobrien * released snapshot am-utils-6.0a16s3 306438494Sobrien 306538494Sobrien * include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included 306638494Sobrien in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h 306738494Sobrien must not, fake a definition for varargs. 306838494Sobrien 306938494SobrienFri Jan 16 10:16:40 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 307038494Sobrien 307138494Sobrien * README: show how to configure in additional support such as 307238494Sobrien hesiod using various --enable-* flags. 307338494Sobrien 307438494SobrienWed Jan 14 15:13:02 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 307538494Sobrien 307638494Sobrien * aux/configure.in: look for strcasecmp(), and replace it if not 307738494Sobrien available. 307838494Sobrien 307938494Sobrien * amd/ops_nfsl.c (nfsl_match): host names should be compared using 308038494Sobrien case insensitive. 308138494Sobrien 308238494Sobrien * amd/opts.c: for each map variable, define if the comparison 308338494Sobrien needs to be done case insensitive. 308438494Sobrien 308538494Sobrien * include/am_utils.h (STRCEQ): a new macro to use strcasecmp(). 308638494Sobrien Patch from Thomas Richter <richter@chemie.fu-berlin.de> 308738494Sobrien 308838494Sobrien1998-01-14 Erez Zadok <ezk@irt.cs.columbia.edu> 308938494Sobrien 309038494Sobrien * aux/configure.in: look for "isofs" as a possible mount type for 309138494Sobrien cdfs (RedHat Linux). 309238494Sobrien 309338494SobrienWed Jan 14 02:07:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 309438494Sobrien 309538494Sobrien * conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount 309638494Sobrien type if not defined. 309738494Sobrien 309838494Sobrien * conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if 309938494Sobrien already defined. 310038494Sobrien 310138494Sobrien * aux/configure.in: look for ext2fs before ufs, b/c some linux 310238494Sobrien have both. 310338494Sobrien 310438494SobrienMon Jan 12 15:43:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 310538494Sobrien 310638494Sobrien * Makefile.am (snapshot): allow me to install snapshots into the 310738494Sobrien ftp directory. 310838494Sobrien 310938494Sobrien * scripts/ctl-hlfsd.in: don't turn on -D mem by default. 311038494Sobrien 311138494Sobrien * amd/get_args.c (get_args): minor bug in output of amd -H. 311238494Sobrien 311338494SobrienMon Jan 12 03:05:06 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 311438494Sobrien 311538494Sobrien ******************************************************************* 311638494Sobrien *** Released am-utils-6.0a15 *** 311738494Sobrien ******************************************************************* 311838494Sobrien 311938494SobrienSun Jan 11 15:06:34 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 312038494Sobrien 312138494Sobrien * amd/conf.c (*_browsable_dirs): allow specifying 312238494Sobrien browsable_dirs=full, which will print *all* entries (other than 312338494Sobrien /default), including those with '*' and '/' characters. 312438494Sobrien 312538494Sobrien * amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length 312638494Sobrien to 1500. 312738494Sobrien 312838494Sobrien * doc/am-utils.texi: fixed reversed documentation for NFS mount 312938494Sobrien options vers and proto. 313038494Sobrien 313138494Sobrien * doc/Makefile.am (install-html): separate target just for 313238494Sobrien installing html files. Another new target "alldocs" is just for 313338494Sobrien installing all files needed for the am-utils home page. 313438494Sobrien 313538494Sobrien * scripts/amd.conf-sample: updated example for log_file. 313638494Sobrien 313738494Sobrien * scripts/amd.conf.5: updated for new way to declare new syslog 313838494Sobrien facility in the log_file option. 313938494Sobrien 314038494Sobrien * amd/amd.8: updated for new way to declare new syslog facility in 314138494Sobrien the -l option. 314238494Sobrien 314338494Sobrien * libamu/xutil.c (get_syslog_facility): allow users to specify the 314438494Sobrien syslog facility as an appended string to the log device. Ex. amd 314538494Sobrien -l syslog:local7 will use LOG_LOCAL7, while the older -l syslog 314638494Sobrien will use the default LOG_DAEMON facility. 314738494Sobrien 314838494Sobrien * amd/get_args.c (get_args): updated new syntax for amd -l 314938494Sobrien syslog:facility. 315038494Sobrien 315138494SobrienThu Jan 8 04:05:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 315238494Sobrien 315338494Sobrien * aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3 315438494Sobrien (intel). 315538494Sobrien 315638494Sobrien * libamu/wire.c (print_wires): bug fix. Nullify output buffer 315738494Sobrien before appending to it, on systems with two or more network 315838494Sobrien interfaces. 315938494Sobrien 316038494Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for 316138494Sobrien the mntent for cachefs. 316238494Sobrien 316338494Sobrien * include/am_defs.h: external definition for strstr() should use 316438494Sobrien const for both arguments. 316538494Sobrien 316638494Sobrien * aux/configure.in: add extern definitions for getwd() if missing. 316738494Sobrien 316838494Sobrien * include/am_defs.h: define the extern for strdup() even if the 316938494Sobrien function does not exist, for it will be filled in by 317038494Sobrien libamu/strdup.c 317138494Sobrien 317238494Sobrien * amq/pawd.c (cluster_server): don't use getccent() if the extern 317338494Sobrien for it isn't there. On hpux 10.20, the function is in libc, but 317438494Sobrien <cluster.h> and struct cct_entry do not exist. 317538494Sobrien 317638494Sobrien * aux/configure.in: check for an extern for getccent() b/c some 317738494Sobrien hpux systems don't have it (hpux 10.20). 317838494Sobrien 317938494SobrienWed Jan 7 00:09:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 318038494Sobrien 318138494Sobrien * doc/am-utils.texi (Amq -T option): manual documentation updates 318238494Sobrien for new amq options -T/-U. 318338494Sobrien 318438494Sobrien * amq/amq.8: updated man page for new amq options -T/-U. 318538494Sobrien 318638494Sobrien * amq/amq.c: two new switches to amq. -U will contact amd using 318738494Sobrien UDP only. -T will use TCP only. Normally amq will try TCP and 318838494Sobrien if that failed, will try UDP. 318938494Sobrien 319038494Sobrien * doc/am-utils.texi (pawd): manual documentation for pawd. 319138494Sobrien 319238494Sobrien * amq/pawd.1: new man page for pawd. 319338494Sobrien 319438494SobrienTue Jan 6 04:21:59 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 319538494Sobrien 319638494Sobrien * amq/pawd.c: a new program, Print Automounter Working Directory, 319738494Sobrien to print the proper pathname of the cwd or any other pathname, 319838494Sobrien adjusted for automounter paths, while avoiding mount points. 319938494Sobrien 320038494Sobrien * aux/macros/localconfig.m4: trivial support for am-utils 320138494Sobrien maintainers to adjust some of the configuration of am-utils after 320238494Sobrien it has been auto-configured by putting whatever definitions you 320338494Sobrien wish in a file called localconfig.h, located in the top build 320438494Sobrien directory (the same one where config.h is created for you). 320538494Sobrien 320638494Sobrien * doc/am-utils.texi (Caching Filesystem): updated documents for 320738494Sobrien cachefs file system. 320838494Sobrien 320938494Sobrien * amd/ops_cachefs.c: initial cachefs support, for solaris. 321038494Sobrien type:=cachefs, requires cachedir:=/cache/dir/name to be defined 321138494Sobrien and initialized with cfsadmin -c. $rfs is backdir to be cached 321238494Sobrien from, and $fs is the local mount point of the cachefs. 321338494Sobrien 321438494Sobrien * conf/mount/mount_svr4.c (mount_svr4): support mounting of 321538494Sobrien cachefs file systems. 321638494Sobrien 321738494Sobrien * amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the 321838494Sobrien mnttab type is. 321938494Sobrien 322038494SobrienMon Jan 5 23:22:49 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 322138494Sobrien 322238494Sobrien * amd/opts.c: added support for new variable $cachedir. 322338494Sobrien 322438494Sobrien * include/am_utils.h: added opt_cachedir field to struct am_opts. 322538494Sobrien 322638494SobrienSat Jan 3 01:43:57 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 322738494Sobrien 322838494Sobrien * amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the 322938494Sobrien local hostname does not match $rhost, and if so, also assume 323038494Sobrien type:=nfs. 323138494Sobrien 323238494SobrienFri Jan 2 01:00:40 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 323338494Sobrien 323438494Sobrien * updated all source files to add 1998 as a copyright year. 323538494Sobrien 323638494Sobrien * amd/ops_nfsl.c: new amd meta file system "type:=nfsl". Behaves 323738494Sobrien like type:=linkx if the pathname denoted by $fs exists, and like 323838494Sobrien type:=nfs if it does not. A convenient shortcut for the most 323938494Sobrien popular amd map entry. 324038494Sobrien 324138494Sobrien * amd/amd.c (main): amd should chdir to / before starting, to 324238494Sobrien avoid hanging on other NFS server if started elsewhere. 324338494Sobrien 324438494Sobrien * amd/ops_TEMPLATE.c: added an empty template file for developers 324538494Sobrien who wish to write new amd pseudo file systems. 324638494Sobrien 324738494SobrienThu Jan 1 00:27:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 324838494Sobrien 324938494Sobrien * hlfsd/homedir.c (plt_init): make function exported, to save on 325038494Sobrien the unnecessary init_homedir() function which was removed. 325138494Sobrien (table_add): don't use xmalloc() when you can use strdup() 325238494Sobrien instead. 325338494Sobrien 325438494SobrienThu Jan 1 00:15:58 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 325538494Sobrien 325638494Sobrien * hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this 325738494Sobrien because we will be making more passwd calls afterwards. On 325838494Sobrien Solaris 2.5.1, making getpwent() calls after calling endpwent() 325938494Sobrien results in a memory leak! (and no, even Purify didn't detect 326038494Sobrien it...) 326138494Sobrien 326238494SobrienTue Dec 23 18:23:47 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 326338494Sobrien 326438494Sobrien * hlfsd/hlfsd.c (main): Bug fix. Don't try to free() an 326538494Sobrien automatically allocated address. 326638494Sobrien 326738494Sobrien * amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an 326838494Sobrien automatically allocated address. 326938494Sobrien 327038494Sobrien * ALL SOURCES: change every direct call to free() to xfree(), so 327138494Sobrien it can be mapped to the right debugging function as needed. 327238494Sobrien 327338494Sobrien * include/am_utils.h: new free() policy. If debugging memory, 327438494Sobrien call dxfree(), which will print the file name and line number 327538494Sobrien where the free occurred and the pointer address. if only regular 327638494Sobrien debugging, then free() and reset the pointer to NULL so it cannot 327738494Sobrien be used afterwards inadvertently. If not DEBUG at all, then just 327838494Sobrien run free(). Three different #define macros set the right mapping. 327938494Sobrien 328038494Sobrien * libamu/xutil.c (dxfree): renamed function to dxfree(), so it can 328138494Sobrien be called only when debugging the memory. 328238494Sobrien 328338494SobrienTue Dec 23 04:24:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 328438494Sobrien 328538494Sobrien * wire-test/wire-test.c (main): use xmalloc() not malloc(). 328638494Sobrien 328738494Sobrien * conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not 328838494Sobrien calloc(). 328938494Sobrien 329038494Sobrien * conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc(). 329138494Sobrien 329238494Sobrien * conf/mount/mount_linux.c (parse_opts): use xmalloc() not 329338494Sobrien malloc(). 329438494Sobrien 329538494Sobrien * amd/info_ldap.c: use xmalloc() not malloc(). 329638494Sobrien 329738494Sobrien * libamu/xutil.c (xzalloc): new function to allocate memory and 329838494Sobrien zero its bytes. 329938494Sobrien 330038494Sobrien * amq/amq.c: amq does not need its own definition of xfree(). 330138494Sobrien 330238494Sobrien * aux/macros/opt_debug.m4: if used --enable-debug=mem, then also 330338494Sobrien look for function malloc_verify() in libmapmalloc.a, and function 330438494Sobrien mallinfo() in libmalloc. 330538494Sobrien 330638494Sobrien * libamu/xutil.c (checkup_mem): do not use mallinfo field 330738494Sobrien uordbytes, because it does not always exist. Rather, compute it 330838494Sobrien from other fields.. 330938494Sobrien 331038494Sobrien * include/am_utils.h: add external definition to xfree() function 331138494Sobrien used when debugging memory references. 331238494Sobrien 331338494SobrienMon Dec 22 03:01:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 331438494Sobrien 331538494Sobrien * amd/ops_afs.c (afs_readdir_browsable): reduce the number of 331638494Sobrien bytes heuristically computed to be returned to the kernel. 331738494Sobrien Otherwise browsable_dirs fails on OpenBSD 2.2. 331838494Sobrien 331938494Sobrien * amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of 332038494Sobrien mf_private field to AFTER it gets used. 332138494Sobrien 332238494SobrienSat Dec 20 00:51:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 332338494Sobrien 332438494Sobrien * amd/ops_host.c (host_umounted): don't use clnt_spcreateerror() 332538494Sobrien on systems that don't support it. 332638494Sobrien 332738494Sobrien * include/am_defs.h: add missing extern definition for free(). 332838494Sobrien 332938494Sobrien * aux/configure.in: check for external definition for free(). 333038494Sobrien 333138494Sobrien * libamu/Makefile.am: add to comment a mention of strstr as an 333238494Sobrien optional function. 333338494Sobrien 333438494Sobrien * libamu/xutil.c (switch_to_logfile): use openlog() options only 333538494Sobrien if they exist. 333638494Sobrien 333738494Sobrien * conf/transp/transp_sockets.c (get_nfs_version): don't use 333838494Sobrien clnt_spcreateerror if it does not exist. 333938494Sobrien 334038494Sobrien * aux/configure.in: check for missing functions clnt_create and 334138494Sobrien clnt_spcreateerror. Check for missing strstr, and complete 334238494Sobrien its code. Check for missing external definition for strstr. 334338494Sobrien 334438494Sobrien * aux/macros/host_macros.m4: normalize sun3* names. 334538494Sobrien 334638494Sobrien * Makefile.am: updates for new sunos3 files distributed. 334738494Sobrien 334838494Sobrien * conf/nfs_prot/nfs_prot_sunos3.h: new file. 334938494Sobrien 335038494Sobrien * conf/fh_dref/fh_dref_sunos3.h: new file. 335138494Sobrien 335238494Sobrien * aux/macros/check_nfs_prot_headers.m4: added sunos3 case. 335338494Sobrien 335438494Sobrien * aux/macros/check_nfs_fh_dref.m4: added sunos3 case. 335538494Sobrien 335638494Sobrien * doc/am-utils.texi (wire Selector Variable): updated manual for 335738494Sobrien adjusted variables wire, network, and netnumber, all using the 335838494Sobrien in_network() function. 335938494Sobrien 336038494SobrienFri Dec 19 04:37:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 336138494Sobrien 336238494Sobrien * amd/opts.c: allow options to be processed by executing arbitrary 336338494Sobrien functions. Converted wire, network, and netnumber all to use the 336438494Sobrien nomadic function in_network. So from now on they perform a match 336538494Sobrien against all networks, not just primary. 336638494Sobrien 336738494Sobrien * initial port to alpha-unknown-linux-gnu, probably works, but 336838494Sobrien untested yet. 336938494Sobrien 337038494Sobrien * conf/nfs_prot/nfs_prot_linux.h: add special definitions for 337138494Sobrien __FD_* macros which for som strange reason do not get included 337238494Sobrien from <selectbits.h> on redhat alpha linux. Also turn off usage of 337338494Sobrien <rpc/des_auth.h> because it is incomplete on the same systems. 337438494Sobrien 337538494Sobrien * hlfsd/homedir.c (table_add): cast uid field to int, for 337638494Sobrien comparison. 337738494Sobrien 337838494Sobrien * include/am_defs.h: more coflicts with redhat alpha linux 337938494Sobrien "resolved". 338038494Sobrien 338138494Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4: 338238494Sobrien There's a conflict of definitions on redhat alpha linux between 338338494Sobrien <netinet/in.h> and <linux/fs.h> which must be avoided. 338438494Sobrien 338538494Sobrien * aux/configure.in: check for <socketbits.h>, which is in use on 338638494Sobrien redhat alpha linux. 338738494Sobrien 338838494Sobrien * doc/am-utils.texi (Selectors): added documentation to describe 338938494Sobrien the new "!" (negated) nomadic functions. 339038494Sobrien 339138494Sobrien * amd/opts.c (f_in_network): print debugging info that is correct, 339238494Sobrien rather than saying that any ARG is on a local network. 339338494Sobrien (eval_opts): added support for negating nomadic functions, by 339438494Sobrien prepending "!" to their name. Example, !exists(/foo/bar). 339538494Sobrien 339638494SobrienThu Dec 18 20:57:19 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 339738494Sobrien 339838494Sobrien * include/am_compat.h: ensure that all NFS3 systems have the mount 339938494Sobrien table entries (and amd opts switches) "proto" and "vers". 340038494Sobrien 340138494Sobrien * hlfsd/homedir.c (table_add): added some debugging info to try 340238494Sobrien and track down a serious memory leak in hlfsd. 340338494Sobrien 340438494Sobrien1997-12-18 Erez Zadok <ezk@t-rex.mcl.cs.columbia.edu> 340538494Sobrien 340638494Sobrien * libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that 340738494Sobrien you do NOT set the noconn option, and use connected sockets 340838494Sobrien always. So I'm now forced not to set it at all, and have the user 340938494Sobrien specify it as "conn" or "noconn" in their /default entry. Argh... 341038494Sobrien Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be 341138494Sobrien buggy (TCP hangs with "short receive" kernel errors). I'd better 341238494Sobrien wait until they get it working in their version of the automounter 341338494Sobrien first. So I'm putting the "noconn" option back. 341438494Sobrien 341538494SobrienThu Dec 18 02:39:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 341638494Sobrien 341738494Sobrien * libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set 341838494Sobrien nfs_args field maxgrouplist accordingly. 341938494Sobrien 342038494Sobrien * include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition 342138494Sobrien for mount table entry for maxgroups based on NFS mount option 342238494Sobrien maxgrp. 342338494Sobrien 342438494Sobrien * aux/configure.in: put back testing for NFS mount option 342538494Sobrien "maxgrps". Added test for mount table entry "maxgroups". 342638494Sobrien 342738494Sobrien * libamu/mount_fs.c (compute_nfs_args): perform more careful tests 342838494Sobrien on nfs_proto, because it could be NULL. 342938494Sobrien 343038494Sobrien * doc/am-utils.texi (Selectors): added example of in_network() 343138494Sobrien selector. 343238494Sobrien 343338494Sobrien * aux/macros/check_hide_mount_type.m4: all hpux versions, 343438494Sobrien including 9.x, should use "ignore" as the mount type to hide from 343538494Sobrien amd. 343638494Sobrien 343738494SobrienWed Dec 17 13:09:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 343838494Sobrien 343938494Sobrien * include/am_utils.h (NSTREQ): use new macro instead of strncmp() 344038494Sobrien every where in the sources. 344138494Sobrien 344238494SobrienWed Dec 17 01:15:01 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 344338494Sobrien 344438494Sobrien * libamu/mount_fs.c (print_nfs_args): if -D trace is on, will 344538494Sobrien print as much info that is given in struct nfs_args as possible. 344638494Sobrien useful for detecting internal flags and options, as well as the 344738494Sobrien file handle used. 344838494Sobrien 344938494Sobrien * scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc 345038494Sobrien after /etc and before /etc/local. 345138494Sobrien 345238494SobrienTue Dec 16 18:51:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 345338494Sobrien 345438494Sobrien * aux/configure.in, libamu/Makefile.am: added support for linking 345538494Sobrien with specific versions of libamu. Upped shared library version of 345638494Sobrien libamu to 1 (libamu.so.1.0.0) 345738494Sobrien 345838494Sobrien * include/am_defs.h: added external definition for mkstemp() as 345938494Sobrien needed. 346038494Sobrien 346138494Sobrien * minor new port to i386-unknown-netbsd1.3 (BETA version of 346238494Sobrien netbsd). 346338494Sobrien 346438494Sobrien * aux/config.guess: don't leave a trailing '.' on the system name 346538494Sobrien for NetBSD-1.3_BETA and similarly for OpenBSD. 346638494Sobrien 346738494Sobrien * conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight 346838494Sobrien differences in ypall calling conventions. 346938494Sobrien 347038494Sobrien * mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible 347138494Sobrien in preference over mktemp(), b/c it is more secure. 347238494Sobrien 347338494Sobrien * aux/configure.in: check for mkstemp(), a more secure version of 347438494Sobrien mktemp(). 347538494Sobrien 347638494SobrienMon Dec 15 02:32:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 347738494Sobrien 347838494Sobrien * amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount 347938494Sobrien table "vers" option generally do not set the mnttab entry to 348038494Sobrien "nfs3", but to "nfs" and then they set "vers=3". Setting it to 348138494Sobrien "nfs3" works, but it may break some things like "df -t nfs" and 348238494Sobrien the "quota" program (esp. on Solaris and Irix). So on those 348338494Sobrien systems, set it to "nfs". 348438494Sobrien 348538494SobrienSat Dec 13 01:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 348638494Sobrien 348738494Sobrien * doc/am-utils.texi (Distrib): updates for new ports, location of 348838494Sobrien am-utils' home page, and URL cross references (now supported by my 348938494Sobrien version of texi2html). 349038494Sobrien 349138494Sobrien * aux/macros/check_mtype_type.m4: also use string type for file 349238494Sobrien system mount types under nextstep for mount(2). 349338494Sobrien 349438494Sobrien * aux/macros/check_mtype_printf_type.m4}: nextstep can handle both 349538494Sobrien integer and string types for file system mount types in mount(2), 349638494Sobrien but it is better to use string types. 349738494Sobrien 349838494Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to 349938494Sobrien 0, not 1! Otherwise, all NFS calls (esp. mount) return errno 1 350038494Sobrien (EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now 350138494Sobrien works. 350238494Sobrien 350338494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0, 350438494Sobrien not 1! Otherwise, all NFS calls (esp. mount) return errno 1 350538494Sobrien (EPERM) instead of 0 (OK). 350638494Sobrien 350738494Sobrien * libamu/xdr_func.c (xdr_*): add debugging calls that are optioned 350838494Sobrien by -D trace (protocol trace). 350938494Sobrien 351038494Sobrien1997-12-11 Erez Zadok <ezk@bach.cs.columbia.edu> 351138494Sobrien 351238494Sobrien * A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR 351338494Sobrien macro based on existence on others, and include <sys/stat.h>. 351438494Sobrien 351538494SobrienThu Dec 11 14:14:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 351638494Sobrien 351738494Sobrien * aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off 351838494Sobrien inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on 351938494Sobrien which this header is broken (it tries to include non-existing 352038494Sobrien headers). 352138494Sobrien 352238494SobrienWed Dec 10 16:09:07 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 352338494Sobrien 352438494Sobrien * libamu/mount_fs.c (mnt_flags): support either nfs or generic 352538494Sobrien mount option for grpid. 352638494Sobrien 352738494Sobrien * aux/configure.in: turn back on NFS mount option grpid. 352838494Sobrien 352938494SobrienSat Dec 6 04:36:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 353038494Sobrien 353138494Sobrien * doc/Makefile.am (install-ps): added target to install postscript 353238494Sobrien file in the am-utils' home page, as well as a few other useful 353338494Sobrien files for the new am-utils Web page. 353438494Sobrien 353538494SobrienMon Nov 17 05:22:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 353638494Sobrien 353738494Sobrien ******************************************************************* 353838494Sobrien *** Released am-utils-6.0a14 *** 353938494Sobrien ******************************************************************* 354038494Sobrien 354138494SobrienSun Nov 16 21:56:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 354238494Sobrien 354338494Sobrien * doc/am-utils.texi (Supported Platforms): updated table of new 354438494Sobrien ports. 354538494Sobrien 354638494SobrienSat Nov 15 06:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 354738494Sobrien 354838494Sobrien * libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab 354938494Sobrien options so that they can be printed in logs as needed. 355038494Sobrien 355138494Sobrien * doc/am-utils.texi (osver Parameter): updated for the correct 355238494Sobrien usage of the -o/-O options. 355338494Sobrien 355438494Sobrien * scripts/amd.conf.5: corrected info for -o/-O options. 355538494Sobrien 355638494Sobrien * amd/amd.8: updated man page for new -O op_sys_name option, and 355738494Sobrien corrected the usage of the -o op_sys_ver option 355838494Sobrien 355938494Sobrien * amd/get_args.c (get_args): added new amd option -O to override 356038494Sobrien OS name. 356138494Sobrien (get_args): updated usage string. Removed old -m option. Added 356238494Sobrien -o and -O options. 356338494Sobrien 356438494Sobrien * conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case 356538494Sobrien it is not there. Reportedly, irix 5.2 does not define it. 356638494Sobrien 356738494Sobrien * scripts/lostaltmail.in: removed references to unused $hack 356838494Sobrien variable. 356938494Sobrien 357038494Sobrien * aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf 357138494Sobrien <metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers 357238494Sobrien for solaris2.5. 357338494Sobrien 357438494Sobrien * doc/am-utils.texi (Distrib): typo in the subscription 357538494Sobrien instructions to amd-dev. Patch from Stefan Vogel 357638494Sobrien <vogel@physik-rzu.unizh.ch>. 357738494Sobrien 357838494Sobrien1997-11-15 Erez Zadok <ezk@amtrak.cs.columbia.edu> 357938494Sobrien 358038494Sobrien * NFS3 works on powerpc-ibm-aix4.2.1.0. 358138494Sobrien 358238494Sobrien * libamu/mount_fs.c (compute_nfs_args): set fh3 variable to 358338494Sobrien static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the 358438494Sobrien stack of an automatic variable when pointer to it is passed around 358538494Sobrien several times. 358638494Sobrien 358738494SobrienFri Nov 14 20:09:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 358838494Sobrien 358938494Sobrien * libamu/xutil.c (real_plog): syslog like behavior for normal 359038494Sobrien logging. Will not print repeated strings, only a count "last 359138494Sobrien message repeated N times", but will always print something if 359238494Sobrien message is repeated more than 100 times. 359338494Sobrien 359438494Sobrien * scripts/lostaltmail.in: look for lostaltmail.conf files also in 359538494Sobrien /etc/global, /etc/os, and /etc/local (in that order). 359638494Sobrien 359738494SobrienMon Nov 10 03:03:17 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 359838494Sobrien 359938494Sobrien * conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3 360038494Sobrien mounts. 360138494Sobrien 360238494Sobrien * aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for 360338494Sobrien aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h 360438494Sobrien 360538494Sobrien * conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the 360638494Sobrien NFS_SA_DREF macro is a pointer to the structure that used to be 360738494Sobrien passed to it before. So now I have to dereference the pointer 360838494Sobrien before accessing its values. 360938494Sobrien 361038494Sobrien * hlfsd/hlfsd.c (main): use the new and cleaner 361138494Sobrien compute_nfs_args() and compute_automounter_nfs_args() functions. 361238494Sobrien 361338494Sobrien * amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner 361438494Sobrien compute_nfs_args() and compute_automounter_nfs_args() functions. 361538494Sobrien 361638494Sobrien * amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION. Use the new 361738494Sobrien and cleaner compute_nfs_args() and compute_automounter_nfs_args() 361838494Sobrien functions. 361938494Sobrien 362038494Sobrien * libamu/mount_fs.c (compute_nfs_args): major code cleanup that 362138494Sobrien relates for struct nfs_args. A new function sets the numerous 362238494Sobrien possible flags and fields of nfs_args_t in an orderly fashion. 362338494Sobrien Code cleaned up, organized, and moved from amd/hlfsd into 362438494Sobrien libamu. This saves on overall size of code. 362538494Sobrien (compute_automounter_nfs_args): A variant of compute_nfs_args() 362638494Sobrien which sets special options/flags that need to be used when NFS 362738494Sobrien mounting an automounter's mount point. Used by hlfsd and amd. 362838494Sobrien 362938494Sobrien * amq/amq.c (get_secure_amd_client): don't print any more 363038494Sobrien "get_secure_amd_client: using TCP, port 12345". It's more 363138494Sobrien annoying than useful a message, even when assumed to be compiled 363238494Sobrien under DEBUG only. 363338494Sobrien 363438494SobrienThu Oct 30 14:33:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 363538494Sobrien 363638494Sobrien * aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs 363738494Sobrien mount table entries. The code used to define the /etc/mnttab name 363838494Sobrien for file systems based on physical media (disk, cdrom, floppy) to 363938494Sobrien the generic name, rather than the OS specific name. For example 364038494Sobrien autoconf searches for all these types of mount table entries for a 364138494Sobrien floppy based file system: vfat pcfs pc msdos msdosfs fat. But if 364238494Sobrien it found any, it hard-coded the mnttab name to "pcfs" rather than 364338494Sobrien the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs, 364438494Sobrien nullfs, unionfs, and umapfs. 364538494Sobrien 364638494Sobrien * aux/configure.in: also test for xfs (for newer Irix) when 364738494Sobrien looking for mount type names, numbers, etc of a disk-based ufs. 364838494Sobrien 364938494SobrienSun Oct 26 19:32:57 1997 Erez Zadok <ezk@defiant.soscorp.com> 365038494Sobrien 365138494Sobrien * amq/amq.c (main): use pmap_ping() to test if remote host is up. 365238494Sobrien This works better on bsdi2 and bsdi3, because their portmapper 365338494Sobrien does not appear to like forwarding operations (it is generaly 365438494Sobrien insecure). 365538494Sobrien 365638494SobrienSat Oct 25 04:55:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 365738494Sobrien 365838494Sobrien ******************************************************************* 365938494Sobrien *** Released am-utils-6.0a13 *** 366038494Sobrien ******************************************************************* 366138494Sobrien 366238494SobrienFri Oct 24 05:04:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 366338494Sobrien 366438494Sobrien * conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for 366538494Sobrien struct datum typedef. 366638494Sobrien 366738494Sobrien * conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for 366838494Sobrien ypall_callback_fxn_t for netbsd. 366938494Sobrien 367038494Sobrien * aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for 367138494Sobrien the 5th arg to authunix_create(), while before and after they used 367238494Sobrien gid_t. 367338494Sobrien 367438494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use 367538494Sobrien clnt_create_timed() on older Solaris 2.3 systems that did not have 367638494Sobrien it. 367738494Sobrien 367838494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for 367938494Sobrien kernel only on bsdi2, so do not include it. 368038494Sobrien 368138494SobrienFri Oct 24 00:29:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 368238494Sobrien 368338494Sobrien * hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated 368438494Sobrien messages about resolution of mailboxes based on uid/gid. 368538494Sobrien 368638494Sobrien * scripts/ctl-hlfsd.in: check for alternate password file in 368738494Sobrien ${prefix}/etc/passwd and use it in hlfsd's startup. 368838494Sobrien 368938494SobrienThu Oct 23 22:48:50 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 369038494Sobrien 369138494Sobrien * hlfsd/homedir.c (hlfsd_getpwent): added support for -P 369238494Sobrien passwdfile option. If hlfsd is started with -P passwdfile, then 369338494Sobrien the passwdfile is read and parsed just as a standard unix 369438494Sobrien passwd(4) file. Only the username, uid, and homedir fields are 369538494Sobrien read and checked. All the rest are ignored. No NIS/netgroup 369638494Sobrien support! 369738494Sobrien 369838494Sobrien * hlfsd/hlfsd.c (main): check if hlfsd is run as root after 369938494Sobrien parsing command line options, so that usage() can be printed when 370038494Sobrien -h is invoked. 370138494Sobrien 370238494SobrienWed Oct 22 00:16:39 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 370338494Sobrien 370438494Sobrien * amd/nfs_start.c (mount_automounter): if autofs service listener 370538494Sobrien fails to initialize it is OK if using a test amd. 370638494Sobrien 370738494Sobrien * amd/opts.c (f_in_network): new nomadic function in_network(arg), 370838494Sobrien which returns TRUE if 'arg' is any one of this host's networks. 370938494Sobrien 371038494Sobrien * libamu/wire.c (getwire): rewritten parts of function, to store 371138494Sobrien all networks names and numbers in the order of the interface (not 371238494Sobrien in reverse). 371338494Sobrien 371438494SobrienMon Oct 20 01:59:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 371538494Sobrien 371638494Sobrien * aux/configure.in: don't add ops_ufs.o on AIX twice. My code 371738494Sobrien would have worked had it not been due to AIX's buggy /bin/sh. 371838494Sobrien 371938494Sobrien * doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and 372038494Sobrien am-utils.ps in the distribution sources. 372138494Sobrien (html): generate html documentation for 372282794Sobrien http://www.am-utils.org 372338494Sobrien 372438494SobrienSun Oct 19 12:35:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 372538494Sobrien 372638494Sobrien * conf/nfs_prot/nfs_prot_netbsd.h: override the definition of 372738494Sobrien ypall_callback_fxn_t. The NetBSD team compiles all sources with 372838494Sobrien gcc -Wall -Wmissing-prototypes -Wstrict-prototypes. 372938494Sobrien 373038494Sobrien * amd/info_nis.c: allow for override of ypall_callback_fxn_t 373138494Sobrien function typedef. 373238494Sobrien 373338494Sobrien * libamu/xutil.c (amu_release_controlling_tty): new function to 373438494Sobrien release the controlling tty in a clean and sane manner. No longer 373538494Sobrien using setpgid() b/c it may not work. Uses setsid(), 373638494Sobrien and ioctl() (in order). This new function is used in amd/amd.c 373738494Sobrien and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some 373838494Sobrien systems, but on others it is the same as setpgid(). 373938494Sobrien 374038494SobrienSat Oct 18 23:42:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 374138494Sobrien 374238494Sobrien * aux/acconfig.h: check for nfs mount option 'fsname'. Code for 374338494Sobrien it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but 374438494Sobrien never used, because the configure test for fsname flag wasn't 374538494Sobrien used. This fixed a bug in HPUX 10, where syncer and manual mounts 374638494Sobrien left blank lines in /etc/mnttab. 374738494Sobrien 374838494Sobrien * aux/configure.in: check for nfs mount option 'fsname'. 374938494Sobrien 375038494SobrienFri Oct 17 13:30:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 375138494Sobrien 375238494Sobrien * amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs 375338494Sobrien mount flags of toplvl mounts. Important esp. for HPUX 10. Now 375438494Sobrien hpux-10 will mount amd's mounts points as 'ignore' (by df). 375538494Sobrien 375638494Sobrien * aux/configure.in: check for NFS mount option 'ignore', useful in 375738494Sobrien HPUX 10. 375838494Sobrien 375938494SobrienThu Oct 16 03:28:33 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 376038494Sobrien 376138494Sobrien * aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore" 376238494Sobrien mount type and not NFS, for the amd mount points. 376338494Sobrien 376438494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log 376538494Sobrien an RPC timeout as an error, but just an info message. From 376638494Sobrien Andreas Stolcke <stolcke@speech.sri.com> 376738494Sobrien 376838494Sobrien * If the NFS server is down or does not support the portmapper 376938494Sobrien call (such as certain Novell NFS servers) we mark it as version 2 377038494Sobrien and we let the nfs code deal with the case that is down. If when 377138494Sobrien the server comes back up, it can support NFS V.3 and/or TCP, it 377238494Sobrien will use those. From christos@deshaw.com (Christos Zoulas). 377338494Sobrien 377438494Sobrien * hlfsd/homedir.c (plt_print): various compile time cleanups to 377538494Sobrien printfs that take a long, but pass an int to print. From 377638494Sobrien christos@deshaw.com (Christos Zoulas). 377738494Sobrien 377838494Sobrien * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new 377938494Sobrien macro to determine if the OS has a bad yp_all(), based on the host 378038494Sobrien OS name. So far only irix (all versions) have a bad yp_all, so 378138494Sobrien they will use am_yp_all() instead (which is slower as it 378238494Sobrien enumerates manually all of the map's entries). 378338494Sobrien 378438494SobrienThu Oct 16 03:14:37 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 378538494Sobrien 378638494Sobrien * amd/info_nis.c (am_yp_all): code for a replacement yp_all that 378738494Sobrien avoids using a file-descriptor leaking yp_all() on some systems 378838494Sobrien like irix. 378938494Sobrien 379038494SobrienWed Oct 15 21:52:35 1997 Erez Zadok <ezk> 379138494Sobrien 379238494Sobrien * fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x 379338494Sobrien systems using /usr/bin/flex. 379438494Sobrien 379538494Sobrien * amd/conf_tok.l (yywrap): avoid redefining yywrap for systems 379638494Sobrien that have a modified GNU flex which does define yywrap (DU-4.x). 379738494Sobrien 379838494SobrienFri Sep 26 14:25:29 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 379938494Sobrien 380038494Sobrien * conf/checkmount/checkmount_bsd44.c: include prototype. 380151292Sobrien 380251292SobrienFri Sep 26 01:26:24 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 380351292Sobrien 380451292Sobrien ******************************************************************* 380551292Sobrien *** Released am-utils-6.0a12 *** 380651292Sobrien ******************************************************************* 380751292Sobrien 380851292SobrienFri Sep 26 00:13:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 380951292Sobrien 381051292Sobrien * conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs 381151292Sobrien code in irix6 until it can be tested correctly 381251292Sobrien 381351292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out 381451292Sobrien on clnt_create for 3 seconds, rather than wait for the much longer 381551292Sobrien default. 381651292Sobrien 381751292Sobrien * conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0. 381851292Sobrien Includes NFS3, untested. 381951292Sobrien 382051292SobrienThu Sep 25 11:03:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 382151292Sobrien 382251292Sobrien * amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of 382351292Sobrien pcfs_args_t if they exist. 382451292Sobrien 382551292Sobrien * amd/ops_cdfs.c (mount_cdfs): fill in ssector field of 382651292Sobrien cdfs_args_t if it exists. 382751292Sobrien 382851292Sobrien * new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05, 382951292Sobrien hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4. 383051292Sobrien 383151292SobrienWed Sep 24 00:48:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 383251292Sobrien 383351292Sobrien * doc/am-utils.texi (wire-test): updated documentation for the new 383451292Sobrien option. 383551292Sobrien 383651292Sobrien * wire-test/wire-test.8: updated man page for new option. 383751292Sobrien 383851292Sobrien * wire-test/wire-test.c (main): added a test for various 383951292Sobrien combinations of NFS proto/vers to a remote/local host. 384051292Sobrien 384151292Sobrien * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 384251292Sobrien <isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that 384351292Sobrien freebsd will correctly set mount options for pcfs and cdfs. 384451292Sobrien 384551292Sobrien * amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to 384651292Sobrien 0777 (if field exists). 384751292Sobrien 384851292Sobrien * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 384951292Sobrien <msdosfs/msdosfsmount.h> if available. 385051292Sobrien 385151292Sobrien * minor new port: rs6000-ibm-aix4.1.4.0. 385251292Sobrien 385351292Sobrien * libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to 385451292Sobrien write the "time" field in /etc/mnttab. 385551292Sobrien 385651292Sobrien * conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for 385751292Sobrien detecting mnt_time field of mntent_t. 385851292Sobrien 385951292Sobrien * libamu/mtab.c (mnt_free): fixed typo in macro names for 386051292Sobrien detecting mnt_time field of mntent_t. 386151292Sobrien 386251292SobrienTue Sep 23 15:30:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 386351292Sobrien 386451292Sobrien * conf/mtab/mtab_file.c (lock): Use flock() in preference over 386551292Sobrien fcntl() to lock the mtab file. 386651292Sobrien 386751292SobrienMon Sep 22 23:04:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 386851292Sobrien 386951292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): define 387051292Sobrien the try_again goto label only for NFS3. 387151292Sobrien (pmap_ping): assume timeout failure of clnt_stat. 387251292Sobrien 387351292Sobrien * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to 387451292Sobrien "groups *". 387551292Sobrien 387651292SobrienMon Sep 22 20:34:33 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 387751292Sobrien 387851292Sobrien * conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley 387951292Sobrien <dsr@mail.lns.cornell.edu> to make sure that amd works with more 388051292Sobrien secure portmappers that do not allow forwarding of RPC messages to 388151292Sobrien other services. 388251292Sobrien 388351292Sobrien * */Makefile.am: all source files should also depend on the new 388451292Sobrien include/am_xdr_func.h header. 388551292Sobrien 388651292Sobrien * include/am_xdr_func.h: new file as part of the code cleanup from 388751292Sobrien Christos Zoulas <christos@deshaw.com>. 388851292Sobrien 388951292Sobrien * Lots of fixes from Christos Zoulas <christos@deshaw.com> that 389051292Sobrien involved missing prototypes, cleaned up ones, and removal of 389151292Sobrien unused variables. 389251292Sobrien 389351292Sobrien * libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch 389451292Sobrien statement with only one case is unclean. 389551292Sobrien 389651292SobrienMon Sep 22 17:26:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 389751292Sobrien 389851292Sobrien * amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to 389951292Sobrien 0 so that all fields are initialized to zero at first. This way 390051292Sobrien SunOS 4.x and other systems don't get /etc/mtab entries with 390151292Sobrien random integers for the fsck/freq fields. Patch from Andreas 390251292Sobrien Stolcke <stolcke@speech.sri.com>. 390351292Sobrien 390451292SobrienMon Sep 22 00:34:19 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 390551292Sobrien 390651292Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so 390751292Sobrien that the important definition for HOSTNAMESZ will be found. 390851292Sobrien 390951292Sobrien * amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ 391051292Sobrien (inside the nfs_args structure) if the system uses that macro. 391151292Sobrien Otherwise systems like SunOS refuse to NFS mount long pathnames 391251292Sobrien and result in ENAMETOOLONG errno's. 391351292Sobrien 391451292SobrienWed Sep 17 04:56:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 391551292Sobrien 391651292Sobrien * doc/am-utils.texi (Supported Platforms): specify new support for 391751292Sobrien solaris 2.6, and hlfsd running on 2.5.1 too. 391851292Sobrien 391951292SobrienWed Sep 17 03:55:02 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 392051292Sobrien 392151292Sobrien * conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs 392251292Sobrien mount if it is not supported or was turned off. 392351292Sobrien 392451292SobrienWed Sep 17 03:19:36 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 392551292Sobrien 392651292Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount 392751292Sobrien again. Apparently at some previous release SunOS 4 supported was 392851292Sobrien broken and all nfs mounts resulted in ESTALE. 392951292Sobrien 393051292SobrienWed Sep 17 00:26:25 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 393151292Sobrien 393251292Sobrien * conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for 393351292Sobrien solaris 2.6. 393451292Sobrien 393551292Sobrien * aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs 393651292Sobrien protocol header selection. 393751292Sobrien 393851292SobrienSat Sep 13 14:31:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 393951292Sobrien 394051292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid 394151292Sobrien infinite loop. 394251292Sobrien 394351292SobrienSun Sep 7 18:23:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 394451292Sobrien 394551292Sobrien ******************************************************************* 394651292Sobrien *** Released am-utils-6.0a11 *** 394751292Sobrien ******************************************************************* 394851292Sobrien 394951292SobrienFri Sep 5 11:55:10 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 395051292Sobrien 395151292Sobrien * amd/amd.c (main): if plock() succeeded, don't try to display 395251292Sobrien errno message. Patch from Chris Metcalf 395351292Sobrien <metcalf@catfish.lcs.mit.edu. 395451292Sobrien 395551292SobrienThu Sep 4 19:17:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 395651292Sobrien 395751292Sobrien * hlfsd/homedir.c (table_add): make sure duplicate passwd entries 395851292Sobrien are ignored. Only the first entry should ever be used, because 395951292Sobrien that's how lookup in passwd database works. 396051292Sobrien 396151292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): when determining 396251292Sobrien if a remote host is up or down, use NFS v.2. Fix suggested by 396351292Sobrien Enami Tsugutomo <enami@cv.sony.co.jp>. 396451292Sobrien 396551292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): new 396651292Sobrien function to get the best possible NFS version, but also timeout 396751292Sobrien faster than normal defaults, so remote hosts which are down can be 396851292Sobrien detected in a reasonable time. 396951292Sobrien (get_nfs_version): use the new "best" function. 397051292Sobrien 397151292SobrienTue Sep 2 00:41:00 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 397251292Sobrien 397351292Sobrien ******************************************************************* 397451292Sobrien *** Released am-utils-6.0a10 *** 397551292Sobrien ******************************************************************* 397651292Sobrien 397751292SobrienMon Sep 1 15:39:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 397851292Sobrien 397951292Sobrien * conf/transp/transp_tli.c (get_nfs_version): don't use 398051292Sobrien clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4 398151292Sobrien and earlier). 398251292Sobrien 398351292Sobrien * aux/configure.in: test for existence of clnt_tp_create_timed(), 398451292Sobrien since Solaris 2.4 (and possibly earlier) do not have it. 398551292Sobrien 398651292SobrienMon Sep 1 15:23:18 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 398751292Sobrien 398851292Sobrien * amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid 398951292Sobrien field if it exists (solaris 2.4's autofs does not have it). 399051292Sobrien 399151292SobrienMon Sep 1 14:45:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 399251292Sobrien 399351292Sobrien * aux/macros/type_auth_create_gidlist.m4: a new test to determine 399451292Sobrien the correct type to the 5th argument of authunix_create(). 399551292Sobrien 399651292SobrienMon Sep 1 03:44:32 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 399751292Sobrien 399851292Sobrien * libamu/xdr_func.c (xdr_umntrequest): add test for autofs 399951292Sobrien structure umntrequest, if it has the field rdevid. Seems Solaris 400051292Sobrien 2.4 and earlier didn't have it. 400151292Sobrien 400251292SobrienMon Sep 1 01:10:53 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 400351292Sobrien 400451292Sobrien * hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it 400551292Sobrien can be done before primary process forks. 400651292Sobrien (main): bug fix: wait a bit to give child a chance to initialize. 400751292Sobrien Without this, hlfsd got into a busy infinite loop while, never 400851292Sobrien completing the mount. 400951292Sobrien 401051292Sobrien * amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov> 401151292Sobrien to make amd works when talking to NIS+ servers in NIS 401251292Sobrien compatibility mode. 401351292Sobrien 401451292SobrienMon Sep 1 00:46:56 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 401551292Sobrien 401651292Sobrien * amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024. 401751292Sobrien 401851292SobrienSun Aug 31 20:20:40 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 401951292Sobrien 402051292Sobrien * amd/conf.c (gopt_fully_qualified_hosts): a new function to 402151292Sobrien process another new global variable. 402251292Sobrien 402351292Sobrien * amd/ops_nfs.c (make_nfs_auth): if a new global variable 402451292Sobrien fully_qualified_hosts is on, use FQHN in RPC/NFS authentications. 402551292Sobrien Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>. 402651292Sobrien 402751292Sobrien * amd/conf.c (process_last_regular_map): If the amd.conf file only 402851292Sobrien has a [global] section (pretty useless IMHO), do not try to 402951292Sobrien process a map that does not exist. 403051292Sobrien 403151292Sobrien * scripts/amd.conf.5: fixed typos (repeated 'as' word). 403251292Sobrien 403351292Sobrien * doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!! 403451292Sobrien 403551292Sobrien * amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm 403651292Sobrien structure, so it does not carry over from map entry to another. 403751292Sobrien 403851292SobrienSat Aug 30 18:39:21 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 403951292Sobrien 404051292Sobrien * amd/amd.c (main): fixed the meaning of the plock option. A bug 404151292Sobrien caused it to be reversed. 404251292Sobrien 404351292SobrienSat Aug 30 15:13:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 404451292Sobrien 404551292Sobrien * hlfsd/stubs.c: don't initialize some statics here. They are 404651292Sobrien better initialized in hlfsd_init_filehandles(). 404751292Sobrien 404851292SobrienFri Aug 22 14:47:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 404951292Sobrien 405051292Sobrien * amd/conf.c (gopt_show_statfs_entries): new function and a global 405151292Sobrien amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes', 405251292Sobrien then all maps flagged as browsable will also show a count of the 405351292Sobrien number of entries (keys) in that map. 405451292Sobrien 405551292Sobrien * amd/nfs_subr.c (count_map_entries): new function to count number 405651292Sobrien of entries in a map. Now used if browsable is turned on in a map, 405751292Sobrien to return a count of available keys in a given map. 405851292Sobrien 405951292Sobrien * hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd 406051292Sobrien confused the file handles for ".", "..", and the symlink, causing 406151292Sobrien mess. 406251292Sobrien 406351292Sobrien * aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12, 406451292Sobrien but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts 406551292Sobrien with bad memcmp() in libc's (nextstep3). 406651292Sobrien 406751292SobrienThu Aug 21 17:38:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 406851292Sobrien 406951292Sobrien * aux/configure.in: check if autofs_args_t has a field named 407051292Sobrien addr. Solaris has it for specifying the address of the daemon, 407151292Sobrien but Irix does not. So how does irix tell the kernel the daemon's 407251292Sobrien address? I suspect that it is hardcoded to "localhost" using a 407351292Sobrien "private well-known port" (#define AUTOFS_PORT 2048). 407451292Sobrien 407551292Sobrien * conf/nfs_prot/nfs_prot_linux.h: added missing autofs 407651292Sobrien definitions. 407751292Sobrien 407851292Sobrien * README.autofs: new file listing autofs support notes 407951292Sobrien 408051292Sobrien * very preliminary autofs code working. Call it pre-alpha 408151292Sobrien quality. 408251292Sobrien 408351292SobrienSun Aug 17 02:25:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 408451292Sobrien 408551292Sobrien * amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept 408651292Sobrien "autofs" if system does not support it. 408751292Sobrien 408851292Sobrien * amd/amd.c (main): log am-utils version string (same as amd -v) 408951292Sobrien at start of run. 409051292Sobrien 409151292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): in order to tell 409251292Sobrien if a remote host is available, try to contact its portmapper and 409351292Sobrien timeout if no answer is received in 3 seconds. 409451292Sobrien 409551292SobrienThu Aug 14 16:12:04 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 409651292Sobrien 409751292Sobrien * aux/macros/check_extern.m4 (pattern): use a simpler pattern for 409851292Sobrien match for external function definitions. The function could span 409951292Sobrien multiple lines, so only match the opening parenthesis, not the 410051292Sobrien closing one too. 410151292Sobrien 410251292Sobrien * aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on 410351292Sobrien posix mode for nextstep3. It is broken. 410451292Sobrien 410551292Sobrien * amd/amd.c (init_global_options): run uname() only if 410651292Sobrien <sys/utsname.h> and uname(2) exist. 410751292Sobrien 410851292Sobrien * amd/rpc_fwd.c (fwd_packet): if remote host is down, the 410951292Sobrien forwarding socket is null, so declare this an error. 411051292Sobrien 411151292Sobrien * include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set 411251292Sobrien for when a remote host is down. Try, in order, "host down", "host 411351292Sobrien unreachable", "invalid argument". 411451292Sobrien 411551292Sobrien * amd/ops_nfs.c (discard_fh): don't dereference a null pointer 411651292Sobrien (happens when remote host is down, and fp->fh_fs is NULL). 411751292Sobrien (prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID 411851292Sobrien and FSF_DOWN. 411951292Sobrien 412051292Sobrien * amd/sched.c: nobody uses "union wait" any more, or so it 412151292Sobrien appears, so clean up that code. 412251292Sobrien 412351292Sobrien * conf/transp/transp_tli.c (get_nfs_version): if remote host is 412451292Sobrien down, time it out faster than default (3 seconds). 412551292Sobrien (get_mount_client): free netconfig entry when done with it. 412651292Sobrien 412751292Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly) 412851292Sobrien port to nextstep3 (m68k-next-nextstep3). 412951292Sobrien 413051292Sobrien * fsinfo/Makefile.am (LDADD): needs to link with libamu in case 413151292Sobrien system does not have strdup(). 413251292Sobrien 413351292Sobrien * include/am_defs.h: complete external definition for getlogin() 413451292Sobrien if needed. 413551292Sobrien 413651292Sobrien * conf/transp/transp_tli.c (get_nfs_version): no need to keep 413751292Sobrien static versout variable. 413851292Sobrien 413951292Sobrien * amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote 414051292Sobrien server is probably down. Don't use sendto() in that case. 414151292Sobrien 414251292Sobrien * buildall (default): run gmake if found, before trying plain 414351292Sobrien make. GNU make is always preferable. 414451292Sobrien 414551292SobrienTue Aug 12 21:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 414651292Sobrien 414751292Sobrien * aux/macros/host_macros.m4: cleanup of os_version and os 414851292Sobrien overrides. Solaris 2.5.1 for example will come up as solaris2 and 414951292Sobrien 2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in 415051292Sobrien the amd.conf file. 415151292Sobrien 415251292SobrienFri Aug 8 14:37:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 415351292Sobrien 415451292Sobrien ******************************************************************* 415551292Sobrien *** Released am-utils-6.0a9 *** 415651292Sobrien ******************************************************************* 415751292Sobrien 415851292SobrienThu Aug 7 00:52:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 415951292Sobrien 416051292Sobrien * conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2 416151292Sobrien (i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff 416251292Sobrien from <ndbm.h> and <sys/resource.h>. 416351292Sobrien 416451292Sobrien * scripts/amd.conf.5: new map page. 416551292Sobrien 416651292Sobrien * amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3 416751292Sobrien does not. 416851292Sobrien 416951292Sobrien * amd/amd.8: updated man page. 417051292Sobrien 417151292Sobrien * amd/get_args.c (get_args): removed defunct -h option to amd. 417251292Sobrien 417351292Sobrien * amq/amq.8: updated man page. 417451292Sobrien 417551292Sobrien * amd/info_nisplus.c (nisplus_search): prototype fixes so Sun 417651292Sobrien SparcCompiler CC won't complain. 417751292Sobrien 417851292Sobrien * amd/info_hesiod.c (hesiod_search): small fixes to compile with 417951292Sobrien hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>. 418051292Sobrien 418151292Sobrien * aux/macros/opt_ldflags.m4: new option added to configure 418251292Sobrien --enable-ldflags, to specify -L option for configuring/compiling. 418351292Sobrien The older one --enable-libs is now to be used only for -l options. 418451292Sobrien 418551292Sobrien * amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize 418651292Sobrien nc_protoname from nfs_proto if available for all TLI systems, not 418751292Sobrien just those that have NFS V3. 418851292Sobrien 418951292Sobrien * amd/info_ldap.c: ldap patches from Leif Johansson 419051292Sobrien <leifj@matematik.su.se>, adding two new amd.conf ldap variables: 419151292Sobrien ldap_cache_seconds and ldap_cache_maxmem. 419251292Sobrien 419351292Sobrien * hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in 419451292Sobrien htons(). 419551292Sobrien 419651292SobrienSun Aug 3 17:20:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 419751292Sobrien 419851292Sobrien * amd/nfs_start.c (mount_automounter): register amd with the rpc 419951292Sobrien program number that may have been overridden by amd.conf. 420051292Sobrien 420151292Sobrien * libamu/xutil.c (set_amd_program_number, get_amd_program_number): 420251292Sobrien allow storing and retrieving alternate amd program numbers. 420351292Sobrien 420451292Sobrien * amd/conf.c (gopt_portmap_program): new function to parse 420551292Sobrien amd.conf entry portmap_program=1234. 420651292Sobrien 420751292Sobrien * amq/amq.c (main): allow specifying an alternate rpc program 420851292Sobrien number for amd via -P prognum. 420951292Sobrien 421051292Sobrien * new amq RPC to get the process id of the running amd. This is 421151292Sobrien used in ctl-amd to quickly find the pid of the amd that is to be 421251292Sobrien killed. 421351292Sobrien 421451292Sobrien * expanded shared libraries support. Using GNU libtool-1.0, 421551292Sobrien am-utils now builds shared libraries on many platforms that have 421651292Sobrien support for it and proper compilers/linkers. See "INSTALL" file 421751292Sobrien for compatibility chart. 421851292Sobrien 421951292SobrienThu Jul 31 13:07:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 422051292Sobrien 422151292Sobrien * fsinfo/fsi_lex.l: removed code that was in support of very old 422251292Sobrien versions of flex. No longer needed. 422351292Sobrien 422451292SobrienTue Jul 29 12:00:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 422551292Sobrien 422651292Sobrien * amd/amd.c (init_global_options): find the kernel architecture 422751292Sobrien from uname() if possible. 422851292Sobrien 422951292SobrienMon Jul 28 03:53:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 423051292Sobrien 423151292Sobrien * new working port: i386-unknown-openbsd2.1 423251292Sobrien 423351292SobrienFri Jul 25 03:16:31 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 423451292Sobrien 423551292Sobrien * working port: sparc-sun-solaris2.4. Had to fix fhandle_t from 423651292Sobrien structure to actual char[], because the structure was passed to 423751292Sobrien xdr_fhandle as data and not a pointer. Surprisingly, gcc 423851292Sobrien -fpcc-struct-return did not help. 423951292Sobrien 424051292Sobrien * conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol 424151292Sobrien definitions for solaris 2.4 have to be different from 2.3, and 424251292Sobrien different from 2.5. 424351292Sobrien 424451292Sobrien * libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup. 424551292Sobrien 424651292SobrienThu Jul 24 16:22:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 424751292Sobrien 424851292Sobrien * conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount 424951292Sobrien types, not ==. Fix from Christos Zoulas <christos@deshaw.com>. 425051292Sobrien 425151292Sobrien * mk-amd-map/mk-amd-map.8: man page taken from bsd44. 425251292Sobrien 425351292SobrienThu Jul 24 00:01:55 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 425451292Sobrien 425551292Sobrien * conf/mount/mount_linux.c: made the nfs error mapping code into a 425651292Sobrien small function. 425751292Sobrien 425851292SobrienWed Jul 23 16:11:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 425951292Sobrien 426051292Sobrien * conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special 426151292Sobrien error mappings from errno numbers to NFS errors. From Debian 426251292Sobrien Linux. 426351292Sobrien 426451292Sobrien * scripts/am-eject.in (fs): new script (taken from Debian Linux 426551292Sobrien folks) to auto-unmount floppy/cd devices before ejecting them. 426651292Sobrien 426751292Sobrien * fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass 426851292Sobrien '5' as second arg to show_area_being_processed. I'm not sure why. 426951292Sobrien 427051292Sobrien * fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as 427151292Sobrien second arg to show_area_being_processed. I'm not sure why. 427251292Sobrien 427351292Sobrien * conf/mount/mount_linux.c (parse_opts): as per Debian Linux, 427451292Sobrien ensure that you have a buffer in *xopts to strcat onto. 427551292Sobrien (mount_linux): fixed from Debian folks to ensure that NFS mount 427651292Sobrien sockets are connected only for kernels prior to 1.3.10 (avoids 427751292Sobrien hangs for multi-homed hosts). 427851292Sobrien 427951292Sobrien * amd/mapc.c (make_entry_chain): from Debian folks: don't skip 428051292Sobrien over amd map keys that have a prefix, and include the prefix in 428151292Sobrien the returned readdir(). 428251292Sobrien 428351292Sobrien * amd/info_passwd.c (passwd_init, passwd_search): format 428451292Sobrien enhancements from the Debian Linux folks. They added 428551292Sobrien - var0:=pw-prefix:=anydir 428651292Sobrien - var1:=pw-rhost:=dom3.dom2.dom1 428751292Sobrien - var2:=pw-user:=user 428851292Sobrien - var3:=pw-home:=/anydir/dom1/dom2/dom3/user 428951292Sobrien 429051292Sobrien * new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1. 429151292Sobrien 429251292Sobrien * amd/ops_afs.c (afs_retry): patches from Debian Linux. If 429351292Sobrien afs_mount timed out, then explicitly forbid further retries after 429451292Sobrien the timeout. (afs_bgmount): buf fix from Debian Linux. Timeout 429551292Sobrien values (17 and 5) were mistakenly swapped. 429651292Sobrien 429751292SobrienWed Jul 23 15:53:25 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 429851292Sobrien 429951292Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3 430051292Sobrien support for Solaris 2.4 (the header files incorrectly define parts 430151292Sobrien of the NFS V.3 protocol, but the kernel does not support it). 430251292Sobrien 430351292SobrienWed Jul 23 00:07:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 430451292Sobrien 430551292Sobrien * amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init 430651292Sobrien for determining if using old or new hesiod libraries, 430751292Sobrien respectively. 430851292Sobrien 430951292Sobrien * amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS 431051292Sobrien V.3 then use non-connected sockets (both TCP and UDP). Otherwise 431151292Sobrien they cause hangs of mounts from multi-homed hosts when the return 431251292Sobrien route is not the same as the outgoing route (esp. on NetBSD 431351292Sobrien 1.2.1). If "conn" option was supplied, then don't turn on the 431451292Sobrien "noconn" mount option. Otherwise default to "noconn" mount 431551292Sobrien option. 431651292Sobrien 431751292Sobrien * aux/configure.in: better check for systems that need libgdbm and 431851292Sobrien <ndbm.h> 431951292Sobrien 432051292SobrienTue Jul 22 04:02:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 432151292Sobrien 432251292Sobrien * hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that 432351292Sobrien mounts are hidden from df(1) on systems that keep mount tables in 432451292Sobrien kernel, such as osf1. 432551292Sobrien 432651292SobrienTue Jul 22 02:26:55 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 432751292Sobrien 432851292Sobrien ******************************************************************* 432951292Sobrien *** Released am-utils-6.0a8 *** 433051292Sobrien ******************************************************************* 433151292Sobrien 433251292SobrienMon Jul 21 21:33:19 1997 Erez Zadok <ezk@stone.mcl.cs.columbia.edu> 433351292Sobrien 433451292Sobrien * hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to 433551292Sobrien AF_INET when hlfsd mounts itself, thus getting an errno "protocol 433651292Sobrien family not supported". 433751292Sobrien 433851292SobrienMon Jul 21 20:46:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 433951292Sobrien 434051292Sobrien * verified that amd on NetBSD 1.2.1 (i386) works, but the OS 434151292Sobrien itself is flaky. 434251292Sobrien 434351292Sobrien * verified that amd AIX 3 works w/ the new readdir() code. 434451292Sobrien 434551292SobrienMon Jul 21 18:59:30 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 434651292Sobrien 434751292Sobrien * amd/mapc.c (maptypes): changed the default map caching type for 434851292Sobrien nis and ndbm maps to "MAPC_ALL", so that all possible entries will 434951292Sobrien be available to amd for browsable_dirs=yes. 435051292Sobrien 435151292SobrienMon Jul 21 18:04:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 435251292Sobrien 435351292Sobrien * amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split 435451292Sobrien afs_readdir into a browsable version and a non-browsable one. 435551292Sobrien Fixed bugs that resulted in an infinite nfs_readdir loop on the 435651292Sobrien localhost for some operating systems. 435751292Sobrien 435851292SobrienSat Jul 19 19:38:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 435951292Sobrien 436051292Sobrien * amd/ops_afs.c (afs_readdir): fixed up the browsable code to 436151292Sobrien comply with nfs_readdir specs. It was returning all entries at 436251292Sobrien once, even if there was not enough space in the RPC packet. Now, 436351292Sobrien it sends a reasonably sized chunk, and sets static state to resume 436451292Sobrien it for the next continuation RPC of readdir. 436551292Sobrien 436651292Sobrien * amd/conf.c (set_conf_kv): fixed bug that resulted in the first 436751292Sobrien regular map not getting all of the [global] options defaulted from. 436851292Sobrien 436951292SobrienFri Jul 18 00:45:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 437051292Sobrien 437151292Sobrien * amq/amq.c (main): fixed so that portmapper "ping" will only fail 437251292Sobrien upon an RPC timeout 437351292Sobrien 437451292Sobrien * scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the 437551292Sobrien amd/hlfsd process to kill. 437651292Sobrien 437751292Sobrien * amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to 437851292Sobrien determine how to avoid df from seeing amd's toplvl mounts. Moved 437951292Sobrien from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd 438051292Sobrien is hidden from df. 438151292Sobrien (mount_toplvl): fixed df types for irix. 438251292Sobrien 438351292SobrienThu Jul 17 21:59:45 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 438451292Sobrien 438551292Sobrien * amq/amq.c (main): fixed bug that caused the 5 second timeout for 438651292Sobrien TLI amq using udp to be ignored. 438751292Sobrien (main): if amq cannot contact remote host's portmapper within 5 438851292Sobrien seconds, timeout and fail faster than the default longer timeout 438951292Sobrien (this is for non-TLI systems). 439051292Sobrien 439151292SobrienThu Jul 17 17:08:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 439251292Sobrien 439351292Sobrien * amq/amq.c (get_secure_amd_client): if amq cannot contact 439451292Sobrien remote host's portmapper within 5 seconds, timeout and fail faster 439551292Sobrien than the default TLI timeout of over 4 minutes. 439651292Sobrien 439751292Sobrien * amd/am_ops.c (ops_showfstypes): added styles for new bsd44 439851292Sobrien file systems nullfs, unionfs, and umapfs. 439951292Sobrien (ops_show1): cleanup code and and reuse this function. 440051292Sobrien (vops): empty placeholders for nullfs, unionfs, and umapfs. 440151292Sobrien 440251292Sobrien * amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for 440351292Sobrien bsd44 style file systems. 440451292Sobrien 440551292Sobrien * fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44 440651292Sobrien sources. 440751292Sobrien 440851292Sobrien * amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid 440951292Sobrien conflict with systems that define it in <sys/ioctl.h> and also 441051292Sobrien define a conflicting one via lex. Newer versions of f/lex are ok. 441151292Sobrien 441251292SobrienWed Jul 16 00:17:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 441351292Sobrien 441451292Sobrien * amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields 441551292Sobrien acdirmin/max and acregmin/max only if they exist. 441651292Sobrien 441751292Sobrien * aux/configure.in: test for nfs_args fields acdirmin and 441851292Sobrien acregmin. 441951292Sobrien 442051292SobrienTue Jul 15 17:24:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 442151292Sobrien 442251292Sobrien * aux/configure.in: commented out checking for MNT2_GEN_OPT_* for 442351292Sobrien "nondev" and commented back in checking for "nodev". This was a 442451292Sobrien typo. 442551292Sobrien 442651292Sobrien * include/am_compat.h: more compatibility options: define "ro" 442751292Sobrien mnttab option all the time. Define "overlay" as needed. Added 442851292Sobrien more fillers of mnttab options (as per Daniel S. Riley 442951292Sobrien <dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax, 443051292Sobrien acregmin, noac, grpid, nosuid, and actimo. 443151292Sobrien 443251292Sobrien * libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as 443351292Sobrien per dsr@mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up 443451292Sobrien the same code for other options in struct opt_tab. 443551292Sobrien 443651292SobrienMon Jul 14 22:36:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 443751292Sobrien 443851292Sobrien * amd/get_args.c (get_args): moved amd.conf file parsing to before 443951292Sobrien the switching the default log/debug options. Suggested by 444051292Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley). 444151292Sobrien 444251292Sobrien * aux/update_build_version: new script to record the build version 444351292Sobrien of amd, along with the rest of the info thet comes up with amd -v. 444451292Sobrien 444551292SobrienSun Jul 13 00:30:24 1997 Erez Zadok <ezk@decca.damtp.cam.ac.uk> 444651292Sobrien 444751292Sobrien * aux/macros/os_cflags.m4: new macro, to add additional 444851292Sobrien compilation options (also used during configuration), based on the 444951292Sobrien OS and the compiler. Used for solaris-2.6, osf, and irix6. 445051292Sobrien 445151292SobrienFri Jul 11 10:15:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 445251292Sobrien 445351292Sobrien * amd/conf_tok.l, conf_parse.y: allow values of keys to include 445451292Sobrien white spaces, if they are double-quoted (key="some value") 445551292Sobrien 445651292Sobrien * amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes 445751292Sobrien of hesiod from Danny Braniss <danny@cs.huji.ac.il>. 445851292Sobrien 445951292SobrienFri Jul 11 02:16:06 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 446051292Sobrien 446151292Sobrien ******************************************************************* 446251292Sobrien *** Released am-utils-6.0a7 *** 446351292Sobrien ******************************************************************* 446451292Sobrien 446551292SobrienThu Jul 10 12:19:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 446651292Sobrien 446751292Sobrien * include/am_defs.h: fill in extern definition of innetgr() in 446851292Sobrien case system headers don't. 446951292Sobrien 447051292Sobrien * aux/macros/path_prog_lex.m4 aux/configure.in: using macros that 447151292Sobrien will show the full pathname to yacc/bison and f/lex. Some systems 447251292Sobrien have older or bad versions of those and this way the user will 447351292Sobrien know for sure what is being invoked. 447451292Sobrien 447551292Sobrien * tasks: file populated with todo items. 447651292Sobrien 447751292Sobrien * scripts/amd2ldif.in: Script to convert amd maps to plain text 447851292Sobrien LDAP object files. Contributed by Leif Johansson 447951292Sobrien <leifj@matematik.su.se>. 448051292Sobrien 448151292Sobrien * aux/config.guess: added recognition for sun3's running 4.2bsd, 448251292Sobrien from Tom Schmidt <tschmidt@micron.com>. Fixed one small typo. 448351292Sobrien 448451292Sobrien * amd/conf.c: several variables that were local to a map, were 448551292Sobrien also added to [global], where they apply to all maps. Each map 448651292Sobrien can then individually override those defaults. Flags 448751292Sobrien affected: browsable_dirs and mount_type. Options affected: 448851292Sobrien map_type, map_options, and search_path. 448951292Sobrien 449051292Sobrien * amd/amd.h: eliminated several global flags each of which took an 449151292Sobrien int, in favor of one global flags variable used as a bit field. 449251292Sobrien 449351292Sobrien * amd/amd.c (init_global_options): moved all global variables into 449451292Sobrien a single struct amu_global_options, so it is easier to add new 449551292Sobrien ones and/or identify existing ones. 449651292Sobrien 449751292Sobrien * amd/get_args.c (get_args): removed unused amd -m option. 449851292Sobrien 449951292Sobrien * amd/conf.c (gopt_cluster): added new amd.conf option for cluster 450051292Sobrien name, same as amd -C. 450151292Sobrien 450251292Sobrien * amd/info_ldap.c: LDAP info map functions from Leif Johansson 450351292Sobrien <leifj@matematik.su.se>. 450451292Sobrien 450551292Sobrien * amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global 450651292Sobrien amd.conf options for ldap_base and ldap_hostports. 450751292Sobrien 450851292Sobrien * amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test 450951292Sobrien if the current host is in the ARG host netgroup. 451051292Sobrien 451151292Sobrien * aux/configure.in: some systems replaced dbm in libc with GNU's 451251292Sobrien libgdbm, so check for libgdbm, but only if dbm_open is not in 451351292Sobrien libc already. This was a recommendation from Tom Schmidt 451451292Sobrien <tschmidt@micron.com>. 451551292Sobrien 451651292Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3 451751292Sobrien completed. 451851292Sobrien 451951292SobrienWed Jul 9 18:14:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 452051292Sobrien 452151292Sobrien * port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS 452251292Sobrien V.3. 452351292Sobrien 452451292SobrienTue Jul 8 17:35:07 1997 Erez Zadok <ezk@elk.mcl.cs.columbia.edu> 452551292Sobrien 452651292Sobrien * port to i386-unknown-freebsd3.0 done and working. Includes NFS 452751292Sobrien V.3. 452851292Sobrien 452951292Sobrien * aux/macros/check_nfs_fh_dref.m4: freebsd3 should use 453051292Sobrien file handle dereferencing style similar to freebsd22. 453151292Sobrien 453251292Sobrien * include/am_defs.h: need to include <net/if_var.h> before 453351292Sobrien <netinet/if_ether.h> on freebsd3. 453451292Sobrien 453551292Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions 453651292Sobrien for freeBSD 3.0. 453751292Sobrien 453851292SobrienTue Jul 8 16:53:41 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 453951292Sobrien 454051292Sobrien * amd/info_nis.c (nis_reload): cast nis' callback function so 454151292Sobrien picky compilers won't complain. 454251292Sobrien 454351292Sobrien * libamu/xdr_mountres3.c (xdr_mountres3): make sure this function 454451292Sobrien gets compiled only if the system has NFS V3 and does not have 454551292Sobrien xdr_mountres3. 454651292Sobrien 454751292SobrienTue Jul 8 12:42:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 454851292Sobrien 454951292Sobrien * COPYING: put in some legal stuff in this file. 455051292Sobrien 455151292SobrienMon Jul 7 19:10:44 1997 Erez Zadok <ezk@prometheus.soscorp.com> 455251292Sobrien 455351292Sobrien * NFS V3 now works under Irix5, thanks to patches from 455451292Sobrien Andreas Stolcke <stolcke@speech.sri.com>. 455551292Sobrien 455651292Sobrien * conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5 455751292Sobrien version and an irix6 version, since irix5's NFS V3 code is broken 455851292Sobrien and hacky. 455951292Sobrien 456051292Sobrien * amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer 456151292Sobrien sizes for some hesiod queries. Patch from Danny Braniss 456251292Sobrien <danny@cs.huji.ac.il>. 456351292Sobrien 456451292SobrienMon Jul 7 19:04:14 1997 Erez Zadok <ezk@glory.soscorp.com> 456551292Sobrien 456651292Sobrien * amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3. 456751292Sobrien 456851292SobrienSun Jul 6 14:22:24 1997 Erez Zadok <ezk@glory.soscorp.com> 456951292Sobrien 457051292Sobrien * aux/{configure.in,acconfig.h}: added checks for struct 457151292Sobrien nfs_args's fields proto and sotype (bsdi3). 457251292Sobrien 457351292Sobrien * amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to 457451292Sobrien nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field 457551292Sobrien to SOCK_STREAM or SOCK_DGRAM. 457651292Sobrien 457751292Sobrien * aux/macros/check_mount_style.m4: add case for bsdi3. 457851292Sobrien 457951292Sobrien * amd/info_hesiod.c: got hesiod support for bsdi3. 458051292Sobrien 458151292SobrienSun Jul 6 11:14:47 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 458251292Sobrien 458351292Sobrien * aux/configure.in: look for hesiod on libc (bsdi3) 458451292Sobrien 458551292Sobrien * amd/get_args.c (get_args): reformat usage so it fits in 80 458651292Sobrien columns. 458751292Sobrien 458851292Sobrien * scripts/ctl-amd.in: changed directory name for optional tftpboot 458951292Sobrien map to /tftpboot/.amd. 459051292Sobrien 459151292SobrienSat Jul 5 17:46:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 459251292Sobrien 459351292Sobrien ******************************************************************* 459451292Sobrien *** Released am-utils-6.0a6 *** 459551292Sobrien ******************************************************************* 459651292Sobrien 459751292SobrienSat Jul 5 03:17:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 459851292Sobrien 459951292Sobrien * scripts/ctl-amd.in: include -T tag for tftpboot. 460051292Sobrien 460151292Sobrien * new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code 460251292Sobrien is broken and needs work on the specific nfs_args that irix5 uses 460351292Sobrien for V3 mounts. 460451292Sobrien 460551292SobrienSat Jul 5 01:44:25 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 460651292Sobrien 460751292Sobrien * amd/get_args.c (get_args): new options amd -T tag. A map with 460851292Sobrien tag=foo matching the -T tag will be processed. All untagged maps 460951292Sobrien get processed all the time. 461051292Sobrien 461151292SobrienFri Jul 4 16:19:26 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 461251292Sobrien 461351292Sobrien * aux/configure.in: need to check for strcasecmp in libucb (ncr2) 461451292Sobrien 461551292Sobrien * aux/macros/check_os_libs.m4: a new macro to set the usage of 461651292Sobrien libnsl and libsocket based on the OS. 461751292Sobrien 461851292Sobrien * libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is 461951292Sobrien defined (problem on osf4). 462051292Sobrien 462151292Sobrien * conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers. 462251292Sobrien 462351292Sobrien * include/am_defs.h, aux/macros/try_compile_nfs.m4, 462451292Sobrien aux/macros/mount_headers.m4: do include <sys/proc.h> because it 462551292Sobrien failes on irix5. Rather, put in the individual 462651292Sobrien conf/nfs_prot/nfs_prot_*.h headers. 462751292Sobrien 462851292Sobrien * amd/conf.c: AIX3 doesn't like strdup() being passed a constant 462951292Sobrien char*, so cast all strdup()'s args to a non-const char*. 463051292Sobrien 463151292Sobrien * amd/mapc.c (root_newmap): don't try to strdup only a "const 463251292Sobrien char *". 463351292Sobrien 463451292SobrienFri Jul 4 15:47:10 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 463551292Sobrien 463651292Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and 463751292Sobrien sys/errno.h. 463851292Sobrien 463951292SobrienThu Jul 3 17:49:00 1997 Erez Zadok <ezk@prometheus.soscorp.com> 464051292Sobrien 464151292Sobrien * made sure am-utils compiles, links, and runs properly on Irix 464251292Sobrien 6.2 using "cc -32 -Wl,-woff," 464351292Sobrien 464451292Sobrien * aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12 464551292Sobrien AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add 464651292Sobrien them to $LIBS. 464751292Sobrien 464851292Sobrien * aux/configure.in: some cleanup of which libraries are needed. 464951292Sobrien Espectially ensure that libnsl is included only on Solaris, where 465051292Sobrien so far it is the only system on which it is absolutely necessary. 465151292Sobrien Also no longer need to include libc explicitly. 465251292Sobrien 465351292Sobrien * amd/amd.c,wire-test/wire-test.c (main): convert IP address to 465451292Sobrien network-long order before printing it. 465551292Sobrien 465651292Sobrien * wire-test/wire-test.c (main): also check and report on the IP 465751292Sobrien address of the local host, since some systems have bad versions of 465851292Sobrien get_myaddress, or ones that conflict with other versions in 465951292Sobrien multiple libraries (SunOS 4 and Irix especially). 466051292Sobrien 466151292SobrienWed Jul 2 18:19:02 1997 Erez Zadok <ezk@starblazers.soscorp.com> 466251292Sobrien 466351292Sobrien * scripts/ctl-amd.in: don't use full pathname so killproc() works 466451292Sobrien better. Also run bsd44 and irix style ps programs. 466551292Sobrien 466651292Sobrien * aux/macros/check_lib_funcs.m4: bug fixed: used to define usage 466751292Sobrien of library no matter if it was found or not. 466851292Sobrien 466951292SobrienWed Jul 2 02:11:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 467051292Sobrien 467151292Sobrien * aux/macros/check_mnt2_gen_opt.m4: turned back on the checking 467251292Sobrien for M_* macros, but ensure that <sys/stream.h> is not included at 467351292Sobrien all so it won't conflict with other M_* macros. 467451292Sobrien 467551292SobrienTue Jul 1 21:16:51 1997 Erez Zadok <ezk@mako.cs.columbia.edu> 467651292Sobrien 467751292Sobrien * conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on 467851292Sobrien irix should be "spec" (host:/path), not the dir of the mnt point. 467951292Sobrien 468051292Sobrien * amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors 468151292Sobrien fixed. If on, it essentially ignored the setting in a 468251292Sobrien selector-controlled /defaults if there were 2 or more entries in it. 468351292Sobrien 468451292SobrienTue Jul 1 12:23:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 468551292Sobrien 468651292Sobrien * scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process 468751292Sobrien using BSD style ps, then try SVR4 style ps. 468851292Sobrien 468951292Sobrien * include/am_utils.h (amuDebug): renamed Debug macro to amuDebug 469051292Sobrien etc., to avoid conflicts with similar named macros in <ldap.h>. 469151292Sobrien 469251292Sobrien * aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf 469351292Sobrien support needed for LDAP. Now the code has to be written mostly in 469451292Sobrien amd/info_ldap.c. 469551292Sobrien 469651292Sobrien * Included additional patches from Andreas Stolcke 469751292Sobrien <stolcke@speech.sri.com> to support using the best possible 469851292Sobrien combination of NFS version (2,3) and protocol (udp,tcp) for any 469951292Sobrien given host, since it appears that some Irix versions have NFS V3, 470051292Sobrien but do not support TCP. 470151292Sobrien 470251292Sobrien * scripts/ctl-amd.in: updated amd control script to look for and 470351292Sobrien use amd.conf file. 470451292Sobrien 470551292SobrienTue Jul 1 00:28:23 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 470651292Sobrien 470751292Sobrien * amd/mapc.c (mapc_create): now, each map in the amd.conf can be 470851292Sobrien initialized off of a different type, or default to cycling through 470951292Sobrien all maps until one of them matches. 471051292Sobrien 471151292SobrienMon Jun 30 20:49:13 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 471251292Sobrien 471351292Sobrien * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done. 471451292Sobrien if browsable_dirs=yes is set in the map section in amd.conf, that 471551292Sobrien map will return all entries back to a readdir(2). 471651292Sobrien 471751292SobrienSun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 471851292Sobrien 471951292Sobrien * rudimentary amd.conf file support included. You may even 472051292Sobrien override things like os=sos5, to get "backwards" compatibility with 472151292Sobrien upl102. 472251292Sobrien 472351292SobrienSat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 472451292Sobrien 472551292Sobrien * amd/conf.c: new file to process amd.conf file. 472651292Sobrien 472751292Sobrien * amd/get_args.c (get_args): new options -H to print help. 472851292Sobrien 472951292Sobrien * moved enable_default_selectors to be amd.conf controlled, and 473051292Sobrien not compiler controlled. 473151292Sobrien 473251292Sobrien * amd/get_args.c (get_args): new options -F <conf-file> to parse an 473351292Sobrien amd configuration file. 473451292Sobrien 473551292SobrienWed Jun 25 23:15:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 473651292Sobrien 473751292Sobrien * converted all files that used strcmp() == 0 or != 0 to using 473851292Sobrien the STREQ() macro. 473951292Sobrien 474051292SobrienMon Jun 23 22:31:14 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 474151292Sobrien 474251292Sobrien * aux/macros/check_lib_funcs.m4: new M4 macro that can be used to 474351292Sobrien search for any number of functions in any given library. 474451292Sobrien 474551292SobrienMon Jun 23 01:04:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 474651292Sobrien 474751292Sobrien * amd/mapc.c: Included patch from Leif Johansson 474851292Sobrien <leifj@matematik.su.se> to ensure that systems without an RE 474951292Sobrien library can compile. 475051292Sobrien 475151292Sobrien * libamu/mount_fs.c (mount_fs): Included patch from Andreas 475251292Sobrien Stolcke <stolcke@speech.sri.com>, to ensure that mount options on 475351292Sobrien table are properly delimited by a comma. 475451292Sobrien 475551292Sobrien * amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas 475651292Sobrien Stolcke <stolcke@speech.sri.com>, to allow users to override the 475751292Sobrien proto= and vers= mount options. 475851292Sobrien 475951292SobrienSun Jun 22 01:00:11 1997 Eric Dana (edana@ncr2.bgs.com) 476051292Sobrien 476151292Sobrien * conf/nfs_prot/nfs_prot_svr4.h: port completed to 476251292Sobrien i486-ncr-sysv4.3.03. Assorted source cleanups done. 476351292Sobrien 476451292Sobrien * include/am_defs.h, aux/macros/mount_headers.m4: don't include 476551292Sobrien mnttab.h if sys/mnttab.h was already included, because on ncr2, 476651292Sobrien they contain conflicting entries for struct mnttab. 476751292Sobrien 476851292SobrienSat Jun 21 23:52:15 1997 Eric Dana (edana@ncr2.bgs.com) 476951292Sobrien 477051292Sobrien * aux/macros/check_nfs_prot_headers.m4: added support for ncr2. 477151292Sobrien 477251292SobrienFri Jun 20 06:14:17 1997 Erez Zadok <ezk> 477351292Sobrien 477451292Sobrien * amd/*.c: lots of 64-bit "ugly" ports like casts to long ints. 477551292Sobrien 477651292Sobrien * aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because 477751292Sobrien on DU-4.0 it is better than the next one to be picked (nfsv2fh_t). 477851292Sobrien 477951292SobrienWed Jun 18 18:59:49 1997 Erez Zadok <ezk@defiant.soscorp.com> 478051292Sobrien 478151292Sobrien * aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for 478251292Sobrien nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is 478351292Sobrien better. 478451292Sobrien 478551292SobrienTue Jun 10 17:06:58 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 478651292Sobrien 478751292Sobrien * amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is 478851292Sobrien NULL, set the maxlen and len fields in netbuf to zero. 478951292Sobrien 479051292SobrienWed May 28 22:52:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 479151292Sobrien 479251292Sobrien * scripts/fix-amd-map.in (name): replace all matching patterns on 479351292Sobrien line. 479451292Sobrien 479551292SobrienSun May 25 19:33:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 479651292Sobrien 479751292Sobrien ******************************************************************* 479851292Sobrien *** Released am-utils-6.0a5 *** 479951292Sobrien ******************************************************************* 480051292Sobrien 480151292SobrienSun May 25 13:37:24 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 480251292Sobrien 480351292Sobrien * amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service 480451292Sobrien procedure now returns the full string that amd -v returns. 480551292Sobrien 480651292Sobrien * amd/get_args.c (get_version_string): new function to return 480751292Sobrien complete version/info string so it could be used more flexibly. 480851292Sobrien 480951292Sobrien * amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list 481051292Sobrien of Fs types into a string buffer, rather than a FILE*. 481151292Sobrien 481251292Sobrien * amd/mapc.c (mapc_showtypes): put the list of map types into a 481351292Sobrien string buffer, rather than a FILE*. 481451292Sobrien 481551292SobrienSun May 25 01:25:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 481651292Sobrien 481751292Sobrien * amd/get_args.c (get_args): amd -v also prints user who built 481851292Sobrien amd, hostname built on, and date of configuration. 481951292Sobrien 482051292SobrienSat May 24 13:40:50 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 482151292Sobrien 482251292Sobrien * scripts/lostaltmail.conf-sample: sample lostaltmail 482351292Sobrien configuration file. 482451292Sobrien 482551292Sobrien * scripts/lostaltmail.in: new script lostaltmail used to redeliver 482651292Sobrien "lost" mail that hlfsd redirected to a temp location because the 482751292Sobrien primary home file system of the user was full. 482851292Sobrien 482951292Sobrien * scripts/amd2sun.in: new script amd2sun. Used to convert Sub 483051292Sobrien automount maps to amd maps. 483151292Sobrien 483251292Sobrien * scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start, 483351292Sobrien stop, or restart hlfsd. 483451292Sobrien 483551292Sobrien * scripts/expn.1: man page for expn command. 483651292Sobrien 483751292Sobrien * scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or 483851292Sobrien restart amd. 483951292Sobrien 484051292Sobrien * scripts/expn.in: new script expn. Actually taken from David 484151292Sobrien Muir Sharnoff <muir@idiom.com>. Used by hlfsd's mail re-delivery 484251292Sobrien script. 484351292Sobrien 484451292Sobrien * scripts/wait4amd.in: new script wait4amd added. Waits for amd 484551292Sobrien to come up on a host, and then runs a command (rsh $hostname by 484651292Sobrien default). 484751292Sobrien 484851292Sobrien * scripts/Makefile.am: new directory now holds all shell/perl 484951292Sobrien scripts that belong to am-utils. 485051292Sobrien 485151292Sobrien * conf/mount/mount_linux.c (parse_opts): new parser for 485251292Sobrien linux-specific mounts. Handles fs-type specific mount-options 485351292Sobrien correctly. Currently implemented: msdos, iso9660. 485451292Sobrien 485551292Sobrien * amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default 485651292Sobrien (fix for linux). 485751292Sobrien 485851292Sobrien * amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default 485951292Sobrien (fix for linux). 486051292Sobrien 486151292Sobrien * amd/mapc.c (make_entry_chain): fixed bug that resulted in amd 486251292Sobrien core dumps upon "ls" of a mount point; an invalid pointer was 486351292Sobrien being returned and dereferenced. 486451292Sobrien 486551292Sobrien * port to Linux sparc working! 486651292Sobrien 486751292Sobrien * hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if 486851292Sobrien failed to write test file, or else the fd will leak. 486951292Sobrien 487051292SobrienSun May 18 00:42:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 487151292Sobrien 487251292Sobrien * amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp() 487351292Sobrien instead of strcmp(). 487451292Sobrien 487551292Sobrien * Port to Digital Unix 4.0 (OSF) done. 487651292Sobrien 487751292Sobrien * hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts 487851292Sobrien with dirname() function in <string.h> on OSF systems. 487951292Sobrien 488051292Sobrien * fsinfo/fsi_util.c (set_ether_if): take out extern definition of 488151292Sobrien inet_addr(). It should come from <arpa/inet.h> instead. 488251292Sobrien 488351292Sobrien * conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs. 488451292Sobrien 488551292Sobrien * include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to 488651292Sobrien avoid conflicts with DU 4.0 system header. 488751292Sobrien 488851292SobrienThu May 15 22:49:12 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 488951292Sobrien 489051292Sobrien * libamu/mount_fs.c (mount_fs): pass along NFS version so I can 489151292Sobrien determine if to include additional options in the mount table file 489251292Sobrien entry (such as proto=tcp, and vers=3). 489351292Sobrien 489451292SobrienThu May 15 00:42:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 489551292Sobrien 489651292Sobrien * libamu/mount_fs.c (mount_fs): include NFS version number in the 489751292Sobrien mount table options, as well as proto={tcp,udp}. 489851292Sobrien 489951292SobrienWed May 14 14:30:19 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 490051292Sobrien 490151292Sobrien * NFS V3 code ported to most other systems, so it compiles for V2 490251292Sobrien and V3 NFS systems. 490351292Sobrien 490451292Sobrien * NFS VERSION 3 support, first pass. Working for Solaris and 490551292Sobrien using TCP. 490651292Sobrien 490751292SobrienSun May 11 01:14:29 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 490851292Sobrien 490951292Sobrien * amq/amq.c: many newline characters were missing from various 491051292Sobrien stderr printfs. 491151292Sobrien 491251292SobrienSat May 10 13:09:06 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 491351292Sobrien 491451292Sobrien * conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for 491551292Sobrien Solaris, which include NFS V3 support. 491651292Sobrien 491751292Sobrien * conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers. 491851292Sobrien 491938494Sobrien * conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS 492038494Sobrien protocol version while getting a mount client. 492138494Sobrien 492238494Sobrien * amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types, 492338494Sobrien file handle size, and proper file handle based on the correct NFS 492438494Sobrien version number. 492538494Sobrien 492638494Sobrien * conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under 492738494Sobrien Solaris and other SVR4 systems. 492838494Sobrien 492938494Sobrien * amd/ops_nfs.c: store NFS file handle version and version 493038494Sobrien specific handle in struct fh_cache. 493138494Sobrien (got_nfs_fh): pick the correct RPC reply based on the NFS version 493238494Sobrien of the server. 493338494Sobrien (prime_nfs_fhandle_cache): figure out the right NFS file handle 493438494Sobrien for a node, but now include NFS protocol version information. 493538494Sobrien (call_mountd): set the correct version for the mount protocol, 493638494Sobrien based on the NFS protocol version. 493738494Sobrien (nfs_init): use the NFS protocol generic structure 493838494Sobrien am_nfs_handle_t. 493938494Sobrien 494038494Sobrien * include/am_utils.h: new structure am_nfs_handle_t to contain all 494138494Sobrien possible versions of NFS file handles. 494238494Sobrien 494338494Sobrien * amd/srvr_nfs.c (start_ping): ping program performs NFS version 494438494Sobrien specific pings. 494538494Sobrien (recompute_portmap): figure out the correct portmap version mount. 494638494Sobrien (nfs_keepalive): call start_ping() with the correct NFS version. 494738494Sobrien (find_nfs_srvr): if mount option "vers=" is given, use it. Get 494838494Sobrien the NFS server version and verify that it is up. 494938494Sobrien 495038494Sobrien * conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new 495138494Sobrien function to find the best NFS version for a particular host. 495238494Sobrien 495338494Sobrien * libamu/amu.h: determine what is the highest version of NFS we 495438494Sobrien should try. 495538494Sobrien 495638494Sobrien * include/am_utils.h (NFS_VERSION3): added definition for NFS V3 495738494Sobrien protocol number. 495838494Sobrien Added field fs_version to struct fserver, so we can now store the 495938494Sobrien server protocol version. 496038494Sobrien 496138494SobrienFri May 9 01:09:45 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 496238494Sobrien 496338494Sobrien * aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into 496438494Sobrien underscores too, so I can test for sub-fields. 496538494Sobrien 496638494Sobrien * libamu/wire.c: use test that checks for sub-fields of struct 496738494Sobrien ifreq. 496838494Sobrien 496938494SobrienSat May 6 10:20:17 2000 Erez Zadok <ezk@glory.soscorp.com> 497038494Sobrien 497138494Sobrien * port to BSD/OS 3.0 completed! Many xdr_ functions were broken 497238494Sobrien into smaller files. M4 macros fixed to test for existence of 497338494Sobrien file systems using getvfsbyname(). 497438494Sobrien 497538494Sobrien * amd/sched.c (sigchld): signal handler must waitpid() for all 497638494Sobrien possible children. 497738494Sobrien 497838494Sobrien * hlfsd/homedir.c: signal handler must waitpid() for all possible 497938494Sobrien children. 498038494Sobrien 498138494Sobrien * aux/macros/check_restartable_signals.m4: new macro to determine 498238494Sobrien if need to reinstall signal handlers per OS is better than trying 498338494Sobrien to figure these out based on system macros. 498438494Sobrien 498538494SobrienFri May 5 19:23:28 2000 Erez Zadok <ezk@glory.soscorp.com> 498638494Sobrien 498738494Sobrien * amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number. 498838494Sobrien 498938494Sobrien * amd/ops_afs.c (mount_toplvl): set nfs_args_t version number. 499038494Sobrien 499138494Sobrien * amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport 499238494Sobrien (must be supplied for bsdi 3.0) 499338494Sobrien 499438494Sobrien * libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and 499538494Sobrien associated new macro) for determining the right way to compute the 499638494Sobrien size of the interface structure. 499738494Sobrien 499838494SobrienFri Apr 11 15:56:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 499938494Sobrien 500038494Sobrien * aux/configure.in: need to include libc before libnsl if 500138494Sobrien get_myaddress() is available because on irix libnsl has a buggy 500238494Sobrien get_myaddress(). 500338494Sobrien 500438494Sobrien * include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined 500538494Sobrien on Irix 6 (an SVR4 variant) 500638494Sobrien 500738494SobrienThu Mar 27 02:28:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 500838494Sobrien 500938494Sobrien ******************************************************************* 501038494Sobrien *** Released am-utils-6.0a4 *** 501138494Sobrien ******************************************************************* 501238494Sobrien 501338494SobrienWed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 501438494Sobrien 501538494Sobrien * amd/amq_subr.c (ok_security): turned off insecure code unless 501638494Sobrien user explicitly runs configure --enable-amq-mount. 501738494Sobrien 501838494Sobrien * hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service(). 501938494Sobrien 502038494Sobrien * amd/nfs_start.c (mount_automounter): use code that separately 502138494Sobrien creates the NFS and the amq service. Register tcp and udp 502238494Sobrien services for amd. 502338494Sobrien 502438494Sobrien * conf/transp/transp_*.c (create_amq_service): new function to 502538494Sobrien separately create the amq service for amd. Simplified prototypes 502638494Sobrien for create_nfs_service(). 502738494Sobrien 502838494SobrienWed Mar 19 20:40:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 502938494Sobrien 503038494Sobrien ******************************************************************* 503138494Sobrien *** Released am-utils-6.0a3 *** 503238494Sobrien ******************************************************************* 503338494Sobrien 503438494SobrienWed Mar 19 17:49:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 503538494Sobrien 503638494Sobrien * new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots 503738494Sobrien of small changes to support these two. 503838494Sobrien 503938494SobrienWed Mar 19 14:33:30 1997 Erez Zadok <ezk@grande.cs.columbia.edu> 504038494Sobrien 504138494Sobrien * conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist() 504238494Sobrien should run if MOUNT_TABLE_ON_FILE, not otherwise. 504338494Sobrien 504438494SobrienMon Mar 17 22:02:43 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 504538494Sobrien 504638494Sobrien * hlfsd/hlfsd.c (main): fill in fhsize field if exists 504738494Sobrien (freebsd-2.2). 504838494Sobrien 504938494Sobrien * amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if 505038494Sobrien exists (freebsd-2.2). 505138494Sobrien 505238494SobrienSat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 505338494Sobrien 505438494Sobrien * new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher 505538494Sobrien changed the filehandle type in struct nfs_args from nfsv2fh_t to 505638494Sobrien u_char. 505738494Sobrien 505838494SobrienSat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 505938494Sobrien 506038494Sobrien * SHARED LIBRARIES: too many change to list individually. Now, 506138494Sobrien libamu can be built as a shared library, and other programs link 506238494Sobrien with it. 506338494Sobrien 506438494SobrienTue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 506538494Sobrien 506638494Sobrien * aux/macros/opt_shared.m4: new macro for setting options for 506738494Sobrien building shared am-utils libraries. 506838494Sobrien 506938494SobrienSun Mar 9 19:17:46 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 507038494Sobrien 507138494Sobrien * fixmount/fixrmtab: cleaned up the script. 507238494Sobrien 507338494Sobrien * fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that 507438494Sobrien fixrmtab gets distributed too. 507538494Sobrien 507638494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP. 507738494Sobrien Added extern for xdr_mountlist(). 507838494Sobrien 507938494Sobrien * aux/configure.in: trimmed down many tests for MNT2_GEN_OPT, 508038494Sobrien MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in 508138494Sobrien the sources. 508238494Sobrien 508338494SobrienSat Mar 8 00:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 508438494Sobrien 508538494Sobrien * fixmount/hlfsd ported to bsd44, hpux, and linux systems. 508638494Sobrien 508738494Sobrien * aux/macros/check_fixmount_style.m4: add check for bsd44 systems. 508838494Sobrien 508938494Sobrien * conf/fixmount/fixmount_default.c: use lockf() if flock() is 509038494Sobrien unavailable. 509138494Sobrien 509238494Sobrien * include/am_defs.h: include <string.h> even if don't have 509338494Sobrien STDC_HEADERS defined (sunos4). 509438494Sobrien (seteuid): define seteuid() to be setresuid() for systems that 509538494Sobrien have but not the other (hpux). 509638494Sobrien 509738494Sobrien * aux/macros/check_extern.m4: test should include <strings.h>. 509838494Sobrien 509938494SobrienTue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 510038494Sobrien 510138494Sobrien * lib/xutil.c (debug_option): moved from amd/getargs.c to this 510238494Sobrien more proper file. 510338494Sobrien 510438494Sobrien * include/am_utils.h: put in structure for debug options, for all 510538494Sobrien progams to use. 510638494Sobrien 510738494Sobrien * amd/get_args.c: moved structure for debug options out. 510838494Sobrien 510938494SobrienSun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 511038494Sobrien 511138494Sobrien * ported fixmount. 511238494Sobrien 511338494Sobrien * lib/ualarm.c: replacement function for systems that don't have a 511438494Sobrien ualarm(). 511538494Sobrien 511638494Sobrien * ported fsinfo. 511738494Sobrien 511838494SobrienSun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 511938494Sobrien 512038494Sobrien * ported mk-amd-map. 512138494Sobrien 512238494Sobrien * buildall: added -K option to buildall, to run mkconf. 512338494Sobrien 512438494SobrienFri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 512538494Sobrien 512638494Sobrien ******************************************************************* 512738494Sobrien *** Released am-utils-6.0a2 *** 512838494Sobrien ******************************************************************* 512938494Sobrien 513038494SobrienThu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 513138494Sobrien 513238494Sobrien * all *.[hcyl] files: add copyright line. 513338494Sobrien 513438494Sobrien * aux/macros/check_mount_type.m4: test for mount type for 513538494Sobrien linux-like systems, by checking for loadable or statically linked 513638494Sobrien kernel filesystem modules. 513738494Sobrien 513838494Sobrien * aux/macros/check_mnttab_type.m4: test for mount table entry 513938494Sobrien for linux-like systems, by checking for loadable or statically 514038494Sobrien linked kernel filesystem modules. 514138494Sobrien 514238494Sobrien * aux/configure.in: pcfs filesystems can use vfat type (linux) 514338494Sobrien 514438494Sobrien * aux/macros/check_fs_mntent.m4: test for filesystem existence for 514538494Sobrien linux-like systems, by checking for loadable or statically linked 514638494Sobrien kernel filesystem modules. 514738494Sobrien 514838494Sobrien * conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX 514938494Sobrien 9.0 header files. This should be removed when HPUX 9.0 is deemed 515038494Sobrien defunct. 515138494Sobrien 515238494Sobrien * aux/acconfig.h: set an undefined variable for having an extern 515338494Sobrien to clnt_sperrno(). 515438494Sobrien 515538494Sobrien * include/am_defs.h: define extern for clnt_sperrno() if needed. 515638494Sobrien 515738494Sobrien * aux/configure.in: test for extern clnt_sperrno(). 515838494Sobrien 515938494Sobrien * aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is 516038494Sobrien similar to irix. 516138494Sobrien 516238494Sobrien * aux/macros/check_mount_style.m4: use mount helper on HPUX. 516338494Sobrien 516438494Sobrien * aux/macros/check_mtype_type.m4: hpux's mount type is a char*, 516538494Sobrien not integer (but may be mapped to one later). 516638494Sobrien 516738494Sobrien * conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header 516838494Sobrien files. They have mount(2) and vfsmount(2) which don't take same 516938494Sobrien arguments, and they have string mount types MNTTYPE_* as well as 517038494Sobrien integer types MOUNT_*. So I need this new mount function to map 517138494Sobrien from string types to integer types for the vfsmount() function. 517238494Sobrien 517338494Sobrien * conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling 517438494Sobrien vfsmount(), call mount_hpux(). 517538494Sobrien 517638494SobrienThu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 517738494Sobrien 517838494Sobrien * lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if 517938494Sobrien both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined. 518038494Sobrien 518138494SobrienThu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 518238494Sobrien 518338494Sobrien * conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for 518438494Sobrien hpux. 518538494Sobrien 518638494Sobrien * include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h. 518738494Sobrien 518838494Sobrien * aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h. 518938494Sobrien 519038494Sobrien * buildall: added ability to configure using other shells than 519138494Sobrien /bin/sh, on those systems where /bin/sh is buggy or limited 519238494Sobrien (HPUX). 519338494Sobrien 519438494Sobrien * aux/macros/struct_nfs_fh.m4: reinstated the macro but have it 519538494Sobrien defined am_nfs_fh, and also test for plain typedef "nfs_fh". 519638494Sobrien 519738494Sobrien * aux/acconfig.h: #undef am_nfs_fh, which is being defined by a 519838494Sobrien reinstated macro. 519938494Sobrien 520038494Sobrien * aux/configure.in: check for <nfs/export.h> 520138494Sobrien 520238494Sobrien * include/am_defs.h: include <nfs/export.h> (HPUX) if exists. 520338494Sobrien 520438494Sobrien * aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if 520538494Sobrien exists. 520638494Sobrien 520738494Sobrien * aux/macros/mount_headers.m4 (define): removed some non-working 520838494Sobrien (on HPUX) code that attempts to recreate the fhandle_t rather than 520938494Sobrien load it up from system headers. Also added some NFS protocol 521038494Sobrien header inclusion. include <nfs/export.h> (HPUX) if exists. 521138494Sobrien 521238494SobrienWed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 521338494Sobrien 521438494Sobrien * aux/macros/mount_headers.m4 (define): Use M4 changequote to 521538494Sobrien ensure [] brackets are correctly used. 521638494Sobrien 521738494Sobrien * aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate 521838494Sobrien multi-line M4 inclusions in []. 521938494Sobrien 522038494SobrienTue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 522138494Sobrien 522238494Sobrien * conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if 522338494Sobrien it exists. 522438494Sobrien 522538494Sobrien * aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new 522638494Sobrien config.h macro for field f_fstypename of struct statfs. 522738494Sobrien 522838494Sobrien * aux/configure.in: testing for field f_fstypename field of struct 522938494Sobrien statfs (NetBSD). 523038494Sobrien 523138494Sobrien * aux/acconfig.h: moved all of the "static" definitions out to a 523238494Sobrien fixed file called include/am_defs.h. Added to all */Makefile.am 523338494Sobrien files a dependency on am_defs.h. Created am_defs.h of course, and 523438494Sobrien then added #include <amd_defs.h> to all of the source and header 523538494Sobrien files that required it. 523638494Sobrien 523738494SobrienMon Feb 24 01:27:02 1997 Erez Zadok <ezk@defiant.soscorp.com> 523838494Sobrien 523938494Sobrien * aux/acconfig.h: two more externals for xdr functions that may be 524038494Sobrien implemented by libamu. 524138494Sobrien 524238494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR 524338494Sobrien definitions. 524438494Sobrien 524538494SobrienSun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 524638494Sobrien 524738494Sobrien * buildall (default): added -D option for turning on even stricker 524838494Sobrien developer options. 524938494Sobrien 525038494Sobrien * */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to 525138494Sobrien determine dependencies on optional NFS protocol headers. 525238494Sobrien 525338494Sobrien * aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed. 525438494Sobrien 525538494Sobrien * aux/macros/check_nfs_prot_header.m4: new test to determine what 525638494Sobrien NFS protocol headers to use. 525738494Sobrien 525838494Sobrien * conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to 525938494Sobrien complete missing system headers for NFS protocol definitions. 526038494Sobrien 526138494SobrienSun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 526238494Sobrien 526338494Sobrien * amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in 526438494Sobrien #ifdef's as needed. 526538494Sobrien 526638494Sobrien * amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is 526738494Sobrien suitable #ifdef'ed. 526838494Sobrien 526938494Sobrien * include/am_compat.h: a couple more mnttab options 527038494Sobrien (timeo/retrans) setting just in case. 527138494Sobrien 527238494Sobrien * amd/autil.c (host_normalize): make sure hostent->h_name is 527338494Sobrien passed a non-const char *. 527438494Sobrien 527538494Sobrien * conf/mount/mount_linux.c (mount_linux): cleaned up a block of code. 527638494Sobrien 527738494Sobrien * {lib,amq,amd}/*.c (many functions): cast xdr_entry to 527838494Sobrien XDRPROC_T_TYPE. 527938494Sobrien 528038494Sobrien * lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to 528138494Sobrien XDRPROC_T_TYPE. 528238494Sobrien 528338494Sobrien * lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to 528438494Sobrien XDRPROC_T_TYPE. 528538494Sobrien 528638494Sobrien * lib/wire.c (getwire): Make sure safe assignment from const to 528738494Sobrien none is done. 528838494Sobrien 528938494SobrienSat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 529038494Sobrien 529138494Sobrien * aux/macros/expand_cpp_int.m4: new macro for expanding integers. 529238494Sobrien 529338494Sobrien * aux/configure.in: added linux/fs.h support in configure and 529438494Sobrien several M4 macros. 529538494Sobrien 529638494Sobrien * conf/mount/mount_linux.c (mount_linux): use macro instead of 529738494Sobrien "ugly" fixed hex number for mount() arguments. 529838494Sobrien 529938494SobrienSat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 530038494Sobrien 530138494Sobrien * amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and 530238494Sobrien turned all of its code always on. That code always seems to 530338494Sobrien compile, as long as you have hesiod and libresolv. 530438494Sobrien 530538494Sobrien * amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all 530638494Sobrien of its code always on. 530738494Sobrien 530838494Sobrien * aux/configure.in: removed superfluous test for hs_zone_transfer 530938494Sobrien function (will never find it because it is an amd-internal 531038494Sobrien function). 531138494Sobrien 531238494Sobrien * amd/mapc.c (maptypes): must used correct new name for am-utils' 531338494Sobrien hesiod initialization function: hesiod_am_init. 531438494Sobrien 531538494Sobrien * amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to 531638494Sobrien hesiod_am_init so as not to conflict with libhesiod's 531738494Sobrien hesiod_init() function. 531838494Sobrien 531938494Sobrien * aux/configure.in: added test and explicit inclusion of 532038494Sobrien libresolv.a for later resolution of library references with 532138494Sobrien libhesiod. 532238494Sobrien 532338494Sobrien * aux/macros/opt_cppflags.m4: new file. configure/compile C 532438494Sobrien preprocessor flags. 532538494Sobrien 532638494Sobrien * aux/macros/opt_libs.m4: new file. configure/compile library 532738494Sobrien flags. 532838494Sobrien 532938494Sobrien * Makefile.am (EXTRA_DIST_AUX): include two new macros 533038494Sobrien opt_cppflags.m4 and opt_libs.m4. 533138494Sobrien 533238494Sobrien * aux/configure.in: test for libhesiod needs to additional 533338494Sobrien libresolv to link completely. Additional configuration time 533438494Sobrien options added for setting initial CPPFLAGS and LIBS. 533538494Sobrien 533638494SobrienTue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 533738494Sobrien 533838494Sobrien ******************************************************************* 533938494Sobrien *** Released am-utils-6.0a1 *** 534038494Sobrien ******************************************************************* 534138494Sobrien 534238494SobrienThu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 534338494Sobrien 534438494Sobrien * amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that 534538494Sobrien it works on freebsd, where they map dbm_pagfno a non-existing 534638494Sobrien macro on purpose, to force you to port the code to Berkeley DB. 534738494Sobrien 534838494SobrienFri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 534938494Sobrien 535038494Sobrien * amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the 535138494Sobrien actual mount_toplvl, to avoid some possible race conditions. 535238494Sobrien 535338494SobrienThu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 535438494Sobrien 535538494Sobrien * amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code. 535638494Sobrien 535738494SobrienWed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 535838494Sobrien 535938494Sobrien * lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code) 536038494Sobrien 536138494Sobrien * amd/amd.c (main): fix local address using htonl(). Free up 536238494Sobrien buffers allocated by netdir_*() functions. 536338494Sobrien 536438494SobrienWed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 536538494Sobrien 536638494Sobrien * amd/fix-amd-map.in: new script that will convert old-style amd 536738494Sobrien maps to new one. 536838494Sobrien 536938494SobrienTue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 537038494Sobrien 537138494Sobrien * FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl, 537238494Sobrien and replies back to simple nfs/link type mount queries). 537338494Sobrien 537438494Sobrien * conf/mtab/mtab_svr4.c: reorganized the code in this file to be 537538494Sobrien easier to read, and fixed a few bugs with un/setting the lock file 537638494Sobrien descriptor. 537738494Sobrien 537838494SobrienWed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 537938494Sobrien 538038494Sobrien * amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older 538138494Sobrien signals in Svr3 systems. Only stellix ever used this. 538238494Sobrien 538338494Sobrien * amd/rpc_fwd.c (fwd_reply): removed all code that was triggered 538438494Sobrien by DYNAMIC_BUFFERS, since it was not in use. 538538494Sobrien 538638494SobrienTue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 538738494Sobrien 538838494Sobrien * amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer 538938494Sobrien takes '=' sign as old selector. Fix your maps. 539038494Sobrien (deslashify): removed APOLLO code that treated two '//' as one. 539138494Sobrien 539238494SobrienSun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 539338494Sobrien 539438494Sobrien * amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which 539538494Sobrien was not used. It made any submount error fail the whole group. 539638494Sobrien 539738494Sobrien * amd/ops_nfs.c (make_nfs_auth): removed code dependent on 539838494Sobrien HAS_NFS_QUALIFIED_NAMES. 539938494Sobrien (mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it 540038494Sobrien is never on. So code that was triggered by #ifndef 540138494Sobrien NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to 540238494Sobrien be fixed later. 540338494Sobrien Removed all ULTRIX_HACK code. Ultrix is DEAD! 540438494Sobrien removed all PRESET_AC code, which was only on for Linux to preset 540538494Sobrien the attribute cache values (otherwise they default to zero). 540638494Sobrien (nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will 540738494Sobrien have to fixed up later. 540838494Sobrien (mount_nfs_fh): removed code that was never included, which 540938494Sobrien attempted to set the port on which amd's nfs mounts on. This 541038494Sobrien isn't supported by the ping algorithm yet. In any case, it is all 541138494Sobrien done in nfs_init(). 541238494Sobrien 541338494Sobrien * amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh): 541438494Sobrien removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or 541538494Sobrien specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will 541638494Sobrien have to be addressed later. 541738494Sobrien 541838494Sobrien * amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent 541938494Sobrien on PRECISE_SYMLINKS. 542038494Sobrien 542138494Sobrien * amd/mapc.c (mapc_meta_search): removed code that depended on 542238494Sobrien HAS_DEPOT. It is known buggy code. The whole DEPOT support needs 542338494Sobrien to be rethought. 542438494Sobrien (mapc_add_kv): ported code to use standard regular expression 542538494Sobrien (regexp) library. 542638494Sobrien 542738494Sobrien * amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on 542838494Sobrien FLUSH_KERNEL_NAME_CACHE and the macro itself. 542938494Sobrien 543038494SobrienSat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 543138494Sobrien 543238494Sobrien * amd/map.c (exported_ap_alloc): removed all code triggered by 543338494Sobrien SHRINK_EXPORTED_AP and the macro itself. 543438494Sobrien 543538494Sobrien * amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code 543638494Sobrien in all the time. Assuming that there is always NIS realod 543738494Sobrien available. 543838494Sobrien (yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all() 543938494Sobrien function is broken such that it does not release filedescriptors 544038494Sobrien it created, then you are hosed. Get a fix for yp_all from your 544138494Sobrien vendor or switch operating systems. 544238494Sobrien 544338494SobrienTue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 544438494Sobrien 544538494Sobrien * amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to 544638494Sobrien HAVE_HS_ZONE_TRANSFER. 544738494Sobrien 544838494SobrienMon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 544938494Sobrien 545038494Sobrien * amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is 545138494Sobrien always included. We should always try to inform the remove mount 545238494Sobrien daemon of mounts we performed. If we want an option for this, it 545338494Sobrien should be a run-time option. 545438494Sobrien 545538494Sobrien * amd/host_ops.c: removed all that optionally did not make the 545638494Sobrien directory mount points for amd. 545738494Sobrien 545838494Sobrien * HOST_EXEC code removed from everywhere. There is no indication 545938494Sobrien that it was used anywhere. If it needs to be used, then a 546038494Sobrien run-time switch should control it. 546138494Sobrien 546238494SobrienThu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 546338494Sobrien 546438494Sobrien * amd/*_ops.c: removed all references to mntent_t's fields 546538494Sobrien mnt_freq and mnt_passno, since they are no longe rused (and never 546638494Sobrien have been). 546738494Sobrien 546838494Sobrien * amd/am_ops.c: removed function sunos4_match, which was off 546938494Sobrien anyway. This was one of the places where an '=' sign was allowed 547038494Sobrien as an assignment operator (which is now ':='). 547138494Sobrien 547238494Sobrien * amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which 547338494Sobrien was off anyway. This was one of the places where an '=' sign was 547438494Sobrien allowed as an assignment operator (which is now ':='). 547538494Sobrien 547638494SobrienTue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 547738494Sobrien 547838494Sobrien * amq/amq.c: ported to am-utils. Working. 547938494Sobrien 548038494Sobrien * conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4 548138494Sobrien to be string, as it should be (rather than a string mapped to int 548238494Sobrien and back mapped to string). 548338494Sobrien 548438494SobrienSun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 548538494Sobrien 548638494Sobrien * lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code. 548738494Sobrien 548838494Sobrien * lib/umount_fs.c: split this into three files: default, osf, and 548938494Sobrien bsd44, that are in conf/umount/umount_*.c. 549038494Sobrien 549138494SobrienThu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 549238494Sobrien 549338494Sobrien * aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new 549438494Sobrien macro to automatically figure out if an external definition for 549538494Sobrien sys_errlist[] exists. 549638494Sobrien 549738494Sobrien * lib/xutil.c (xfree): removed "#undef free" because it's not 549838494Sobrien needed there. Any system that redefines free() needs help. 549938494Sobrien 550038494Sobrien * conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that 550138494Sobrien was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be 550238494Sobrien in active use anywhere. If added later, it should be a run-time 550338494Sobrien configuration option. 550438494Sobrien 550538494Sobrien * conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to 550638494Sobrien be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables 550738494Sobrien in a file in /etc. 550838494Sobrien 550938494Sobrien * lib/util.c (str3cat): removed _AIX code. AIX should have a 551038494Sobrien working realloc, or else find a cleaner solution to this. 551138494Sobrien (mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync() 551238494Sobrien after immediately making directories so that fsck will be able to 551338494Sobrien fix the filesystem in the event of an immediate crash. This was 551438494Sobrien because a bug in UFS which is fixed by now. 551538494Sobrien 551638494Sobrien * lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered 551738494Sobrien code. Does not appear to be on and used anywhere. 551838494Sobrien (dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now. 551938494Sobrien 552038494Sobrien * lib/resvport.c: split the binding of reserved ports code to a 552138494Sobrien separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4) 552238494Sobrien from the BSD code. 552338494Sobrien 552438494SobrienThu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 552538494Sobrien 552638494Sobrien * lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled 552738494Sobrien in by automake and configure, for optional sources that need to be 552838494Sobrien built as part of libamu.a. 552938494Sobrien 553038494Sobrien * aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o 553138494Sobrien to LIBOBJS. 553238494Sobrien 553338494Sobrien * lib/memcmp.c (memcmp): new file added to replace a possible bad 553438494Sobrien implementation of memcmp. 553538494Sobrien 553638494SobrienWed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 553738494Sobrien 553838494Sobrien * converted the sources to use memset/memmove/memcmp instead of 553982794Sobrien bzero/bcopy/bcmp. 554038494Sobrien 554138494Sobrien * ran all sources through gnu Indent w/ options specified in 554238494Sobrien aux/amindent. 554338494Sobrien 554438494SobrienWed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 554538494Sobrien 554638494Sobrien * At this point the initial genration of config.h via autoconf and 554738494Sobrien some preliminary makefiles via automake is done. I will not begin 554838494Sobrien modifying sources, so it's a good time to document from here. 554982794Sobrien 555082794SobrienWed Dec 10 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 555182794Sobrien 555282794Sobrien ******************************************************************* 555382794Sobrien *** Initial ChangeLog Entry *** 555482794Sobrien ******************************************************************* 5555