ChangeLog revision 52894
152894Sobrien1999-10-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 252894Sobrien 352894Sobrien * released snapshot am-utils-6.0.3s1 452894Sobrien 552894Sobrien1999-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 652894Sobrien 752894Sobrien * amd/amd.c (main): On AIX you must lower the stack size using 852894Sobrien ulimit() before calling plock. Otherwise plock will reserve a lot 952894Sobrien of memory space based on your maximum stack size limit. Since it 1052894Sobrien is not easily possible to tell what should the limit be, I print a 1152894Sobrien warning before calling plock(). See the manual pages for 1252894Sobrien ulimit(1,3,4) on your AIX system. 1352894Sobrien 1452894Sobrien * include/am_defs.h: define default extern for vsnprintf() 1552894Sobrien 1652894Sobrien * aux/configure.in: check for extern definition for vsnprintf() 1752894Sobrien 1852894Sobrien1999-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1952894Sobrien 2052894Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): patch from Nick Williams 2152894Sobrien <njw@ms.com>. SYMPTOMS: 'occasionally' sublinks do not point to 2252894Sobrien the correct location, but to the top level of the mountpoint and 2352894Sobrien an (error-hook) is seen being mounted in the log file. This causes 2452894Sobrien things to Go Wrong(TM). 2552894Sobrien CAUSE: When evaluating two locations which are requested 2652894Sobrien 'practically simultaneously', and the two locations resolve to the 2752894Sobrien same NFS mountpoint (but different sublinks), the later request 2852894Sobrien will be "deferred" and retried after wakeup when the first mount 2952894Sobrien succeeds. To do this, it rewinds the options location string to 3052894Sobrien re-evaluate the location when the mount is retried. However, it 3152894Sobrien shouldn't rewind the options for two reasons: (a) the semantics of 3252894Sobrien the map language say you shouldn't and (b) the NFS mount reference 3352894Sobrien is not reset at the same time, meaning that on the retry it will 3452894Sobrien have an options structure out-of-sync with the mount 3552894Sobrien structure. The "shortcut" code when retrying the mount sees the 3652894Sobrien mount structure is already filled in and does not fully evaluate 3752894Sobrien the options structure.... so if the first location is not the one 3852894Sobrien which ties in with the mountpoint (see ordering in the 3952894Sobrien recreate-by), you're now well messed up. 4052894Sobrien 4152894Sobrien * BUGS: mention aix4.3 plock() bug (memory usage blows up and 4252894Sobrien plock fails) 4352894Sobrien 4452894Sobrien1999-10-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4552894Sobrien 4652894Sobrien * aux/GNUmakefile: certain files should be copied if they are 4752894Sobrien newer, not also if they are bigger: install-sh, ltconfig, 4852894Sobrien ltmain.sh, mdate-sh, missing, mkinstalldirs, and texinfo.tex. 4952894Sobrien 5052894Sobrien * minor new port: i586-pc-linux-gnu-rh6.1 (RedHat Linux 6.1) 5152894Sobrien 5252894Sobrien1999-10-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5352894Sobrien 5452894Sobrien * aux/macros/check_nfs_prot_headers.m4: prepare for OSF-5. 5552894Sobrien 5652894Sobrien * aux/macros/check_nfs_fh_dref.m4: prepare for Tru64, aka OSF-5. 5752894Sobrien 5852894Sobrien1999-09-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5952894Sobrien 6052894Sobrien ******************************************************************* 6152894Sobrien *** Released am-utils-6.0.2 *** 6252894Sobrien ******************************************************************* 6352894Sobrien 6452894Sobrien1999-09-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 6552894Sobrien 6652894Sobrien * conf/mount/mount_linux.c (mount_linux): print the updated mount 6752894Sobrien flags. 6852894Sobrien 6952894Sobrien * doc/am-utils.texi: document $full_os and $vendor. 7052894Sobrien 7152894Sobrien * scripts/amd.conf-sample: examples of $full_os and $vendor. 7252894Sobrien 7352894Sobrien * scripts/amd.conf.5: document $full_os and $vendor. 7452894Sobrien 7552894Sobrien * amd/conf.c: add support for $full_os and $vendor. 7652894Sobrien 7752894Sobrien1999-09-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 7852894Sobrien 7952894Sobrien * doc/am-utils.texi (netgrp Selector Function): don't give 8052894Sobrien examples with old single '=' assignment variable. Use foo:=bar. 8152894Sobrien 8252894Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): corectly indent long 8352894Sobrien comment describing this complex function. 8452894Sobrien 8552894Sobrien * doc/Makefile.am (alldocs): do install-ps last (because distiller 8652894Sobrien is slow) and install-html next to last (because texi2html is also 8752894Sobrien slow). 8852894Sobrien 8952894Sobrien * amd/amd.8: Major fixes to the description of the option -t 9052894Sobrien timeout.retransmit. 9152894Sobrien 9252894Sobrien * doc/am-utils.texi: better description of "trace" debug option. 9352894Sobrien amd -H (not -v) shows log_options and debug_options. Major fixes 9452894Sobrien to the description of amd -t timeout.retransmit, and the amd.conf 9552894Sobrien parameters nfs_retransmit_counter and nfs_retry_interval. 9652894Sobrien 9752894Sobrien * scripts/amd.conf.5: better description of "trace" debug option. 9852894Sobrien amd -H (not -v) shows log_options and debug_options. Major fixes 9952894Sobrien to the description of the parameters nfs_retransmit_counter and 10052894Sobrien nfs_retry_interval. 10152894Sobrien 10252894Sobrien1999-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 10352894Sobrien 10452894Sobrien * doc/am-utils.texi (Automount Filesystem): cache:= is not a mount 10552894Sobrien option, but a mount map option. 10652894Sobrien 10752894Sobrien * libamu/xutil.c (switch_to_logfile): log the name of the log file 10852894Sobrien we switched into, after the log file had been [re]opened. 10952894Sobrien 11052894Sobrien1999-09-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 11152894Sobrien 11252894Sobrien * amd/mapc.c (mapc_reload_map): count and show the number of times 11352894Sobrien a map was reloaded. Only reload a map if its modify-time was 11452894Sobrien updated. But amq -f forced a reload no matter what. 11552894Sobrien 11652894Sobrien * amd/amd.h: new flag to struct mnt_map to count number of times a 11752894Sobrien map was reloaded. 11852894Sobrien 11952894Sobrien * amd/mapc.c (mapc_reload_map): attempt to reload the map without 12052894Sobrien losing current data by reloading into a temp copy, and switching 12152894Sobrien the hashes round only if the reload was successful. Patch from Jon 12252894Sobrien Peatfield <J.S.Peatfield@damtp.cam.ac.uk>. 12352894Sobrien (mapc_sync): mapc_reload_map() always succeeds. 12452894Sobrien 12551591Sobrien1999-09-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 12651591Sobrien 12752894Sobrien * amd/info_ldap.c (amu_ldap_rebind): don't busy-loop trying to 12852894Sobrien rebind to an LDAP server forever. Try up to 10 times. 12952894Sobrien 13052894Sobrien * fsinfo/fsi_lex.l (yyerror): rework code that will never happen 13152894Sobrien 13251591Sobrien * released snapshot am-utils-6.0.2s2 13351591Sobrien 13451591Sobrien * aux/configure.in: bumped library version-info to 3:2:1, since 13551591Sobrien some libamu code got changed. 13651591Sobrien 13751591Sobrien * libamu/xutil.c (real_plog): use vsnprintf, not vsprintf, which 13851591Sobrien is better and more secure. Fix from "David O'Brien" 13951591Sobrien <obrien@NUXI.com>. 14051591Sobrien 14151591Sobrien * aux/configure.in: check for vsnprintf. 14251591Sobrien 14351591Sobrien1999-09-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 14451591Sobrien 14551591Sobrien * aux/macros/linux_headers.m4: use AC_MSG_ERROR. 14651591Sobrien 14751591Sobrien * aux/macros/opt_{cppflags,ldflags,libs,amu_cflags}.m4: the ARG is 14851591Sobrien not optional. Make sure ARG is supplied else flag an error. 14951591Sobrien 15051591Sobrien1999-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 15151591Sobrien 15251591Sobrien * minor port i386-unknown-freebsdelf3.3 15351591Sobrien 15451591Sobrien * released snapshot am-utils-6.0.2s1 15551591Sobrien 15651591Sobrien1999-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 15751591Sobrien 15851591Sobrien * aux/configure.in (AC_CHECK_FUNCS): check for getitimer(). 15951591Sobrien 16051591Sobrien * include/am_defs.h: extern definition for getitimer(). 16151591Sobrien 16251591Sobrien * aux/configure.in: use AC_CHECK_EXTERNS. Look for getitimer() 16351591Sobrien extern. 16451591Sobrien 16551591Sobrien * aux/macros/check_extern.m4: define a simple AC_CHECK_EXTERNS 16651591Sobrien that calls AC_CHECK_EXTERN in a loop. This saves repeated code in 16751591Sobrien configure. 16851591Sobrien 16951591Sobrien * aux/macros/type_auth_create_gidlist.m4: AIX 4.x systems use 17051591Sobrien 'int' as the 5th arg to authunix_create(). 17151591Sobrien 17251591Sobrien * aux/macros/type_recvfrom_fromlen.m4: all AIX 4.x systems use a 17351591Sobrien size_t for the 6th arg of recvfrom(). 17451591Sobrien 17551591Sobrien * aux/macros/os_cflags.m4: define _XOPEN_EXTENDED_SOURCE for 17651591Sobrien aix4.x systems. 17751591Sobrien 17851591Sobrien * libamu/mount_fs.c (print_nfs_args): cast some values to int, to 17951591Sobrien avoid gcc -Wall errors. 18051591Sobrien 18151591Sobrien * scripts/expn.in: use sockaddr_in(), not pack() to correctly fill 18251591Sobrien in a struct sockaddr_in. On Solaris x86 hosts, using pack() 18351591Sobrien results in byte-misaligned values. Bug fix from Jeffrey C Honig 18451591Sobrien <jch@BSDI.COM>. 18551591Sobrien 18651591Sobrien * libamu/mount_fs.c (compute_automounter_mount_flags): turn on 18751591Sobrien automntfs (ignore on bsdi-4.1) flag. 18851591Sobrien (compute_automounter_nfs_args): ditto. 18951591Sobrien 19051591Sobrien * aux/acconfig.h: add new flag for automntfs (ignore) 19151591Sobrien 19251591Sobrien * aux/configure.in: check for new automntfs flag (bsdi-4.1). 19351591Sobrien 19451591Sobrien1999-09-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 19551591Sobrien 19651591Sobrien * MIRRORS: added new site in Germany. Updated status of umn.edu 19751591Sobrien and ferginc.com, who may no longer be mirroring am-utils. 19851591Sobrien 19951292Sobrien1999-09-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 20051292Sobrien 20151292Sobrien ******************************************************************* 20251292Sobrien *** Released am-utils-6.0.1 *** 20351292Sobrien ******************************************************************* 20451292Sobrien 20551292Sobrien1999-09-08 Erez Zadok <ezk@cs.columbia.edu> 20651292Sobrien 20751292Sobrien * aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct 20851292Sobrien netexport defined. 20951292Sobrien 21051292Sobrien * aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and 21151292Sobrien struct netexport defined. 21251292Sobrien 21351292Sobrien1999-09-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 21451292Sobrien 21551292Sobrien * aux/macros/check_field.m4 (ac_upcase_var_name): include 21651292Sobrien <ifaddrs.h> so we can detect fields within struct ifaddrs. 21751292Sobrien 21851292Sobrien * libamu/wire.c (getwire): bsdi-2.1 uses a second arg to 21951292Sobrien getifaddrs() and struct ifaddrs has no ifa_next field. 22051292Sobrien 22151292Sobrien * aux/configure.in: check if 'struct ifaddrs' has a field 22251292Sobrien ifa_next. 22351292Sobrien 22451292Sobrien * include/amq_defs.h (AMQ_STRLEN): double size of amq string 22551292Sobrien length to 2048 bytes. 22651292Sobrien 22751292Sobrien * conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs 22851292Sobrien header files and ufs/ufs/ufsmount.h. Bug reported by <Christos 22951292Sobrien Zoulas> christos@zoulas.com. 23051292Sobrien 23151292Sobrien * aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>. 23251292Sobrien Bug reported by <Christos Zoulas> christos@zoulas.com. 23351292Sobrien 23451292Sobrien * aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h> 23551292Sobrien 23651292Sobrien1999-09-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 23751292Sobrien 23851292Sobrien * libamu/xutil.c (expand_error): use strerror if available instead 23951292Sobrien of sys_errlist. Bug reported by <Christos Zoulas> 24051292Sobrien christos@zoulas.com. 24151292Sobrien 24251292Sobrien * hlfsd/hlfsd.c (fatal): use strerror if available instead of 24351292Sobrien sys_errlist. 24451292Sobrien 24551292Sobrien * amq/amq.c (show_mi): use strerror if available instead of 24651292Sobrien sys_errlist. 24751292Sobrien 24851292Sobrien * aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4 24951292Sobrien nfs_prot header is used for any future (1.5 etc.) netbsd systems. 25051292Sobrien 25151292Sobrien * amq/pawd.c (find_mt): check for type nfsl as well. Fix from 25251292Sobrien "Andrew J. Korty" <ajk@purdue.edu> 25351292Sobrien 25451292Sobrien1999-08-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 25551292Sobrien 25651292Sobrien * doc/am-utils.texi (Supported Platforms): updates for redhat 25751292Sobrien systems. 25851292Sobrien 25951292Sobrien * INSTALL: updates for redhat systems. 26051292Sobrien 26151292Sobrien * libamu/wire.c (getwire_lookup): spell "succeeded" correctly 26251292Sobrien 26351292Sobrien1999-08-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 26451292Sobrien 26551292Sobrien * scripts/ctl-amd.in: sleep 1 second between killing amd and 26651292Sobrien restarting it, because amq may respond that amd is down, where in 26751292Sobrien fact it is still trying to unmount itself after unmapping itself 26851292Sobrien from the portmapper. 26951292Sobrien 27051292Sobrien * aux/config.guess.long: new script to print long version of 27151292Sobrien config.guess output. 27251292Sobrien 27351292Sobrien * buildall (host_alias): use long version of config.guess. 27451292Sobrien 27551292Sobrien1999-08-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 27651292Sobrien 27751292Sobrien * scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop 27851292Sobrien scripts. 27951292Sobrien 28051292Sobrien1999-08-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 28151292Sobrien 28251292Sobrien * released snapshot am-utils-6.0.1s11 28351292Sobrien 28451292Sobrien * libamu/xutil.c (expand_error): make sure expanding the string 28551292Sobrien with textual version of errno doesn't overrun the 1024 bytes 28651292Sobrien buffer. 28751292Sobrien (real_plog): null terminate msg, just in case. 28851292Sobrien 28951292Sobrien * amq/amq.c (main): don't getopt -M option and don't process it 29051292Sobrien unless ENABLE_AMQ_MOUNT is on. 29151292Sobrien 29251292Sobrien * amd/amq_svc.c (amq_program_1): all code that relates to amq -M 29351292Sobrien is conditional on #ifdef ENABLE_AMQ_MOUNT. 29451292Sobrien 29551292Sobrien * amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked 29651292Sobrien when amq -M code is disabled. Not taking any chances. 29751292Sobrien 29851292Sobrien1999-08-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 29951292Sobrien 30051292Sobrien * released snapshot am-utils-6.0.1s10 30151292Sobrien 30251292SobrienSun Aug 22 16:18:59 1999 Erez Zadok <ezk@subzero.cs.columbia.edu> 30351292Sobrien 30451292Sobrien * libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on 30551292Sobrien 128.59.16.0), try to shift the network out of zeros (e.g., 30651292Sobrien 128.59.16) and try again. Irix 6.4 requires short network 30751292Sobrien numbers. 30851292Sobrien 30951292Sobrien1999-08-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 31051292Sobrien 31151292Sobrien * libamu/wire.c (getwire_lookup): correctly compute subnet using 31251292Sobrien netmask. 31351292Sobrien 31451292Sobrien * libamu/mount_fs.c (compute_automounter_nfs_args): require that 31551292Sobrien Amd's own NFS mounts use reserved ports (if possible). IP packet 31651292Sobrien security fix from Jeffrey C Honig <jch@BSDI.COM>. 31751292Sobrien 31851292Sobrien * conf/transp/transp_tli.c (create_autofs_service): use correct 31951292Sobrien autofs_port. IP packet security fix from Jeffrey C Honig 32051292Sobrien <jch@BSDI.COM>. 32151292Sobrien 32251292Sobrien * conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary 32351292Sobrien function. IP packet security fix from Jeffrey C Honig 32451292Sobrien <jch@BSDI.COM>. 32551292Sobrien (create_nfs_service): use bind_resv_port() directly. ensure that 32651292Sobrien privileged ports are used. IP packet security fix from Jeffrey C 32751292Sobrien Honig <jch@BSDI.COM>. 32851292Sobrien 32951292Sobrien * amd/nfs_prot_svc.c (nfs_program_2): verify that requests come 33051292Sobrien from reserved ports and from a local IP address. IP packet 33151292Sobrien security fix from Jeffrey C Honig <jch@BSDI.COM>. 33251292Sobrien 33351292Sobrien * amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of 33451292Sobrien hard-coded 1024. IP packet security fix from Jeffrey C Honig 33551292Sobrien <jch@BSDI.COM>. 33651292Sobrien (amqproc_mount_1_svc): provide information on the caller making an 33751292Sobrien amq -M request. IP packet security fix from Jeffrey C Honig 33851292Sobrien <jch@BSDI.COM>. 33951292Sobrien 34051292Sobrien * amd/map.c (free_map_if_success): If the program doing an unmount 34151292Sobrien of a program filesystem fails, amd tries to interpret the return 34251292Sobrien code as an errno. Fix from Jeffrey C Honig <jch@BSDI.COM>. 34351292Sobrien 34451292Sobrien * amd/info_nis.c (determine_nis_domain): don't always print 34551292Sobrien warning about NIS domain name not being set, even if NIS is not in 34651292Sobrien use. 34751292Sobrien 34851292Sobrien1999-08-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 34951292Sobrien 35051292Sobrien * amd/info_ldap.c (get_ldap_timestamp): initialize variable err. 35151292Sobrien (amu_ldap_search): initialize variable err. 35251292Sobrien 35351292Sobrien1999-08-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 35451292Sobrien 35551292Sobrien * libamu/wire.c: written using getifaddrs() for BSD systems, 35651292Sobrien contributed by BSDI, Jeffrey C Honig <jch@BSDI.COM>). 35751292Sobrien 35851292Sobrien1999-08-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 35951292Sobrien 36051292Sobrien * include/am_utils.h (SALLOC): a simple macro to allocate N bytes. 36151292Sobrien 36251292Sobrien * aux/configure.in: check for irs.h and ifaddrs.h. 36351292Sobrien Increase libamu.so --version-info to 3:1:1 since we've changed the 36451292Sobrien source code for the library. 36551292Sobrien Check for getifaddrs() function. 36651292Sobrien 36751292Sobrien1999-08-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 36851292Sobrien 36951292Sobrien * libamu/mount_fs.c (print_nfs_args): print fields namlen and 37051292Sobrien bsize if they exist. 37151292Sobrien 37251292Sobrien * conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen 37351292Sobrien and ->bsize fields correctly, if those fields exist. This is a 37451292Sobrien bug in that amd neglected to set these fields, but told the 37551292Sobrien kernel it is mounting the nfs_args_t structure using mount version 37651292Sobrien 3 (which requires both bsize and namlen fields). 37751292Sobrien 37851292Sobrien * aux/configure.in: test for two new nfs_args_t fields (used on 37951292Sobrien newer linux with mount versions 2 and 3): bsize and namlen. 38051292Sobrien 38151292Sobrien * doc/am-utils.texi (netgrpd Selector Function): document new 38251292Sobrien selector function. 38351292Sobrien 38451292Sobrien * amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to 38551292Sobrien test if the current host (fully-qualified name) is in the ARG host 38651292Sobrien netgroup. The netgrp() function uses the short form of a host 38751292Sobrien name. Patch from Christophe Kalt <Christophe-Kalt@deshaw.com>. 38851292Sobrien 38951292Sobrien * doc/am-utils.texi (automount2amd): document new script. 39051292Sobrien 39151292Sobrien * scripts/Makefile.am: create, install, and distribute 39251292Sobrien automount2amd perl script and its man page. 39351292Sobrien 39451292Sobrien * scripts/automount2amd.8: new man page for automount2amd. 39551292Sobrien 39651292Sobrien * scripts/automount2amd.in: new file, contributed a in 1993 by 39751292Sobrien Mike Walker <mike@tab00.larc.nasa.gov>. Fixed to use addopts for 39851292Sobrien any automount map options specified. 39951292Sobrien 40051292Sobrien1999-08-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 40151292Sobrien 40251292Sobrien * released snapshot am-utils-6.0.1s9 40351292Sobrien 40451292Sobrien1999-08-09 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 40551292Sobrien 40651292Sobrien * amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to 40751292Sobrien 1. 40851292Sobrien (amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0. 40951292Sobrien (amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of 41051292Sobrien (u_int)~0. 41151292Sobrien 41251292Sobrien * amd/mapc.c (make_entry_chain): NFS cookies should be 41351292Sobrien monotonically increasing, because Linux 2.3 expects that, even 41451292Sobrien though it is not in the spec (RFC-1094) for NFS V2. 41551292Sobrien 41651292Sobrien1999-08-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 41751292Sobrien 41851292Sobrien * aux/macros/check_lib_funcs.m4: removed unused macro. 41951292Sobrien 42051292Sobrien * aux/macros/linux_headers.m4: new macro to ensure that linux 42151292Sobrien kernel headers match running kernel version. 42251292Sobrien 42351292Sobrien * aux/acconfig.h: define HOST_HEADER_VERSION so we can check if 42451292Sobrien amd is configured on linux hosts that run one kernel but have 42551292Sobrien headers for a different version. 42651292Sobrien 42751292Sobrien * amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the 42851292Sobrien logic which uses nis_isup and has_yp_order. Make sure it is used 42951292Sobrien correctly , esp. for NIS+ in NIS-compatibility mode. Bug fix from 43051292Sobrien Peter Breitenlohner <peb@mppmu.mpg.de>. 43151292Sobrien 43251292Sobrien * include/am_defs.h: fix conflicts on linux 2.2 systems with older 43351292Sobrien libc5. Bug fix from Peter Breitenlohner <peb@mppmu.mpg.de>. 43451292Sobrien 43551292Sobrien * scripts/lostaltmail.in: use sockaddr_in(), not pack() to 43651292Sobrien correctly fill in a struct sockaddr_in. On Solaris x86 hosts, 43751292Sobrien using pack() results in byte-misaligned values. 43851292Sobrien 43951292Sobrien1999-08-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 44051292Sobrien 44151292Sobrien * conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3 44251292Sobrien mounting, as per Dale Talcott <aeh@quest.cc.purdue.edu>. Also use 44351292Sobrien better macros for case statement. 44451292Sobrien 44551292Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures 44651292Sobrien unless ldap is actually available. 44751292Sobrien 44851292Sobrien * use updated config.guess and config.sub. Use newer automake 44951292Sobrien that fixes problems with distributing optional libamu files 45051292Sobrien (clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c, 45151292Sobrien and ualarm.c) 45251292Sobrien 45351292Sobrien1999-07-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 45451292Sobrien 45551292Sobrien * minor port i386-unknown-openbsd2.5 45651292Sobrien 45751292Sobrien1999-07-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 45851292Sobrien 45951292Sobrien * minor ports to freebsdelf 3.[0-2] and 4.0 completed 46051292Sobrien 46151292Sobrien * aux/macros/check_nfs_prot_headers.m4: support freebsdelf 46251292Sobrien 46351292Sobrien * aux/macros/check_nfs_socket_connection.m4: support freebsdelf 46451292Sobrien 46551292Sobrien1999-06-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 46651292Sobrien 46751292Sobrien * released snapshot am-utils-6.0.1s8 46851292Sobrien 46951292Sobrien1999-06-23 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 47051292Sobrien 47151292Sobrien * include/am_defs.h: avoid various header conflicts on 47251292Sobrien RedHat/Linux 6.0 and kernels 2.2.10 or newer. 47351292Sobrien 47451292Sobrien * aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and 47551292Sobrien kernel 2.2.10) 47651292Sobrien 47751292Sobrien * amd/amfs_program.c (amfs_program_exec): make sure logfp is 47851292Sobrien initialized dynamically to stderr if needed. 47951292Sobrien 48051292Sobrien * libamu/xutil.c (dplog): make sure logfp is initialized 48151292Sobrien dynamically to stderr if needed. 48251292Sobrien (plog): ditto. 48351292Sobrien 48451292Sobrien * amd/amfs_program.c (amfs_program_exec): set logfp to stderr if 48551292Sobrien not initialized. 48651292Sobrien 48751292Sobrien * libamu/xutil.c: don't initialize logfp statically to stderr, 48851292Sobrien because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer 48951292Sobrien be manipulated like a variable. 49051292Sobrien 49151292Sobrien * include/am_defs.h: avoid more conflicts between <linux/fs.h> and 49251292Sobrien <sys/mount.h> on 2.2 linux kernels. 49351292Sobrien include <db1/ndbm.h> as needed (RedHat/Linux 6.0) 49451292Sobrien 49551292Sobrien1999-04-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 49651292Sobrien 49751292Sobrien * all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS) 49851292Sobrien 49951292Sobrien * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER): 50051292Sobrien renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake 50151292Sobrien won't attempt to add it to the header files to distribute. 50251292Sobrien 50351292Sobrien1999-04-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 50451292Sobrien 50551292Sobrien * aux/GNUmakefile: invoke aclocal with new --altdir flag. 50651292Sobrien 50751292Sobrien1999-04-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 50851292Sobrien 50951292Sobrien * minor new port: i386-unknown-netbsd1.4 (ALPHA) 51051292Sobrien 51151292Sobrien * aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h> 51251292Sobrien and <isofs/cd9660/cd9660_mount.h> because they are also included 51351292Sobrien from MOUNT_HEADERS. Causes multiple inclusion of unprotected 51451292Sobrien headers on netbsd-1.4_ALPHA. 51551292Sobrien 51651292Sobrien1999-04-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 51751292Sobrien 51851292Sobrien * aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's 51951292Sobrien sys_errlist extern doesn't end with []. 52051292Sobrien 52151292Sobrien * aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support. 52251292Sobrien 52351292Sobrien1999-04-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 52451292Sobrien 52551292Sobrien * newer automake wants texinfo.tex to be in aux/ not doc/ 52651292Sobrien 52751292Sobrien1999-03-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 52851292Sobrien 52951292Sobrien * amd/conf_parse.y: alloca support. 53051292Sobrien 53151292Sobrien * fsinfo/fsi_gram.y: alloca support. 53251292Sobrien 53351292Sobrien * libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if 53451292Sobrien needed. 53551292Sobrien 53651292Sobrien * aux/configure.in: test for alloca support. Needed because bison 53751292Sobrien generates parsers that use alloca, and hpux9 does have alloca and 53851292Sobrien its /bin/cc doesn't support it builtin (the way gcc does). 53951292Sobrien 54051292Sobrien * libamu/alloca.c: new file, needed on hpux9 with /bin/cc. Taken 54151292Sobrien verbatim from bison-1.25. 54251292Sobrien 54351292Sobrien * include/am_defs.h: fixed typo #errir -> #error 54451292Sobrien 54551292Sobrien * released snapshot am-utils-6.0.1s7 54651292Sobrien 54751292Sobrien * README.y2k: more information about am-utils' compatibility, from 54851292Sobrien Paul Balyoz <pbalyoz@sedona.ch.intel.com>. 54951292Sobrien 55051292Sobrien * scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K 55151292Sobrien compliant format. Patch from Paul Balyoz 55251292Sobrien <pbalyoz@sedona.ch.intel.com> 55351292Sobrien 55451292Sobrien * doc/am-utils.texi (Supported Platforms): hpux10.20 could have 55551292Sobrien nfs v.3 support (with some vendor patches), but it is turned off. 55651292Sobrien 55751292Sobrien * aux/macros/os_cflags.m4: use ansi compiler options on hpux. 55851292Sobrien 55951292Sobrien * conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid 56051292Sobrien confusing am-utils. 10.20 with some patches has incomplete 56151292Sobrien support. Patch from Jon Peatfield 56251292Sobrien <J.S.Peatfield@damtp.cam.ac.uk>. 56351292Sobrien 56451292Sobrien1999-03-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 56551292Sobrien 56651292Sobrien * minor port i386-pc-bsdi4.0.1 56751292Sobrien 56851292Sobrien1999-03-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 56951292Sobrien 57051292Sobrien * doc/am-utils.texi (Supported Platforms): add forgotten listing 57151292Sobrien for powerpc-linux. 57251292Sobrien 57351292Sobrien1999-03-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 57451292Sobrien 57551292Sobrien * scripts/amd.conf.5: fix typo. From Jeffrey C Honig 57651292Sobrien <jch@BSDI.COM>. 57751292Sobrien 57851292Sobrien * doc/am-utils.texi: document iso9660 options norrip, gens, and 57951292Sobrien extatt. 58051292Sobrien (opts Option): documented dumbtimr and noauto options. From 58151292Sobrien Jeffrey C Honig <jch@BSDI.COM>. 58251292Sobrien 58351292Sobrien * include/am_compat.h: define default strings for options norrip, 58451292Sobrien gens, and extatt. 58551292Sobrien 58651292Sobrien * amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and 58751292Sobrien extatt. 58851292Sobrien 58951292Sobrien * aux/macros/mount_headers.m4: also include 59051292Sobrien <isofs/cd9660/cd9660_mount.h> as needed. 59151292Sobrien 59251292Sobrien * aux/configure.in: check for isofs mount options for bsdi4: 59351292Sobrien norrip, gens, and extatt. Reported by Jeffrey C Honig 59451292Sobrien <jch@BSDI.COM>. 59551292Sobrien 59651292Sobrien * aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags 59751292Sobrien (bsdi4). 59851292Sobrien 59951292Sobrien1999-03-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 60051292Sobrien 60151292Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: ditto. 60251292Sobrien 60351292Sobrien * conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>, 60451292Sobrien for bsdi4, as per Jeffrey C Honig <jch@BSDI.COM>. 60551292Sobrien 60651292Sobrien1999-03-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 60751292Sobrien 60851292Sobrien * get latest copies of config.guess, config.sub, ltconfig, and 60951292Sobrien ltmain.sh from libtool-1.2f. 61051292Sobrien 61151292Sobrien * all Makefile.am: don't use continuation lines (using \) for 61251292Sobrien short lists of files. 61351292Sobrien 61451292Sobrien * libamu/Makefile.am (DISTCLEANFILES): make distclean should 61551292Sobrien remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c. 61651292Sobrien Reported by Jeffrey C Honig <jch@BSDI.COM>. 61751292Sobrien 61851292Sobrien * fixmount/Makefile.am (DISTCLEANFILES): make distclean should 61951292Sobrien remove checkmount.c. Reported by Jeffrey C Honig <jch@BSDI.COM>. 62051292Sobrien 62151292Sobrien * Makefile.am (DISTCLEANFILES): make distclean should remove 62251292Sobrien amu_nfs_prot.h, config.cache.old, and dbgcf.h. Reported by 62351292Sobrien Jeffrey C Honig <jch@BSDI.COM>. 62451292Sobrien 62551292Sobrien1999-03-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 62651292Sobrien 62751292Sobrien * released snapshot am-utils-6.0.1s6 62851292Sobrien 62951292Sobrien1999-03-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 63051292Sobrien 63151292Sobrien * INSTALL: document freebsdelf. 63251292Sobrien 63351292Sobrien * doc/am-utils.texi (Supported Platforms): document freebsdelf. 63451292Sobrien 63551292Sobrien1999-03-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 63651292Sobrien 63751292Sobrien * minor new ports: i386-unknown-freebsdelf3.1 and 63851292Sobrien i386-unknown-freebsdelf4.0 63951292Sobrien 64051292Sobrien * aux/macros/check_nfs_prot_headers.m4: freebsd4 support. 64151292Sobrien 64251292Sobrien * aux/macros/check_nfs_socket_connection.m4: freebsd4 support. 64351292Sobrien 64451292Sobrien * aux/macros/check_nfs_fh_dref.m4: freebsd4 support. 64551292Sobrien 64651292Sobrien * amd/opts.c (eval_opts): changed log level of "executing 64751292Sobrien negated..." message from USER to INFO, as per Guntram Wolski 64851292Sobrien <gwolsk@sei.com>. 64951292Sobrien 65051292Sobrien1999-02-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 65151292Sobrien 65251292Sobrien * */Makefile.am (LDADD): force linking against an installed 65351292Sobrien libamu.{a,so}. 65451292Sobrien 65551292Sobrien * doc/am-utils.texi (addopts Option): document remopts interaction 65651292Sobrien with addopts. 65751292Sobrien 65851292Sobrien * amd/am_ops.c (ops_match): if addopts are specified, apply them 65951292Sobrien to the value of remopts as well as opts. 66051292Sobrien 66151292Sobrien * amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used. 66251292Sobrien 66351292Sobrien1999-02-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 66451292Sobrien 66551292Sobrien * released snapshot am-utils-6.0.1s5 66651292Sobrien 66751292Sobrien * conf/mount/mount_linux.c (mount_linux): set default nfs_args 66851292Sobrien options for ac{reg,dir}{min,man} as per the mount-2.8a package, 66951292Sobrien but only if noac option was not used. 67051292Sobrien 67151292Sobrien1999-02-05 Erez Zadok <ezk@retro.cs.columbia.edu> 67251292Sobrien 67351292Sobrien * conf/mount/mount_linux.c (mount_linux): print nfs_args again 67451292Sobrien since it was updated. 67551292Sobrien (mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels 67651292Sobrien and newer. Bug was found by Neil Conway 67751292Sobrien <nconway.list@ukaea.org.uk> 67851292Sobrien 67951292Sobrien1999-02-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 68051292Sobrien 68151292Sobrien * released snapshot am-utils-6.0.1s4 68251292Sobrien 68351292Sobrien1999-02-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 68451292Sobrien 68551292Sobrien * amq/amq.c (main): don't list -M as a valid amq option unless 68651292Sobrien configure'd with --enable-amq-mount. 68751292Sobrien 68851292SobrienWed Feb 3 18:11:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 68951292Sobrien 69051292Sobrien * amd/nfs_start.c (amd_use_autofs): Define. 69151292Sobrien (mount_automounter): Create autofs service listener only if 69251292Sobrien necessary to avoid unnecessary clashes with e.g. automountd. 69351292Sobrien 69451292Sobrien * amd/amd.h (amd_use_autofs): Declare. 69551292Sobrien 69651292Sobrien * amd/conf.c (gopt_mount_type): Set amd_use_autofs. 69751292Sobrien (ropt_mount_type): Likewise. 69851292Sobrien 69951292Sobrien1999-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 70051292Sobrien 70151292Sobrien * aux/macros/check_mnt2_nfs_opt.m4:: ditto 70251292Sobrien 70351292Sobrien * aux/macros/check_mnt2_cdfs_opt.m4: ditto 70451292Sobrien 70551292Sobrien * aux/macros/check_mnt2_gen_opt.m4: ditto 70651292Sobrien 70751292Sobrien * aux/macros/check_mnttab_opt.m4: new macro in this file to loop 70851292Sobrien over AC_CHECK_MNTTAB_OPT. Reduces size of configure script a lot. 70951292Sobrien 71051292Sobrien * conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h, 71151292Sobrien nfs/nfs.h and nfs/nfsmount.h if they exist. Patch from 71251292Sobrien christos@zoulas.com (Christos Zoulas). 71351292Sobrien 71451292Sobrien * amd/info_hesiod.c: some forward declarations. Patch from 71551292Sobrien christos@zoulas.com (Christos Zoulas). 71651292Sobrien 71751292Sobrien1999-01-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 71851292Sobrien 71951292Sobrien * libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn 72051292Sobrien option if it was already in that state. Patch from David 72151292Sobrien Wolfskill <dhw@whistle.com>. 72251292Sobrien 72351292Sobrien1999-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 72451292Sobrien 72551292Sobrien * aux/configure.in: automake nowadays supports LTLIBOBJS (but not 72651292Sobrien LTALLOCA yet). Substitute value of LIBTOOL_DEPS for libtool 72751292Sobrien rebuild make rules. 72851292Sobrien 72951292Sobrien * Makefile.am: new rules to remake libtool (maintainers only) 73051292Sobrien 73151292Sobrien * amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags 73251292Sobrien if -D trace was used. 73351292Sobrien 73451292Sobrien1999-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 73551292Sobrien 73651292Sobrien * buildall: all if statements should have an else clause because 73751292Sobrien of Ultrix's /bin/sh. 73851292Sobrien 73951292Sobrien1999-01-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 74051292Sobrien 74151292Sobrien * amq/amq.c: removed dummy variables. 74251292Sobrien 74351292Sobrien * amq/pawd.c: removed dummy variable.s 74451292Sobrien 74551292Sobrien * fixmount/fixmount.c (usage): removed dummy variables. 74651292Sobrien 74751292Sobrien * fsinfo/fsinfo.c: removed dummy variables. 74851292Sobrien 74951292Sobrien * hlfsd/hlfsd.c: removed dummy variables. 75051292Sobrien 75151292Sobrien * wire-test/wire-test.c: removed dummy variables. 75251292Sobrien 75351292Sobrien * mk-amd-map/mk-amd-map.c: removed dummy variables. 75451292Sobrien 75551292Sobrien * doc/texinfo.tex: updates from GNU mirror. 75651292Sobrien 75751292Sobrien * aux/GNUmakefile (../doc/texinfo.tex): new rule to update 75851292Sobrien doc/texinfo.tex from GNU mirror. 75951292Sobrien 76051292Sobrien * released snapshot am-utils-6.0.1s3 76151292Sobrien 76251292Sobrien * Makefile.am (install-snapshot): better snapshot and new 76351292Sobrien install-snapshot and test-snapshot rules (maintainer). 76451292Sobrien 76551292Sobrien * amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the 76651292Sobrien args may be NULL. 76751292Sobrien Some dlog() entries were not enclosed in #ifdef DEBUG. Fix from 76851292Sobrien Bill Paul <wpaul@ctr.columbia.edu> 76951292Sobrien 77051292Sobrien1999-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 77151292Sobrien 77251292Sobrien * check for experimental generic 'ignore' mount flag on freebsd3. 77351292Sobrien 77451292Sobrien * Update library -version-info to 3:0:1 (will result in 2.1.0 .so 77551292Sobrien version, which is backwards compatible with older versions.) Only 77651292Sobrien one new interface was added to libamu. 77751292Sobrien 77851292Sobrien * amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags 77951292Sobrien that are specific to automounter mounts. 78051292Sobrien 78151292Sobrien * aux/configure.in: update libamu.so age and revision since a new 78251292Sobrien interface was added to libamu/mount_fs.c 78351292Sobrien (compute_automounter_mount_flags). 78451292Sobrien 78551292Sobrien * libamu/mount_fs.c (compute_automounter_mount_flags): new 78651292Sobrien function to compute generic mount flags that are specific to mount 78751292Sobrien points only. 78851292Sobrien 78951292Sobrien * aux/{configure.in,acconfig.h}: add support for generic mount 79051292Sobrien entry ignore option. 79151292Sobrien 79251292Sobrien * released snapshot am-utils-6.0.1s2 79351292Sobrien 79451292Sobrien * amd/info_ldap.c (get_ldap_timestamp): dlog format fixes. 79551292Sobrien 79651292Sobrien * libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format 79751292Sobrien of knc_semantics from u_long to u_int. 79851292Sobrien 79951292Sobrien * aux/macros/check_mount_style.m4: freebsd3 no longer needs a 80051292Sobrien special mount helper. 80151292Sobrien 80251292Sobrien1999-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 80351292Sobrien 80451292Sobrien * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS): 80551292Sobrien amu_nfs_conf.h should always be found in $top_builddir. 80651292Sobrien 80751292SobrienTue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 80851292Sobrien 80951292Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine 81051292Sobrien to avoid wrong reports from show_fstypes. 81151292Sobrien 81251292Sobrien * conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise. 81351292Sobrien 81451292Sobrien * conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise. 81551292Sobrien 81651292SobrienTue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 81751292Sobrien 81851292Sobrien * BUGS (mips-dec-ultrix4.3): Update Ultrix caveats. 81951292Sobrien 82051292SobrienTue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 82151292Sobrien 82251292Sobrien * hlfsd/homedir.c (delay): Cast child to long, adapt format. 82351292Sobrien (hlfsd_getpwent): Likewise for pw_uid. 82451292Sobrien 82551292Sobrien * amd/info_nis.c (nis_init): Cast order to unsigned long, adapt 82651292Sobrien format. 82751292Sobrien 82851292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast 82951292Sobrien tv_sec to int to match format. 83051292Sobrien (get_nfs_version): Cast nfs_version, NFS_VERSION to int to match 83151292Sobrien formats. 83251292Sobrien 83351292Sobrien * amd/amfs_program.c (amfs_program_exec): Cast ptr difference to 83451292Sobrien long, adapt format. 83551292Sobrien 83651292Sobrien * include/am_defs.h: Handle __attribute__ if available. From 83751292Sobrien GNU fileutils 4.0 lib/errors.h. 83851292Sobrien 83951292SobrienMon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 84051292Sobrien 84151292Sobrien * libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to 84251292Sobrien match format. 84351292Sobrien 84451292Sobrien * hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long, 84551292Sobrien adapt format. 84651292Sobrien (nfsproc_lookup_2_svc): Likewise. 84751292Sobrien (nfsproc_readlink_2_svc): Likewise for userid, groupid. 84851292Sobrien 84951292Sobrien * hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match 85051292Sobrien format. 85151292Sobrien 85251292Sobrien * hlfsd/homedir.c (homedir): Cast uid, child to long, adapt 85351292Sobrien format. 85451292Sobrien 85551292Sobrien * amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned 85651292Sobrien long, adapt format. 85751292Sobrien 85851292Sobrien * amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to 85951292Sobrien unsigned long, adapt format. 86051292Sobrien (got_nfs_fh): Likewise. 86151292Sobrien (prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match 86251292Sobrien format. 86351292Sobrien (call_mountd): Likewise, mnt_version also. 86451292Sobrien (mount_nfs_fh): Likewise. 86551292Sobrien 86651292Sobrien * amd/ops_autofs.c (autofs_program_1): Cast args to int to match 86751292Sobrien format. 86851292Sobrien (autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to 86951292Sobrien unsigned long, adapt formats. 87051292Sobrien (autofs_bgmount): Cast opt_fs to unsigned to, adapt format. 87151292Sobrien (autofs_bgmount): Use long format to match arg. 87251292Sobrien (autofs_lookuppn): Removed superfluous arg. 87351292Sobrien 87451292Sobrien * amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match 87551292Sobrien format. 87651292Sobrien (got_portmap): Likewise for port. 87751292Sobrien (recompute_portmap): Likewise for fs->fs_version, mnt_version. 87851292Sobrien (find_nfs_srvr): Likewise for nfs_version. 87951292Sobrien 88051292Sobrien * amd/sched.c (sched_task): Cast wchan to unsigned long, adapt 88151292Sobrien format. 88251292Sobrien 88351292Sobrien * amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem 88451292Sobrien to unsigned long, adapt format. 88551292Sobrien Cast tvv.tv_sec to int to match format. 88651292Sobrien 88751292Sobrien * amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match 88851292Sobrien format. 88951292Sobrien 89051292Sobrien * amd/map.c (root_fh): Cast pid to long, adapt format. 89151292Sobrien (timeout_mp): Cast time_t to long, adapt format. 89251292Sobrien 89351292Sobrien * amd/clock.c (reschedule_timeouts): Use long format, cast time_t 89451292Sobrien arg. 89551292Sobrien 89651292Sobrien * amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to 89751292Sobrien match format. 89851292Sobrien (amfs_host_fmount): Likewise. 89951292Sobrien (amfs_host_umounted): Likewise. Removed superfluous arg. 90051292Sobrien 90151292Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned 90251292Sobrien long, adapt format. 90351292Sobrien (amfs_auto_bgmount): Use long format, cast time_t arg. 90451292Sobrien (amfs_auto_lookuppn): Removed superfluous arg. 90551292Sobrien 90651292Sobrien * amd/amd.c (main): Cast geteuid() result to long, adapt format. 90751292Sobrien 90851292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version 90951292Sobrien to int to match format. 91051292Sobrien 91151292Sobrien * include/am_utils.h: Declare plog, dplog as printf-like. 91251292Sobrien 91351292Sobrien * conf/mount/mount_irix6.c (mount_irix): Print type as char *. 91451292Sobrien 91551292SobrienMon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 91651292Sobrien 91751292Sobrien * amd/info_hesiod.c (hesiod_isup): New function. 91851292Sobrien * amd/mapc.c (maptypes): Add it. 91951292Sobrien 92051292Sobrien1999-01-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 92151292Sobrien 92251292Sobrien * released snapshot am-utils-6.0.1s1 92351292Sobrien 92451292Sobrien1999-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 92551292Sobrien 92651292Sobrien * ALL: bump copyright year to 1999. 92751292Sobrien 92851292SobrienFri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 92951292Sobrien 93051292Sobrien * aux/macros/check_mtype_type.m4: Ultrix uses an int mount type, 93151292Sobrien too. 93251292Sobrien 93351292Sobrien * aux/macros/check_mtype_printf_type.m4: Adapt corresponding 93451292Sobrien printf type. 93551292Sobrien 93651292SobrienFri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 93751292Sobrien 93851292Sobrien * aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused. 93951292Sobrien 94051292Sobrien * conf/nfs_prot/nfs_prot_irix6.h: Likewise. 94151292Sobrien 94251292Sobrien * conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise. 94351292Sobrien 94451292Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise. 94551292Sobrien 94651292Sobrien * Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current 94751292Sobrien automake. 94851292Sobrien 94951292SobrienThu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 95051292Sobrien 95151292Sobrien * aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not 95251292Sobrien in current automake. 95351292Sobrien 95451292SobrienThu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 95551292Sobrien 95651292Sobrien * doc/am-utils.texi: Added some missing inter-punctation after 95751292Sobrien @xref, or use @pxref/@ref as appropriate. Spotted by makeinfo 95851292Sobrien from texinfo 3.12b. 95951292Sobrien 96051292Sobrien1999-01-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 96151292Sobrien 96251292Sobrien * doc/texinfo.tex: updated off of latest GNU mirror. 96351292Sobrien 96451292Sobrien1999-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 96551292Sobrien 96651292Sobrien * doc/am-utils.texi (Supported Platforms): update platforms that 96751292Sobrien support NFS v.3. Nicer postscript printing on double-sided pages. 96851292Sobrien 96951292Sobrien * amd/info_hesiod.c: add extern definition for hesiod_init() 97051292Sobrien 97142629Sobrien1999-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 97242629Sobrien 97342629Sobrien ******************************************************************* 97442629Sobrien *** Released am-utils-6.0 *** 97542629Sobrien ******************************************************************* 97642629Sobrien 97742629Sobrien1998-12-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 97842629Sobrien 97942629Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7. 98042629Sobrien 98142629Sobrien1998-12-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 98242629Sobrien 98342629Sobrien * conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on 98442629Sobrien bsdi4 for NFS V3/nfs mounts. 98542629Sobrien 98642629Sobrien1998-12-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 98742629Sobrien 98842629Sobrien * using latest libtool (1.2e + patches), now supporting shared 98942629Sobrien libraries on many more systems. Also using latest autoconf and 99042629Sobrien automake (unreleased GNU CVS'd versions.) 99142629Sobrien 99242629Sobrien * minor new ports: hppa2.0w-hp-hpux11.00, 99342629Sobrien i386-unknown-netbsd1.3.3, mips-sgi-irix6.5. 99442629Sobrien 99542629Sobrien * fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that 99642629Sobrien have /usr/bin/flex but not libfl. 99742629Sobrien 99842629Sobrien1998-12-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 99942629Sobrien 100042629Sobrien * lots of code cleanup, to make sure libamu.so does not use 100142629Sobrien undefined symbols. Some system's shared libraries cannot handle 100242629Sobrien that. 100342629Sobrien 100442629Sobrien1998-12-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 100542629Sobrien 100642629Sobrien * include/am_defs.h: only defined seteuid extern if function also 100742629Sobrien exists and is not superceded by setresuid (hpux). 100842629Sobrien 100942629Sobrien * amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit 101042629Sobrien braces to avoid confusion with nested if-then-else clauses. 101142629Sobrien 101242629Sobrien * aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs: 101342629Sobrien updated from latest versions. 101442629Sobrien 101542629Sobrien1998-12-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 101642629Sobrien 101742629Sobrien * minor new port: i386-pc-bsdi4.0 101842629Sobrien 101942629Sobrien * conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header 102042629Sobrien definitions for bsdi4. 102142629Sobrien 102242629Sobrien * {amd,fsinfo}/Makefile.am: force path to .y/.l files, because 102342629Sobrien some make programs (bsdi4) do not support VPATH correctly. 102442629Sobrien 102542629Sobrien1998-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 102642629Sobrien 102742629Sobrien * conf/mount/mount_aix.c: minor code cleanup 102842629Sobrien 102942629Sobrien * aux/configure.in: check for extern definition to xdr_groups. 103042629Sobrien 103142629Sobrien1998-12-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 103242629Sobrien 103342629Sobrien * minor new port: powerpc-ibm-aix4.3.1.0 103442629Sobrien 103542629Sobrien * aux/macros/*.m4: updates for aix 4.3 103642629Sobrien 103742629Sobrien1998-12-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 103842629Sobrien 103942629Sobrien * minor new port: i386-unknown-openbsd2.4 104042629Sobrien 104142629Sobrien * aux/configure.in: don't check for xfs on openbsd because 104242629Sobrien openbsd-2.4 introduces a new file system named xfs, but different 104342629Sobrien than Irix's XFS. Sigh. 104442629Sobrien 104542629Sobrien * minor new port: i386-unknown-freebsd2.2.8 104642629Sobrien 104742629Sobrien1998-12-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 104842629Sobrien 104942629Sobrien * amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host 105042629Sobrien name match. Bug fix from Douglas K. Rand" <rand@aero.und.edu>. 105142629Sobrien 105242629Sobrien1998-11-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 105342629Sobrien 105442629Sobrien * scripts/ctl-amd.in: wait4amd2die runs in the stop action, to 105542629Sobrien avoid race conditions when shutting down systems running amd. 105642629Sobrien 105742629Sobrien * Makefile.am: add a dist-hook to change modes of the directories 105842629Sobrien in the tar file so they are not world writable. 105942629Sobrien 106042629Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support, 106142629Sobrien since it is now finally defined in the header files and 106242629Sobrien (hopefully) stable. 106342629Sobrien 106442629Sobrien * amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option 106542629Sobrien is specified in mount options. freebsd patches from David 106642629Sobrien O'Brien. 106742629Sobrien 106842629Sobrien * amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c 106942629Sobrien (main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main), 107042629Sobrien amd/get_args.c (get_args): posix: use -1 to check for return from 107142629Sobrien getopt() (not EOF), as per posix. 107242629Sobrien 107342629Sobrien * amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David 107442629Sobrien O'Brien" <obrien@NUXI.com>, from the FreeBSD source tree. Use 107542629Sobrien real variable whose pointer is on the stack for decoding a long 107642629Sobrien int. 107742629Sobrien 107842629Sobrien1998-11-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 107942629Sobrien 108042629Sobrien * scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's 108142629Sobrien chkconfig utility. 108242629Sobrien 108342629Sobrien1998-11-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 108442629Sobrien 108542629Sobrien * released snapshot am-utils-6.0b2s3 108642629Sobrien 108742629Sobrien * conf/transp/transp_sockets.c (create_nfs_service): remove C++ 108842629Sobrien style comments. 108942629Sobrien 109042629Sobrien1998-11-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 109142629Sobrien 109242629Sobrien * released snapshot am-utils-6.0b2s2 109342629Sobrien 109442629Sobrien * created CVS package 109542629Sobrien 109642629Sobrien * amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race 109742629Sobrien condition between unmounting and re-mounting an entry, by 109842629Sobrien increasing the ttl of a looked up entry before unmounting it. 109942629Sobrien Patch from Mike Mitchell <mcm@unx.sas.com>. 110042629Sobrien 110142629Sobrien * All files: spell comments and strings. 110242629Sobrien 110342629Sobrien1998-11-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 110442629Sobrien 110542629Sobrien * aux/configure.in: look for yp_all in libnsl only if yp_all not 110642629Sobrien already found elsewhere (in libc or other default libraries). 110742629Sobrien This is so RedHat 5.1 systems could find yp functions in libnsl, 110842629Sobrien but also so AIX 4.2.1 will NOT include libnsl, because the latter 110942629Sobrien has broken nis functionality that also exists and works ok in libc. 111042629Sobrien 111142629Sobrien1998-10-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 111242629Sobrien 111342629Sobrien * amd/amd.c (main): bug fix: swapped arguments to kill(2). Fix 111442629Sobrien from Danny Rathjens <dkr@cs.fiu.edu>. 111542629Sobrien 111642629Sobrien1998-10-28 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu> 111742629Sobrien 111842629Sobrien * released snapshot am-utils-6.0b2s1 111942629Sobrien 112042629Sobrien1998-10-27 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu> 112142629Sobrien 112242629Sobrien * aux/macros/*.m4: support bsdi4 as bsdi3. 112342629Sobrien 112442629Sobrien * aux/macros/os_ldflags.m4: enable detection of LDAP on solaris 112542629Sobrien 2.7 (libraries located in /usr/lib/fn). This is off until Sun 112642629Sobrien includes LDAP header information. 112742629Sobrien 112841142Sobrien1998-10-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 112941142Sobrien 113041142Sobrien ******************************************************************* 113141142Sobrien *** Released am-utils-6.0b1 *** 113241142Sobrien ******************************************************************* 113341142Sobrien 113441142Sobrien1998-10-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 113541142Sobrien 113641142Sobrien * mk-amd-map/mk-amd-map.c (main): use perror not strerror. 113741142Sobrien (main): set return type to int if no ndbm maps. 113841142Sobrien 113941142Sobrien * include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1 114041142Sobrien kernels. 114141142Sobrien 114241142Sobrien1998-10-18 Erez Zadok <ezk@london.mcl.cs.columbia.edu> 114341142Sobrien 114441142Sobrien * A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup 114541142Sobrien for netbsd 1.3.2. 114641142Sobrien 114741142Sobrien1998-10-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 114841142Sobrien 114941142Sobrien * aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1 115041142Sobrien systems put NIS functions there. 115141142Sobrien 115241142Sobrien * mk-amd-map/mk-amd-map.c: patch from "David O'Brien" 115341142Sobrien <obrien@NUXI.com> merged in. Use POSIX -1 return code from 115441142Sobrien getopt(), not EOF. Use .db extentions for systems that use it, 115541142Sobrien instead of .{pag,dir}. 115641142Sobrien 115741142Sobrien1998-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 115841142Sobrien 115941142Sobrien * wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c, 116041142Sobrien amd/amd.c (main): avoid overrunning hostname buffer. Bug fix from 116141142Sobrien "David O'Brien" <obrien@NUXI.com>. 116241142Sobrien 116341142Sobrien * scripts/amd.conf.5: minor typo reported by "David O'Brien" 116441142Sobrien <obrien@NUXI.com> in .TH section of man page. 116541142Sobrien 116641142Sobrien * amd/info_nis.c (am_yp_all): don't leak key-val entries. Patch 116741142Sobrien from Thomas Richter <richter@chemie.fu-berlin.de>. 116841142Sobrien 116941142Sobrien1998-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 117041142Sobrien 117141142Sobrien * doc/am-utils.texi (Program Filesystem): minor typo fixed as per 117241142Sobrien Andreas Stolcke <stolcke@speech.sri.com>. 117341142Sobrien 117441142Sobrien * minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7, 117541142Sobrien and sparc-sun-solaris2.7. 117641142Sobrien 117741142Sobrien * conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now 117841142Sobrien a 4.4lite kernel, and somethings were removed, such as 117941142Sobrien INITMOUNTNAMES. 118041142Sobrien 118141142Sobrien * amd/ops_autofs.c (autofs_lookuppn): don't leak memory while 118241142Sobrien processing /defaults. Free temporary opts. Patch from 118341142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) 118441142Sobrien 118541142Sobrien * amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while 118641142Sobrien processing /defaults. Free temporary opts. Patch from 118741142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) 118841142Sobrien 118941142Sobrien * conf/mtab/mtab_osf.c (read_mtab): patch from 119041142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access 119141142Sobrien uninitialized memory on Digital Unix. 119241142Sobrien 119341142Sobrien1998-10-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 119441142Sobrien 119541142Sobrien * aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most 119641142Sobrien systems now use "char *" as their mount type. 119741142Sobrien 119841142Sobrien1998-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 119941142Sobrien 120041142Sobrien * amd/conf.c (gopt_map_type, ropt_map_type): check if map type 120141142Sobrien exists. 120241142Sobrien 120341142Sobrien * amd/mapc.c (mapc_type_exists): function to test if a map of 120441142Sobrien certain type exists. 120541142Sobrien 120641142Sobrien1998-10-08 Erez Zadok <ezk@horatio.mcl.cs.columbia.edu> 120741142Sobrien 120841142Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 120941142Sobrien include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl 121041142Sobrien in RH-5.1 sparc64 between <netinet/in.h> and 121141142Sobrien <linux/byteorder/generic.h> (2.1 kernels). 121241142Sobrien 121341142Sobrien1998-09-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 121441142Sobrien 121541142Sobrien * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat 121641142Sobrien 5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket 121741142Sobrien from yp_all(). 121841142Sobrien 121941142Sobrien1998-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 122041142Sobrien 122141142Sobrien * conf/mount/mount_linux.c (parse_opts): check for pcfs support 122241142Sobrien only if autoconfigured. 122341142Sobrien 122441142Sobrien1998-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 122541142Sobrien 122641142Sobrien * Makefile.am (EXTRA_DIST): distribute README.yk2 file. 122741142Sobrien 122841142Sobrien * README.y2k: explain y2k compliance status of am-utils. 122941142Sobrien 123041142Sobrien1998-09-16 Erez Zadok <ezk@iguana.mcl.cs.columbia.edu> 123141142Sobrien 123241142Sobrien * amd/amfs_host.c (fetch_fhandle, amfs_host_fmount, 123341142Sobrien amfs_host_umounted): clnt_sperrno() may return a const. 123441142Sobrien 123541142SobrienSat Aug 8 23:28:32 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 123641142Sobrien 123741142Sobrien * aux/configure.in: check for <nfs/nfsmount.h>, as per Christos 123841142Sobrien Zoulas. Turned on checking for mount options: async, synchronous, 123941142Sobrien deadthresh, leasterm, nqnfs, and readahead. 124041142Sobrien 124141142Sobrien * amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas) 124241142Sobrien to include prototype definition for nis_isup(). 124341142Sobrien 124441142SobrienSun Jul 19 18:50:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 124541142Sobrien 124641142Sobrien * hlfsd/stubs.c (getcreds): force sscanf arg to u_long. 124741142Sobrien 124841142SobrienTue Jul 14 20:34:25 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 124941142Sobrien 125041142Sobrien * released snapshot am-utils-6.0a17s1 125141142Sobrien 125241142SobrienWed Jul 8 21:49:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 125341142Sobrien 125441142Sobrien * aux/macros/host_macros.m4: all x86 hosts should have $arch be 125541142Sobrien i386, not i[456]86. 125641142Sobrien 125741142SobrienTue Jul 7 18:55:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 125841142Sobrien 125941142Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 126041142Sobrien include/am_defs.h: include <linux/posix_types.h> before 126141142Sobrien <linux/fs.h> because on redhat 5.1, there is a bug (misuse) of 126241142Sobrien headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of 126341142Sobrien __KERNEL_STRICT_NAMES). 126441142Sobrien 126541142Sobrien * aux/configure.in: check for <linux/posix_types.h> because it is 126641142Sobrien need for RedHat 5.1. 126741142Sobrien 126841142SobrienWed Jun 17 00:05:33 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 126941142Sobrien 127041142Sobrien * scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from 127141142Sobrien .in as well, so it doesn't get removed by make clean. 127241142Sobrien 127341142SobrienTue Jun 16 22:00:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 127441142Sobrien 127541142Sobrien * aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4, 127641142Sobrien check_mount_type.m4}: redhat 5.1 puts some modules in 127741142Sobrien /lib/modules/preferred/. 127841142Sobrien 127941142SobrienWed May 13 16:33:57 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 128041142Sobrien 128141142Sobrien * amd/ops_autofs.c (mount_autofs): cast pid to long. 128241142Sobrien 128351292SobrienTue Apr 28 15:12:36 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 128451292Sobrien 128551292Sobrien * conf/nfs_prot/nfs_prot/nfs_prot_irix6.h, 128651292Sobrien conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to 128751292Sobrien avoid amd/am_ops.c (show_fstypes) from erroneously claiming 128851292Sobrien support. 128951292Sobrien 129051292SobrienFri Apr 24 23:02:11 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 129151292Sobrien 129251292Sobrien * libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON 129351292Sobrien unconditionally, may be missing on Ultrix V4.3. 129451292Sobrien 129551292SobrienThu Apr 23 20:24:33 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 129651292Sobrien 129751292Sobrien * conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define, 129851292Sobrien missing from <sys/mntent.h>. 129951292Sobrien 130051292Sobrien * conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h> 130151292Sobrien without KERNEL defined here. 130251292Sobrien 130351292Sobrien * aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>, 130451292Sobrien <cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of 130551292Sobrien ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed. 130651292Sobrien 130751292Sobrien * amd/ops_ufs.c (mount_ufs): Removed obsolete comment. 130851292Sobrien 130951292Sobrien * ChangeLog: Fixed confusing linebreaks from ChangeLog imports. 131051292Sobrien Removed purely local (and obsolete) entry. 131151292Sobrien 131238494SobrienThu Apr 23 00:22:17 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 131338494Sobrien 131438494Sobrien ******************************************************************* 131538494Sobrien *** Released am-utils-6.0a16 *** 131638494Sobrien ******************************************************************* 131738494Sobrien 131838494SobrienWed Apr 22 01:20:39 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 131938494Sobrien 132038494Sobrien * aux/macros/check_mount_style.m4: define freebsd3 mount style. 132138494Sobrien 132238494Sobrien * aux/macros/check_mount_trap.m4: new mount trap for freebsd3. 132338494Sobrien 132438494Sobrien * aux/macros/check_mtype_printf_type.m4, 132538494Sobrien aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as 132638494Sobrien of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not 132738494Sobrien integers, but I'll keep them as integers and do the mapping in 132838494Sobrien conf/mount/mount_freebsd3.c 132938494Sobrien 133038494Sobrien * minor new port to i386-pc-bsdi3.1. 133138494Sobrien 133238494Sobrien * minor new port to i386-unknown-netbsd1.3.1. 133338494Sobrien 133438494Sobrien * amd/opts.c: new option addopts:=ARG, which smartly merges ARG 133538494Sobrien options with whatever the /default ones for a key are. This 133638494Sobrien allows adding or overriding /default options individual keys. 133738494Sobrien 133838494Sobrien * amd/am_ops.c (ops_match): strdup/malloc string assigned to 133938494Sobrien opt_opts because it'll get free()'d upon next use. 134038494Sobrien (merge_opts): new function to merge two sets of options. 134138494Sobrien (ops_match): if addopts option exist, append and merge it to the 134238494Sobrien current default options. 134338494Sobrien 134438494SobrienTue Apr 21 12:54:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 134538494Sobrien 134638494Sobrien * wire-test/wire-test.c (main): use dynamically allocated returned 134738494Sobrien string with list of interfaces. 134838494Sobrien 134938494Sobrien * amd/get_args.c (get_version_string): allocate enough space for 135038494Sobrien header version string and a list of network interfaces of any 135138494Sobrien length. 135238494Sobrien 135338494Sobrien * libamu/wire.c (print_wires): return dynamically allocated string 135438494Sobrien containing list of networks. Must be dynamic because some sites 135538494Sobrien had potentially dozens of network interfaces. Patch from Matthew 135638494Sobrien Crosby <mcrosby@ms.com> slightly modified. 135738494Sobrien 135838494SobrienMon Apr 20 00:37:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 135938494Sobrien 136038494Sobrien * conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because 136138494Sobrien irix 5.3 does not have full header definitions for it. 136238494Sobrien 136338494Sobrien * fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and 136438494Sobrien undefined it when not needed (similar to amd/conf_tok.l) 136538494Sobrien 136638494Sobrien * hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size 136738494Sobrien of these to unsigned short (because uid_t on some linux systems is 136838494Sobrien small). 136938494Sobrien 137038494Sobrien * released snapshot am-utils-6.0a16s10 137138494Sobrien 137238494Sobrien * doc/am-utils.texi (opts Option): documented resvport mount 137338494Sobrien option. 137438494Sobrien 137538494SobrienSun Apr 19 18:17:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 137638494Sobrien 137738494Sobrien * doc/am-utils.texi (-D-Option): document behavior of -D info and 137838494Sobrien especially what it does to hesiod (turn on RES_DEBUG). 137938494Sobrien 138038494Sobrien * scripts/amd.conf.5: document info debugging option. 138138494Sobrien 138238494Sobrien * libamu/xutil.c (dbg_opt): parse info debugging option. 138338494Sobrien 138438494Sobrien * include/am_utils.h (D_INFO): define new trace option. 138538494Sobrien 138638494Sobrien * Makefile.am (EXTRA_DIST): include list of official mirrors in 138738494Sobrien distribution. 138838494Sobrien 138938494Sobrien * libamu/wire.c (SIZE): in the simple case, just compute 139038494Sobrien sizeof(struct ifreq). 139138494Sobrien 139238494SobrienSun Apr 19 16:30:35 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 139338494Sobrien 139438494Sobrien * amd/amd.c (daemon_mode): set a temporary secure umask(0022) 139538494Sobrien before writing log file and restore it afterwards. Patch from 139638494Sobrien Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 139738494Sobrien 139838494Sobrien * amd/get_args.c (get_args): 139938494Sobrien 140038494Sobrien * doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf 140138494Sobrien file specified by -F is always processed last. 140238494Sobrien 140338494Sobrien * amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd 140438494Sobrien won't be reused. Allows startup script to redirect stdout. Patch 140538494Sobrien from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 140638494Sobrien 140738494Sobrien * libamu/xutil.c (switch_to_logfile): compare logfile name and 140838494Sobrien syslog string with correct length. Patch from Donald Buczek 140938494Sobrien <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 141038494Sobrien 141138494Sobrien * amd/restart.c (restart): correctly inherit existing NFS V.3 141238494Sobrien mounts upon restart. Patch from Donald Buczek 141338494Sobrien <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 141438494Sobrien 141538494SobrienSat Apr 18 19:01:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 141638494Sobrien 141738494Sobrien * using libtool 1.2 and automake 1.3 (with my patches). 141838494Sobrien 141938494Sobrien * aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to 142038494Sobrien AMU_CFLAGS to avoid conflicts with automake-1.3. 142138494Sobrien 142238494SobrienSun Apr 5 23:09:08 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 142338494Sobrien 142438494Sobrien * converted to using libtool-1.2. 142538494Sobrien 142638494SobrienTue Mar 10 16:52:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 142738494Sobrien 142838494Sobrien * fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly 142938494Sobrien for loop (ITER) which used to run only to initialize the variable 143038494Sobrien dd once and then break; with a simple assignment. 143138494Sobrien 143238494Sobrien * hlfsd/hlfsd.h: cleanup so it compiles with Solaris 143338494Sobrien /opt/SUNWspro/bin/cc, and use gid_t not int. 143438494Sobrien 143538494Sobrien * amd/mapc.c (mapc_sync): don't dereference pointer (so it 143638494Sobrien compiles with Solaris /opt/SUNWspro/bin/cc) 143738494Sobrien 143838494SobrienSun Mar 8 15:54:22 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 143938494Sobrien 144038494Sobrien * aux/config.{guess,sub}: used from gcc-2.8.1. 144138494Sobrien 144238494SobrienSat Mar 7 15:33:27 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 144338494Sobrien 144438494Sobrien * released snapshot am-utils-6.0a16s9 144538494Sobrien 144638494Sobrien * INSTALL, doc/am-utils.texi (Supported Platforms): updated names 144738494Sobrien based on new output of new config.guess. 144838494Sobrien 144938494Sobrien * aux/config.{sub,guess}: used newer versions from gcc-2.8.0. 145038494Sobrien 145138494Sobrien * amd/amd.8,doc/am-utils.texi: document correct usage of default 145238494Sobrien /etc/amd.conf file. 145338494Sobrien 145438494Sobrien * fixmount/fixmount.c (inetresport,privsock): use some more 145538494Sobrien portable code from amq/amq.c. 145638494Sobrien 145738494Sobrien * amd/get_args.c (get_args): use default /etc/amd.conf file only 145838494Sobrien if no arguments had been passed to amd. 145938494Sobrien 146038494Sobrien * fixmount/fixmount.c (clnt_create_timeout): use tli/socket code 146138494Sobrien ala amq/amq.c so that fixmount will work on both types of systems. 146238494Sobrien 146338494Sobrien * amq/amq.c (main): do no close tcp socket before running udp try, 146438494Sobrien because we're not sure if it was opened at all. 146538494Sobrien 146638494Sobrien * mips-dec-ultrix* port merged in and cleaned up. 146738494Sobrien 146838494Sobrien * aux/configure.in: up minor shared library revision number, since 146938494Sobrien it has changed enough. 147038494Sobrien 147138494Sobrien * hlfsd/hlfsd.c (main): don't check for overlay mount option here, 147238494Sobrien as it is now done in compute_nfs_args(). Remove ultrix specific 147338494Sobrien code also because it was moved to compute_nfs_args(). 147438494Sobrien 147538494Sobrien * conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that 147638494Sobrien we have more generic code in print_nfs_args(). 147738494Sobrien 147838494Sobrien * libamu/mount_fs.c (print_nfs_args): print maxlen of 147938494Sobrien nfs_args.addr, and also syncaddr (which is mostly NULL). Print 148038494Sobrien struct knetconfig from nfs_args->knconf. 148138494Sobrien 148238494Sobrien * aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs 148338494Sobrien headers here, but in try_compile_anyfs.m4. 148438494Sobrien 148538494Sobrien * aux/macros/type_ufs_args.m4: move test for struct ufs_specific 148638494Sobrien (for ultrix) here from its own macro. 148738494Sobrien 148838494Sobrien * aux/macros/type_cdfs_args.m4: move test for struct iso_specific 148938494Sobrien (for ultrix) here from its own macro. 149038494Sobrien 149138494Sobrien * amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking 149238494Sobrien for overlay mount option. Remove code which checks for overlay 149338494Sobrien option, as it is now done in compute_nfs_args(). 149438494Sobrien 149538494Sobrien * libamu/mount_fs.c (compute_mount_flags): move here code which 149638494Sobrien checks for overlay mount option which was in amd/amfs_toplvl.c: 149738494Sobrien mount_amfs_toplvl(). 149838494Sobrien 149938494SobrienWed Feb 7 15:35:51 1998 Rainer Orth <ro@xayide.TechFak.Uni-Bielefeld.DE> 150038494Sobrien 150138494Sobrien * The following are Rainer's ChangeLog entries for his ultrix 150238494Sobrien port, added manually. -Erez. 150338494Sobrien 150438494Sobrien * merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c 150538494Sobrien (mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl) 150638494Sobrien 150751292Sobrien * include/am_defs.h: include cdfs specific mount headers 150851292Sobrien avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix) 150938494Sobrien 151038494Sobrien * include/am_compat.h: define several mount options corresponding 151138494Sobrien to mount flags: pgthresh, hard (nfs), defperm, nodefperm, 151238494Sobrien noversion, rrip (cdfs), nocache, quota, sync (generic) removed 151338494Sobrien duplicate MNTTAB_OPT_RO definition 151438494Sobrien 151538494Sobrien * aux/macros/try_compile_anyfs.m4: include Ultrix specific 151638494Sobrien ufs/cdfs mount headers 151738494Sobrien 151838494Sobrien * aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX 151938494Sobrien specific mount headers 152038494Sobrien 152138494Sobrien * aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_* 152238494Sobrien mount types in mount headers (Ultrix) 152338494Sobrien 152438494Sobrien * aux/configure.in: Ultrix/Digital UNIX specific checks: new 152538494Sobrien headers, mount structures and fields, filesystem and mount types, 152638494Sobrien mount flags 152738494Sobrien 152838494Sobrien * aux/acconfig.h: placeholders for new mount options: quota 152938494Sobrien (generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs) 153038494Sobrien cdfs, nfs, ufs mount structure fields new ufs, cdfs mount 153138494Sobrien structures 153238494Sobrien 153338494Sobrien * amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in 153438494Sobrien ufs_args.ufs_flags and has ufs specific pgthresh option 153538494Sobrien 153638494Sobrien * amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific 153738494Sobrien CDFS mount flags and options 153838494Sobrien 153938494Sobrien * amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh), 154038494Sobrien hlfsd/hlfsd.c (main): store generic mount flags in 154138494Sobrien nfs_args.gfs_flags, handle separate NFS ro flag 154238494Sobrien 154338494Sobrien * aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific, 154438494Sobrien struct_ufs_specific}.m4: new files; check for Ultrix specific 154538494Sobrien mount structures 154638494Sobrien 154738494Sobrien * conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag 154838494Sobrien 154938494Sobrien * aux/macros/type_auth_create_gidlist.m4 (ultrix*): 155038494Sobrien AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a 155138494Sobrien comment in <rpc/auth.h> 155238494Sobrien 155338494Sobrien * include/am_defs.h: #define KERNEL to avoid definition of 155451292Sobrien gt_names[] 155551292Sobrien conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before <config.h> 155651292Sobrien to force single definition here 155738494Sobrien 155838494Sobrien * libamu/mount_fs.c (compute_nfs_args): Ultrix support for 155951292Sobrien nfs_args.gfs_flags moved to callers 156051292Sobrien store mount options in nap->optstr 156138494Sobrien 156238494Sobrien * include/am_defs.h: fix _am_mntent mnt_{type, opts} field 156338494Sobrien descriptions 156438494Sobrien 156538494Sobrien * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4: 156638494Sobrien include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req 156738494Sobrien definition in prototypes 156838494Sobrien 156938494Sobrien * aux/macros/mount_headers.m4: include <sys/errno.h> before 157038494Sobrien AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_* 157138494Sobrien definitions 157238494Sobrien 157338494Sobrien * conf/nfs_prot/nfs_prot_ultrix.h: new file 157438494Sobrien 157551292Sobrien * aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h 157638494Sobrien 157738494Sobrien * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4, 157838494Sobrien aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple 157938494Sobrien inclusion of <rpc/xdr.h> 158038494Sobrien 158138494SobrienSat Mar 7 13:56:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 158238494Sobrien 158338494Sobrien * aux/configure.in: save state of config.cache and confdefs.h 158438494Sobrien (as dbgcf.h) at various points of the configure. 158538494Sobrien 158638494Sobrien * aux/macros/save_state.m4: new macro to save state of configure, 158738494Sobrien esp. useful in long ones. Saves confdefs.h and write $ac_cv_* 158838494Sobrien cache variables that are known so far. 158938494Sobrien 159038494Sobrien * released snapshot am-utils-6.0a16s8 159138494Sobrien 159238494Sobrien1998-03-06 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 159338494Sobrien 159438494Sobrien * fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining 159538494Sobrien it, but only for flex. 159638494Sobrien 159738494SobrienFri Mar 6 17:23:17 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 159838494Sobrien 159938494Sobrien * hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file 160038494Sobrien to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible) 160138494Sobrien to write the dump file. 160238494Sobrien 160338494Sobrien * doc/am-utils.texi,amd/opts.c: rename all references to nomadic 160438494Sobrien functions to boolean functions, which is what they really are. 160538494Sobrien 160638494Sobrien * aux/configure.in: don't look for strcasecmp in libucb at all, 160738494Sobrien but rather complete it from libamu/strcasecmp.c as needed. 160838494Sobrien 160938494SobrienFri Mar 6 03:29:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 161038494Sobrien 161138494Sobrien * conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS. 161238494Sobrien 161338494Sobrien * libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X 161438494Sobrien which defines IFF_ROUTE instead of IFF_LOOPBACK. Patch from Tom 161538494Sobrien Schmidt <tschmidt@micron.com>. 161638494Sobrien 161738494Sobrien * released snapshot am-utils-6.0a16s7 161838494Sobrien 161938494Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to 162038494Sobrien hppa1.0-hp-hpux11.00.tgz. 162138494Sobrien 162238494SobrienThu Mar 5 21:59:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 162338494Sobrien 162438494Sobrien * converted all sources to use mntent field names, and map mnttab 162538494Sobrien field names to mntent's. 162638494Sobrien 162738494Sobrien * include/am_defs.h (mnt_special): map struct mnttab field names 162838494Sobrien to struct mntent field names. 162938494Sobrien 163038494Sobrien * aux/macros/check_mount_trap.m4: hpux11's mount trap style is 163138494Sobrien identical to svr4/solaris2. 163238494Sobrien 163338494Sobrien * aux/macros/check_mount_style.m4: hpux11's mount style is 163438494Sobrien identical to svr4/solaris2. 163538494Sobrien 163638494Sobrien * aux/macros/check_network_transport_type.m4: hpux11 is a TLI 163738494Sobrien system! 163838494Sobrien 163938494Sobrien * aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address 164038494Sobrien dereferencing style is same as svr4. 164138494Sobrien 164238494Sobrien * aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh 164338494Sobrien dereferencing style is same as svr4. 164438494Sobrien 164538494Sobrien * conf/transp/transp_tli.c (create_nfs_service): if failed to 164638494Sobrien getnetconfigent() of ticlts, then try udp (hpux11). 164738494Sobrien 164838494Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for 164938494Sobrien struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris 165038494Sobrien 2.5.1 (HP used them). 165138494Sobrien 165238494Sobrien * amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open() 165338494Sobrien because hpux11 doesn't like it. if t_open failed, print error 165438494Sobrien based on t_errlist, not sys_errlist. 165538494Sobrien 165638494SobrienWed Mar 4 22:01:55 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 165738494Sobrien 165838494Sobrien * doc/am-utils.texi: lots of documentation fixes from Rainer Orth 165938494Sobrien <ro@TechFak.Uni-Bielefeld.DE>. 166038494Sobrien 166138494SobrienSat Feb 28 22:16:35 1998 Erez Zadok <ezk@kosh.cs.columbia.edu> 166238494Sobrien 166338494Sobrien * fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used 166438494Sobrien later. 166538494Sobrien 166638494Sobrien * include/am_defs.h: defined the extern for ualarm() if it isn't 166738494Sobrien found, regardless if the function isn't found in standard 166838494Sobrien libraries, because otherwise libamu will include it. 166938494Sobrien 167038494Sobrien1998-02-28 Erez Zadok (per Ron Snyder) <ezk@short.cvo.roguewave.com> 167138494Sobrien 167238494Sobrien * initial port to hpux-11 completed. Compiles cleanly, but 167338494Sobrien probably does not work, because of missing NFS V.2/3 headers. 167438494Sobrien 167538494Sobrien * amd/conf_tok.l: cast yytext to char* when passed to strlen and 167638494Sobrien strdup, for hpux-11's ansi-cc compiler. 167738494Sobrien 167838494Sobrien * include/am_utils.h: renamed all xfree() to XFREE() to avoid 167938494Sobrien conflict with hpux-11's system headers. Also move (voidp) cast 168038494Sobrien from sources to inside the macro itself. 168138494Sobrien 168238494SobrienSat Feb 28 13:44:21 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 168338494Sobrien 168438494Sobrien * released snapshot am-utils-6.0a16s6 168538494Sobrien 168638494Sobrien * amd/info_nis.c (nis_isup): new function to test if NIS is up 168738494Sobrien without hanging amd. Used to ensure that amd does not clear the 168838494Sobrien maps when the expiration period arrived, if the service is down. 168938494Sobrien Otherwise it would be left with empty maps. It is better to stay 169038494Sobrien with possibly old information than none at all. 169138494Sobrien 169238494Sobrien * amd/mapc.c (mapc_sync): check to see if map service is up. 169338494Sobrien 169438494SobrienTue Feb 24 02:19:42 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 169538494Sobrien 169638494Sobrien * aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it 169738494Sobrien includes auxiliary library only if needed. 169838494Sobrien 169938494Sobrien1998-02-22 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 170038494Sobrien 170138494Sobrien * amd/conf_tok.l: undefine ECHO again, so it doesn't get used 170238494Sobrien later. 170338494Sobrien 170438494SobrienSun Feb 22 01:41:08 1998 Erez Zadok <ezk@zen.cs.columbia.edu> 170538494Sobrien 170638494Sobrien * conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1 170738494Sobrien completed. 170838494Sobrien 170938494Sobrien * conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3. 171038494Sobrien 171138494SobrienSat Feb 21 19:45:48 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 171238494Sobrien 171338494Sobrien * doc/am-utils.texi (Network Host Filesystem): correct example for 171438494Sobrien type:=host map. 171538494Sobrien 171638494Sobrien * aux/macros/os_cflags.m4: only osf4 should compile with 171738494Sobrien -D_SOCKADDR_LEN. 171838494Sobrien 171938494Sobrien * aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2 172038494Sobrien and OSF4. 172138494Sobrien 172238494Sobrien * BUGS: include a new file listing known bugs. 172338494Sobrien 172438494SobrienSat Feb 21 03:50:48 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 172538494Sobrien 172638494Sobrien * conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux 172738494Sobrien versions. 172838494Sobrien 172938494Sobrien * aux/macros/type_recvfrom_fromlen.m4: linux alpha should use 173038494Sobrien size_t for recvfrom fromlen arg. 173138494Sobrien 173238494SobrienSat Feb 21 03:33:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 173338494Sobrien 173438494Sobrien * scripts/ctl-hlfsd.in: turn -D fork so primary process never 173538494Sobrien hangs. 173638494Sobrien 173738494SobrienSat Feb 21 02:45:51 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 173838494Sobrien 173938494Sobrien * include/am_defs.h: don't include <sys/stat.h> and 174038494Sobrien <linux/stat.h>, just remaining definitions in <statbuf.h> 174138494Sobrien 174238494SobrienThu Jan 29 00:44:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 174338494Sobrien 174438494Sobrien * released snapshot am-utils-6.0a16s5 174538494Sobrien 174638494Sobrien * conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to 174738494Sobrien mount(2). 174838494Sobrien 174938494Sobrien * check for <sys/fs/xfs_clnt.h> and include it when needed. 175038494Sobrien 175138494Sobrien * conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize 175238494Sobrien efs and xfs separately from "ufs". 175338494Sobrien 175438494Sobrien * amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs. 175538494Sobrien 175638494Sobrien * aux/configure.in: look for irix efs and xfs file systems. 175738494Sobrien 175838494Sobrien * scripts/amd.conf.5: new unmount_on_exit option documented. 175938494Sobrien 176038494Sobrien * doc/am-utils.texi (unmount_on_exit): new option documented. 176138494Sobrien 176238494Sobrien * amd/conf.c (gopt_unmount_on_exit): new function to handle new 176338494Sobrien amd.conf option. 176438494Sobrien 176538494Sobrien * amd/map.c (umount_exported): if global amd.conf flag 176638494Sobrien unmount_on_exit is on, then try to unmount all mounted (or 176738494Sobrien restartable) file systems. 176838494Sobrien 176938494Sobrien * amd/amd.c: if print_pid option is on, then normally print it to 177038494Sobrien stdout. If also pid_file is specified, then print the process ID 177138494Sobrien into that file. 177238494Sobrien 177338494Sobrien * amd/get_args.c (get_args): print correct -l option depending if 177438494Sobrien system supports syslog and/or syslog facilities. Patch from 177538494Sobrien Tom Schmidt <tschmidt@micron.com>. 177638494Sobrien 177738494Sobrien * doc/am-utils.texi (opts Option): updates for documentation for 177838494Sobrien new cdfs options defperm, nodefperm, noversion, rrip. 177938494Sobrien 178038494Sobrien * amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm, 178138494Sobrien nodefperm, noversion, rrip. 178238494Sobrien 178338494Sobrien * conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h> 178438494Sobrien on osf. 178538494Sobrien 178638494Sobrien * aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4, 178738494Sobrien expand_cpp_string.m4}: use #error to make failed compilations 178838494Sobrien fail faster, rather than have the program fail during a run. 178938494Sobrien 179038494Sobrien * include/am_compat.h: added a few new cdfs options: rrip, 179138494Sobrien noversion, defperm, and nodefperm (used in OSF). 179238494Sobrien 179338494SobrienWed Jan 28 20:24:09 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 179438494Sobrien 179538494Sobrien * released snapshot am-utils-6.0a16s4 179638494Sobrien 179738494Sobrien * doc/am-utils.texi (Global Parameters): update manual for new 179838494Sobrien amd.conf global variable hesiod_base. 179938494Sobrien 180038494Sobrien * scripts/amd.conf.5: update man page for new amd.conf global 180138494Sobrien variable hesiod_base. 180238494Sobrien 180338494Sobrien * amd/get_args.c (get_args): use /etc/amd.conf file if exists by 180438494Sobrien default, else try command line options. Patch from Randall 180538494Sobrien S. Winchester <rsw@Glue.umd.edu>. 180638494Sobrien 180738494SobrienWed Jan 28 12:20:56 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 180838494Sobrien 180938494Sobrien * amd/info_hesiod.c (hesiod_search), amd/conf.c 181038494Sobrien (gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options): 181138494Sobrien included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to 181238494Sobrien support a hesiod base name in the amd.conf file. 181338494Sobrien 181438494Sobrien * doc/am-utils.texi (pid_file Parameter): document new global 181538494Sobrien amd.conf parameter. 181638494Sobrien 181738494Sobrien * scripts/amd.conf.5: document new global option pid_file. 181838494Sobrien 181938494Sobrien * amd/amd.c (daemon_mode): if cannot open pid_file, continue to 182038494Sobrien run, but print error message. 182138494Sobrien 182238494Sobrien * amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode, 182338494Sobrien init_global_options): Included patch from Randall S. Winchester 182438494Sobrien <rsw@Glue.umd.edu>, to support pid files in the amd.conf file. 182538494Sobrien 182638494Sobrien * amd/get_args.c (get_args): correct usage info on amd -t. 182738494Sobrien 182838494Sobrien * amd/*.c: massive file name and symbol name changes. All amd 182938494Sobrien file systems files and symbols are prefix with amfs_*. Now using 183038494Sobrien real name of file system: amfs_auto instead of afs, amfs_inherit 183138494Sobrien instead of ifs, amfs_linkx instead of sfsx, etc. This will enable 183238494Sobrien clear distinction between amd file system and generic ones like 183338494Sobrien nfs/ufs/pcfs/hsfs. Also, now we can implement true afs (Andrew 183438494Sobrien f/s) and DFS (Distributed f/s). 183538494Sobrien 183638494Sobrien * amd/amfs_union.c: unionfs for amd is always defined, no need to 183738494Sobrien #ifdef it. 183838494Sobrien 183938494SobrienMon Jan 26 16:51:38 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 184038494Sobrien 184138494Sobrien * libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on 184238494Sobrien or off, based on the particular quirks of the OS in question. 184338494Sobrien 184438494Sobrien * aux/macros/check_nfs_socket_connection.m4: new macro to set the 184538494Sobrien correct wait of handling un/connected NFS sockets. 184638494Sobrien 184738494Sobrien * scripts/wait4amd.in: use rlogin instead of rsh. 184838494Sobrien 184938494Sobrien * amd/am_ops.c (ops_showfstypes): when showing F/S types in amd 185038494Sobrien -v, always show "nfs3" for NFS V.3. 185138494Sobrien 185238494Sobrien1998-01-25 Erez Zadok <ezk@snoopy.cs.columbia.edu> 185338494Sobrien 185438494Sobrien * lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets 185538494Sobrien more picky than 2.7.2.3 did. 185638494Sobrien 185738494Sobrien1998-01-24 Erez Zadok <ezk@snoopy.cs.columbia.edu> 185838494Sobrien 185938494Sobrien * include/am_utils.h (dlog): amuDebug macros reduced to shorter 186038494Sobrien forms. 186138494Sobrien 186238494SobrienFri Jan 23 18:38:30 1998 Erez Zadok <ezk@goat.mcl.cs.columbia.edu> 186338494Sobrien 186438494Sobrien * released snapshot am-utils-6.0a16s3 186538494Sobrien 186638494Sobrien * include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included 186738494Sobrien in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h 186838494Sobrien must not, fake a definition for varargs. 186938494Sobrien 187038494SobrienFri Jan 16 10:16:40 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 187138494Sobrien 187238494Sobrien * README: show how to configure in additional support such as 187338494Sobrien hesiod using various --enable-* flags. 187438494Sobrien 187538494SobrienWed Jan 14 15:13:02 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 187638494Sobrien 187738494Sobrien * aux/configure.in: look for strcasecmp(), and replace it if not 187838494Sobrien available. 187938494Sobrien 188038494Sobrien * amd/ops_nfsl.c (nfsl_match): host names should be compared using 188138494Sobrien case insensitive. 188238494Sobrien 188338494Sobrien * amd/opts.c: for each map variable, define if the comparison 188438494Sobrien needs to be done case insensitive. 188538494Sobrien 188638494Sobrien * include/am_utils.h (STRCEQ): a new macro to use strcasecmp(). 188738494Sobrien Patch from Thomas Richter <richter@chemie.fu-berlin.de> 188838494Sobrien 188938494Sobrien1998-01-14 Erez Zadok <ezk@irt.cs.columbia.edu> 189038494Sobrien 189138494Sobrien * aux/configure.in: look for "isofs" as a possible mount type for 189238494Sobrien cdfs (RedHat Linux). 189338494Sobrien 189438494SobrienWed Jan 14 02:07:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 189538494Sobrien 189638494Sobrien * conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount 189738494Sobrien type if not defined. 189838494Sobrien 189938494Sobrien * conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if 190038494Sobrien already defined. 190138494Sobrien 190238494Sobrien * aux/configure.in: look for ext2fs before ufs, b/c some linux 190338494Sobrien have both. 190438494Sobrien 190538494SobrienMon Jan 12 15:43:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 190638494Sobrien 190738494Sobrien * Makefile.am (snapshot): allow me to install snapshots into the 190838494Sobrien ftp directory. 190938494Sobrien 191038494Sobrien * scripts/ctl-hlfsd.in: don't turn on -D mem by default. 191138494Sobrien 191238494Sobrien * amd/get_args.c (get_args): minor bug in output of amd -H. 191338494Sobrien 191438494SobrienMon Jan 12 03:05:06 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 191538494Sobrien 191638494Sobrien ******************************************************************* 191738494Sobrien *** Released am-utils-6.0a15 *** 191838494Sobrien ******************************************************************* 191938494Sobrien 192038494SobrienSun Jan 11 15:06:34 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 192138494Sobrien 192238494Sobrien * amd/conf.c (*_browsable_dirs): allow specifying 192338494Sobrien browsable_dirs=full, which will print *all* entries (other than 192438494Sobrien /default), including those with '*' and '/' characters. 192538494Sobrien 192638494Sobrien * amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length 192738494Sobrien to 1500. 192838494Sobrien 192938494Sobrien * doc/am-utils.texi: fixed reversed documentation for NFS mount 193038494Sobrien options vers and proto. 193138494Sobrien 193238494Sobrien * doc/Makefile.am (install-html): separate target just for 193338494Sobrien installing html files. Another new target "alldocs" is just for 193438494Sobrien installing all files needed for the am-utils home page. 193538494Sobrien 193638494Sobrien * scripts/amd.conf-sample: updated example for log_file. 193738494Sobrien 193838494Sobrien * scripts/amd.conf.5: updated for new way to declare new syslog 193938494Sobrien facility in the log_file option. 194038494Sobrien 194138494Sobrien * amd/amd.8: updated for new way to declare new syslog facility in 194238494Sobrien the -l option. 194338494Sobrien 194438494Sobrien * libamu/xutil.c (get_syslog_facility): allow users to specify the 194538494Sobrien syslog facility as an appended string to the log device. Ex. amd 194638494Sobrien -l syslog:local7 will use LOG_LOCAL7, while the older -l syslog 194738494Sobrien will use the default LOG_DAEMON facility. 194838494Sobrien 194938494Sobrien * amd/get_args.c (get_args): updated new syntax for amd -l 195038494Sobrien syslog:facility. 195138494Sobrien 195238494SobrienThu Jan 8 04:05:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 195338494Sobrien 195438494Sobrien * aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3 195538494Sobrien (intel). 195638494Sobrien 195738494Sobrien * libamu/wire.c (print_wires): bug fix. Nullify output buffer 195838494Sobrien before appending to it, on systems with two or more network 195938494Sobrien interfaces. 196038494Sobrien 196138494Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for 196238494Sobrien the mntent for cachefs. 196338494Sobrien 196438494Sobrien * include/am_defs.h: external definition for strstr() should use 196538494Sobrien const for both arguments. 196638494Sobrien 196738494Sobrien * aux/configure.in: add extern definitions for getwd() if missing. 196838494Sobrien 196938494Sobrien * include/am_defs.h: define the extern for strdup() even if the 197038494Sobrien function does not exist, for it will be filled in by 197138494Sobrien libamu/strdup.c 197238494Sobrien 197338494Sobrien * amq/pawd.c (cluster_server): don't use getccent() if the extern 197438494Sobrien for it isn't there. On hpux 10.20, the function is in libc, but 197538494Sobrien <cluster.h> and struct cct_entry do not exist. 197638494Sobrien 197738494Sobrien * aux/configure.in: check for an extern for getccent() b/c some 197838494Sobrien hpux systems don't have it (hpux 10.20). 197938494Sobrien 198038494SobrienWed Jan 7 00:09:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 198138494Sobrien 198238494Sobrien * doc/am-utils.texi (Amq -T option): manual documentation updates 198338494Sobrien for new amq options -T/-U. 198438494Sobrien 198538494Sobrien * amq/amq.8: updated man page for new amq options -T/-U. 198638494Sobrien 198738494Sobrien * amq/amq.c: two new switches to amq. -U will contact amd using 198838494Sobrien UDP only. -T will use TCP only. Normally amq will try TCP and 198938494Sobrien if that failed, will try UDP. 199038494Sobrien 199138494Sobrien * doc/am-utils.texi (pawd): manual documentation for pawd. 199238494Sobrien 199338494Sobrien * amq/pawd.1: new man page for pawd. 199438494Sobrien 199538494SobrienTue Jan 6 04:21:59 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 199638494Sobrien 199738494Sobrien * amq/pawd.c: a new program, Print Automounter Working Directory, 199838494Sobrien to print the proper pathname of the cwd or any other pathname, 199938494Sobrien adjusted for automounter paths, while avoiding mount points. 200038494Sobrien 200138494Sobrien * aux/macros/localconfig.m4: trivial support for am-utils 200238494Sobrien maintainers to adjust some of the configuration of am-utils after 200338494Sobrien it has been auto-configured by putting whatever definitions you 200438494Sobrien wish in a file called localconfig.h, located in the top build 200538494Sobrien directory (the same one where config.h is created for you). 200638494Sobrien 200738494Sobrien * doc/am-utils.texi (Caching Filesystem): updated documents for 200838494Sobrien cachefs file system. 200938494Sobrien 201038494Sobrien * amd/ops_cachefs.c: initial cachefs support, for solaris. 201138494Sobrien type:=cachefs, requires cachedir:=/cache/dir/name to be defined 201238494Sobrien and initialized with cfsadmin -c. $rfs is backdir to be cached 201338494Sobrien from, and $fs is the local mount point of the cachefs. 201438494Sobrien 201538494Sobrien * conf/mount/mount_svr4.c (mount_svr4): support mounting of 201638494Sobrien cachefs file systems. 201738494Sobrien 201838494Sobrien * amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the 201938494Sobrien mnttab type is. 202038494Sobrien 202138494SobrienMon Jan 5 23:22:49 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 202238494Sobrien 202338494Sobrien * amd/opts.c: added support for new variable $cachedir. 202438494Sobrien 202538494Sobrien * include/am_utils.h: added opt_cachedir field to struct am_opts. 202638494Sobrien 202738494SobrienSat Jan 3 01:43:57 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 202838494Sobrien 202938494Sobrien * amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the 203038494Sobrien local hostname does not match $rhost, and if so, also assume 203138494Sobrien type:=nfs. 203238494Sobrien 203338494SobrienFri Jan 2 01:00:40 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 203438494Sobrien 203538494Sobrien * updated all source files to add 1998 as a copyright year. 203638494Sobrien 203738494Sobrien * amd/ops_nfsl.c: new amd meta file system "type:=nfsl". Behaves 203838494Sobrien like type:=linkx if the pathname denoted by $fs exists, and like 203938494Sobrien type:=nfs if it does not. A convenient shortcut for the most 204038494Sobrien popular amd map entry. 204138494Sobrien 204238494Sobrien * amd/amd.c (main): amd should chdir to / before starting, to 204338494Sobrien avoid hanging on other NFS server if started elsewhere. 204438494Sobrien 204538494Sobrien * amd/ops_TEMPLATE.c: added an empty template file for developers 204638494Sobrien who wish to write new amd pseudo file systems. 204738494Sobrien 204838494SobrienThu Jan 1 00:27:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 204938494Sobrien 205038494Sobrien * hlfsd/homedir.c (plt_init): make function exported, to save on 205138494Sobrien the unnecessary init_homedir() function which was removed. 205238494Sobrien (table_add): don't use xmalloc() when you can use strdup() 205338494Sobrien instead. 205438494Sobrien 205538494SobrienThu Jan 1 00:15:58 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 205638494Sobrien 205738494Sobrien * hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this 205838494Sobrien because we will be making more passwd calls afterwards. On 205938494Sobrien Solaris 2.5.1, making getpwent() calls after calling endpwent() 206038494Sobrien results in a memory leak! (and no, even Purify didn't detect 206138494Sobrien it...) 206238494Sobrien 206338494SobrienTue Dec 23 18:23:47 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 206438494Sobrien 206538494Sobrien * hlfsd/hlfsd.c (main): Bug fix. Don't try to free() an 206638494Sobrien automatically allocated address. 206738494Sobrien 206838494Sobrien * amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an 206938494Sobrien automatically allocated address. 207038494Sobrien 207138494Sobrien * ALL SOURCES: change every direct call to free() to xfree(), so 207238494Sobrien it can be mapped to the right debugging function as needed. 207338494Sobrien 207438494Sobrien * include/am_utils.h: new free() policy. If debugging memory, 207538494Sobrien call dxfree(), which will print the file name and line number 207638494Sobrien where the free occurred and the pointer address. if only regular 207738494Sobrien debugging, then free() and reset the pointer to NULL so it cannot 207838494Sobrien be used afterwards inadvertently. If not DEBUG at all, then just 207938494Sobrien run free(). Three different #define macros set the right mapping. 208038494Sobrien 208138494Sobrien * libamu/xutil.c (dxfree): renamed function to dxfree(), so it can 208238494Sobrien be called only when debugging the memory. 208338494Sobrien 208438494SobrienTue Dec 23 04:24:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 208538494Sobrien 208638494Sobrien * wire-test/wire-test.c (main): use xmalloc() not malloc(). 208738494Sobrien 208838494Sobrien * conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not 208938494Sobrien calloc(). 209038494Sobrien 209138494Sobrien * conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc(). 209238494Sobrien 209338494Sobrien * conf/mount/mount_linux.c (parse_opts): use xmalloc() not 209438494Sobrien malloc(). 209538494Sobrien 209638494Sobrien * amd/info_ldap.c: use xmalloc() not malloc(). 209738494Sobrien 209838494Sobrien * libamu/xutil.c (xzalloc): new function to allocate memory and 209938494Sobrien zero its bytes. 210038494Sobrien 210138494Sobrien * amq/amq.c: amq does not need its own definition of xfree(). 210238494Sobrien 210338494Sobrien * aux/macros/opt_debug.m4: if used --enable-debug=mem, then also 210438494Sobrien look for function malloc_verify() in libmapmalloc.a, and function 210538494Sobrien mallinfo() in libmalloc. 210638494Sobrien 210738494Sobrien * libamu/xutil.c (checkup_mem): do not use mallinfo field 210838494Sobrien uordbytes, because it does not always exist. Rather, compute it 210938494Sobrien from other fields.. 211038494Sobrien 211138494Sobrien * include/am_utils.h: add external definition to xfree() function 211238494Sobrien used when debugging memory references. 211338494Sobrien 211438494SobrienMon Dec 22 03:01:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 211538494Sobrien 211638494Sobrien * amd/ops_afs.c (afs_readdir_browsable): reduce the number of 211738494Sobrien bytes heuristically computed to be returned to the kernel. 211838494Sobrien Otherwise browsable_dirs fails on OpenBSD 2.2. 211938494Sobrien 212038494Sobrien * amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of 212138494Sobrien mf_private field to AFTER it gets used. 212238494Sobrien 212338494SobrienSat Dec 20 00:51:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 212438494Sobrien 212538494Sobrien * amd/ops_host.c (host_umounted): don't use clnt_spcreateerror() 212638494Sobrien on systems that don't support it. 212738494Sobrien 212838494Sobrien * include/am_defs.h: add missing extern definition for free(). 212938494Sobrien 213038494Sobrien * aux/configure.in: check for external definition for free(). 213138494Sobrien 213238494Sobrien * libamu/Makefile.am: add to comment a mention of strstr as an 213338494Sobrien optional function. 213438494Sobrien 213538494Sobrien * libamu/xutil.c (switch_to_logfile): use openlog() options only 213638494Sobrien if they exist. 213738494Sobrien 213838494Sobrien * conf/transp/transp_sockets.c (get_nfs_version): don't use 213938494Sobrien clnt_spcreateerror if it does not exist. 214038494Sobrien 214138494Sobrien * aux/configure.in: check for missing functions clnt_create and 214238494Sobrien clnt_spcreateerror. Check for missing strstr, and complete 214338494Sobrien its code. Check for missing external definition for strstr. 214438494Sobrien 214538494Sobrien * aux/macros/host_macros.m4: normalize sun3* names. 214638494Sobrien 214738494Sobrien * Makefile.am: updates for new sunos3 files distributed. 214838494Sobrien 214938494Sobrien * conf/nfs_prot/nfs_prot_sunos3.h: new file. 215038494Sobrien 215138494Sobrien * conf/fh_dref/fh_dref_sunos3.h: new file. 215238494Sobrien 215338494Sobrien * aux/macros/check_nfs_prot_headers.m4: added sunos3 case. 215438494Sobrien 215538494Sobrien * aux/macros/check_nfs_fh_dref.m4: added sunos3 case. 215638494Sobrien 215738494Sobrien * doc/am-utils.texi (wire Selector Variable): updated manual for 215838494Sobrien adjusted variables wire, network, and netnumber, all using the 215938494Sobrien in_network() function. 216038494Sobrien 216138494SobrienFri Dec 19 04:37:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 216238494Sobrien 216338494Sobrien * amd/opts.c: allow options to be processed by executing arbitrary 216438494Sobrien functions. Converted wire, network, and netnumber all to use the 216538494Sobrien nomadic function in_network. So from now on they perform a match 216638494Sobrien against all networks, not just primary. 216738494Sobrien 216838494Sobrien * initial port to alpha-unknown-linux-gnu, probably works, but 216938494Sobrien untested yet. 217038494Sobrien 217138494Sobrien * conf/nfs_prot/nfs_prot_linux.h: add special definitions for 217238494Sobrien __FD_* macros which for som strange reason do not get included 217338494Sobrien from <selectbits.h> on redhat alpha linux. Also turn off usage of 217438494Sobrien <rpc/des_auth.h> because it is incomplete on the same systems. 217538494Sobrien 217638494Sobrien * hlfsd/homedir.c (table_add): cast uid field to int, for 217738494Sobrien comparison. 217838494Sobrien 217938494Sobrien * include/am_defs.h: more coflicts with redhat alpha linux 218038494Sobrien "resolved". 218138494Sobrien 218238494Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4: 218338494Sobrien There's a conflict of definitions on redhat alpha linux between 218438494Sobrien <netinet/in.h> and <linux/fs.h> which must be avoided. 218538494Sobrien 218638494Sobrien * aux/configure.in: check for <socketbits.h>, which is in use on 218738494Sobrien redhat alpha linux. 218838494Sobrien 218938494Sobrien * doc/am-utils.texi (Selectors): added documentation to describe 219038494Sobrien the new "!" (negated) nomadic functions. 219138494Sobrien 219238494Sobrien * amd/opts.c (f_in_network): print debugging info that is correct, 219338494Sobrien rather than saying that any ARG is on a local network. 219438494Sobrien (eval_opts): added support for negating nomadic functions, by 219538494Sobrien prepending "!" to their name. Example, !exists(/foo/bar). 219638494Sobrien 219738494SobrienThu Dec 18 20:57:19 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 219838494Sobrien 219938494Sobrien * include/am_compat.h: ensure that all NFS3 systems have the mount 220038494Sobrien table entries (and amd opts switches) "proto" and "vers". 220138494Sobrien 220238494Sobrien * hlfsd/homedir.c (table_add): added some debugging info to try 220338494Sobrien and track down a serious memory leak in hlfsd. 220438494Sobrien 220538494Sobrien1997-12-18 Erez Zadok <ezk@t-rex.mcl.cs.columbia.edu> 220638494Sobrien 220738494Sobrien * libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that 220838494Sobrien you do NOT set the noconn option, and use connected sockets 220938494Sobrien always. So I'm now forced not to set it at all, and have the user 221038494Sobrien specify it as "conn" or "noconn" in their /default entry. Argh... 221138494Sobrien Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be 221238494Sobrien buggy (TCP hangs with "short receive" kernel errors). I'd better 221338494Sobrien wait until they get it working in their version of the automounter 221438494Sobrien first. So I'm putting the "noconn" option back. 221538494Sobrien 221638494SobrienThu Dec 18 02:39:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 221738494Sobrien 221838494Sobrien * libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set 221938494Sobrien nfs_args field maxgrouplist accordingly. 222038494Sobrien 222138494Sobrien * include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition 222238494Sobrien for mount table entry for maxgroups based on NFS mount option 222338494Sobrien maxgrp. 222438494Sobrien 222538494Sobrien * aux/configure.in: put back testing for NFS mount option 222638494Sobrien "maxgrps". Added test for mount table entry "maxgroups". 222738494Sobrien 222838494Sobrien * libamu/mount_fs.c (compute_nfs_args): perform more careful tests 222938494Sobrien on nfs_proto, because it could be NULL. 223038494Sobrien 223138494Sobrien * doc/am-utils.texi (Selectors): added example of in_network() 223238494Sobrien selector. 223338494Sobrien 223438494Sobrien * aux/macros/check_hide_mount_type.m4: all hpux versions, 223538494Sobrien including 9.x, should use "ignore" as the mount type to hide from 223638494Sobrien amd. 223738494Sobrien 223838494SobrienWed Dec 17 13:09:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 223938494Sobrien 224038494Sobrien * include/am_utils.h (NSTREQ): use new macro instead of strncmp() 224138494Sobrien every where in the sources. 224238494Sobrien 224338494SobrienWed Dec 17 01:15:01 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 224438494Sobrien 224538494Sobrien * libamu/mount_fs.c (print_nfs_args): if -D trace is on, will 224638494Sobrien print as much info that is given in struct nfs_args as possible. 224738494Sobrien useful for detecting internal flags and options, as well as the 224838494Sobrien file handle used. 224938494Sobrien 225038494Sobrien * scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc 225138494Sobrien after /etc and before /etc/local. 225238494Sobrien 225338494SobrienTue Dec 16 18:51:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 225438494Sobrien 225538494Sobrien * aux/configure.in, libamu/Makefile.am: added support for linking 225638494Sobrien with specific versions of libamu. Upped shared library version of 225738494Sobrien libamu to 1 (libamu.so.1.0.0) 225838494Sobrien 225938494Sobrien * include/am_defs.h: added external definition for mkstemp() as 226038494Sobrien needed. 226138494Sobrien 226238494Sobrien * minor new port to i386-unknown-netbsd1.3 (BETA version of 226338494Sobrien netbsd). 226438494Sobrien 226538494Sobrien * aux/config.guess: don't leave a trailing '.' on the system name 226638494Sobrien for NetBSD-1.3_BETA and similarly for OpenBSD. 226738494Sobrien 226838494Sobrien * conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight 226938494Sobrien differences in ypall calling conventions. 227038494Sobrien 227138494Sobrien * mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible 227238494Sobrien in preference over mktemp(), b/c it is more secure. 227338494Sobrien 227438494Sobrien * aux/configure.in: check for mkstemp(), a more secure version of 227538494Sobrien mktemp(). 227638494Sobrien 227738494SobrienMon Dec 15 02:32:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 227838494Sobrien 227938494Sobrien * amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount 228038494Sobrien table "vers" option generally do not set the mnttab entry to 228138494Sobrien "nfs3", but to "nfs" and then they set "vers=3". Setting it to 228238494Sobrien "nfs3" works, but it may break some things like "df -t nfs" and 228338494Sobrien the "quota" program (esp. on Solaris and Irix). So on those 228438494Sobrien systems, set it to "nfs". 228538494Sobrien 228638494SobrienSat Dec 13 01:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 228738494Sobrien 228838494Sobrien * doc/am-utils.texi (Distrib): updates for new ports, location of 228938494Sobrien am-utils' home page, and URL cross references (now supported by my 229038494Sobrien version of texi2html). 229138494Sobrien 229238494Sobrien * aux/macros/check_mtype_type.m4: also use string type for file 229338494Sobrien system mount types under nextstep for mount(2). 229438494Sobrien 229538494Sobrien * aux/macros/check_mtype_printf_type.m4}: nextstep can handle both 229638494Sobrien integer and string types for file system mount types in mount(2), 229738494Sobrien but it is better to use string types. 229838494Sobrien 229938494Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to 230038494Sobrien 0, not 1! Otherwise, all NFS calls (esp. mount) return errno 1 230138494Sobrien (EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now 230238494Sobrien works. 230338494Sobrien 230438494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0, 230538494Sobrien not 1! Otherwise, all NFS calls (esp. mount) return errno 1 230638494Sobrien (EPERM) instead of 0 (OK). 230738494Sobrien 230838494Sobrien * libamu/xdr_func.c (xdr_*): add debugging calls that are optioned 230938494Sobrien by -D trace (protocol trace). 231038494Sobrien 231138494Sobrien1997-12-11 Erez Zadok <ezk@bach.cs.columbia.edu> 231238494Sobrien 231338494Sobrien * A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR 231438494Sobrien macro based on existence on others, and include <sys/stat.h>. 231538494Sobrien 231638494SobrienThu Dec 11 14:14:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 231738494Sobrien 231838494Sobrien * aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off 231938494Sobrien inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on 232038494Sobrien which this header is broken (it tries to include non-existing 232138494Sobrien headers). 232238494Sobrien 232338494SobrienWed Dec 10 16:09:07 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 232438494Sobrien 232538494Sobrien * libamu/mount_fs.c (mnt_flags): support either nfs or generic 232638494Sobrien mount option for grpid. 232738494Sobrien 232838494Sobrien * aux/configure.in: turn back on NFS mount option grpid. 232938494Sobrien 233038494SobrienSat Dec 6 04:36:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 233138494Sobrien 233238494Sobrien * doc/Makefile.am (install-ps): added target to install postscript 233338494Sobrien file in the am-utils' home page, as well as a few other useful 233438494Sobrien files for the new am-utils Web page. 233538494Sobrien 233638494SobrienMon Nov 17 05:22:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 233738494Sobrien 233838494Sobrien ******************************************************************* 233938494Sobrien *** Released am-utils-6.0a14 *** 234038494Sobrien ******************************************************************* 234138494Sobrien 234238494SobrienSun Nov 16 21:56:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 234338494Sobrien 234438494Sobrien * doc/am-utils.texi (Supported Platforms): updated table of new 234538494Sobrien ports. 234638494Sobrien 234738494SobrienSat Nov 15 06:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 234838494Sobrien 234938494Sobrien * libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab 235038494Sobrien options so that they can be printed in logs as needed. 235138494Sobrien 235238494Sobrien * doc/am-utils.texi (osver Parameter): updated for the correct 235338494Sobrien usage of the -o/-O options. 235438494Sobrien 235538494Sobrien * scripts/amd.conf.5: corrected info for -o/-O options. 235638494Sobrien 235738494Sobrien * amd/amd.8: updated man page for new -O op_sys_name option, and 235838494Sobrien corrected the usage of the -o op_sys_ver option 235938494Sobrien 236038494Sobrien * amd/get_args.c (get_args): added new amd option -O to override 236138494Sobrien OS name. 236238494Sobrien (get_args): updated usage string. Removed old -m option. Added 236338494Sobrien -o and -O options. 236438494Sobrien 236538494Sobrien * conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case 236638494Sobrien it is not there. Reportedly, irix 5.2 does not define it. 236738494Sobrien 236838494Sobrien * scripts/lostaltmail.in: removed references to unused $hack 236938494Sobrien variable. 237038494Sobrien 237138494Sobrien * aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf 237238494Sobrien <metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers 237338494Sobrien for solaris2.5. 237438494Sobrien 237538494Sobrien * doc/am-utils.texi (Distrib): typo in the subscription 237638494Sobrien instructions to amd-dev. Patch from Stefan Vogel 237738494Sobrien <vogel@physik-rzu.unizh.ch>. 237838494Sobrien 237938494Sobrien1997-11-15 Erez Zadok <ezk@amtrak.cs.columbia.edu> 238038494Sobrien 238138494Sobrien * NFS3 works on powerpc-ibm-aix4.2.1.0. 238238494Sobrien 238338494Sobrien * libamu/mount_fs.c (compute_nfs_args): set fh3 variable to 238438494Sobrien static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the 238538494Sobrien stack of an automatic variable when pointer to it is passed around 238638494Sobrien several times. 238738494Sobrien 238838494SobrienFri Nov 14 20:09:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 238938494Sobrien 239038494Sobrien * libamu/xutil.c (real_plog): syslog like behavior for normal 239138494Sobrien logging. Will not print repeated strings, only a count "last 239238494Sobrien message repeated N times", but will always print something if 239338494Sobrien message is repeated more than 100 times. 239438494Sobrien 239538494Sobrien * scripts/lostaltmail.in: look for lostaltmail.conf files also in 239638494Sobrien /etc/global, /etc/os, and /etc/local (in that order). 239738494Sobrien 239838494SobrienMon Nov 10 03:03:17 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 239938494Sobrien 240038494Sobrien * conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3 240138494Sobrien mounts. 240238494Sobrien 240338494Sobrien * aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for 240438494Sobrien aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h 240538494Sobrien 240638494Sobrien * conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the 240738494Sobrien NFS_SA_DREF macro is a pointer to the structure that used to be 240838494Sobrien passed to it before. So now I have to dereference the pointer 240938494Sobrien before accessing its values. 241038494Sobrien 241138494Sobrien * hlfsd/hlfsd.c (main): use the new and cleaner 241238494Sobrien compute_nfs_args() and compute_automounter_nfs_args() functions. 241338494Sobrien 241438494Sobrien * amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner 241538494Sobrien compute_nfs_args() and compute_automounter_nfs_args() functions. 241638494Sobrien 241738494Sobrien * amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION. Use the new 241838494Sobrien and cleaner compute_nfs_args() and compute_automounter_nfs_args() 241938494Sobrien functions. 242038494Sobrien 242138494Sobrien * libamu/mount_fs.c (compute_nfs_args): major code cleanup that 242238494Sobrien relates for struct nfs_args. A new function sets the numerous 242338494Sobrien possible flags and fields of nfs_args_t in an orderly fashion. 242438494Sobrien Code cleaned up, organized, and moved from amd/hlfsd into 242538494Sobrien libamu. This saves on overall size of code. 242638494Sobrien (compute_automounter_nfs_args): A variant of compute_nfs_args() 242738494Sobrien which sets special options/flags that need to be used when NFS 242838494Sobrien mounting an automounter's mount point. Used by hlfsd and amd. 242938494Sobrien 243038494Sobrien * amq/amq.c (get_secure_amd_client): don't print any more 243138494Sobrien "get_secure_amd_client: using TCP, port 12345". It's more 243238494Sobrien annoying than useful a message, even when assumed to be compiled 243338494Sobrien under DEBUG only. 243438494Sobrien 243538494SobrienThu Oct 30 14:33:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 243638494Sobrien 243738494Sobrien * aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs 243838494Sobrien mount table entries. The code used to define the /etc/mnttab name 243938494Sobrien for file systems based on physical media (disk, cdrom, floppy) to 244038494Sobrien the generic name, rather than the OS specific name. For example 244138494Sobrien autoconf searches for all these types of mount table entries for a 244238494Sobrien floppy based file system: vfat pcfs pc msdos msdosfs fat. But if 244338494Sobrien it found any, it hard-coded the mnttab name to "pcfs" rather than 244438494Sobrien the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs, 244538494Sobrien nullfs, unionfs, and umapfs. 244638494Sobrien 244738494Sobrien * aux/configure.in: also test for xfs (for newer Irix) when 244838494Sobrien looking for mount type names, numbers, etc of a disk-based ufs. 244938494Sobrien 245038494SobrienSun Oct 26 19:32:57 1997 Erez Zadok <ezk@defiant.soscorp.com> 245138494Sobrien 245238494Sobrien * amq/amq.c (main): use pmap_ping() to test if remote host is up. 245338494Sobrien This works better on bsdi2 and bsdi3, because their portmapper 245438494Sobrien does not appear to like forwarding operations (it is generaly 245538494Sobrien insecure). 245638494Sobrien 245738494SobrienSat Oct 25 04:55:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 245838494Sobrien 245938494Sobrien ******************************************************************* 246038494Sobrien *** Released am-utils-6.0a13 *** 246138494Sobrien ******************************************************************* 246238494Sobrien 246338494SobrienFri Oct 24 05:04:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 246438494Sobrien 246538494Sobrien * conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for 246638494Sobrien struct datum typedef. 246738494Sobrien 246838494Sobrien * conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for 246938494Sobrien ypall_callback_fxn_t for netbsd. 247038494Sobrien 247138494Sobrien * aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for 247238494Sobrien the 5th arg to authunix_create(), while before and after they used 247338494Sobrien gid_t. 247438494Sobrien 247538494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use 247638494Sobrien clnt_create_timed() on older Solaris 2.3 systems that did not have 247738494Sobrien it. 247838494Sobrien 247938494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for 248038494Sobrien kernel only on bsdi2, so do not include it. 248138494Sobrien 248238494SobrienFri Oct 24 00:29:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 248338494Sobrien 248438494Sobrien * hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated 248538494Sobrien messages about resolution of mailboxes based on uid/gid. 248638494Sobrien 248738494Sobrien * scripts/ctl-hlfsd.in: check for alternate password file in 248838494Sobrien ${prefix}/etc/passwd and use it in hlfsd's startup. 248938494Sobrien 249038494SobrienThu Oct 23 22:48:50 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 249138494Sobrien 249238494Sobrien * hlfsd/homedir.c (hlfsd_getpwent): added support for -P 249338494Sobrien passwdfile option. If hlfsd is started with -P passwdfile, then 249438494Sobrien the passwdfile is read and parsed just as a standard unix 249538494Sobrien passwd(4) file. Only the username, uid, and homedir fields are 249638494Sobrien read and checked. All the rest are ignored. No NIS/netgroup 249738494Sobrien support! 249838494Sobrien 249938494Sobrien * hlfsd/hlfsd.c (main): check if hlfsd is run as root after 250038494Sobrien parsing command line options, so that usage() can be printed when 250138494Sobrien -h is invoked. 250238494Sobrien 250338494SobrienWed Oct 22 00:16:39 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 250438494Sobrien 250538494Sobrien * amd/nfs_start.c (mount_automounter): if autofs service listener 250638494Sobrien fails to initialize it is OK if using a test amd. 250738494Sobrien 250838494Sobrien * amd/opts.c (f_in_network): new nomadic function in_network(arg), 250938494Sobrien which returns TRUE if 'arg' is any one of this host's networks. 251038494Sobrien 251138494Sobrien * libamu/wire.c (getwire): rewritten parts of function, to store 251238494Sobrien all networks names and numbers in the order of the interface (not 251338494Sobrien in reverse). 251438494Sobrien 251538494SobrienMon Oct 20 01:59:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 251638494Sobrien 251738494Sobrien * aux/configure.in: don't add ops_ufs.o on AIX twice. My code 251838494Sobrien would have worked had it not been due to AIX's buggy /bin/sh. 251938494Sobrien 252038494Sobrien * doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and 252138494Sobrien am-utils.ps in the distribution sources. 252238494Sobrien (html): generate html documentation for 252338494Sobrien http://www.cs.columbia.edu/~ezk/am-utils/ 252438494Sobrien 252538494SobrienSun Oct 19 12:35:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 252638494Sobrien 252738494Sobrien * conf/nfs_prot/nfs_prot_netbsd.h: override the definition of 252838494Sobrien ypall_callback_fxn_t. The NetBSD team compiles all sources with 252938494Sobrien gcc -Wall -Wmissing-prototypes -Wstrict-prototypes. 253038494Sobrien 253138494Sobrien * amd/info_nis.c: allow for override of ypall_callback_fxn_t 253238494Sobrien function typedef. 253338494Sobrien 253438494Sobrien * libamu/xutil.c (amu_release_controlling_tty): new function to 253538494Sobrien release the controlling tty in a clean and sane manner. No longer 253638494Sobrien using setpgid() b/c it may not work. Uses setsid(), 253738494Sobrien and ioctl() (in order). This new function is used in amd/amd.c 253838494Sobrien and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some 253938494Sobrien systems, but on others it is the same as setpgid(). 254038494Sobrien 254138494SobrienSat Oct 18 23:42:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 254238494Sobrien 254338494Sobrien * aux/acconfig.h: check for nfs mount option 'fsname'. Code for 254438494Sobrien it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but 254538494Sobrien never used, because the configure test for fsname flag wasn't 254638494Sobrien used. This fixed a bug in HPUX 10, where syncer and manual mounts 254738494Sobrien left blank lines in /etc/mnttab. 254838494Sobrien 254938494Sobrien * aux/configure.in: check for nfs mount option 'fsname'. 255038494Sobrien 255138494SobrienFri Oct 17 13:30:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 255238494Sobrien 255338494Sobrien * amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs 255438494Sobrien mount flags of toplvl mounts. Important esp. for HPUX 10. Now 255538494Sobrien hpux-10 will mount amd's mounts points as 'ignore' (by df). 255638494Sobrien 255738494Sobrien * aux/configure.in: check for NFS mount option 'ignore', useful in 255838494Sobrien HPUX 10. 255938494Sobrien 256038494SobrienThu Oct 16 03:28:33 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 256138494Sobrien 256238494Sobrien * aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore" 256338494Sobrien mount type and not NFS, for the amd mount points. 256438494Sobrien 256538494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log 256638494Sobrien an RPC timeout as an error, but just an info message. From 256738494Sobrien Andreas Stolcke <stolcke@speech.sri.com> 256838494Sobrien 256938494Sobrien * If the NFS server is down or does not support the portmapper 257038494Sobrien call (such as certain Novell NFS servers) we mark it as version 2 257138494Sobrien and we let the nfs code deal with the case that is down. If when 257238494Sobrien the server comes back up, it can support NFS V.3 and/or TCP, it 257338494Sobrien will use those. From christos@deshaw.com (Christos Zoulas). 257438494Sobrien 257538494Sobrien * hlfsd/homedir.c (plt_print): various compile time cleanups to 257638494Sobrien printfs that take a long, but pass an int to print. From 257738494Sobrien christos@deshaw.com (Christos Zoulas). 257838494Sobrien 257938494Sobrien * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new 258038494Sobrien macro to determine if the OS has a bad yp_all(), based on the host 258138494Sobrien OS name. So far only irix (all versions) have a bad yp_all, so 258238494Sobrien they will use am_yp_all() instead (which is slower as it 258338494Sobrien enumerates manually all of the map's entries). 258438494Sobrien 258538494SobrienThu Oct 16 03:14:37 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 258638494Sobrien 258738494Sobrien * amd/info_nis.c (am_yp_all): code for a replacement yp_all that 258838494Sobrien avoids using a file-descriptor leaking yp_all() on some systems 258938494Sobrien like irix. 259038494Sobrien 259138494SobrienWed Oct 15 21:52:35 1997 Erez Zadok <ezk> 259238494Sobrien 259338494Sobrien * fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x 259438494Sobrien systems using /usr/bin/flex. 259538494Sobrien 259638494Sobrien * amd/conf_tok.l (yywrap): avoid redefining yywrap for systems 259738494Sobrien that have a modified GNU flex which does define yywrap (DU-4.x). 259838494Sobrien 259938494SobrienFri Sep 26 14:25:29 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 260038494Sobrien 260138494Sobrien * conf/checkmount/checkmount_bsd44.c: include prototype. 260251292Sobrien 260351292SobrienFri Sep 26 01:26:24 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 260451292Sobrien 260551292Sobrien ******************************************************************* 260651292Sobrien *** Released am-utils-6.0a12 *** 260751292Sobrien ******************************************************************* 260851292Sobrien 260951292SobrienFri Sep 26 00:13:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 261051292Sobrien 261151292Sobrien * conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs 261251292Sobrien code in irix6 until it can be tested correctly 261351292Sobrien 261451292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out 261551292Sobrien on clnt_create for 3 seconds, rather than wait for the much longer 261651292Sobrien default. 261751292Sobrien 261851292Sobrien * conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0. 261951292Sobrien Includes NFS3, untested. 262051292Sobrien 262151292SobrienThu Sep 25 11:03:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 262251292Sobrien 262351292Sobrien * amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of 262451292Sobrien pcfs_args_t if they exist. 262551292Sobrien 262651292Sobrien * amd/ops_cdfs.c (mount_cdfs): fill in ssector field of 262751292Sobrien cdfs_args_t if it exists. 262851292Sobrien 262951292Sobrien * new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05, 263051292Sobrien hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4. 263151292Sobrien 263251292SobrienWed Sep 24 00:48:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 263351292Sobrien 263451292Sobrien * doc/am-utils.texi (wire-test): updated documentation for the new 263551292Sobrien option. 263651292Sobrien 263751292Sobrien * wire-test/wire-test.8: updated man page for new option. 263851292Sobrien 263951292Sobrien * wire-test/wire-test.c (main): added a test for various 264051292Sobrien combinations of NFS proto/vers to a remote/local host. 264151292Sobrien 264251292Sobrien * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 264351292Sobrien <isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that 264451292Sobrien freebsd will correctly set mount options for pcfs and cdfs. 264551292Sobrien 264651292Sobrien * amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to 264751292Sobrien 0777 (if field exists). 264851292Sobrien 264951292Sobrien * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 265051292Sobrien <msdosfs/msdosfsmount.h> if available. 265151292Sobrien 265251292Sobrien * minor new port: rs6000-ibm-aix4.1.4.0. 265351292Sobrien 265451292Sobrien * libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to 265551292Sobrien write the "time" field in /etc/mnttab. 265651292Sobrien 265751292Sobrien * conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for 265851292Sobrien detecting mnt_time field of mntent_t. 265951292Sobrien 266051292Sobrien * libamu/mtab.c (mnt_free): fixed typo in macro names for 266151292Sobrien detecting mnt_time field of mntent_t. 266251292Sobrien 266351292SobrienTue Sep 23 15:30:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 266451292Sobrien 266551292Sobrien * conf/mtab/mtab_file.c (lock): Use flock() in preference over 266651292Sobrien fcntl() to lock the mtab file. 266751292Sobrien 266851292SobrienMon Sep 22 23:04:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 266951292Sobrien 267051292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): define 267151292Sobrien the try_again goto label only for NFS3. 267251292Sobrien (pmap_ping): assume timeout failure of clnt_stat. 267351292Sobrien 267451292Sobrien * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to 267551292Sobrien "groups *". 267651292Sobrien 267751292SobrienMon Sep 22 20:34:33 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 267851292Sobrien 267951292Sobrien * conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley 268051292Sobrien <dsr@mail.lns.cornell.edu> to make sure that amd works with more 268151292Sobrien secure portmappers that do not allow forwarding of RPC messages to 268251292Sobrien other services. 268351292Sobrien 268451292Sobrien * */Makefile.am: all source files should also depend on the new 268551292Sobrien include/am_xdr_func.h header. 268651292Sobrien 268751292Sobrien * include/am_xdr_func.h: new file as part of the code cleanup from 268851292Sobrien Christos Zoulas <christos@deshaw.com>. 268951292Sobrien 269051292Sobrien * Lots of fixes from Christos Zoulas <christos@deshaw.com> that 269151292Sobrien involved missing prototypes, cleaned up ones, and removal of 269251292Sobrien unused variables. 269351292Sobrien 269451292Sobrien * libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch 269551292Sobrien statement with only one case is unclean. 269651292Sobrien 269751292SobrienMon Sep 22 17:26:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 269851292Sobrien 269951292Sobrien * amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to 270051292Sobrien 0 so that all fields are initialized to zero at first. This way 270151292Sobrien SunOS 4.x and other systems don't get /etc/mtab entries with 270251292Sobrien random integers for the fsck/freq fields. Patch from Andreas 270351292Sobrien Stolcke <stolcke@speech.sri.com>. 270451292Sobrien 270551292SobrienMon Sep 22 00:34:19 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 270651292Sobrien 270751292Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so 270851292Sobrien that the important definition for HOSTNAMESZ will be found. 270951292Sobrien 271051292Sobrien * amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ 271151292Sobrien (inside the nfs_args structure) if the system uses that macro. 271251292Sobrien Otherwise systems like SunOS refuse to NFS mount long pathnames 271351292Sobrien and result in ENAMETOOLONG errno's. 271451292Sobrien 271551292SobrienWed Sep 17 04:56:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 271651292Sobrien 271751292Sobrien * doc/am-utils.texi (Supported Platforms): specify new support for 271851292Sobrien solaris 2.6, and hlfsd running on 2.5.1 too. 271951292Sobrien 272051292SobrienWed Sep 17 03:55:02 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 272151292Sobrien 272251292Sobrien * conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs 272351292Sobrien mount if it is not supported or was turned off. 272451292Sobrien 272551292SobrienWed Sep 17 03:19:36 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 272651292Sobrien 272751292Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount 272851292Sobrien again. Apparently at some previous release SunOS 4 supported was 272951292Sobrien broken and all nfs mounts resulted in ESTALE. 273051292Sobrien 273151292SobrienWed Sep 17 00:26:25 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 273251292Sobrien 273351292Sobrien * conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for 273451292Sobrien solaris 2.6. 273551292Sobrien 273651292Sobrien * aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs 273751292Sobrien protocol header selection. 273851292Sobrien 273951292SobrienSat Sep 13 14:31:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 274051292Sobrien 274151292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid 274251292Sobrien infinite loop. 274351292Sobrien 274451292SobrienSun Sep 7 18:23:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 274551292Sobrien 274651292Sobrien ******************************************************************* 274751292Sobrien *** Released am-utils-6.0a11 *** 274851292Sobrien ******************************************************************* 274951292Sobrien 275051292SobrienFri Sep 5 11:55:10 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 275151292Sobrien 275251292Sobrien * amd/amd.c (main): if plock() succeeded, don't try to display 275351292Sobrien errno message. Patch from Chris Metcalf 275451292Sobrien <metcalf@catfish.lcs.mit.edu. 275551292Sobrien 275651292SobrienThu Sep 4 19:17:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 275751292Sobrien 275851292Sobrien * hlfsd/homedir.c (table_add): make sure duplicate passwd entries 275951292Sobrien are ignored. Only the first entry should ever be used, because 276051292Sobrien that's how lookup in passwd database works. 276151292Sobrien 276251292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): when determining 276351292Sobrien if a remote host is up or down, use NFS v.2. Fix suggested by 276451292Sobrien Enami Tsugutomo <enami@cv.sony.co.jp>. 276551292Sobrien 276651292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): new 276751292Sobrien function to get the best possible NFS version, but also timeout 276851292Sobrien faster than normal defaults, so remote hosts which are down can be 276951292Sobrien detected in a reasonable time. 277051292Sobrien (get_nfs_version): use the new "best" function. 277151292Sobrien 277251292SobrienTue Sep 2 00:41:00 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 277351292Sobrien 277451292Sobrien ******************************************************************* 277551292Sobrien *** Released am-utils-6.0a10 *** 277651292Sobrien ******************************************************************* 277751292Sobrien 277851292SobrienMon Sep 1 15:39:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 277951292Sobrien 278051292Sobrien * conf/transp/transp_tli.c (get_nfs_version): don't use 278151292Sobrien clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4 278251292Sobrien and earlier). 278351292Sobrien 278451292Sobrien * aux/configure.in: test for existence of clnt_tp_create_timed(), 278551292Sobrien since Solaris 2.4 (and possibly earlier) do not have it. 278651292Sobrien 278751292SobrienMon Sep 1 15:23:18 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 278851292Sobrien 278951292Sobrien * amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid 279051292Sobrien field if it exists (solaris 2.4's autofs does not have it). 279151292Sobrien 279251292SobrienMon Sep 1 14:45:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 279351292Sobrien 279451292Sobrien * aux/macros/type_auth_create_gidlist.m4: a new test to determine 279551292Sobrien the correct type to the 5th argument of authunix_create(). 279651292Sobrien 279751292SobrienMon Sep 1 03:44:32 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 279851292Sobrien 279951292Sobrien * libamu/xdr_func.c (xdr_umntrequest): add test for autofs 280051292Sobrien structure umntrequest, if it has the field rdevid. Seems Solaris 280151292Sobrien 2.4 and earlier didn't have it. 280251292Sobrien 280351292SobrienMon Sep 1 01:10:53 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 280451292Sobrien 280551292Sobrien * hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it 280651292Sobrien can be done before primary process forks. 280751292Sobrien (main): bug fix: wait a bit to give child a chance to initialize. 280851292Sobrien Without this, hlfsd got into a busy infinite loop while, never 280951292Sobrien completing the mount. 281051292Sobrien 281151292Sobrien * amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov> 281251292Sobrien to make amd works when talking to NIS+ servers in NIS 281351292Sobrien compatibility mode. 281451292Sobrien 281551292SobrienMon Sep 1 00:46:56 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 281651292Sobrien 281751292Sobrien * amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024. 281851292Sobrien 281951292SobrienSun Aug 31 20:20:40 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 282051292Sobrien 282151292Sobrien * amd/conf.c (gopt_fully_qualified_hosts): a new function to 282251292Sobrien process another new global variable. 282351292Sobrien 282451292Sobrien * amd/ops_nfs.c (make_nfs_auth): if a new global variable 282551292Sobrien fully_qualified_hosts is on, use FQHN in RPC/NFS authentications. 282651292Sobrien Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>. 282751292Sobrien 282851292Sobrien * amd/conf.c (process_last_regular_map): If the amd.conf file only 282951292Sobrien has a [global] section (pretty useless IMHO), do not try to 283051292Sobrien process a map that does not exist. 283151292Sobrien 283251292Sobrien * scripts/amd.conf.5: fixed typos (repeated 'as' word). 283351292Sobrien 283451292Sobrien * doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!! 283551292Sobrien 283651292Sobrien * amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm 283751292Sobrien structure, so it does not carry over from map entry to another. 283851292Sobrien 283951292SobrienSat Aug 30 18:39:21 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 284051292Sobrien 284151292Sobrien * amd/amd.c (main): fixed the meaning of the plock option. A bug 284251292Sobrien caused it to be reversed. 284351292Sobrien 284451292SobrienSat Aug 30 15:13:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 284551292Sobrien 284651292Sobrien * hlfsd/stubs.c: don't initialize some statics here. They are 284751292Sobrien better initialized in hlfsd_init_filehandles(). 284851292Sobrien 284951292SobrienFri Aug 22 14:47:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 285051292Sobrien 285151292Sobrien * amd/conf.c (gopt_show_statfs_entries): new function and a global 285251292Sobrien amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes', 285351292Sobrien then all maps flagged as browsable will also show a count of the 285451292Sobrien number of entries (keys) in that map. 285551292Sobrien 285651292Sobrien * amd/nfs_subr.c (count_map_entries): new function to count number 285751292Sobrien of entries in a map. Now used if browsable is turned on in a map, 285851292Sobrien to return a count of available keys in a given map. 285951292Sobrien 286051292Sobrien * hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd 286151292Sobrien confused the file handles for ".", "..", and the symlink, causing 286251292Sobrien mess. 286351292Sobrien 286451292Sobrien * aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12, 286551292Sobrien but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts 286651292Sobrien with bad memcmp() in libc's (nextstep3). 286751292Sobrien 286851292SobrienThu Aug 21 17:38:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 286951292Sobrien 287051292Sobrien * aux/configure.in: check if autofs_args_t has a field named 287151292Sobrien addr. Solaris has it for specifying the address of the daemon, 287251292Sobrien but Irix does not. So how does irix tell the kernel the daemon's 287351292Sobrien address? I suspect that it is hardcoded to "localhost" using a 287451292Sobrien "private well-known port" (#define AUTOFS_PORT 2048). 287551292Sobrien 287651292Sobrien * conf/nfs_prot/nfs_prot_linux.h: added missing autofs 287751292Sobrien definitions. 287851292Sobrien 287951292Sobrien * README.autofs: new file listing autofs support notes 288051292Sobrien 288151292Sobrien * very preliminary autofs code working. Call it pre-alpha 288251292Sobrien quality. 288351292Sobrien 288451292SobrienSun Aug 17 02:25:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 288551292Sobrien 288651292Sobrien * amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept 288751292Sobrien "autofs" if system does not support it. 288851292Sobrien 288951292Sobrien * amd/amd.c (main): log am-utils version string (same as amd -v) 289051292Sobrien at start of run. 289151292Sobrien 289251292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): in order to tell 289351292Sobrien if a remote host is available, try to contact its portmapper and 289451292Sobrien timeout if no answer is received in 3 seconds. 289551292Sobrien 289651292SobrienThu Aug 14 16:12:04 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 289751292Sobrien 289851292Sobrien * aux/macros/check_extern.m4 (pattern): use a simpler pattern for 289951292Sobrien match for external function definitions. The function could span 290051292Sobrien multiple lines, so only match the opening parenthesis, not the 290151292Sobrien closing one too. 290251292Sobrien 290351292Sobrien * aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on 290451292Sobrien posix mode for nextstep3. It is broken. 290551292Sobrien 290651292Sobrien * amd/amd.c (init_global_options): run uname() only if 290751292Sobrien <sys/utsname.h> and uname(2) exist. 290851292Sobrien 290951292Sobrien * amd/rpc_fwd.c (fwd_packet): if remote host is down, the 291051292Sobrien forwarding socket is null, so declare this an error. 291151292Sobrien 291251292Sobrien * include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set 291351292Sobrien for when a remote host is down. Try, in order, "host down", "host 291451292Sobrien unreachable", "invalid argument". 291551292Sobrien 291651292Sobrien * amd/ops_nfs.c (discard_fh): don't dereference a null pointer 291751292Sobrien (happens when remote host is down, and fp->fh_fs is NULL). 291851292Sobrien (prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID 291951292Sobrien and FSF_DOWN. 292051292Sobrien 292151292Sobrien * amd/sched.c: nobody uses "union wait" any more, or so it 292251292Sobrien appears, so clean up that code. 292351292Sobrien 292451292Sobrien * conf/transp/transp_tli.c (get_nfs_version): if remote host is 292551292Sobrien down, time it out faster than default (3 seconds). 292651292Sobrien (get_mount_client): free netconfig entry when done with it. 292751292Sobrien 292851292Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly) 292951292Sobrien port to nextstep3 (m68k-next-nextstep3). 293051292Sobrien 293151292Sobrien * fsinfo/Makefile.am (LDADD): needs to link with libamu in case 293251292Sobrien system does not have strdup(). 293351292Sobrien 293451292Sobrien * include/am_defs.h: complete external definition for getlogin() 293551292Sobrien if needed. 293651292Sobrien 293751292Sobrien * conf/transp/transp_tli.c (get_nfs_version): no need to keep 293851292Sobrien static versout variable. 293951292Sobrien 294051292Sobrien * amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote 294151292Sobrien server is probably down. Don't use sendto() in that case. 294251292Sobrien 294351292Sobrien * buildall (default): run gmake if found, before trying plain 294451292Sobrien make. GNU make is always preferable. 294551292Sobrien 294651292SobrienTue Aug 12 21:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 294751292Sobrien 294851292Sobrien * aux/macros/host_macros.m4: cleanup of os_version and os 294951292Sobrien overrides. Solaris 2.5.1 for example will come up as solaris2 and 295051292Sobrien 2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in 295151292Sobrien the amd.conf file. 295251292Sobrien 295351292SobrienFri Aug 8 14:37:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 295451292Sobrien 295551292Sobrien ******************************************************************* 295651292Sobrien *** Released am-utils-6.0a9 *** 295751292Sobrien ******************************************************************* 295851292Sobrien 295951292SobrienThu Aug 7 00:52:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 296051292Sobrien 296151292Sobrien * conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2 296251292Sobrien (i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff 296351292Sobrien from <ndbm.h> and <sys/resource.h>. 296451292Sobrien 296551292Sobrien * scripts/amd.conf.5: new map page. 296651292Sobrien 296751292Sobrien * amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3 296851292Sobrien does not. 296951292Sobrien 297051292Sobrien * amd/amd.8: updated man page. 297151292Sobrien 297251292Sobrien * amd/get_args.c (get_args): removed defunct -h option to amd. 297351292Sobrien 297451292Sobrien * amq/amq.8: updated man page. 297551292Sobrien 297651292Sobrien * amd/info_nisplus.c (nisplus_search): prototype fixes so Sun 297751292Sobrien SparcCompiler CC won't complain. 297851292Sobrien 297951292Sobrien * amd/info_hesiod.c (hesiod_search): small fixes to compile with 298051292Sobrien hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>. 298151292Sobrien 298251292Sobrien * aux/macros/opt_ldflags.m4: new option added to configure 298351292Sobrien --enable-ldflags, to specify -L option for configuring/compiling. 298451292Sobrien The older one --enable-libs is now to be used only for -l options. 298551292Sobrien 298651292Sobrien * amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize 298751292Sobrien nc_protoname from nfs_proto if available for all TLI systems, not 298851292Sobrien just those that have NFS V3. 298951292Sobrien 299051292Sobrien * amd/info_ldap.c: ldap patches from Leif Johansson 299151292Sobrien <leifj@matematik.su.se>, adding two new amd.conf ldap variables: 299251292Sobrien ldap_cache_seconds and ldap_cache_maxmem. 299351292Sobrien 299451292Sobrien * hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in 299551292Sobrien htons(). 299651292Sobrien 299751292SobrienSun Aug 3 17:20:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 299851292Sobrien 299951292Sobrien * amd/nfs_start.c (mount_automounter): register amd with the rpc 300051292Sobrien program number that may have been overridden by amd.conf. 300151292Sobrien 300251292Sobrien * libamu/xutil.c (set_amd_program_number, get_amd_program_number): 300351292Sobrien allow storing and retrieving alternate amd program numbers. 300451292Sobrien 300551292Sobrien * amd/conf.c (gopt_portmap_program): new function to parse 300651292Sobrien amd.conf entry portmap_program=1234. 300751292Sobrien 300851292Sobrien * amq/amq.c (main): allow specifying an alternate rpc program 300951292Sobrien number for amd via -P prognum. 301051292Sobrien 301151292Sobrien * new amq RPC to get the process id of the running amd. This is 301251292Sobrien used in ctl-amd to quickly find the pid of the amd that is to be 301351292Sobrien killed. 301451292Sobrien 301551292Sobrien * expanded shared libraries support. Using GNU libtool-1.0, 301651292Sobrien am-utils now builds shared libraries on many platforms that have 301751292Sobrien support for it and proper compilers/linkers. See "INSTALL" file 301851292Sobrien for compatibility chart. 301951292Sobrien 302051292SobrienThu Jul 31 13:07:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 302151292Sobrien 302251292Sobrien * fsinfo/fsi_lex.l: removed code that was in support of very old 302351292Sobrien versions of flex. No longer needed. 302451292Sobrien 302551292SobrienTue Jul 29 12:00:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 302651292Sobrien 302751292Sobrien * amd/amd.c (init_global_options): find the kernel architecture 302851292Sobrien from uname() if possible. 302951292Sobrien 303051292SobrienMon Jul 28 03:53:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 303151292Sobrien 303251292Sobrien * new working port: i386-unknown-openbsd2.1 303351292Sobrien 303451292SobrienFri Jul 25 03:16:31 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 303551292Sobrien 303651292Sobrien * working port: sparc-sun-solaris2.4. Had to fix fhandle_t from 303751292Sobrien structure to actual char[], because the structure was passed to 303851292Sobrien xdr_fhandle as data and not a pointer. Surprisingly, gcc 303951292Sobrien -fpcc-struct-return did not help. 304051292Sobrien 304151292Sobrien * conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol 304251292Sobrien definitions for solaris 2.4 have to be different from 2.3, and 304351292Sobrien different from 2.5. 304451292Sobrien 304551292Sobrien * libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup. 304651292Sobrien 304751292SobrienThu Jul 24 16:22:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 304851292Sobrien 304951292Sobrien * conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount 305051292Sobrien types, not ==. Fix from Christos Zoulas <christos@deshaw.com>. 305151292Sobrien 305251292Sobrien * mk-amd-map/mk-amd-map.8: man page taken from bsd44. 305351292Sobrien 305451292SobrienThu Jul 24 00:01:55 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 305551292Sobrien 305651292Sobrien * conf/mount/mount_linux.c: made the nfs error mapping code into a 305751292Sobrien small function. 305851292Sobrien 305951292SobrienWed Jul 23 16:11:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 306051292Sobrien 306151292Sobrien * conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special 306251292Sobrien error mappings from errno numbers to NFS errors. From Debian 306351292Sobrien Linux. 306451292Sobrien 306551292Sobrien * scripts/am-eject.in (fs): new script (taken from Debian Linux 306651292Sobrien folks) to auto-unmount floppy/cd devices before ejecting them. 306751292Sobrien 306851292Sobrien * fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass 306951292Sobrien '5' as second arg to show_area_being_processed. I'm not sure why. 307051292Sobrien 307151292Sobrien * fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as 307251292Sobrien second arg to show_area_being_processed. I'm not sure why. 307351292Sobrien 307451292Sobrien * conf/mount/mount_linux.c (parse_opts): as per Debian Linux, 307551292Sobrien ensure that you have a buffer in *xopts to strcat onto. 307651292Sobrien (mount_linux): fixed from Debian folks to ensure that NFS mount 307751292Sobrien sockets are connected only for kernels prior to 1.3.10 (avoids 307851292Sobrien hangs for multi-homed hosts). 307951292Sobrien 308051292Sobrien * amd/mapc.c (make_entry_chain): from Debian folks: don't skip 308151292Sobrien over amd map keys that have a prefix, and include the prefix in 308251292Sobrien the returned readdir(). 308351292Sobrien 308451292Sobrien * amd/info_passwd.c (passwd_init, passwd_search): format 308551292Sobrien enhancements from the Debian Linux folks. They added 308651292Sobrien - var0:=pw-prefix:=anydir 308751292Sobrien - var1:=pw-rhost:=dom3.dom2.dom1 308851292Sobrien - var2:=pw-user:=user 308951292Sobrien - var3:=pw-home:=/anydir/dom1/dom2/dom3/user 309051292Sobrien 309151292Sobrien * new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1. 309251292Sobrien 309351292Sobrien * amd/ops_afs.c (afs_retry): patches from Debian Linux. If 309451292Sobrien afs_mount timed out, then explicitly forbid further retries after 309551292Sobrien the timeout. (afs_bgmount): buf fix from Debian Linux. Timeout 309651292Sobrien values (17 and 5) were mistakenly swapped. 309751292Sobrien 309851292SobrienWed Jul 23 15:53:25 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 309951292Sobrien 310051292Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3 310151292Sobrien support for Solaris 2.4 (the header files incorrectly define parts 310251292Sobrien of the NFS V.3 protocol, but the kernel does not support it). 310351292Sobrien 310451292SobrienWed Jul 23 00:07:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 310551292Sobrien 310651292Sobrien * amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init 310751292Sobrien for determining if using old or new hesiod libraries, 310851292Sobrien respectively. 310951292Sobrien 311051292Sobrien * amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS 311151292Sobrien V.3 then use non-connected sockets (both TCP and UDP). Otherwise 311251292Sobrien they cause hangs of mounts from multi-homed hosts when the return 311351292Sobrien route is not the same as the outgoing route (esp. on NetBSD 311451292Sobrien 1.2.1). If "conn" option was supplied, then don't turn on the 311551292Sobrien "noconn" mount option. Otherwise default to "noconn" mount 311651292Sobrien option. 311751292Sobrien 311851292Sobrien * aux/configure.in: better check for systems that need libgdbm and 311951292Sobrien <ndbm.h> 312051292Sobrien 312151292SobrienTue Jul 22 04:02:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 312251292Sobrien 312351292Sobrien * hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that 312451292Sobrien mounts are hidden from df(1) on systems that keep mount tables in 312551292Sobrien kernel, such as osf1. 312651292Sobrien 312751292SobrienTue Jul 22 02:26:55 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 312851292Sobrien 312951292Sobrien ******************************************************************* 313051292Sobrien *** Released am-utils-6.0a8 *** 313151292Sobrien ******************************************************************* 313251292Sobrien 313351292SobrienMon Jul 21 21:33:19 1997 Erez Zadok <ezk@stone.mcl.cs.columbia.edu> 313451292Sobrien 313551292Sobrien * hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to 313651292Sobrien AF_INET when hlfsd mounts itself, thus getting an errno "protocol 313751292Sobrien family not supported". 313851292Sobrien 313951292SobrienMon Jul 21 20:46:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 314051292Sobrien 314151292Sobrien * verified that amd on NetBSD 1.2.1 (i386) works, but the OS 314251292Sobrien itself is flaky. 314351292Sobrien 314451292Sobrien * verified that amd AIX 3 works w/ the new readdir() code. 314551292Sobrien 314651292SobrienMon Jul 21 18:59:30 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 314751292Sobrien 314851292Sobrien * amd/mapc.c (maptypes): changed the default map caching type for 314951292Sobrien nis and ndbm maps to "MAPC_ALL", so that all possible entries will 315051292Sobrien be available to amd for browsable_dirs=yes. 315151292Sobrien 315251292SobrienMon Jul 21 18:04:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 315351292Sobrien 315451292Sobrien * amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split 315551292Sobrien afs_readdir into a browsable version and a non-browsable one. 315651292Sobrien Fixed bugs that resulted in an infinite nfs_readdir loop on the 315751292Sobrien localhost for some operating systems. 315851292Sobrien 315951292SobrienSat Jul 19 19:38:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 316051292Sobrien 316151292Sobrien * amd/ops_afs.c (afs_readdir): fixed up the browsable code to 316251292Sobrien comply with nfs_readdir specs. It was returning all entries at 316351292Sobrien once, even if there was not enough space in the RPC packet. Now, 316451292Sobrien it sends a reasonably sized chunk, and sets static state to resume 316551292Sobrien it for the next continuation RPC of readdir. 316651292Sobrien 316751292Sobrien * amd/conf.c (set_conf_kv): fixed bug that resulted in the first 316851292Sobrien regular map not getting all of the [global] options defaulted from. 316951292Sobrien 317051292SobrienFri Jul 18 00:45:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 317151292Sobrien 317251292Sobrien * amq/amq.c (main): fixed so that portmapper "ping" will only fail 317351292Sobrien upon an RPC timeout 317451292Sobrien 317551292Sobrien * scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the 317651292Sobrien amd/hlfsd process to kill. 317751292Sobrien 317851292Sobrien * amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to 317951292Sobrien determine how to avoid df from seeing amd's toplvl mounts. Moved 318051292Sobrien from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd 318151292Sobrien is hidden from df. 318251292Sobrien (mount_toplvl): fixed df types for irix. 318351292Sobrien 318451292SobrienThu Jul 17 21:59:45 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 318551292Sobrien 318651292Sobrien * amq/amq.c (main): fixed bug that caused the 5 second timeout for 318751292Sobrien TLI amq using udp to be ignored. 318851292Sobrien (main): if amq cannot contact remote host's portmapper within 5 318951292Sobrien seconds, timeout and fail faster than the default longer timeout 319051292Sobrien (this is for non-TLI systems). 319151292Sobrien 319251292SobrienThu Jul 17 17:08:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 319351292Sobrien 319451292Sobrien * amq/amq.c (get_secure_amd_client): if amq cannot contact 319551292Sobrien remote host's portmapper within 5 seconds, timeout and fail faster 319651292Sobrien than the default TLI timeout of over 4 minutes. 319751292Sobrien 319851292Sobrien * amd/am_ops.c (ops_showfstypes): added styles for new bsd44 319951292Sobrien file systems nullfs, unionfs, and umapfs. 320051292Sobrien (ops_show1): cleanup code and and reuse this function. 320151292Sobrien (vops): empty placeholders for nullfs, unionfs, and umapfs. 320251292Sobrien 320351292Sobrien * amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for 320451292Sobrien bsd44 style file systems. 320551292Sobrien 320651292Sobrien * fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44 320751292Sobrien sources. 320851292Sobrien 320951292Sobrien * amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid 321051292Sobrien conflict with systems that define it in <sys/ioctl.h> and also 321151292Sobrien define a conflicting one via lex. Newer versions of f/lex are ok. 321251292Sobrien 321351292SobrienWed Jul 16 00:17:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 321451292Sobrien 321551292Sobrien * amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields 321651292Sobrien acdirmin/max and acregmin/max only if they exist. 321751292Sobrien 321851292Sobrien * aux/configure.in: test for nfs_args fields acdirmin and 321951292Sobrien acregmin. 322051292Sobrien 322151292SobrienTue Jul 15 17:24:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 322251292Sobrien 322351292Sobrien * aux/configure.in: commented out checking for MNT2_GEN_OPT_* for 322451292Sobrien "nondev" and commented back in checking for "nodev". This was a 322551292Sobrien typo. 322651292Sobrien 322751292Sobrien * include/am_compat.h: more compatibility options: define "ro" 322851292Sobrien mnttab option all the time. Define "overlay" as needed. Added 322951292Sobrien more fillers of mnttab options (as per Daniel S. Riley 323051292Sobrien <dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax, 323151292Sobrien acregmin, noac, grpid, nosuid, and actimo. 323251292Sobrien 323351292Sobrien * libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as 323451292Sobrien per dsr@mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up 323551292Sobrien the same code for other options in struct opt_tab. 323651292Sobrien 323751292SobrienMon Jul 14 22:36:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 323851292Sobrien 323951292Sobrien * amd/get_args.c (get_args): moved amd.conf file parsing to before 324051292Sobrien the switching the default log/debug options. Suggested by 324151292Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley). 324251292Sobrien 324351292Sobrien * aux/update_build_version: new script to record the build version 324451292Sobrien of amd, along with the rest of the info thet comes up with amd -v. 324551292Sobrien 324651292SobrienSun Jul 13 00:30:24 1997 Erez Zadok <ezk@decca.damtp.cam.ac.uk> 324751292Sobrien 324851292Sobrien * aux/macros/os_cflags.m4: new macro, to add additional 324951292Sobrien compilation options (also used during configuration), based on the 325051292Sobrien OS and the compiler. Used for solaris-2.6, osf, and irix6. 325151292Sobrien 325251292SobrienFri Jul 11 10:15:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 325351292Sobrien 325451292Sobrien * amd/conf_tok.l, conf_parse.y: allow values of keys to include 325551292Sobrien white spaces, if they are double-quoted (key="some value") 325651292Sobrien 325751292Sobrien * amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes 325851292Sobrien of hesiod from Danny Braniss <danny@cs.huji.ac.il>. 325951292Sobrien 326051292SobrienFri Jul 11 02:16:06 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 326151292Sobrien 326251292Sobrien ******************************************************************* 326351292Sobrien *** Released am-utils-6.0a7 *** 326451292Sobrien ******************************************************************* 326551292Sobrien 326651292SobrienThu Jul 10 12:19:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 326751292Sobrien 326851292Sobrien * include/am_defs.h: fill in extern definition of innetgr() in 326951292Sobrien case system headers don't. 327051292Sobrien 327151292Sobrien * aux/macros/path_prog_lex.m4 aux/configure.in: using macros that 327251292Sobrien will show the full pathname to yacc/bison and f/lex. Some systems 327351292Sobrien have older or bad versions of those and this way the user will 327451292Sobrien know for sure what is being invoked. 327551292Sobrien 327651292Sobrien * tasks: file populated with todo items. 327751292Sobrien 327851292Sobrien * scripts/amd2ldif.in: Script to convert amd maps to plain text 327951292Sobrien LDAP object files. Contributed by Leif Johansson 328051292Sobrien <leifj@matematik.su.se>. 328151292Sobrien 328251292Sobrien * aux/config.guess: added recognition for sun3's running 4.2bsd, 328351292Sobrien from Tom Schmidt <tschmidt@micron.com>. Fixed one small typo. 328451292Sobrien 328551292Sobrien * amd/conf.c: several variables that were local to a map, were 328651292Sobrien also added to [global], where they apply to all maps. Each map 328751292Sobrien can then individually override those defaults. Flags 328851292Sobrien affected: browsable_dirs and mount_type. Options affected: 328951292Sobrien map_type, map_options, and search_path. 329051292Sobrien 329151292Sobrien * amd/amd.h: eliminated several global flags each of which took an 329251292Sobrien int, in favor of one global flags variable used as a bit field. 329351292Sobrien 329451292Sobrien * amd/amd.c (init_global_options): moved all global variables into 329551292Sobrien a single struct amu_global_options, so it is easier to add new 329651292Sobrien ones and/or identify existing ones. 329751292Sobrien 329851292Sobrien * amd/get_args.c (get_args): removed unused amd -m option. 329951292Sobrien 330051292Sobrien * amd/conf.c (gopt_cluster): added new amd.conf option for cluster 330151292Sobrien name, same as amd -C. 330251292Sobrien 330351292Sobrien * amd/info_ldap.c: LDAP info map functions from Leif Johansson 330451292Sobrien <leifj@matematik.su.se>. 330551292Sobrien 330651292Sobrien * amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global 330751292Sobrien amd.conf options for ldap_base and ldap_hostports. 330851292Sobrien 330951292Sobrien * amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test 331051292Sobrien if the current host is in the ARG host netgroup. 331151292Sobrien 331251292Sobrien * aux/configure.in: some systems replaced dbm in libc with GNU's 331351292Sobrien libgdbm, so check for libgdbm, but only if dbm_open is not in 331451292Sobrien libc already. This was a recommendation from Tom Schmidt 331551292Sobrien <tschmidt@micron.com>. 331651292Sobrien 331751292Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3 331851292Sobrien completed. 331951292Sobrien 332051292SobrienWed Jul 9 18:14:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 332151292Sobrien 332251292Sobrien * port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS 332351292Sobrien V.3. 332451292Sobrien 332551292SobrienTue Jul 8 17:35:07 1997 Erez Zadok <ezk@elk.mcl.cs.columbia.edu> 332651292Sobrien 332751292Sobrien * port to i386-unknown-freebsd3.0 done and working. Includes NFS 332851292Sobrien V.3. 332951292Sobrien 333051292Sobrien * aux/macros/check_nfs_fh_dref.m4: freebsd3 should use 333151292Sobrien file handle dereferencing style similar to freebsd22. 333251292Sobrien 333351292Sobrien * include/am_defs.h: need to include <net/if_var.h> before 333451292Sobrien <netinet/if_ether.h> on freebsd3. 333551292Sobrien 333651292Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions 333751292Sobrien for freeBSD 3.0. 333851292Sobrien 333951292SobrienTue Jul 8 16:53:41 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 334051292Sobrien 334151292Sobrien * amd/info_nis.c (nis_reload): cast nis' callback function so 334251292Sobrien picky compilers won't complain. 334351292Sobrien 334451292Sobrien * libamu/xdr_mountres3.c (xdr_mountres3): make sure this function 334551292Sobrien gets compiled only if the system has NFS V3 and does not have 334651292Sobrien xdr_mountres3. 334751292Sobrien 334851292SobrienTue Jul 8 12:42:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 334951292Sobrien 335051292Sobrien * COPYING: put in some legal stuff in this file. 335151292Sobrien 335251292SobrienMon Jul 7 19:10:44 1997 Erez Zadok <ezk@prometheus.soscorp.com> 335351292Sobrien 335451292Sobrien * NFS V3 now works under Irix5, thanks to patches from 335551292Sobrien Andreas Stolcke <stolcke@speech.sri.com>. 335651292Sobrien 335751292Sobrien * conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5 335851292Sobrien version and an irix6 version, since irix5's NFS V3 code is broken 335951292Sobrien and hacky. 336051292Sobrien 336151292Sobrien * amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer 336251292Sobrien sizes for some hesiod queries. Patch from Danny Braniss 336351292Sobrien <danny@cs.huji.ac.il>. 336451292Sobrien 336551292SobrienMon Jul 7 19:04:14 1997 Erez Zadok <ezk@glory.soscorp.com> 336651292Sobrien 336751292Sobrien * amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3. 336851292Sobrien 336951292SobrienSun Jul 6 14:22:24 1997 Erez Zadok <ezk@glory.soscorp.com> 337051292Sobrien 337151292Sobrien * aux/{configure.in,acconfig.h}: added checks for struct 337251292Sobrien nfs_args's fields proto and sotype (bsdi3). 337351292Sobrien 337451292Sobrien * amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to 337551292Sobrien nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field 337651292Sobrien to SOCK_STREAM or SOCK_DGRAM. 337751292Sobrien 337851292Sobrien * aux/macros/check_mount_style.m4: add case for bsdi3. 337951292Sobrien 338051292Sobrien * amd/info_hesiod.c: got hesiod support for bsdi3. 338151292Sobrien 338251292SobrienSun Jul 6 11:14:47 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 338351292Sobrien 338451292Sobrien * aux/configure.in: look for hesiod on libc (bsdi3) 338551292Sobrien 338651292Sobrien * amd/get_args.c (get_args): reformat usage so it fits in 80 338751292Sobrien columns. 338851292Sobrien 338951292Sobrien * scripts/ctl-amd.in: changed directory name for optional tftpboot 339051292Sobrien map to /tftpboot/.amd. 339151292Sobrien 339251292SobrienSat Jul 5 17:46:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 339351292Sobrien 339451292Sobrien ******************************************************************* 339551292Sobrien *** Released am-utils-6.0a6 *** 339651292Sobrien ******************************************************************* 339751292Sobrien 339851292SobrienSat Jul 5 03:17:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 339951292Sobrien 340051292Sobrien * scripts/ctl-amd.in: include -T tag for tftpboot. 340151292Sobrien 340251292Sobrien * new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code 340351292Sobrien is broken and needs work on the specific nfs_args that irix5 uses 340451292Sobrien for V3 mounts. 340551292Sobrien 340651292SobrienSat Jul 5 01:44:25 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 340751292Sobrien 340851292Sobrien * amd/get_args.c (get_args): new options amd -T tag. A map with 340951292Sobrien tag=foo matching the -T tag will be processed. All untagged maps 341051292Sobrien get processed all the time. 341151292Sobrien 341251292SobrienFri Jul 4 16:19:26 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 341351292Sobrien 341451292Sobrien * aux/configure.in: need to check for strcasecmp in libucb (ncr2) 341551292Sobrien 341651292Sobrien * aux/macros/check_os_libs.m4: a new macro to set the usage of 341751292Sobrien libnsl and libsocket based on the OS. 341851292Sobrien 341951292Sobrien * libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is 342051292Sobrien defined (problem on osf4). 342151292Sobrien 342251292Sobrien * conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers. 342351292Sobrien 342451292Sobrien * include/am_defs.h, aux/macros/try_compile_nfs.m4, 342551292Sobrien aux/macros/mount_headers.m4: do include <sys/proc.h> because it 342651292Sobrien failes on irix5. Rather, put in the individual 342751292Sobrien conf/nfs_prot/nfs_prot_*.h headers. 342851292Sobrien 342951292Sobrien * amd/conf.c: AIX3 doesn't like strdup() being passed a constant 343051292Sobrien char*, so cast all strdup()'s args to a non-const char*. 343151292Sobrien 343251292Sobrien * amd/mapc.c (root_newmap): don't try to strdup only a "const 343351292Sobrien char *". 343451292Sobrien 343551292SobrienFri Jul 4 15:47:10 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 343651292Sobrien 343751292Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and 343851292Sobrien sys/errno.h. 343951292Sobrien 344051292SobrienThu Jul 3 17:49:00 1997 Erez Zadok <ezk@prometheus.soscorp.com> 344151292Sobrien 344251292Sobrien * made sure am-utils compiles, links, and runs properly on Irix 344351292Sobrien 6.2 using "cc -32 -Wl,-woff," 344451292Sobrien 344551292Sobrien * aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12 344651292Sobrien AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add 344751292Sobrien them to $LIBS. 344851292Sobrien 344951292Sobrien * aux/configure.in: some cleanup of which libraries are needed. 345051292Sobrien Espectially ensure that libnsl is included only on Solaris, where 345151292Sobrien so far it is the only system on which it is absolutely necessary. 345251292Sobrien Also no longer need to include libc explicitly. 345351292Sobrien 345451292Sobrien * amd/amd.c,wire-test/wire-test.c (main): convert IP address to 345551292Sobrien network-long order before printing it. 345651292Sobrien 345751292Sobrien * wire-test/wire-test.c (main): also check and report on the IP 345851292Sobrien address of the local host, since some systems have bad versions of 345951292Sobrien get_myaddress, or ones that conflict with other versions in 346051292Sobrien multiple libraries (SunOS 4 and Irix especially). 346151292Sobrien 346251292SobrienWed Jul 2 18:19:02 1997 Erez Zadok <ezk@starblazers.soscorp.com> 346351292Sobrien 346451292Sobrien * scripts/ctl-amd.in: don't use full pathname so killproc() works 346551292Sobrien better. Also run bsd44 and irix style ps programs. 346651292Sobrien 346751292Sobrien * aux/macros/check_lib_funcs.m4: bug fixed: used to define usage 346851292Sobrien of library no matter if it was found or not. 346951292Sobrien 347051292SobrienWed Jul 2 02:11:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 347151292Sobrien 347251292Sobrien * aux/macros/check_mnt2_gen_opt.m4: turned back on the checking 347351292Sobrien for M_* macros, but ensure that <sys/stream.h> is not included at 347451292Sobrien all so it won't conflict with other M_* macros. 347551292Sobrien 347651292SobrienTue Jul 1 21:16:51 1997 Erez Zadok <ezk@mako.cs.columbia.edu> 347751292Sobrien 347851292Sobrien * conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on 347951292Sobrien irix should be "spec" (host:/path), not the dir of the mnt point. 348051292Sobrien 348151292Sobrien * amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors 348251292Sobrien fixed. If on, it essentially ignored the setting in a 348351292Sobrien selector-controlled /defaults if there were 2 or more entries in it. 348451292Sobrien 348551292SobrienTue Jul 1 12:23:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 348651292Sobrien 348751292Sobrien * scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process 348851292Sobrien using BSD style ps, then try SVR4 style ps. 348951292Sobrien 349051292Sobrien * include/am_utils.h (amuDebug): renamed Debug macro to amuDebug 349151292Sobrien etc., to avoid conflicts with similar named macros in <ldap.h>. 349251292Sobrien 349351292Sobrien * aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf 349451292Sobrien support needed for LDAP. Now the code has to be written mostly in 349551292Sobrien amd/info_ldap.c. 349651292Sobrien 349751292Sobrien * Included additional patches from Andreas Stolcke 349851292Sobrien <stolcke@speech.sri.com> to support using the best possible 349951292Sobrien combination of NFS version (2,3) and protocol (udp,tcp) for any 350051292Sobrien given host, since it appears that some Irix versions have NFS V3, 350151292Sobrien but do not support TCP. 350251292Sobrien 350351292Sobrien * scripts/ctl-amd.in: updated amd control script to look for and 350451292Sobrien use amd.conf file. 350551292Sobrien 350651292SobrienTue Jul 1 00:28:23 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 350751292Sobrien 350851292Sobrien * amd/mapc.c (mapc_create): now, each map in the amd.conf can be 350951292Sobrien initialized off of a different type, or default to cycling through 351051292Sobrien all maps until one of them matches. 351151292Sobrien 351251292SobrienMon Jun 30 20:49:13 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 351351292Sobrien 351451292Sobrien * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done. 351551292Sobrien if browsable_dirs=yes is set in the map section in amd.conf, that 351651292Sobrien map will return all entries back to a readdir(2). 351751292Sobrien 351851292SobrienSun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 351951292Sobrien 352051292Sobrien * rudimentary amd.conf file support included. You may even 352151292Sobrien override things like os=sos5, to get "backwards" compatibility with 352251292Sobrien upl102. 352351292Sobrien 352451292SobrienSat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 352551292Sobrien 352651292Sobrien * amd/conf.c: new file to process amd.conf file. 352751292Sobrien 352851292Sobrien * amd/get_args.c (get_args): new options -H to print help. 352951292Sobrien 353051292Sobrien * moved enable_default_selectors to be amd.conf controlled, and 353151292Sobrien not compiler controlled. 353251292Sobrien 353351292Sobrien * amd/get_args.c (get_args): new options -F <conf-file> to parse an 353451292Sobrien amd configuration file. 353551292Sobrien 353651292SobrienWed Jun 25 23:15:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 353751292Sobrien 353851292Sobrien * converted all files that used strcmp() == 0 or != 0 to using 353951292Sobrien the STREQ() macro. 354051292Sobrien 354151292SobrienMon Jun 23 22:31:14 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 354251292Sobrien 354351292Sobrien * aux/macros/check_lib_funcs.m4: new M4 macro that can be used to 354451292Sobrien search for any number of functions in any given library. 354551292Sobrien 354651292SobrienMon Jun 23 01:04:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 354751292Sobrien 354851292Sobrien * amd/mapc.c: Included patch from Leif Johansson 354951292Sobrien <leifj@matematik.su.se> to ensure that systems without an RE 355051292Sobrien library can compile. 355151292Sobrien 355251292Sobrien * libamu/mount_fs.c (mount_fs): Included patch from Andreas 355351292Sobrien Stolcke <stolcke@speech.sri.com>, to ensure that mount options on 355451292Sobrien table are properly delimited by a comma. 355551292Sobrien 355651292Sobrien * amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas 355751292Sobrien Stolcke <stolcke@speech.sri.com>, to allow users to override the 355851292Sobrien proto= and vers= mount options. 355951292Sobrien 356051292SobrienSun Jun 22 01:00:11 1997 Eric Dana (edana@ncr2.bgs.com) 356151292Sobrien 356251292Sobrien * conf/nfs_prot/nfs_prot_svr4.h: port completed to 356351292Sobrien i486-ncr-sysv4.3.03. Assorted source cleanups done. 356451292Sobrien 356551292Sobrien * include/am_defs.h, aux/macros/mount_headers.m4: don't include 356651292Sobrien mnttab.h if sys/mnttab.h was already included, because on ncr2, 356751292Sobrien they contain conflicting entries for struct mnttab. 356851292Sobrien 356951292SobrienSat Jun 21 23:52:15 1997 Eric Dana (edana@ncr2.bgs.com) 357051292Sobrien 357151292Sobrien * aux/macros/check_nfs_prot_headers.m4: added support for ncr2. 357251292Sobrien 357351292SobrienFri Jun 20 06:14:17 1997 Erez Zadok <ezk> 357451292Sobrien 357551292Sobrien * amd/*.c: lots of 64-bit "ugly" ports like casts to long ints. 357651292Sobrien 357751292Sobrien * aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because 357851292Sobrien on DU-4.0 it is better than the next one to be picked (nfsv2fh_t). 357951292Sobrien 358051292SobrienWed Jun 18 18:59:49 1997 Erez Zadok <ezk@defiant.soscorp.com> 358151292Sobrien 358251292Sobrien * aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for 358351292Sobrien nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is 358451292Sobrien better. 358551292Sobrien 358651292SobrienTue Jun 10 17:06:58 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 358751292Sobrien 358851292Sobrien * amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is 358951292Sobrien NULL, set the maxlen and len fields in netbuf to zero. 359051292Sobrien 359151292SobrienWed May 28 22:52:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 359251292Sobrien 359351292Sobrien * scripts/fix-amd-map.in (name): replace all matching patterns on 359451292Sobrien line. 359551292Sobrien 359651292SobrienSun May 25 19:33:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 359751292Sobrien 359851292Sobrien ******************************************************************* 359951292Sobrien *** Released am-utils-6.0a5 *** 360051292Sobrien ******************************************************************* 360151292Sobrien 360251292SobrienSun May 25 13:37:24 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 360351292Sobrien 360451292Sobrien * amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service 360551292Sobrien procedure now returns the full string that amd -v returns. 360651292Sobrien 360751292Sobrien * amd/get_args.c (get_version_string): new function to return 360851292Sobrien complete version/info string so it could be used more flexibly. 360951292Sobrien 361051292Sobrien * amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list 361151292Sobrien of Fs types into a string buffer, rather than a FILE*. 361251292Sobrien 361351292Sobrien * amd/mapc.c (mapc_showtypes): put the list of map types into a 361451292Sobrien string buffer, rather than a FILE*. 361551292Sobrien 361651292SobrienSun May 25 01:25:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 361751292Sobrien 361851292Sobrien * amd/get_args.c (get_args): amd -v also prints user who built 361951292Sobrien amd, hostname built on, and date of configuration. 362051292Sobrien 362151292SobrienSat May 24 13:40:50 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 362251292Sobrien 362351292Sobrien * scripts/lostaltmail.conf-sample: sample lostaltmail 362451292Sobrien configuration file. 362551292Sobrien 362651292Sobrien * scripts/lostaltmail.in: new script lostaltmail used to redeliver 362751292Sobrien "lost" mail that hlfsd redirected to a temp location because the 362851292Sobrien primary home file system of the user was full. 362951292Sobrien 363051292Sobrien * scripts/amd2sun.in: new script amd2sun. Used to convert Sub 363151292Sobrien automount maps to amd maps. 363251292Sobrien 363351292Sobrien * scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start, 363451292Sobrien stop, or restart hlfsd. 363551292Sobrien 363651292Sobrien * scripts/expn.1: man page for expn command. 363751292Sobrien 363851292Sobrien * scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or 363951292Sobrien restart amd. 364051292Sobrien 364151292Sobrien * scripts/expn.in: new script expn. Actually taken from David 364251292Sobrien Muir Sharnoff <muir@idiom.com>. Used by hlfsd's mail re-delivery 364351292Sobrien script. 364451292Sobrien 364551292Sobrien * scripts/wait4amd.in: new script wait4amd added. Waits for amd 364651292Sobrien to come up on a host, and then runs a command (rsh $hostname by 364751292Sobrien default). 364851292Sobrien 364951292Sobrien * scripts/Makefile.am: new directory now holds all shell/perl 365051292Sobrien scripts that belong to am-utils. 365151292Sobrien 365251292Sobrien * conf/mount/mount_linux.c (parse_opts): new parser for 365351292Sobrien linux-specific mounts. Handles fs-type specific mount-options 365451292Sobrien correctly. Currently implemented: msdos, iso9660. 365551292Sobrien 365651292Sobrien * amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default 365751292Sobrien (fix for linux). 365851292Sobrien 365951292Sobrien * amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default 366051292Sobrien (fix for linux). 366151292Sobrien 366251292Sobrien * amd/mapc.c (make_entry_chain): fixed bug that resulted in amd 366351292Sobrien core dumps upon "ls" of a mount point; an invalid pointer was 366451292Sobrien being returned and dereferenced. 366551292Sobrien 366651292Sobrien * port to Linux sparc working! 366751292Sobrien 366851292Sobrien * hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if 366951292Sobrien failed to write test file, or else the fd will leak. 367051292Sobrien 367151292SobrienSun May 18 00:42:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 367251292Sobrien 367351292Sobrien * amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp() 367451292Sobrien instead of strcmp(). 367551292Sobrien 367651292Sobrien * Port to Digital Unix 4.0 (OSF) done. 367751292Sobrien 367851292Sobrien * hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts 367951292Sobrien with dirname() function in <string.h> on OSF systems. 368051292Sobrien 368151292Sobrien * fsinfo/fsi_util.c (set_ether_if): take out extern definition of 368251292Sobrien inet_addr(). It should come from <arpa/inet.h> instead. 368351292Sobrien 368451292Sobrien * conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs. 368551292Sobrien 368651292Sobrien * include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to 368751292Sobrien avoid conflicts with DU 4.0 system header. 368851292Sobrien 368951292SobrienThu May 15 22:49:12 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 369051292Sobrien 369151292Sobrien * libamu/mount_fs.c (mount_fs): pass along NFS version so I can 369251292Sobrien determine if to include additional options in the mount table file 369351292Sobrien entry (such as proto=tcp, and vers=3). 369451292Sobrien 369551292SobrienThu May 15 00:42:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 369651292Sobrien 369751292Sobrien * libamu/mount_fs.c (mount_fs): include NFS version number in the 369851292Sobrien mount table options, as well as proto={tcp,udp}. 369951292Sobrien 370051292SobrienWed May 14 14:30:19 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 370151292Sobrien 370251292Sobrien * NFS V3 code ported to most other systems, so it compiles for V2 370351292Sobrien and V3 NFS systems. 370451292Sobrien 370551292Sobrien * NFS VERSION 3 support, first pass. Working for Solaris and 370651292Sobrien using TCP. 370751292Sobrien 370851292SobrienSun May 11 01:14:29 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 370951292Sobrien 371051292Sobrien * amq/amq.c: many newline characters were missing from various 371151292Sobrien stderr printfs. 371251292Sobrien 371351292SobrienSat May 10 13:09:06 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 371451292Sobrien 371551292Sobrien * conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for 371651292Sobrien Solaris, which include NFS V3 support. 371751292Sobrien 371851292Sobrien * conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers. 371951292Sobrien *** Released am-utils-6.0a15 *** 372051292Sobrien * conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS 372151292Sobrien protocol version while getting a mount client. 372251292Sobrien 372351292Sobrien * amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types, 372451292Sobrien file handle size, and proper file handle based on the correct NFS 372551292Sobrien version number. 372651292Sobrien browsable_dirs=full, which will print *all* entries (other than 372751292Sobrien * conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under 372851292Sobrien Solaris and other SVR4 systems. 372951292Sobrien 373051292Sobrien * amd/ops_nfs.c: store NFS file handle version and version 373151292Sobrien specific handle in struct fh_cache. 373251292Sobrien (got_nfs_fh): pick the correct RPC reply based on the NFS version 373351292Sobrien of the server. 373451292Sobrien (prime_nfs_fhandle_cache): figure out the right NFS file handle 373551292Sobrien for a node, but now include NFS protocol version information. 373651292Sobrien (call_mountd): set the correct version for the mount protocol, 373751292Sobrien based on the NFS protocol version. 373851292Sobrien (nfs_init): use the NFS protocol generic structure 373951292Sobrien am_nfs_handle_t. 374051292Sobrien to 1500. 374151292Sobrien * include/am_utils.h: new structure am_nfs_handle_t to contain all 374251292Sobrien possible versions of NFS file handles. 374351292Sobrien * doc/am-utils.texi: fixed reversed documentation for NFS mount 374451292Sobrien * amd/srvr_nfs.c (start_ping): ping program performs NFS version 374551292Sobrien specific pings. 374651292Sobrien (recompute_portmap): figure out the correct portmap version mount. 374751292Sobrien (nfs_keepalive): call start_ping() with the correct NFS version. 374851292Sobrien (find_nfs_srvr): if mount option "vers=" is given, use it. Get 374951292Sobrien the NFS server version and verify that it is up. 375051292Sobrien 375151292Sobrien * conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new 375251292Sobrien function to find the best NFS version for a particular host. 375351292Sobrien installing html files. Another new target "alldocs" is just for 375451292Sobrien * libamu/amu.h: determine what is the highest version of NFS we 375551292Sobrien should try. 375651292Sobrien 375751292Sobrien * include/am_utils.h (NFS_VERSION3): added definition for NFS V3 375851292Sobrien protocol number. 375951292Sobrien Added field fs_version to struct fserver, so we can now store the 376051292Sobrien server protocol version. 376151292Sobrien facility in the log_file option. 376251292SobrienFri May 9 01:09:45 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 376351292Sobrien * libamu/xutil.c (get_syslog_facility): allow users to specify the 376451292Sobrien * aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into 376551292Sobrien underscores too, so I can test for sub-fields. 376651292Sobrien will use the default LOG_DAEMON facility. 376751292Sobrien * libamu/wire.c: use test that checks for sub-fields of struct 376851292Sobrien ifreq. 376951292SobrienThu Jan 8 04:05:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 377051292SobrienSat May 6 10:20:17 2000 Erez Zadok <ezk@glory.soscorp.com> 377151292Sobrien (intel). 377251292Sobrien * port to BSD/OS 3.0 completed! Many xdr_ functions were broken 377351292Sobrien into smaller files. M4 macros fixed to test for existence of 377451292Sobrien file systems using getvfsbyname(). 377551292Sobrien before appending to it, on systems with two or more network 377651292Sobrien * amd/sched.c (sigchld): signal handler must waitpid() for all 377751292Sobrien possible children. 377851292Sobrien the mntent for cachefs. 377951292Sobrien * hlfsd/homedir.c: signal handler must waitpid() for all possible 378051292Sobrien children. 378151292Sobrien const for both arguments. 378251292Sobrien * aux/macros/check_restartable_signals.m4: new macro to determine 378351292Sobrien if need to reinstall signal handlers per OS is better than trying 378451292Sobrien to figure these out based on system macros. 378551292Sobrien 378651292SobrienFri May 5 19:23:28 2000 Erez Zadok <ezk@glory.soscorp.com> 378751292Sobrien * amq/pawd.c (cluster_server): don't use getccent() if the extern 378851292Sobrien * amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number. 378951292Sobrien <cluster.h> and struct cct_entry do not exist. 379051292Sobrien * amd/ops_afs.c (mount_toplvl): set nfs_args_t version number. 379151292Sobrien hpux systems don't have it (hpux 10.20). 379251292Sobrien * amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport 379351292Sobrien (must be supplied for bsdi 3.0) 379451292Sobrien 379551292Sobrien * libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and 379651292Sobrien associated new macro) for determining the right way to compute the 379751292Sobrien size of the interface structure. 379851292Sobrien for new amq options -T/-U. 379951292SobrienFri Apr 11 15:56:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 380051292Sobrien 380151292Sobrien * aux/configure.in: need to include libc before libnsl if 380251292Sobrien get_myaddress() is available because on irix libnsl has a buggy 380351292Sobrien get_myaddress(). 380451292Sobrien 380551292Sobrien * include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined 380651292Sobrien on Irix 6 (an SVR4 variant) 380751292Sobrien * amq/pawd.c: a new program, Print Automounter Working Directory, 380851292SobrienThu Mar 27 02:28:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 380951292Sobrien * aux/macros/localconfig.m4: trivial support for am-utils 381051292Sobrien ******************************************************************* 381151292Sobrien *** Released am-utils-6.0a4 *** 381251292Sobrien ******************************************************************* 381351292Sobrien wish in a file called localconfig.h, located in the top build 381451292SobrienWed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 381551292Sobrien * doc/am-utils.texi (Caching Filesystem): updated documents for 381651292Sobrien * amd/amq_subr.c (ok_security): turned off insecure code unless 381751292Sobrien user explicitly runs configure --enable-amq-mount. 381851292Sobrien * amd/ops_cachefs.c: initial cachefs support, for solaris. 381951292Sobrien * hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service(). 382051292Sobrien 382151292Sobrien * amd/nfs_start.c (mount_automounter): use code that separately 382251292Sobrien creates the NFS and the amq service. Register tcp and udp 382351292Sobrien services for amd. 382451292Sobrien cachefs file systems. 382551292Sobrien * conf/transp/transp_*.c (create_amq_service): new function to 382651292Sobrien separately create the amq service for amd. Simplified prototypes 382751292Sobrien for create_nfs_service(). 382851292Sobrien mnttab type is. 382951292SobrienWed Mar 19 20:40:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 383051292SobrienMon Jan 5 23:22:49 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 383151292Sobrien ******************************************************************* 383251292Sobrien *** Released am-utils-6.0a3 *** 383351292Sobrien ******************************************************************* 383451292Sobrien 383551292SobrienWed Mar 19 17:49:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 383651292Sobrien * amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the 383751292Sobrien * new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots 383851292Sobrien of small changes to support these two. 383951292Sobrien type:=nfs. 384051292SobrienWed Mar 19 14:33:30 1997 Erez Zadok <ezk@grande.cs.columbia.edu> 384151292Sobrien * updated all source files to add 1998 as a copyright year. 384251292Sobrien * conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist() 384351292Sobrien should run if MOUNT_TABLE_ON_FILE, not otherwise. 384451292Sobrien like type:=linkx if the pathname denoted by $fs exists, and like 384551292SobrienMon Mar 17 22:02:43 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 384651292Sobrien 384751292Sobrien * hlfsd/hlfsd.c (main): fill in fhsize field if exists 384851292Sobrien (freebsd-2.2). 384951292Sobrien 385051292Sobrien * amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if 385151292Sobrien exists (freebsd-2.2). 385251292Sobrien 385351292SobrienSat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 385451292Sobrien * hlfsd/homedir.c (plt_init): make function exported, to save on 385551292Sobrien * new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher 385651292Sobrien changed the filehandle type in struct nfs_args from nfsv2fh_t to 385751292Sobrien u_char. 385851292Sobrien instead. 385951292SobrienSat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 386051292SobrienThu Jan 1 00:15:58 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 386151292Sobrien * SHARED LIBRARIES: too many change to list individually. Now, 386251292Sobrien libamu can be built as a shared library, and other programs link 386351292Sobrien with it. 386451292Sobrien 386551292SobrienTue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 386651292Sobrien 386751292Sobrien * aux/macros/opt_shared.m4: new macro for setting options for 386851292Sobrien building shared am-utils libraries. 386951292Sobrien * amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an 387051292SobrienSun Mar 9 19:17:46 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 387151292Sobrien * ALL SOURCES: change every direct call to free() to xfree(), so 387251292Sobrien * fixmount/fixrmtab: cleaned up the script. 387351292Sobrien call dxfree(), which will print the file name and line number 387451292Sobrien * fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that 387551292Sobrien fixrmtab gets distributed too. 387651292Sobrien 387751292Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP. 387851292Sobrien Added extern for xdr_mountlist(). 387951292SobrienTue Dec 23 04:24:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 388051292Sobrien * aux/configure.in: trimmed down many tests for MNT2_GEN_OPT, 388151292Sobrien MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in 388251292Sobrien the sources. 388351292Sobrien 388451292SobrienSat Mar 8 00:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 388551292Sobrien calloc(). 388651292Sobrien * fixmount/hlfsd ported to bsd44, hpux, and linux systems. 388751292Sobrien 388851292Sobrien * aux/macros/check_fixmount_style.m4: add check for bsd44 systems. 388951292Sobrien malloc(). 389051292Sobrien * conf/fixmount/fixmount_default.c: use lockf() if flock() is 389151292Sobrien unavailable. 389251292Sobrien zero its bytes. 389351292Sobrien * include/am_defs.h: include <string.h> even if don't have 389451292Sobrien STDC_HEADERS defined (sunos4). 389551292Sobrien (seteuid): define seteuid() to be setresuid() for systems that 389651292Sobrien have but not the other (hpux). 389751292Sobrien * amq/amq.c: amq does not need its own definition of xfree(). 389851292Sobrien * aux/macros/check_extern.m4: test should include <strings.h>. 389951292Sobrien look for function malloc_verify() in libmapmalloc.a, and function 390051292SobrienTue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 390151292Sobrien 390251292Sobrien * lib/xutil.c (debug_option): moved from amd/getargs.c to this 390351292Sobrien more proper file. 390451292Sobrien uordbytes, because it does not always exist. Rather, compute it 390551292Sobrien * include/am_utils.h: put in structure for debug options, for all 390651292Sobrien progams to use. 390751292Sobrien used when debugging memory references. 390851292Sobrien * amd/get_args.c: moved structure for debug options out. 390951292SobrienMon Dec 22 03:01:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 391051292SobrienSun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 391151292Sobrien Otherwise browsable_dirs fails on OpenBSD 2.2. 391251292Sobrien * ported fixmount. 391351292Sobrien * amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of 391451292Sobrien * lib/ualarm.c: replacement function for systems that don't have a 391551292Sobrien ualarm(). 391651292SobrienSat Dec 20 00:51:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 391751292Sobrien * ported fsinfo. 391851292Sobrien * amd/ops_host.c (host_umounted): don't use clnt_spcreateerror() 391951292SobrienSun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 392051292Sobrien * include/am_defs.h: add missing extern definition for free(). 392151292Sobrien * ported mk-amd-map. 392251292Sobrien 392351292Sobrien * buildall: added -K option to buildall, to run mkconf. 392451292Sobrien optional function. 392551292SobrienFri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 392651292Sobrien if they exist. 392751292Sobrien ******************************************************************* 392851292Sobrien *** Released am-utils-6.0a2 *** 392951292Sobrien ******************************************************************* 393051292Sobrien * aux/configure.in: check for missing functions clnt_create and 393151292SobrienThu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 393251292Sobrien 393351292Sobrien * all *.[hcyl] files: add copyright line. 393451292Sobrien * Makefile.am: updates for new sunos3 files distributed. 393551292Sobrien * aux/macros/check_mount_type.m4: test for mount type for 393651292Sobrien linux-like systems, by checking for loadable or statically linked 393751292Sobrien kernel filesystem modules. 393851292Sobrien * conf/fh_dref/fh_dref_sunos3.h: new file. 393951292Sobrien * aux/macros/check_mnttab_type.m4: test for mount table entry 394051292Sobrien for linux-like systems, by checking for loadable or statically 394151292Sobrien linked kernel filesystem modules. 394251292Sobrien * aux/macros/check_nfs_fh_dref.m4: added sunos3 case. 394351292Sobrien * aux/configure.in: pcfs filesystems can use vfat type (linux) 394451292Sobrien * doc/am-utils.texi (wire Selector Variable): updated manual for 394551292Sobrien * aux/macros/check_fs_mntent.m4: test for filesystem existence for 394651292Sobrien linux-like systems, by checking for loadable or statically linked 394751292Sobrien kernel filesystem modules. 394851292Sobrien in_network() function. 394951292Sobrien * conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX 395051292Sobrien 9.0 header files. This should be removed when HPUX 9.0 is deemed 395151292Sobrien defunct. 395251292Sobrien functions. Converted wire, network, and netnumber all to use the 395351292Sobrien * aux/acconfig.h: set an undefined variable for having an extern 395451292Sobrien to clnt_sperrno(). 395551292Sobrien against all networks, not just primary. 395651292Sobrien * include/am_defs.h: define extern for clnt_sperrno() if needed. 395751292Sobrien * conf/nfs_prot/nfs_prot_linux.h: add special definitions for 395851292Sobrien * aux/configure.in: test for extern clnt_sperrno(). 395951292Sobrien <rpc/des_auth.h> because it is incomplete on the same systems. 396051292Sobrien * aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is 396151292Sobrien similar to irix. 396251292Sobrien * hlfsd/homedir.c (table_add): cast uid field to int, for 396351292Sobrien * aux/macros/check_mount_style.m4: use mount helper on HPUX. 396451292Sobrien * include/am_defs.h: more coflicts with redhat alpha linux 396551292Sobrien * aux/macros/check_mtype_type.m4: hpux's mount type is a char*, 396651292Sobrien not integer (but may be mapped to one later). 396751292Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4: 396851292Sobrien * conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header 396951292Sobrien files. They have mount(2) and vfsmount(2) which don't take same 397051292Sobrien arguments, and they have string mount types MNTTYPE_* as well as 397151292Sobrien integer types MOUNT_*. So I need this new mount function to map 397251292Sobrien from string types to integer types for the vfsmount() function. 397351292Sobrien redhat alpha linux. 397451292Sobrien * conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling 397551292Sobrien vfsmount(), call mount_hpux(). 397651292Sobrien the new "!" (negated) nomadic functions. 397751292SobrienThu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 397851292Sobrien rather than saying that any ARG is on a local network. 397951292Sobrien * lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if 398051292Sobrien both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined. 398151292Sobrien 398251292SobrienThu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 398351292SobrienThu Dec 18 20:57:19 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 398451292Sobrien * conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for 398551292Sobrien hpux. 398651292Sobrien 398751292Sobrien * include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h. 398851292Sobrien Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be 398951292Sobrien * aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h. 399051292Sobrien wait until they get it working in their version of the automounter 399151292Sobrien * buildall: added ability to configure using other shells than 399251292Sobrien /bin/sh, on those systems where /bin/sh is buggy or limited 399351292Sobrien (HPUX). 399451292Sobrien maxgrp. 399551292Sobrien * aux/macros/struct_nfs_fh.m4: reinstated the macro but have it 399651292Sobrien defined am_nfs_fh, and also test for plain typedef "nfs_fh". 399751292Sobrien "maxgrps". Added test for mount table entry "maxgroups". 399851292Sobrien * aux/acconfig.h: #undef am_nfs_fh, which is being defined by a 399951292Sobrien reinstated macro. 400051292Sobrien * libamu/mount_fs.c (compute_nfs_args): perform more careful tests 400151292Sobrien * aux/configure.in: check for <nfs/export.h> 400251292Sobrien 400351292Sobrien * include/am_defs.h: include <nfs/export.h> (HPUX) if exists. 400451292Sobrien including 9.x, should use "ignore" as the mount type to hide from 400551292Sobrien * aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if 400651292Sobrien exists. 400751292Sobrien 400851292Sobrien * aux/macros/mount_headers.m4 (define): removed some non-working 400951292Sobrien (on HPUX) code that attempts to recreate the fhandle_t rather than 401051292Sobrien load it up from system headers. Also added some NFS protocol 401151292Sobrien header inclusion. include <nfs/export.h> (HPUX) if exists. 401251292Sobrien every where in the sources. 401351292SobrienWed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 401451292Sobrien 401551292Sobrien * aux/macros/mount_headers.m4 (define): Use M4 changequote to 401651292Sobrien ensure [] brackets are correctly used. 401751292Sobrien useful for detecting internal flags and options, as well as the 401851292Sobrien * aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate 401951292Sobrien multi-line M4 inclusions in []. 402051292Sobrien after /etc and before /etc/local. 402151292SobrienTue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 402251292Sobrien * aux/configure.in, libamu/Makefile.am: added support for linking 402351292Sobrien * conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if 402451292Sobrien it exists. 402551292Sobrien 402651292Sobrien * aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new 402751292Sobrien config.h macro for field f_fstypename of struct statfs. 402851292Sobrien needed. 402951292Sobrien * aux/configure.in: testing for field f_fstypename field of struct 403051292Sobrien statfs (NetBSD). 403151292Sobrien netbsd). 403251292Sobrien * aux/acconfig.h: moved all of the "static" definitions out to a 403351292Sobrien fixed file called include/am_defs.h. Added to all */Makefile.am 403451292Sobrien files a dependency on am_defs.h. Created am_defs.h of course, and 403551292Sobrien then added #include <amd_defs.h> to all of the source and header 403651292Sobrien files that required it. 403751292Sobrien for NetBSD-1.3_BETA and similarly for OpenBSD. 403851292SobrienMon Feb 24 01:27:02 1997 Erez Zadok <ezk@defiant.soscorp.com> 403951292Sobrien * conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight 404051292Sobrien * aux/acconfig.h: two more externals for xdr functions that may be 404151292Sobrien implemented by libamu. 404251292Sobrien mktemp(). 404351292Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR 404451292Sobrien definitions. 404551292Sobrien * amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount 404651292SobrienSun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 404751292Sobrien "nfs3", but to "nfs" and then they set "vers=3". Setting it to 404851292Sobrien * buildall (default): added -D option for turning on even stricker 404951292Sobrien developer options. 405051292Sobrien systems, set it to "nfs". 405151292Sobrien * */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to 405251292Sobrien determine dependencies on optional NFS protocol headers. 405351292Sobrien 405451292Sobrien * aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed. 405551292Sobrien 405651292Sobrien * aux/macros/check_nfs_prot_header.m4: new test to determine what 405751292Sobrien NFS protocol headers to use. 405851292Sobrien system mount types under nextstep for mount(2). 405951292Sobrien * conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to 406051292Sobrien complete missing system headers for NFS protocol definitions. 406151292Sobrien integer and string types for file system mount types in mount(2), 406251292SobrienSun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 406351292Sobrien (EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now 406451292Sobrien * amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in 406551292Sobrien #ifdef's as needed. 406651292Sobrien 406751292Sobrien * amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is 406851292Sobrien suitable #ifdef'ed. 406951292Sobrien 407051292Sobrien * include/am_compat.h: a couple more mnttab options 407151292Sobrien (timeo/retrans) setting just in case. 407251292Sobrien 407351292Sobrien * amd/autil.c (host_normalize): make sure hostent->h_name is 407451292Sobrien passed a non-const char *. 407551292Sobrien 407651292Sobrien * conf/mount/mount_linux.c (mount_linux): cleaned up a block of code. 407751292Sobrien inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on 407851292Sobrien * {lib,amq,amd}/*.c (many functions): cast xdr_entry to 407951292Sobrien XDRPROC_T_TYPE. 408051292Sobrien * libamu/mount_fs.c (mnt_flags): support either nfs or generic 408151292Sobrien * lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to 408251292Sobrien XDRPROC_T_TYPE. 408351292Sobrien 408451292Sobrien * lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to 408551292Sobrien XDRPROC_T_TYPE. 408651292Sobrien 408751292Sobrien * lib/wire.c (getwire): Make sure safe assignment from const to 408851292Sobrien none is done. 408951292Sobrien file in the am-utils' home page, as well as a few other useful 409051292SobrienSat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 409151292SobrienMon Nov 17 05:22:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 409251292Sobrien * aux/macros/expand_cpp_int.m4: new macro for expanding integers. 409351292Sobrien ******************************************************************* 409451292Sobrien * aux/configure.in: added linux/fs.h support in configure and 409551292Sobrien several M4 macros. 409651292Sobrien 409751292Sobrien * conf/mount/mount_linux.c (mount_linux): use macro instead of 409851292Sobrien "ugly" fixed hex number for mount() arguments. 409951292Sobrien ports. 410051292SobrienSat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 410151292Sobrien 410251292Sobrien * amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and 410351292Sobrien turned all of its code always on. That code always seems to 410451292Sobrien compile, as long as you have hesiod and libresolv. 410551292Sobrien * scripts/amd.conf.5: corrected info for -o/-O options. 410651292Sobrien * amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all 410751292Sobrien of its code always on. 410851292Sobrien OS name. 410951292Sobrien * aux/configure.in: removed superfluous test for hs_zone_transfer 411051292Sobrien function (will never find it because it is an amd-internal 411151292Sobrien function). 411251292Sobrien -o and -O options. 411351292Sobrien * amd/mapc.c (maptypes): must used correct new name for am-utils' 411451292Sobrien hesiod initialization function: hesiod_am_init. 411551292Sobrien 411651292Sobrien * amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to 411751292Sobrien hesiod_am_init so as not to conflict with libhesiod's 411851292Sobrien hesiod_init() function. 411951292Sobrien variable. 412051292Sobrien * aux/configure.in: added test and explicit inclusion of 412151292Sobrien libresolv.a for later resolution of library references with 412251292Sobrien libhesiod. 412351292Sobrien <metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers 412451292Sobrien * aux/macros/opt_cppflags.m4: new file. configure/compile C 412551292Sobrien preprocessor flags. 412651292Sobrien * doc/am-utils.texi (Distrib): typo in the subscription 412751292Sobrien * aux/macros/opt_libs.m4: new file. configure/compile library 412851292Sobrien flags. 412951292Sobrien <vogel@physik-rzu.unizh.ch>. 413051292Sobrien * Makefile.am (EXTRA_DIST_AUX): include two new macros 413151292Sobrien opt_cppflags.m4 and opt_libs.m4. 413251292Sobrien1997-11-15 Erez Zadok <ezk@amtrak.cs.columbia.edu> 413351292Sobrien * aux/configure.in: test for libhesiod needs to additional 413451292Sobrien libresolv to link completely. Additional configuration time 413551292Sobrien options added for setting initial CPPFLAGS and LIBS. 413651292Sobrien 413751292SobrienTue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 413851292Sobrien * NFS3 works on powerpc-ibm-aix4.2.1.0. 413951292Sobrien 414051292Sobrien *** Released am-utils-6.0a1 *** 414151292Sobrien static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the 414251292Sobrien stack of an automatic variable when pointer to it is passed around 414351292SobrienThu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 414451292Sobrien 414551292Sobrien * amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that 414651292Sobrien it works on freebsd, where they map dbm_pagfno a non-existing 414751292Sobrien macro on purpose, to force you to port the code to Berkeley DB. 414851292Sobrien * libamu/xutil.c (real_plog): syslog like behavior for normal 414951292SobrienFri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 415051292Sobrien 415151292Sobrien * amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the 415251292Sobrien actual mount_toplvl, to avoid some possible race conditions. 415351292Sobrien 415451292SobrienThu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 415551292Sobrien 415651292Sobrien * amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code. 415751292Sobrien 415851292SobrienWed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 415951292Sobrien 416051292Sobrien * lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code) 416151292Sobrien passed to it before. So now I have to dereference the pointer 416251292Sobrien * amd/amd.c (main): fix local address using htonl(). Free up 416351292Sobrien buffers allocated by netdir_*() functions. 416451292Sobrien 416551292SobrienWed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 416651292Sobrien 416751292Sobrien * amd/fix-amd-map.in: new script that will convert old-style amd 416851292Sobrien maps to new one. 416951292Sobrien compute_nfs_args() and compute_automounter_nfs_args() functions. 417051292SobrienTue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 417151292Sobrien and cleaner compute_nfs_args() and compute_automounter_nfs_args() 417251292Sobrien * FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl, 417351292Sobrien and replies back to simple nfs/link type mount queries). 417451292Sobrien relates for struct nfs_args. A new function sets the numerous 417551292Sobrien * conf/mtab/mtab_svr4.c: reorganized the code in this file to be 417651292Sobrien easier to read, and fixed a few bugs with un/setting the lock file 417751292Sobrien descriptor. 417851292Sobrien libamu. This saves on overall size of code. 417951292SobrienWed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 418051292Sobrien mounting an automounter's mount point. Used by hlfsd and amd. 418151292Sobrien * amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older 418251292Sobrien signals in Svr3 systems. Only stellix ever used this. 418351292Sobrien * amq/amq.c (get_secure_amd_client): don't print any more 418451292Sobrien * amd/rpc_fwd.c (fwd_reply): removed all code that was triggered 418551292Sobrien by DYNAMIC_BUFFERS, since it was not in use. 418651292Sobrien under DEBUG only. 418751292SobrienTue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 418851292Sobrien 418951292Sobrien * amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer 419051292Sobrien takes '=' sign as old selector. Fix your maps. 419151292Sobrien (deslashify): removed APOLLO code that treated two '//' as one. 419251292Sobrien for file systems based on physical media (disk, cdrom, floppy) to 419351292SobrienSun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 419451292Sobrien autoconf searches for all these types of mount table entries for a 419551292Sobrien * amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which 419651292Sobrien was not used. It made any submount error fail the whole group. 419751292Sobrien the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs, 419851292Sobrien * amd/ops_nfs.c (make_nfs_auth): removed code dependent on 419951292Sobrien HAS_NFS_QUALIFIED_NAMES. 420051292Sobrien (mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it 420151292Sobrien is never on. So code that was triggered by #ifndef 420251292Sobrien NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to 420351292Sobrien be fixed later. 420451292Sobrien Removed all ULTRIX_HACK code. Ultrix is DEAD! 420551292Sobrien removed all PRESET_AC code, which was only on for Linux to preset 420651292Sobrien the attribute cache values (otherwise they default to zero). 420751292Sobrien (nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will 420851292Sobrien have to fixed up later. 420951292Sobrien (mount_nfs_fh): removed code that was never included, which 421051292Sobrien attempted to set the port on which amd's nfs mounts on. This 421151292Sobrien isn't supported by the ping algorithm yet. In any case, it is all 421251292Sobrien done in nfs_init(). 421351292Sobrien 421451292Sobrien * amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh): 421551292Sobrien removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or 421651292Sobrien specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will 421751292Sobrien have to be addressed later. 421851292SobrienSun Oct 26 19:32:57 1997 Erez Zadok <ezk@defiant.soscorp.com> 421951292Sobrien * amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent 422051292Sobrien on PRECISE_SYMLINKS. 422151292Sobrien This works better on bsdi2 and bsdi3, because their portmapper 422251292Sobrien * amd/mapc.c (mapc_meta_search): removed code that depended on 422351292Sobrien HAS_DEPOT. It is known buggy code. The whole DEPOT support needs 422451292Sobrien to be rethought. 422551292Sobrien (mapc_add_kv): ported code to use standard regular expression 422651292Sobrien (regexp) library. 422751292Sobrien insecure). 422851292Sobrien * amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on 422951292Sobrien FLUSH_KERNEL_NAME_CACHE and the macro itself. 423051292Sobrien *** Released am-utils-6.0a13 *** 423151292SobrienSat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 423251292SobrienFri Oct 24 05:04:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 423351292Sobrien * amd/map.c (exported_ap_alloc): removed all code triggered by 423451292Sobrien SHRINK_EXPORTED_AP and the macro itself. 423551292Sobrien struct datum typedef. 423651292Sobrien * amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code 423751292Sobrien in all the time. Assuming that there is always NIS realod 423851292Sobrien available. 423951292Sobrien (yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all() 424051292Sobrien function is broken such that it does not release filedescriptors 424151292Sobrien it created, then you are hosed. Get a fix for yp_all from your 424251292Sobrien vendor or switch operating systems. 424351292Sobrien 424451292SobrienTue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 424551292Sobrien gid_t. 424651292Sobrien * amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to 424751292Sobrien HAVE_HS_ZONE_TRANSFER. 424851292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use 424951292SobrienMon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 425051292Sobrien 425151292Sobrien * amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is 425251292Sobrien always included. We should always try to inform the remove mount 425351292Sobrien daemon of mounts we performed. If we want an option for this, it 425451292Sobrien should be a run-time option. 425551292Sobrien 425651292Sobrien * amd/host_ops.c: removed all that optionally did not make the 425751292Sobrien directory mount points for amd. 425851292Sobrien 425951292Sobrien * HOST_EXEC code removed from everywhere. There is no indication 426051292Sobrien that it was used anywhere. If it needs to be used, then a 426151292Sobrien run-time switch should control it. 426251292Sobrien 426351292SobrienThu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 426451292Sobrien passwdfile option. If hlfsd is started with -P passwdfile, then 426551292Sobrien * amd/*_ops.c: removed all references to mntent_t's fields 426651292Sobrien mnt_freq and mnt_passno, since they are no longe rused (and never 426751292Sobrien have been). 426851292Sobrien read and checked. All the rest are ignored. No NIS/netgroup 426951292Sobrien * amd/am_ops.c: removed function sunos4_match, which was off 427051292Sobrien anyway. This was one of the places where an '=' sign was allowed 427151292Sobrien as an assignment operator (which is now ':='). 427251292Sobrien 427351292Sobrien * amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which 427451292Sobrien was off anyway. This was one of the places where an '=' sign was 427551292Sobrien allowed as an assignment operator (which is now ':='). 427651292Sobrien -h is invoked. 427751292SobrienTue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 427851292SobrienWed Oct 22 00:16:39 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 427951292Sobrien * amq/amq.c: ported to am-utils. Working. 428051292Sobrien 428151292Sobrien * conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4 428251292Sobrien to be string, as it should be (rather than a string mapped to int 428351292Sobrien and back mapped to string). 428451292Sobrien which returns TRUE if 'arg' is any one of this host's networks. 428551292SobrienSun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 428651292Sobrien all networks names and numbers in the order of the interface (not 428751292Sobrien * lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code. 428851292SobrienMon Oct 20 01:59:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 428951292Sobrien * lib/umount_fs.c: split this into three files: default, osf, and 429051292Sobrien bsd44, that are in conf/umount/umount_*.c. 429151292Sobrien * aux/configure.in: don't add ops_ufs.o on AIX twice. My code 429251292SobrienThu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 429351292Sobrien * doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and 429451292Sobrien * aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new 429551292Sobrien macro to automatically figure out if an external definition for 429651292Sobrien sys_errlist[] exists. 429751292Sobrien (html): generate html documentation for 429851292Sobrien * lib/xutil.c (xfree): removed "#undef free" because it's not 429951292Sobrien needed there. Any system that redefines free() needs help. 430051292Sobrien 430151292Sobrien * conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that 430251292Sobrien was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be 430351292Sobrien in active use anywhere. If added later, it should be a run-time 430451292Sobrien configuration option. 430551292Sobrien ypall_callback_fxn_t. The NetBSD team compiles all sources with 430651292Sobrien * conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to 430751292Sobrien be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables 430851292Sobrien in a file in /etc. 430951292Sobrien function typedef. 431051292Sobrien * lib/util.c (str3cat): removed _AIX code. AIX should have a 431151292Sobrien working realloc, or else find a cleaner solution to this. 431251292Sobrien (mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync() 431351292Sobrien after immediately making directories so that fsck will be able to 431451292Sobrien fix the filesystem in the event of an immediate crash. This was 431551292Sobrien because a bug in UFS which is fixed by now. 431651292Sobrien * libamu/xutil.c (amu_release_controlling_tty): new function to 431751292Sobrien * lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered 431851292Sobrien code. Does not appear to be on and used anywhere. 431951292Sobrien (dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now. 432051292Sobrien and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some 432151292Sobrien * lib/resvport.c: split the binding of reserved ports code to a 432251292Sobrien separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4) 432351292Sobrien from the BSD code. 432451292Sobrien 432551292SobrienThu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 432651292Sobrien 432751292Sobrien * lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled 432851292Sobrien in by automake and configure, for optional sources that need to be 432951292Sobrien built as part of libamu.a. 433051292Sobrien 433151292Sobrien * aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o 433251292Sobrien to LIBOBJS. 433351292Sobrien 433451292Sobrien * lib/memcmp.c (memcmp): new file added to replace a possible bad 433551292Sobrien implementation of memcmp. 433651292Sobrien 433751292SobrienWed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 433851292Sobrien 433951292Sobrien * converted the sources to use memset/memmove/memcmp instead of 434051292Sobrien bzero/bcopy/bcmp. 434151292Sobrien 434251292Sobrien * ran all sources through gnu Indent w/ options specified in 434351292Sobrien aux/amindent. 434451292Sobrien 434551292SobrienWed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 434651292Sobrien 434751292Sobrien * At this point the initial genration of config.h via autoconf and 434851292Sobrien some preliminary makefiles via automake is done. I will not begin 434951292Sobrien modifying sources, so it's a good time to document from here. 435051292Sobrien 435151292SobrienWed Dec 10 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 435251292Sobrien 435351292Sobrien ******************************************************************* 435451292Sobrien *** Initial ChangeLog Entry *** 435551292Sobrien ******************************************************************* 435651292Sobrien 435751292Sobrien * amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs 435851292Sobrien mount flags of toplvl mounts. Important esp. for HPUX 10. Now 435951292Sobrien hpux-10 will mount amd's mounts points as 'ignore' (by df). 436051292Sobrien 436151292Sobrien * aux/configure.in: check for NFS mount option 'ignore', useful in 436251292Sobrien HPUX 10. 436351292Sobrien 436451292SobrienThu Oct 16 03:28:33 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 436551292Sobrien 436651292Sobrien * aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore" 436751292Sobrien mount type and not NFS, for the amd mount points. 436851292Sobrien 436951292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log 437051292Sobrien an RPC timeout as an error, but just an info message. From 437151292Sobrien Andreas Stolcke <stolcke@speech.sri.com> 437251292Sobrien 437351292Sobrien * If the NFS server is down or does not support the portmapper 437451292Sobrien call (such as certain Novell NFS servers) we mark it as version 2 437551292Sobrien and we let the nfs code deal with the case that is down. If when 437651292Sobrien the server comes back up, it can support NFS V.3 and/or TCP, it 437751292Sobrien will use those. From christos@deshaw.com (Christos Zoulas). 437851292Sobrien 437951292Sobrien * hlfsd/homedir.c (plt_print): various compile time cleanups to 438051292Sobrien printfs that take a long, but pass an int to print. From 438151292Sobrien christos@deshaw.com (Christos Zoulas). 438251292Sobrien 438351292Sobrien * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new 438451292Sobrien macro to determine if the OS has a bad yp_all(), based on the host 438551292Sobrien OS name. So far only irix (all versions) have a bad yp_all, so 438651292Sobrien they will use am_yp_all() instead (which is slower as it 438751292Sobrien enumerates manually all of the map's entries). 438851292Sobrien 438951292SobrienThu Oct 16 03:14:37 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 439051292Sobrien 439151292Sobrien * amd/info_nis.c (am_yp_all): code for a replacement yp_all that 439251292Sobrien avoids using a file-descriptor leaking yp_all() on some systems 439351292Sobrien like irix. 439451292Sobrien 439551292SobrienWed Oct 15 21:52:35 1997 Erez Zadok <ezk> 439651292Sobrien 439751292Sobrien * fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x 439851292Sobrien systems using /usr/bin/flex. 439951292Sobrien 440051292Sobrien * amd/conf_tok.l (yywrap): avoid redefining yywrap for systems 440151292Sobrien that have a modified GNU flex which does define yywrap (DU-4.x). 440251292Sobrien 440351292SobrienFri Sep 26 14:25:29 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 440451292Sobrien 440551292Sobrien * conf/checkmount/checkmount_bsd44.c: include prototype. 440638494Sobrien 440738494SobrienFri Sep 26 01:26:24 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 440838494Sobrien 440938494Sobrien ******************************************************************* 441038494Sobrien *** Released am-utils-6.0a12 *** 441138494Sobrien ******************************************************************* 441238494Sobrien 441338494SobrienFri Sep 26 00:13:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 441438494Sobrien 441538494Sobrien * conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs 441638494Sobrien code in irix6 until it can be tested correctly 441738494Sobrien 441838494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out 441938494Sobrien on clnt_create for 3 seconds, rather than wait for the much longer 442038494Sobrien default. 442138494Sobrien 442238494Sobrien * conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0. 442338494Sobrien Includes NFS3, untested. 442438494Sobrien 442538494SobrienThu Sep 25 11:03:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 442638494Sobrien 442738494Sobrien * amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of 442838494Sobrien pcfs_args_t if they exist. 442938494Sobrien 443038494Sobrien * amd/ops_cdfs.c (mount_cdfs): fill in ssector field of 443138494Sobrien cdfs_args_t if it exists. 443238494Sobrien 443338494Sobrien * new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05, 443438494Sobrien hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4. 443538494Sobrien 443638494SobrienWed Sep 24 00:48:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 443738494Sobrien 443838494Sobrien * doc/am-utils.texi (wire-test): updated documentation for the new 443938494Sobrien option. 444038494Sobrien 444138494Sobrien * wire-test/wire-test.8: updated man page for new option. 444238494Sobrien 444338494Sobrien * wire-test/wire-test.c (main): added a test for various 444438494Sobrien combinations of NFS proto/vers to a remote/local host. 444538494Sobrien 444638494Sobrien * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 444738494Sobrien <isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that 444838494Sobrien freebsd will correctly set mount options for pcfs and cdfs. 444938494Sobrien 445038494Sobrien * amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to 445138494Sobrien 0777 (if field exists). 445238494Sobrien 445338494Sobrien * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 445438494Sobrien <msdosfs/msdosfsmount.h> if available. 445538494Sobrien 445638494Sobrien * minor new port: rs6000-ibm-aix4.1.4.0. 445738494Sobrien 445838494Sobrien * libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to 445938494Sobrien write the "time" field in /etc/mnttab. 446038494Sobrien 446138494Sobrien * conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for 446238494Sobrien detecting mnt_time field of mntent_t. 446338494Sobrien 446438494Sobrien * libamu/mtab.c (mnt_free): fixed typo in macro names for 446538494Sobrien detecting mnt_time field of mntent_t. 446638494Sobrien 446738494SobrienTue Sep 23 15:30:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 446838494Sobrien 446938494Sobrien * conf/mtab/mtab_file.c (lock): Use flock() in preference over 447038494Sobrien fcntl() to lock the mtab file. 447138494Sobrien 447238494SobrienMon Sep 22 23:04:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 447338494Sobrien 447438494Sobrien * conf/transp/transp_sockets.c (get_nfs_version): define 447538494Sobrien the try_again goto label only for NFS3. 447638494Sobrien (pmap_ping): assume timeout failure of clnt_stat. 447738494Sobrien 447838494Sobrien * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to 447938494Sobrien "groups *". 448038494Sobrien 448138494SobrienMon Sep 22 20:34:33 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 448238494Sobrien 448338494Sobrien * conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley 448438494Sobrien <dsr@mail.lns.cornell.edu> to make sure that amd works with more 448538494Sobrien secure portmappers that do not allow forwarding of RPC messages to 448638494Sobrien other services. 448738494Sobrien 448838494Sobrien * */Makefile.am: all source files should also depend on the new 448938494Sobrien include/am_xdr_func.h header. 449038494Sobrien 449138494Sobrien * include/am_xdr_func.h: new file as part of the code cleanup from 449238494Sobrien Christos Zoulas <christos@deshaw.com>. 449338494Sobrien 449438494Sobrien * Lots of fixes from Christos Zoulas <christos@deshaw.com> that 449538494Sobrien involved missing prototypes, cleaned up ones, and removal of 449638494Sobrien unused variables. 449738494Sobrien 449838494Sobrien * libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch 449938494Sobrien statement with only one case is unclean. 450038494Sobrien 450138494SobrienMon Sep 22 17:26:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 450238494Sobrien 450338494Sobrien * amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to 450438494Sobrien 0 so that all fields are initialized to zero at first. This way 450538494Sobrien SunOS 4.x and other systems don't get /etc/mtab entries with 450638494Sobrien random integers for the fsck/freq fields. Patch from Andreas 450738494Sobrien Stolcke <stolcke@speech.sri.com>. 450838494Sobrien 450938494SobrienMon Sep 22 00:34:19 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 451038494Sobrien 451138494Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so 451238494Sobrien that the important definition for HOSTNAMESZ will be found. 451338494Sobrien 451438494Sobrien * amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ 451538494Sobrien (inside the nfs_args structure) if the system uses that macro. 451638494Sobrien Otherwise systems like SunOS refuse to NFS mount long pathnames 451738494Sobrien and result in ENAMETOOLONG errno's. 451838494Sobrien 451938494SobrienWed Sep 17 04:56:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 452038494Sobrien 452138494Sobrien * doc/am-utils.texi (Supported Platforms): specify new support for 452238494Sobrien solaris 2.6, and hlfsd running on 2.5.1 too. 452338494Sobrien 452438494SobrienWed Sep 17 03:55:02 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 452538494Sobrien 452638494Sobrien * conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs 452738494Sobrien mount if it is not supported or was turned off. 452838494Sobrien 452938494SobrienWed Sep 17 03:19:36 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 453038494Sobrien 453138494Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount 453238494Sobrien again. Apparently at some previous release SunOS 4 supported was 453338494Sobrien broken and all nfs mounts resulted in ESTALE. 453438494Sobrien 453538494SobrienWed Sep 17 00:26:25 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 453638494Sobrien 453738494Sobrien * conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for 453838494Sobrien solaris 2.6. 453938494Sobrien 454038494Sobrien * aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs 454138494Sobrien protocol header selection. 454238494Sobrien 454338494SobrienSat Sep 13 14:31:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 454438494Sobrien 454538494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid 454638494Sobrien infinite loop. 454738494Sobrien 454838494SobrienSun Sep 7 18:23:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 454938494Sobrien 455038494Sobrien ******************************************************************* 455138494Sobrien *** Released am-utils-6.0a11 *** 455238494Sobrien ******************************************************************* 455338494Sobrien 455438494SobrienFri Sep 5 11:55:10 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 455538494Sobrien 455638494Sobrien * amd/amd.c (main): if plock() succeeded, don't try to display 455738494Sobrien errno message. Patch from Chris Metcalf 455838494Sobrien <metcalf@catfish.lcs.mit.edu. 455938494Sobrien 456038494SobrienThu Sep 4 19:17:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 456138494Sobrien 456238494Sobrien * hlfsd/homedir.c (table_add): make sure duplicate passwd entries 456338494Sobrien are ignored. Only the first entry should ever be used, because 456438494Sobrien that's how lookup in passwd database works. 456538494Sobrien 456638494Sobrien * conf/transp/transp_sockets.c (get_nfs_version): when determining 456738494Sobrien if a remote host is up or down, use NFS v.2. Fix suggested by 456838494Sobrien Enami Tsugutomo <enami@cv.sony.co.jp>. 456938494Sobrien 457038494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): new 457138494Sobrien function to get the best possible NFS version, but also timeout 457238494Sobrien faster than normal defaults, so remote hosts which are down can be 457338494Sobrien detected in a reasonable time. 457438494Sobrien (get_nfs_version): use the new "best" function. 457538494Sobrien 457638494SobrienTue Sep 2 00:41:00 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 457738494Sobrien 457838494Sobrien ******************************************************************* 457938494Sobrien *** Released am-utils-6.0a10 *** 458038494Sobrien ******************************************************************* 458138494Sobrien 458238494SobrienMon Sep 1 15:39:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 458338494Sobrien 458438494Sobrien * conf/transp/transp_tli.c (get_nfs_version): don't use 458538494Sobrien clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4 458638494Sobrien and earlier). 458738494Sobrien 458838494Sobrien * aux/configure.in: test for existence of clnt_tp_create_timed(), 458938494Sobrien since Solaris 2.4 (and possibly earlier) do not have it. 459038494Sobrien 459138494SobrienMon Sep 1 15:23:18 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 459238494Sobrien 459338494Sobrien * amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid 459438494Sobrien field if it exists (solaris 2.4's autofs does not have it). 459538494Sobrien 459638494SobrienMon Sep 1 14:45:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 459738494Sobrien 459838494Sobrien * aux/macros/type_auth_create_gidlist.m4: a new test to determine 459938494Sobrien the correct type to the 5th argument of authunix_create(). 460038494Sobrien 460138494SobrienMon Sep 1 03:44:32 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 460238494Sobrien 460338494Sobrien * libamu/xdr_func.c (xdr_umntrequest): add test for autofs 460438494Sobrien structure umntrequest, if it has the field rdevid. Seems Solaris 460538494Sobrien 2.4 and earlier didn't have it. 460638494Sobrien 460738494SobrienMon Sep 1 01:10:53 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 460838494Sobrien 460938494Sobrien * hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it 461038494Sobrien can be done before primary process forks. 461138494Sobrien (main): bug fix: wait a bit to give child a chance to initialize. 461238494Sobrien Without this, hlfsd got into a busy infinite loop while, never 461338494Sobrien completing the mount. 461438494Sobrien 461538494Sobrien * amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov> 461638494Sobrien to make amd works when talking to NIS+ servers in NIS 461738494Sobrien compatibility mode. 461838494Sobrien 461938494SobrienMon Sep 1 00:46:56 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 462038494Sobrien 462138494Sobrien * amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024. 462238494Sobrien 462338494SobrienSun Aug 31 20:20:40 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 462438494Sobrien 462538494Sobrien * amd/conf.c (gopt_fully_qualified_hosts): a new function to 462638494Sobrien process another new global variable. 462738494Sobrien 462838494Sobrien * amd/ops_nfs.c (make_nfs_auth): if a new global variable 462938494Sobrien fully_qualified_hosts is on, use FQHN in RPC/NFS authentications. 463038494Sobrien Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>. 463138494Sobrien 463238494Sobrien * amd/conf.c (process_last_regular_map): If the amd.conf file only 463338494Sobrien has a [global] section (pretty useless IMHO), do not try to 463438494Sobrien process a map that does not exist. 463538494Sobrien 463638494Sobrien * scripts/amd.conf.5: fixed typos (repeated 'as' word). 463738494Sobrien 463838494Sobrien * doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!! 463938494Sobrien 464038494Sobrien * amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm 464138494Sobrien structure, so it does not carry over from map entry to another. 464238494Sobrien 464338494SobrienSat Aug 30 18:39:21 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 464438494Sobrien 464538494Sobrien * amd/amd.c (main): fixed the meaning of the plock option. A bug 464638494Sobrien caused it to be reversed. 464738494Sobrien 464838494SobrienSat Aug 30 15:13:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 464938494Sobrien 465038494Sobrien * hlfsd/stubs.c: don't initialize some statics here. They are 465138494Sobrien better initialized in hlfsd_init_filehandles(). 465238494Sobrien 465338494SobrienFri Aug 22 14:47:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 465438494Sobrien 465538494Sobrien * amd/conf.c (gopt_show_statfs_entries): new function and a global 465638494Sobrien amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes', 465738494Sobrien then all maps flagged as browsable will also show a count of the 465838494Sobrien number of entries (keys) in that map. 465938494Sobrien 466038494Sobrien * amd/nfs_subr.c (count_map_entries): new function to count number 466138494Sobrien of entries in a map. Now used if browsable is turned on in a map, 466238494Sobrien to return a count of available keys in a given map. 466338494Sobrien 466438494Sobrien * hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd 466538494Sobrien confused the file handles for ".", "..", and the symlink, causing 466638494Sobrien mess. 466738494Sobrien 466838494Sobrien * aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12, 466938494Sobrien but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts 467038494Sobrien with bad memcmp() in libc's (nextstep3). 467138494Sobrien 467238494SobrienThu Aug 21 17:38:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 467338494Sobrien 467438494Sobrien * aux/configure.in: check if autofs_args_t has a field named 467538494Sobrien addr. Solaris has it for specifying the address of the daemon, 467638494Sobrien but Irix does not. So how does irix tell the kernel the daemon's 467738494Sobrien address? I suspect that it is hardcoded to "localhost" using a 467838494Sobrien "private well-known port" (#define AUTOFS_PORT 2048). 467938494Sobrien 468038494Sobrien * conf/nfs_prot/nfs_prot_linux.h: added missing autofs 468138494Sobrien definitions. 468238494Sobrien 468338494Sobrien * README.autofs: new file listing autofs support notes 468438494Sobrien 468538494Sobrien * very preliminary autofs code working. Call it pre-alpha 468638494Sobrien quality. 468738494Sobrien 468838494SobrienSun Aug 17 02:25:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 468938494Sobrien 469038494Sobrien * amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept 469138494Sobrien "autofs" if system does not support it. 469238494Sobrien 469338494Sobrien * amd/amd.c (main): log am-utils version string (same as amd -v) 469438494Sobrien at start of run. 469538494Sobrien 469638494Sobrien * conf/transp/transp_sockets.c (get_nfs_version): in order to tell 469738494Sobrien if a remote host is available, try to contact its portmapper and 469838494Sobrien timeout if no answer is received in 3 seconds. 469938494Sobrien 470038494SobrienThu Aug 14 16:12:04 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 470138494Sobrien 470238494Sobrien * aux/macros/check_extern.m4 (pattern): use a simpler pattern for 470338494Sobrien match for external function definitions. The function could span 470438494Sobrien multiple lines, so only match the opening parenthesis, not the 470538494Sobrien closing one too. 470638494Sobrien 470738494Sobrien * aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on 470838494Sobrien posix mode for nextstep3. It is broken. 470938494Sobrien 471038494Sobrien * amd/amd.c (init_global_options): run uname() only if 471138494Sobrien <sys/utsname.h> and uname(2) exist. 471238494Sobrien 471338494Sobrien * amd/rpc_fwd.c (fwd_packet): if remote host is down, the 471438494Sobrien forwarding socket is null, so declare this an error. 471538494Sobrien 471638494Sobrien * include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set 471738494Sobrien for when a remote host is down. Try, in order, "host down", "host 471838494Sobrien unreachable", "invalid argument". 471938494Sobrien 472038494Sobrien * amd/ops_nfs.c (discard_fh): don't dereference a null pointer 472138494Sobrien (happens when remote host is down, and fp->fh_fs is NULL). 472238494Sobrien (prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID 472338494Sobrien and FSF_DOWN. 472438494Sobrien 472538494Sobrien * amd/sched.c: nobody uses "union wait" any more, or so it 472638494Sobrien appears, so clean up that code. 472738494Sobrien 472838494Sobrien * conf/transp/transp_tli.c (get_nfs_version): if remote host is 472938494Sobrien down, time it out faster than default (3 seconds). 473038494Sobrien (get_mount_client): free netconfig entry when done with it. 473138494Sobrien 473238494Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly) 473338494Sobrien port to nextstep3 (m68k-next-nextstep3). 473438494Sobrien 473538494Sobrien * fsinfo/Makefile.am (LDADD): needs to link with libamu in case 473638494Sobrien system does not have strdup(). 473738494Sobrien 473838494Sobrien * include/am_defs.h: complete external definition for getlogin() 473938494Sobrien if needed. 474038494Sobrien 474138494Sobrien * conf/transp/transp_tli.c (get_nfs_version): no need to keep 474238494Sobrien static versout variable. 474338494Sobrien 474438494Sobrien * amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote 474538494Sobrien server is probably down. Don't use sendto() in that case. 474638494Sobrien 474738494Sobrien * buildall (default): run gmake if found, before trying plain 474838494Sobrien make. GNU make is always preferable. 474938494Sobrien 475038494SobrienTue Aug 12 21:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 475138494Sobrien 475238494Sobrien * aux/macros/host_macros.m4: cleanup of os_version and os 475338494Sobrien overrides. Solaris 2.5.1 for example will come up as solaris2 and 475438494Sobrien 2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in 475538494Sobrien the amd.conf file. 475638494Sobrien 475738494SobrienFri Aug 8 14:37:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 475838494Sobrien 475938494Sobrien ******************************************************************* 476038494Sobrien *** Released am-utils-6.0a9 *** 476138494Sobrien ******************************************************************* 476238494Sobrien 476338494SobrienThu Aug 7 00:52:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 476438494Sobrien 476538494Sobrien * conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2 476638494Sobrien (i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff 476738494Sobrien from <ndbm.h> and <sys/resource.h>. 476838494Sobrien 476938494Sobrien * scripts/amd.conf.5: new map page. 477038494Sobrien 477138494Sobrien * amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3 477238494Sobrien does not. 477338494Sobrien 477438494Sobrien * amd/amd.8: updated man page. 477538494Sobrien 477638494Sobrien * amd/get_args.c (get_args): removed defunct -h option to amd. 477738494Sobrien 477838494Sobrien * amq/amq.8: updated man page. 477938494Sobrien 478038494Sobrien * amd/info_nisplus.c (nisplus_search): prototype fixes so Sun 478138494Sobrien SparcCompiler CC won't complain. 478238494Sobrien 478338494Sobrien * amd/info_hesiod.c (hesiod_search): small fixes to compile with 478438494Sobrien hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>. 478538494Sobrien 478638494Sobrien * aux/macros/opt_ldflags.m4: new option added to configure 478738494Sobrien --enable-ldflags, to specify -L option for configuring/compiling. 478838494Sobrien The older one --enable-libs is now to be used only for -l options. 478938494Sobrien 479038494Sobrien * amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize 479138494Sobrien nc_protoname from nfs_proto if available for all TLI systems, not 479238494Sobrien just those that have NFS V3. 479338494Sobrien 479438494Sobrien * amd/info_ldap.c: ldap patches from Leif Johansson 479538494Sobrien <leifj@matematik.su.se>, adding two new amd.conf ldap variables: 479638494Sobrien ldap_cache_seconds and ldap_cache_maxmem. 479738494Sobrien 479838494Sobrien * hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in 479938494Sobrien htons(). 480038494Sobrien 480138494SobrienSun Aug 3 17:20:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 480238494Sobrien 480338494Sobrien * amd/nfs_start.c (mount_automounter): register amd with the rpc 480438494Sobrien program number that may have been overridden by amd.conf. 480538494Sobrien 480638494Sobrien * libamu/xutil.c (set_amd_program_number, get_amd_program_number): 480738494Sobrien allow storing and retrieving alternate amd program numbers. 480838494Sobrien 480938494Sobrien * amd/conf.c (gopt_portmap_program): new function to parse 481038494Sobrien amd.conf entry portmap_program=1234. 481138494Sobrien 481238494Sobrien * amq/amq.c (main): allow specifying an alternate rpc program 481338494Sobrien number for amd via -P prognum. 481438494Sobrien 481538494Sobrien * new amq RPC to get the process id of the running amd. This is 481638494Sobrien used in ctl-amd to quickly find the pid of the amd that is to be 481738494Sobrien killed. 481838494Sobrien 481938494Sobrien * expanded shared libraries support. Using GNU libtool-1.0, 482038494Sobrien am-utils now builds shared libraries on many platforms that have 482138494Sobrien support for it and proper compilers/linkers. See "INSTALL" file 482238494Sobrien for compatibility chart. 482338494Sobrien 482438494SobrienThu Jul 31 13:07:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 482538494Sobrien 482638494Sobrien * fsinfo/fsi_lex.l: removed code that was in support of very old 482738494Sobrien versions of flex. No longer needed. 482838494Sobrien 482938494SobrienTue Jul 29 12:00:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 483038494Sobrien 483138494Sobrien * amd/amd.c (init_global_options): find the kernel architecture 483238494Sobrien from uname() if possible. 483338494Sobrien 483438494SobrienMon Jul 28 03:53:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 483538494Sobrien 483638494Sobrien * new working port: i386-unknown-openbsd2.1 483738494Sobrien 483838494SobrienFri Jul 25 03:16:31 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 483938494Sobrien 484038494Sobrien * working port: sparc-sun-solaris2.4. Had to fix fhandle_t from 484138494Sobrien structure to actual char[], because the structure was passed to 484238494Sobrien xdr_fhandle as data and not a pointer. Surprisingly, gcc 484338494Sobrien -fpcc-struct-return did not help. 484438494Sobrien 484538494Sobrien * conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol 484638494Sobrien definitions for solaris 2.4 have to be different from 2.3, and 484738494Sobrien different from 2.5. 484838494Sobrien 484938494Sobrien * libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup. 485038494Sobrien 485138494SobrienThu Jul 24 16:22:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 485238494Sobrien 485338494Sobrien * conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount 485438494Sobrien types, not ==. Fix from Christos Zoulas <christos@deshaw.com>. 485538494Sobrien 485638494Sobrien * mk-amd-map/mk-amd-map.8: man page taken from bsd44. 485738494Sobrien 485838494SobrienThu Jul 24 00:01:55 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 485938494Sobrien 486038494Sobrien * conf/mount/mount_linux.c: made the nfs error mapping code into a 486138494Sobrien small function. 486238494Sobrien 486338494SobrienWed Jul 23 16:11:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 486438494Sobrien 486538494Sobrien * conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special 486638494Sobrien error mappings from errno numbers to NFS errors. From Debian 486738494Sobrien Linux. 486838494Sobrien 486938494Sobrien * scripts/am-eject.in (fs): new script (taken from Debian Linux 487038494Sobrien folks) to auto-unmount floppy/cd devices before ejecting them. 487138494Sobrien 487238494Sobrien * fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass 487338494Sobrien '5' as second arg to show_area_being_processed. I'm not sure why. 487438494Sobrien 487538494Sobrien * fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as 487638494Sobrien second arg to show_area_being_processed. I'm not sure why. 487738494Sobrien 487838494Sobrien * conf/mount/mount_linux.c (parse_opts): as per Debian Linux, 487938494Sobrien ensure that you have a buffer in *xopts to strcat onto. 488038494Sobrien (mount_linux): fixed from Debian folks to ensure that NFS mount 488138494Sobrien sockets are connected only for kernels prior to 1.3.10 (avoids 488238494Sobrien hangs for multi-homed hosts). 488338494Sobrien 488438494Sobrien * amd/mapc.c (make_entry_chain): from Debian folks: don't skip 488538494Sobrien over amd map keys that have a prefix, and include the prefix in 488638494Sobrien the returned readdir(). 488738494Sobrien 488838494Sobrien * amd/info_passwd.c (passwd_init, passwd_search): format 488938494Sobrien enhancements from the Debian Linux folks. They added 489038494Sobrien - var0:=pw-prefix:=anydir 489138494Sobrien - var1:=pw-rhost:=dom3.dom2.dom1 489238494Sobrien - var2:=pw-user:=user 489338494Sobrien - var3:=pw-home:=/anydir/dom1/dom2/dom3/user 489438494Sobrien 489538494Sobrien * new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1. 489638494Sobrien 489738494Sobrien * amd/ops_afs.c (afs_retry): patches from Debian Linux. If 489838494Sobrien afs_mount timed out, then explicitly forbid further retries after 489938494Sobrien the timeout. (afs_bgmount): buf fix from Debian Linux. Timeout 490038494Sobrien values (17 and 5) were mistakenly swapped. 490138494Sobrien 490238494SobrienWed Jul 23 15:53:25 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 490338494Sobrien 490438494Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3 490538494Sobrien support for Solaris 2.4 (the header files incorrectly define parts 490638494Sobrien of the NFS V.3 protocol, but the kernel does not support it). 490738494Sobrien 490838494SobrienWed Jul 23 00:07:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 490938494Sobrien 491038494Sobrien * amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init 491138494Sobrien for determining if using old or new hesiod libraries, 491238494Sobrien respectively. 491338494Sobrien 491438494Sobrien * amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS 491538494Sobrien V.3 then use non-connected sockets (both TCP and UDP). Otherwise 491638494Sobrien they cause hangs of mounts from multi-homed hosts when the return 491738494Sobrien route is not the same as the outgoing route (esp. on NetBSD 491838494Sobrien 1.2.1). If "conn" option was supplied, then don't turn on the 491938494Sobrien "noconn" mount option. Otherwise default to "noconn" mount 492038494Sobrien option. 492138494Sobrien 492238494Sobrien * aux/configure.in: better check for systems that need libgdbm and 492338494Sobrien <ndbm.h> 492438494Sobrien 492538494SobrienTue Jul 22 04:02:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 492638494Sobrien 492738494Sobrien * hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that 492838494Sobrien mounts are hidden from df(1) on systems that keep mount tables in 492938494Sobrien kernel, such as osf1. 493038494Sobrien 493138494SobrienTue Jul 22 02:26:55 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 493238494Sobrien 493338494Sobrien ******************************************************************* 493438494Sobrien *** Released am-utils-6.0a8 *** 493538494Sobrien ******************************************************************* 493638494Sobrien 493738494SobrienMon Jul 21 21:33:19 1997 Erez Zadok <ezk@stone.mcl.cs.columbia.edu> 493838494Sobrien 493938494Sobrien * hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to 494038494Sobrien AF_INET when hlfsd mounts itself, thus getting an errno "protocol 494138494Sobrien family not supported". 494238494Sobrien 494338494SobrienMon Jul 21 20:46:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 494438494Sobrien 494538494Sobrien * verified that amd on NetBSD 1.2.1 (i386) works, but the OS 494638494Sobrien itself is flaky. 494738494Sobrien 494838494Sobrien * verified that amd AIX 3 works w/ the new readdir() code. 494938494Sobrien 495038494SobrienMon Jul 21 18:59:30 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 495138494Sobrien 495238494Sobrien * amd/mapc.c (maptypes): changed the default map caching type for 495338494Sobrien nis and ndbm maps to "MAPC_ALL", so that all possible entries will 495438494Sobrien be available to amd for browsable_dirs=yes. 495538494Sobrien 495638494SobrienMon Jul 21 18:04:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 495738494Sobrien 495838494Sobrien * amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split 495938494Sobrien afs_readdir into a browsable version and a non-browsable one. 496038494Sobrien Fixed bugs that resulted in an infinite nfs_readdir loop on the 496138494Sobrien localhost for some operating systems. 496238494Sobrien 496338494SobrienSat Jul 19 19:38:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 496438494Sobrien 496538494Sobrien * amd/ops_afs.c (afs_readdir): fixed up the browsable code to 496638494Sobrien comply with nfs_readdir specs. It was returning all entries at 496738494Sobrien once, even if there was not enough space in the RPC packet. Now, 496838494Sobrien it sends a reasonably sized chunk, and sets static state to resume 496938494Sobrien it for the next continuation RPC of readdir. 497038494Sobrien 497138494Sobrien * amd/conf.c (set_conf_kv): fixed bug that resulted in the first 497238494Sobrien regular map not getting all of the [global] options defaulted from. 497338494Sobrien 497438494SobrienFri Jul 18 00:45:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 497538494Sobrien 497638494Sobrien * amq/amq.c (main): fixed so that portmapper "ping" will only fail 497738494Sobrien upon an RPC timeout 497838494Sobrien 497938494Sobrien * scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the 498038494Sobrien amd/hlfsd process to kill. 498138494Sobrien 498238494Sobrien * amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to 498338494Sobrien determine how to avoid df from seeing amd's toplvl mounts. Moved 498438494Sobrien from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd 498538494Sobrien is hidden from df. 498638494Sobrien (mount_toplvl): fixed df types for irix. 498738494Sobrien 498838494SobrienThu Jul 17 21:59:45 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 498938494Sobrien 499038494Sobrien * amq/amq.c (main): fixed bug that caused the 5 second timeout for 499138494Sobrien TLI amq using udp to be ignored. 499238494Sobrien (main): if amq cannot contact remote host's portmapper within 5 499338494Sobrien seconds, timeout and fail faster than the default longer timeout 499438494Sobrien (this is for non-TLI systems). 499538494Sobrien 499638494SobrienThu Jul 17 17:08:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 499738494Sobrien 499838494Sobrien * amq/amq.c (get_secure_amd_client): if amq cannot contact 499938494Sobrien remote host's portmapper within 5 seconds, timeout and fail faster 500038494Sobrien than the default TLI timeout of over 4 minutes. 500138494Sobrien 500238494Sobrien * amd/am_ops.c (ops_showfstypes): added styles for new bsd44 500338494Sobrien file systems nullfs, unionfs, and umapfs. 500438494Sobrien (ops_show1): cleanup code and and reuse this function. 500538494Sobrien (vops): empty placeholders for nullfs, unionfs, and umapfs. 500638494Sobrien 500738494Sobrien * amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for 500838494Sobrien bsd44 style file systems. 500938494Sobrien 501038494Sobrien * fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44 501138494Sobrien sources. 501238494Sobrien 501338494Sobrien * amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid 501438494Sobrien conflict with systems that define it in <sys/ioctl.h> and also 501538494Sobrien define a conflicting one via lex. Newer versions of f/lex are ok. 501638494Sobrien 501738494SobrienWed Jul 16 00:17:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 501838494Sobrien 501938494Sobrien * amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields 502038494Sobrien acdirmin/max and acregmin/max only if they exist. 502138494Sobrien 502238494Sobrien * aux/configure.in: test for nfs_args fields acdirmin and 502338494Sobrien acregmin. 502438494Sobrien 502538494SobrienTue Jul 15 17:24:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 502638494Sobrien 502738494Sobrien * aux/configure.in: commented out checking for MNT2_GEN_OPT_* for 502838494Sobrien "nondev" and commented back in checking for "nodev". This was a 502938494Sobrien typo. 503038494Sobrien 503138494Sobrien * include/am_compat.h: more compatibility options: define "ro" 503238494Sobrien mnttab option all the time. Define "overlay" as needed. Added 503338494Sobrien more fillers of mnttab options (as per Daniel S. Riley 503438494Sobrien <dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax, 503538494Sobrien acregmin, noac, grpid, nosuid, and actimo. 503638494Sobrien 503738494Sobrien * libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as 503838494Sobrien per dsr@mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up 503938494Sobrien the same code for other options in struct opt_tab. 504038494Sobrien 504138494SobrienMon Jul 14 22:36:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 504238494Sobrien 504338494Sobrien * amd/get_args.c (get_args): moved amd.conf file parsing to before 504438494Sobrien the switching the default log/debug options. Suggested by 504538494Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley). 504638494Sobrien 504738494Sobrien * aux/update_build_version: new script to record the build version 504838494Sobrien of amd, along with the rest of the info thet comes up with amd -v. 504938494Sobrien 505038494SobrienSun Jul 13 00:30:24 1997 Erez Zadok <ezk@decca.damtp.cam.ac.uk> 505138494Sobrien 505238494Sobrien * aux/macros/os_cflags.m4: new macro, to add additional 505338494Sobrien compilation options (also used during configuration), based on the 505438494Sobrien OS and the compiler. Used for solaris-2.6, osf, and irix6. 505538494Sobrien 505638494SobrienFri Jul 11 10:15:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 505738494Sobrien 505838494Sobrien * amd/conf_tok.l, conf_parse.y: allow values of keys to include 505938494Sobrien white spaces, if they are double-quoted (key="some value") 506038494Sobrien 506138494Sobrien * amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes 506238494Sobrien of hesiod from Danny Braniss <danny@cs.huji.ac.il>. 506338494Sobrien 506438494SobrienFri Jul 11 02:16:06 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 506538494Sobrien 506638494Sobrien ******************************************************************* 506738494Sobrien *** Released am-utils-6.0a7 *** 506838494Sobrien ******************************************************************* 506938494Sobrien 507038494SobrienThu Jul 10 12:19:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 507138494Sobrien 507238494Sobrien * include/am_defs.h: fill in extern definition of innetgr() in 507338494Sobrien case system headers don't. 507438494Sobrien 507538494Sobrien * aux/macros/path_prog_lex.m4 aux/configure.in: using macros that 507638494Sobrien will show the full pathname to yacc/bison and f/lex. Some systems 507738494Sobrien have older or bad versions of those and this way the user will 507838494Sobrien know for sure what is being invoked. 507938494Sobrien 508038494Sobrien * tasks: file populated with todo items. 508138494Sobrien 508238494Sobrien * scripts/amd2ldif.in: Script to convert amd maps to plain text 508338494Sobrien LDAP object files. Contributed by Leif Johansson 508438494Sobrien <leifj@matematik.su.se>. 508538494Sobrien 508638494Sobrien * aux/config.guess: added recognition for sun3's running 4.2bsd, 508738494Sobrien from Tom Schmidt <tschmidt@micron.com>. Fixed one small typo. 508838494Sobrien 508938494Sobrien * amd/conf.c: several variables that were local to a map, were 509038494Sobrien also added to [global], where they apply to all maps. Each map 509138494Sobrien can then individually override those defaults. Flags 509238494Sobrien affected: browsable_dirs and mount_type. Options affected: 509338494Sobrien map_type, map_options, and search_path. 509438494Sobrien 509538494Sobrien * amd/amd.h: eliminated several global flags each of which took an 509638494Sobrien int, in favor of one global flags variable used as a bit field. 509738494Sobrien 509838494Sobrien * amd/amd.c (init_global_options): moved all global variables into 509938494Sobrien a single struct amu_global_options, so it is easier to add new 510038494Sobrien ones and/or identify existing ones. 510138494Sobrien 510238494Sobrien * amd/get_args.c (get_args): removed unused amd -m option. 510338494Sobrien 510438494Sobrien * amd/conf.c (gopt_cluster): added new amd.conf option for cluster 510538494Sobrien name, same as amd -C. 510638494Sobrien 510738494Sobrien * amd/info_ldap.c: LDAP info map functions from Leif Johansson 510838494Sobrien <leifj@matematik.su.se>. 510938494Sobrien 511038494Sobrien * amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global 511138494Sobrien amd.conf options for ldap_base and ldap_hostports. 511238494Sobrien 511338494Sobrien * amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test 511438494Sobrien if the current host is in the ARG host netgroup. 511538494Sobrien 511638494Sobrien * aux/configure.in: some systems replaced dbm in libc with GNU's 511738494Sobrien libgdbm, so check for libgdbm, but only if dbm_open is not in 511838494Sobrien libc already. This was a recommendation from Tom Schmidt 511938494Sobrien <tschmidt@micron.com>. 512038494Sobrien 512138494Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3 512238494Sobrien completed. 512338494Sobrien 512438494SobrienWed Jul 9 18:14:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 512538494Sobrien 512638494Sobrien * port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS 512738494Sobrien V.3. 512838494Sobrien 512938494SobrienTue Jul 8 17:35:07 1997 Erez Zadok <ezk@elk.mcl.cs.columbia.edu> 513038494Sobrien 513138494Sobrien * port to i386-unknown-freebsd3.0 done and working. Includes NFS 513238494Sobrien V.3. 513338494Sobrien 513438494Sobrien * aux/macros/check_nfs_fh_dref.m4: freebsd3 should use 513538494Sobrien file handle dereferencing style similar to freebsd22. 513638494Sobrien 513738494Sobrien * include/am_defs.h: need to include <net/if_var.h> before 513838494Sobrien <netinet/if_ether.h> on freebsd3. 513938494Sobrien 514038494Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions 514138494Sobrien for freeBSD 3.0. 514238494Sobrien 514338494SobrienTue Jul 8 16:53:41 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 514438494Sobrien 514538494Sobrien * amd/info_nis.c (nis_reload): cast nis' callback function so 514638494Sobrien picky compilers won't complain. 514738494Sobrien 514838494Sobrien * libamu/xdr_mountres3.c (xdr_mountres3): make sure this function 514938494Sobrien gets compiled only if the system has NFS V3 and does not have 515038494Sobrien xdr_mountres3. 515138494Sobrien 515238494SobrienTue Jul 8 12:42:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 515338494Sobrien 515438494Sobrien * COPYING: put in some legal stuff in this file. 515538494Sobrien 515638494SobrienMon Jul 7 19:10:44 1997 Erez Zadok <ezk@prometheus.soscorp.com> 515738494Sobrien 515838494Sobrien * NFS V3 now works under Irix5, thanks to patches from 515938494Sobrien Andreas Stolcke <stolcke@speech.sri.com>. 516038494Sobrien 516138494Sobrien * conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5 516238494Sobrien version and an irix6 version, since irix5's NFS V3 code is broken 516338494Sobrien and hacky. 516438494Sobrien 516538494Sobrien * amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer 516638494Sobrien sizes for some hesiod queries. Patch from Danny Braniss 516738494Sobrien <danny@cs.huji.ac.il>. 516838494Sobrien 516938494SobrienMon Jul 7 19:04:14 1997 Erez Zadok <ezk@glory.soscorp.com> 517038494Sobrien 517138494Sobrien * amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3. 517238494Sobrien 517338494SobrienSun Jul 6 14:22:24 1997 Erez Zadok <ezk@glory.soscorp.com> 517438494Sobrien 517538494Sobrien * aux/{configure.in,acconfig.h}: added checks for struct 517638494Sobrien nfs_args's fields proto and sotype (bsdi3). 517738494Sobrien 517838494Sobrien * amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to 517938494Sobrien nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field 518038494Sobrien to SOCK_STREAM or SOCK_DGRAM. 518138494Sobrien 518238494Sobrien * aux/macros/check_mount_style.m4: add case for bsdi3. 518338494Sobrien 518438494Sobrien * amd/info_hesiod.c: got hesiod support for bsdi3. 518538494Sobrien 518638494SobrienSun Jul 6 11:14:47 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 518738494Sobrien 518838494Sobrien * aux/configure.in: look for hesiod on libc (bsdi3) 518938494Sobrien 519038494Sobrien * amd/get_args.c (get_args): reformat usage so it fits in 80 519138494Sobrien columns. 519238494Sobrien 519338494Sobrien * scripts/ctl-amd.in: changed directory name for optional tftpboot 519438494Sobrien map to /tftpboot/.amd. 519538494Sobrien 519638494SobrienSat Jul 5 17:46:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 519738494Sobrien 519838494Sobrien ******************************************************************* 519938494Sobrien *** Released am-utils-6.0a6 *** 520038494Sobrien ******************************************************************* 520138494Sobrien 520238494SobrienSat Jul 5 03:17:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 520338494Sobrien 520438494Sobrien * scripts/ctl-amd.in: include -T tag for tftpboot. 520538494Sobrien 520638494Sobrien * new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code 520738494Sobrien is broken and needs work on the specific nfs_args that irix5 uses 520838494Sobrien for V3 mounts. 520938494Sobrien 521038494SobrienSat Jul 5 01:44:25 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 521138494Sobrien 521238494Sobrien * amd/get_args.c (get_args): new options amd -T tag. A map with 521338494Sobrien tag=foo matching the -T tag will be processed. All untagged maps 521438494Sobrien get processed all the time. 521538494Sobrien 521638494SobrienFri Jul 4 16:19:26 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 521738494Sobrien 521838494Sobrien * aux/configure.in: need to check for strcasecmp in libucb (ncr2) 521938494Sobrien 522038494Sobrien * aux/macros/check_os_libs.m4: a new macro to set the usage of 522138494Sobrien libnsl and libsocket based on the OS. 522238494Sobrien 522338494Sobrien * libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is 522438494Sobrien defined (problem on osf4). 522538494Sobrien 522638494Sobrien * conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers. 522738494Sobrien 522838494Sobrien * include/am_defs.h, aux/macros/try_compile_nfs.m4, 522938494Sobrien aux/macros/mount_headers.m4: do include <sys/proc.h> because it 523038494Sobrien failes on irix5. Rather, put in the individual 523138494Sobrien conf/nfs_prot/nfs_prot_*.h headers. 523238494Sobrien 523338494Sobrien * amd/conf.c: AIX3 doesn't like strdup() being passed a constant 523438494Sobrien char*, so cast all strdup()'s args to a non-const char*. 523538494Sobrien 523638494Sobrien * amd/mapc.c (root_newmap): don't try to strdup only a "const 523738494Sobrien char *". 523838494Sobrien 523938494SobrienFri Jul 4 15:47:10 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 524038494Sobrien 524138494Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and 524238494Sobrien sys/errno.h. 524338494Sobrien 524438494SobrienThu Jul 3 17:49:00 1997 Erez Zadok <ezk@prometheus.soscorp.com> 524538494Sobrien 524638494Sobrien * made sure am-utils compiles, links, and runs properly on Irix 524738494Sobrien 6.2 using "cc -32 -Wl,-woff," 524838494Sobrien 524938494Sobrien * aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12 525038494Sobrien AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add 525138494Sobrien them to $LIBS. 525238494Sobrien 525338494Sobrien * aux/configure.in: some cleanup of which libraries are needed. 525438494Sobrien Espectially ensure that libnsl is included only on Solaris, where 525538494Sobrien so far it is the only system on which it is absolutely necessary. 525638494Sobrien Also no longer need to include libc explicitly. 525738494Sobrien 525838494Sobrien * amd/amd.c,wire-test/wire-test.c (main): convert IP address to 525938494Sobrien network-long order before printing it. 526038494Sobrien 526138494Sobrien * wire-test/wire-test.c (main): also check and report on the IP 526238494Sobrien address of the local host, since some systems have bad versions of 526338494Sobrien get_myaddress, or ones that conflict with other versions in 526438494Sobrien multiple libraries (SunOS 4 and Irix especially). 526538494Sobrien 526638494SobrienWed Jul 2 18:19:02 1997 Erez Zadok <ezk@starblazers.soscorp.com> 526738494Sobrien 526838494Sobrien * scripts/ctl-amd.in: don't use full pathname so killproc() works 526938494Sobrien better. Also run bsd44 and irix style ps programs. 527038494Sobrien 527138494Sobrien * aux/macros/check_lib_funcs.m4: bug fixed: used to define usage 527238494Sobrien of library no matter if it was found or not. 527338494Sobrien 527438494SobrienWed Jul 2 02:11:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 527538494Sobrien 527638494Sobrien * aux/macros/check_mnt2_gen_opt.m4: turned back on the checking 527738494Sobrien for M_* macros, but ensure that <sys/stream.h> is not included at 527838494Sobrien all so it won't conflict with other M_* macros. 527938494Sobrien 528038494SobrienTue Jul 1 21:16:51 1997 Erez Zadok <ezk@mako.cs.columbia.edu> 528138494Sobrien 528238494Sobrien * conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on 528338494Sobrien irix should be "spec" (host:/path), not the dir of the mnt point. 528438494Sobrien 528538494Sobrien * amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors 528638494Sobrien fixed. If on, it essentially ignored the setting in a 528738494Sobrien selector-controlled /defaults if there were 2 or more entries in it. 528838494Sobrien 528938494SobrienTue Jul 1 12:23:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 529038494Sobrien 529138494Sobrien * scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process 529238494Sobrien using BSD style ps, then try SVR4 style ps. 529338494Sobrien 529438494Sobrien * include/am_utils.h (amuDebug): renamed Debug macro to amuDebug 529538494Sobrien etc., to avoid conflicts with similar named macros in <ldap.h>. 529638494Sobrien 529738494Sobrien * aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf 529838494Sobrien support needed for LDAP. Now the code has to be written mostly in 529938494Sobrien amd/info_ldap.c. 530038494Sobrien 530138494Sobrien * Included additional patches from Andreas Stolcke 530238494Sobrien <stolcke@speech.sri.com> to support using the best possible 530338494Sobrien combination of NFS version (2,3) and protocol (udp,tcp) for any 530438494Sobrien given host, since it appears that some Irix versions have NFS V3, 530538494Sobrien but do not support TCP. 530638494Sobrien 530738494Sobrien * scripts/ctl-amd.in: updated amd control script to look for and 530838494Sobrien use amd.conf file. 530938494Sobrien 531038494SobrienTue Jul 1 00:28:23 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 531138494Sobrien 531238494Sobrien * amd/mapc.c (mapc_create): now, each map in the amd.conf can be 531338494Sobrien initialized off of a different type, or default to cycling through 531438494Sobrien all maps until one of them matches. 531538494Sobrien 531638494SobrienMon Jun 30 20:49:13 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 531738494Sobrien 531838494Sobrien * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done. 531938494Sobrien if browsable_dirs=yes is set in the map section in amd.conf, that 532038494Sobrien map will return all entries back to a readdir(2). 532138494Sobrien 532238494SobrienSun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 532338494Sobrien 532438494Sobrien * rudimentary amd.conf file support included. You may even 532538494Sobrien override things like os=sos5, to get "backwards" compatibilty with 532638494Sobrien upl102. 532738494Sobrien 532838494SobrienSat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 532938494Sobrien 533038494Sobrien * amd/conf.c: new file to process amd.conf file. 533138494Sobrien 533238494Sobrien * amd/get_args.c (get_args): new options -H to print help. 533338494Sobrien 533438494Sobrien * moved enable_default_selectors to be amd.conf controlled, and 533538494Sobrien not compiler controlled. 533638494Sobrien 533738494Sobrien * amd/get_args.c (get_args): new options -F <conf-file> to parse an 533838494Sobrien amd configuration file. 533938494Sobrien 534038494SobrienWed Jun 25 23:15:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 534138494Sobrien 534238494Sobrien * converted all files that used strcmp() == 0 or != 0 to using 534338494Sobrien the STREQ() macro. 534438494Sobrien 534538494SobrienMon Jun 23 22:31:14 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 534638494Sobrien 534738494Sobrien * aux/macros/check_lib_funcs.m4: new M4 macro that can be used to 534838494Sobrien search for any number of functions in any given library. 534938494Sobrien 535038494SobrienMon Jun 23 01:04:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 535138494Sobrien 535238494Sobrien * amd/mapc.c: Included patch from Leif Johansson 535338494Sobrien <leifj@matematik.su.se> to ensure that systems without an RE 535438494Sobrien library can compile. 535538494Sobrien 535638494Sobrien * libamu/mount_fs.c (mount_fs): Included patch from Andreas 535738494Sobrien Stolcke <stolcke@speech.sri.com>, to ensure that mount options on 535838494Sobrien table are properly delimited by a comma. 535938494Sobrien 536038494Sobrien * amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas 536138494Sobrien Stolcke <stolcke@speech.sri.com>, to allow users to override the 536238494Sobrien proto= and vers= mount options. 536338494Sobrien 536438494SobrienSun Jun 22 01:00:11 1997 Eric Dana (edana@ncr2.bgs.com) 536538494Sobrien 536638494Sobrien * conf/nfs_prot/nfs_prot_svr4.h: port completed to 536738494Sobrien i486-ncr-sysv4.3.03. Assorted source cleanups done. 536838494Sobrien 536938494Sobrien * include/am_defs.h, aux/macros/mount_headers.m4: don't include 537038494Sobrien mnttab.h if sys/mnttab.h was already included, because on ncr2, 537138494Sobrien they contain conflicting entries for struct mnttab. 537238494Sobrien 537338494SobrienSat Jun 21 23:52:15 1997 Eric Dana (edana@ncr2.bgs.com) 537438494Sobrien 537538494Sobrien * aux/macros/check_nfs_prot_headers.m4: added support for ncr2. 537638494Sobrien 537738494SobrienFri Jun 20 06:14:17 1997 Erez Zadok <ezk> 537838494Sobrien 537938494Sobrien * amd/*.c: lots of 64-bit "ugly" ports like casts to long ints. 538038494Sobrien 538138494Sobrien * aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because 538238494Sobrien on DU-4.0 it is better than the next one to be picked (nfsv2fh_t). 538338494Sobrien 538438494SobrienWed Jun 18 18:59:49 1997 Erez Zadok <ezk@defiant.soscorp.com> 538538494Sobrien 538638494Sobrien * aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for 538738494Sobrien nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is 538838494Sobrien better. 538938494Sobrien 539038494SobrienTue Jun 10 17:06:58 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 539138494Sobrien 539238494Sobrien * amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is 539338494Sobrien NULL, set the maxlen and len fields in netbuf to zero. 539438494Sobrien 539538494SobrienWed May 28 22:52:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 539638494Sobrien 539738494Sobrien * scripts/fix-amd-map.in (name): replace all matching patterns on 539838494Sobrien line. 539938494Sobrien 540038494SobrienSun May 25 19:33:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 540138494Sobrien 540238494Sobrien ******************************************************************* 540338494Sobrien *** Released am-utils-6.0a5 *** 540438494Sobrien ******************************************************************* 540538494Sobrien 540638494SobrienSun May 25 13:37:24 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 540738494Sobrien 540838494Sobrien * amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service 540938494Sobrien procedure now returns the full string that amd -v returns. 541038494Sobrien 541138494Sobrien * amd/get_args.c (get_version_string): new function to return 541238494Sobrien complete version/info string so it could be used more flexibly. 541338494Sobrien 541438494Sobrien * amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list 541538494Sobrien of Fs types into a string buffer, rather than a FILE*. 541638494Sobrien 541738494Sobrien * amd/mapc.c (mapc_showtypes): put the list of map types into a 541838494Sobrien string buffer, rather than a FILE*. 541938494Sobrien 542038494SobrienSun May 25 01:25:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 542138494Sobrien 542238494Sobrien * amd/get_args.c (get_args): amd -v also prints user who built 542338494Sobrien amd, hostname built on, and date of configuration. 542438494Sobrien 542538494SobrienSat May 24 13:40:50 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 542638494Sobrien 542738494Sobrien * scripts/lostaltmail.conf-sample: sample lostaltmail 542838494Sobrien configuration file. 542938494Sobrien 543038494Sobrien * scripts/lostaltmail.in: new script lostaltmail used to redeliver 543138494Sobrien "lost" mail that hlfsd redirected to a temp location because the 543238494Sobrien primary home file system of the user was full. 543338494Sobrien 543438494Sobrien * scripts/amd2sun.in: new script amd2sun. Used to convert Sub 543538494Sobrien automount maps to amd maps. 543638494Sobrien 543738494Sobrien * scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start, 543838494Sobrien stop, or restart hlfsd. 543938494Sobrien 544038494Sobrien * scripts/expn.1: man page for expn command. 544138494Sobrien 544238494Sobrien * scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or 544338494Sobrien restart amd. 544438494Sobrien 544538494Sobrien * scripts/expn.in: new script expn. Actually taken from David 544638494Sobrien Muir Sharnoff <muir@idiom.com>. Used by hlfsd's mail re-delivery 544738494Sobrien script. 544838494Sobrien 544938494Sobrien * scripts/wait4amd.in: new script wait4amd added. Waits for amd 545038494Sobrien to come up on a host, and then runs a command (rsh $hostname by 545138494Sobrien default). 545238494Sobrien 545338494Sobrien * scripts/Makefile.am: new directory now holds all shell/perl 545438494Sobrien scripts that belong to am-utils. 545538494Sobrien 545638494Sobrien * conf/mount/mount_linux.c (parse_opts): new parser for 545738494Sobrien linux-specific mounts. Handles fs-type specific mount-options 545838494Sobrien correctly. Currently implemented: msdos, iso9660. 545938494Sobrien 546038494Sobrien * amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default 546138494Sobrien (fix for linux). 546238494Sobrien 546338494Sobrien * amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default 546438494Sobrien (fix for linux). 546538494Sobrien 546638494Sobrien * amd/mapc.c (make_entry_chain): fixed bug that resulted in amd 546738494Sobrien core dumps upon "ls" of a mount point; an invalid pointer was 546838494Sobrien being returned and dereferenced. 546938494Sobrien 547038494Sobrien * port to Linux sparc working! 547138494Sobrien 547238494Sobrien * hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if 547338494Sobrien failed to write test file, or else the fd will leak. 547438494Sobrien 547538494SobrienSun May 18 00:42:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 547638494Sobrien 547738494Sobrien * amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp() 547838494Sobrien instead of strcmp(). 547938494Sobrien 548038494Sobrien * Port to Digital Unix 4.0 (OSF) done. 548138494Sobrien 548238494Sobrien * hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts 548338494Sobrien with dirname() function in <string.h> on OSF systems. 548438494Sobrien 548538494Sobrien * fsinfo/fsi_util.c (set_ether_if): take out extern defintion of 548638494Sobrien inet_addr(). It should come from <arpa/inet.h> instead. 548738494Sobrien 548838494Sobrien * conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs. 548938494Sobrien 549038494Sobrien * include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to 549138494Sobrien avoid conflicts with DU 4.0 system header. 549238494Sobrien 549338494SobrienThu May 15 22:49:12 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 549438494Sobrien 549538494Sobrien * libamu/mount_fs.c (mount_fs): pass along NFS version so I can 549638494Sobrien determine if to include additional options in the mount table file 549738494Sobrien entry (such as proto=tcp, and vers=3). 549838494Sobrien 549938494SobrienThu May 15 00:42:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 550038494Sobrien 550138494Sobrien * libamu/mount_fs.c (mount_fs): include NFS version number in the 550238494Sobrien mount table options, as well as proto={tcp,udp}. 550338494Sobrien 550438494SobrienWed May 14 14:30:19 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 550538494Sobrien 550638494Sobrien * NFS V3 code ported to most other systems, so it compiles for V2 550738494Sobrien and V3 NFS systems. 550838494Sobrien 550938494Sobrien * NFS VERSION 3 support, first pass. Working for Solaris and 551038494Sobrien using TCP. 551138494Sobrien 551238494SobrienSun May 11 01:14:29 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 551338494Sobrien 551438494Sobrien * amq/amq.c: many newline characters were missing from various 551538494Sobrien stderr printfs. 551638494Sobrien 551738494SobrienSat May 10 13:09:06 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 551838494Sobrien 551938494Sobrien * conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for 552038494Sobrien Solaris, which include NFS V3 support. 552138494Sobrien 552238494Sobrien * conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers. 552338494Sobrien 552438494Sobrien * conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS 552538494Sobrien protocol version while getting a mount client. 552638494Sobrien 552738494Sobrien * amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types, 552838494Sobrien file handle size, and proper file handle based on the correct NFS 552938494Sobrien version number. 553038494Sobrien 553138494Sobrien * conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under 553238494Sobrien Solaris and other SVR4 systems. 553338494Sobrien 553438494Sobrien * amd/ops_nfs.c: store NFS file handle version and version 553538494Sobrien specific handle in struct fh_cache. 553638494Sobrien (got_nfs_fh): pick the correct RPC reply based on the NFS version 553738494Sobrien of the server. 553838494Sobrien (prime_nfs_fhandle_cache): figure out the right NFS file handle 553938494Sobrien for a node, but now include NFS protocol version information. 554038494Sobrien (call_mountd): set the correct version for the mount protocol, 554138494Sobrien based on the NFS protocol version. 554238494Sobrien (nfs_init): use the NFS protocol generic structure 554338494Sobrien am_nfs_handle_t. 554438494Sobrien 554538494Sobrien * include/am_utils.h: new structure am_nfs_handle_t to contain all 554638494Sobrien possible versions of NFS file handles. 554738494Sobrien 554838494Sobrien * amd/srvr_nfs.c (start_ping): ping program performs NFS version 554938494Sobrien specific pings. 555038494Sobrien (recompute_portmap): figure out the correct portmap version mount. 555138494Sobrien (nfs_keepalive): call start_ping() with the correct NFS version. 555238494Sobrien (find_nfs_srvr): if mount option "vers=" is given, use it. Get 555338494Sobrien the NFS server version and verify that it is up. 555438494Sobrien 555538494Sobrien * conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new 555638494Sobrien function to find the best NFS version for a particular host. 555738494Sobrien 555838494Sobrien * libamu/amu.h: determine what is the highest version of NFS we 555938494Sobrien should try. 556038494Sobrien 556138494Sobrien * include/am_utils.h (NFS_VERSION3): added definition for NFS V3 556238494Sobrien protocol number. 556338494Sobrien Added field fs_version to struct fserver, so we can now store the 556438494Sobrien server protocol version. 556538494Sobrien 556638494SobrienFri May 9 01:09:45 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 556738494Sobrien 556838494Sobrien * aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into 556938494Sobrien underscores too, so I can test for sub-fields. 557038494Sobrien 557138494Sobrien * libamu/wire.c: use test that checks for sub-fields of struct 557238494Sobrien ifreq. 557338494Sobrien 557438494SobrienSat May 6 10:20:17 2000 Erez Zadok <ezk@glory.soscorp.com> 557538494Sobrien 557638494Sobrien * port to BSD/OS 3.0 completed! Many xdr_ functions were broken 557738494Sobrien into smaller files. M4 macros fixed to test for existence of 557838494Sobrien file systems using getvfsbyname(). 557938494Sobrien 558038494Sobrien * amd/sched.c (sigchld): signal handler must waitpid() for all 558138494Sobrien possible children. 558238494Sobrien 558338494Sobrien * hlfsd/homedir.c: signal handler must waitpid() for all possible 558438494Sobrien children. 558538494Sobrien 558638494Sobrien * aux/macros/check_restartable_signals.m4: new macro to determine 558738494Sobrien if need to reinstall signal handlers per OS is better than trying 558838494Sobrien to figure these out based on system macros. 558938494Sobrien 559038494SobrienFri May 5 19:23:28 2000 Erez Zadok <ezk@glory.soscorp.com> 559138494Sobrien 559238494Sobrien * amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number. 559338494Sobrien 559438494Sobrien * amd/ops_afs.c (mount_toplvl): set nfs_args_t version number. 559538494Sobrien 559638494Sobrien * amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport 559738494Sobrien (must be supplied for bsdi 3.0) 559838494Sobrien 559938494Sobrien * libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and 560038494Sobrien associated new macro) for determining the right way to compute the 560138494Sobrien size of the interface structure. 560238494Sobrien 560338494SobrienFri Apr 11 15:56:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 560438494Sobrien 560538494Sobrien * aux/configure.in: need to include libc before libnsl if 560638494Sobrien get_myaddress() is available because on irix libnsl has a buggy 560738494Sobrien get_myaddress(). 560838494Sobrien 560938494Sobrien * include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined 561038494Sobrien on Irix 6 (an SVR4 variant) 561138494Sobrien 561238494SobrienThu Mar 27 02:28:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 561338494Sobrien 561438494Sobrien ******************************************************************* 561538494Sobrien *** Released am-utils-6.0a4 *** 561638494Sobrien ******************************************************************* 561738494Sobrien 561838494SobrienWed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 561938494Sobrien 562038494Sobrien * amd/amq_subr.c (ok_security): turned off insecure code unless 562138494Sobrien user explicitly runs configure --enable-amq-mount. 562238494Sobrien 562338494Sobrien * hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service(). 562438494Sobrien 562538494Sobrien * amd/nfs_start.c (mount_automounter): use code that separately 562638494Sobrien creates the NFS and the amq service. Register tcp and udp 562738494Sobrien services for amd. 562838494Sobrien 562938494Sobrien * conf/transp/transp_*.c (create_amq_service): new function to 563038494Sobrien separately create the amq service for amd. Simplified prototypes 563138494Sobrien for create_nfs_service(). 563238494Sobrien 563338494SobrienWed Mar 19 20:40:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 563438494Sobrien 563538494Sobrien ******************************************************************* 563638494Sobrien *** Released am-utils-6.0a3 *** 563738494Sobrien ******************************************************************* 563838494Sobrien 563938494SobrienWed Mar 19 17:49:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 564038494Sobrien 564138494Sobrien * new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots 564238494Sobrien of small changes to support these two. 564338494Sobrien 564438494SobrienWed Mar 19 14:33:30 1997 Erez Zadok <ezk@grande.cs.columbia.edu> 564538494Sobrien 564638494Sobrien * conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist() 564738494Sobrien should run if MOUNT_TABLE_ON_FILE, not otherwise. 564838494Sobrien 564938494SobrienMon Mar 17 22:02:43 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 565038494Sobrien 565138494Sobrien * hlfsd/hlfsd.c (main): fill in fhsize field if exists 565238494Sobrien (freebsd-2.2). 565338494Sobrien 565438494Sobrien * amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if 565538494Sobrien exists (freebsd-2.2). 565638494Sobrien 565738494SobrienSat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 565838494Sobrien 565938494Sobrien * new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher 566038494Sobrien changed the filehandle type in struct nfs_args from nfsv2fh_t to 566138494Sobrien u_char. 566238494Sobrien 566338494SobrienSat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 566438494Sobrien 566538494Sobrien * SHARED LIBRARIES: too many change to list individually. Now, 566638494Sobrien libamu can be built as a shared library, and other programs link 566738494Sobrien with it. 566838494Sobrien 566938494SobrienTue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 567038494Sobrien 567138494Sobrien * aux/macros/opt_shared.m4: new macro for setting options for 567238494Sobrien building shared am-utils libraries. 567338494Sobrien 567438494SobrienSun Mar 9 19:17:46 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 567538494Sobrien 567638494Sobrien * fixmount/fixrmtab: cleaned up the script. 567738494Sobrien 567838494Sobrien * fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that 567938494Sobrien fixrmtab gets distributed too. 568038494Sobrien 568138494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP. 568238494Sobrien Added extern for xdr_mountlist(). 568338494Sobrien 568438494Sobrien * aux/configure.in: trimmed down many tests for MNT2_GEN_OPT, 568538494Sobrien MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in 568638494Sobrien the sources. 568738494Sobrien 568838494SobrienSat Mar 8 00:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 568938494Sobrien 569038494Sobrien * fixmount/hlfsd ported to bsd44, hpux, and linux systems. 569138494Sobrien 569238494Sobrien * aux/macros/check_fixmount_style.m4: add check for bsd44 systems. 569338494Sobrien 569438494Sobrien * conf/fixmount/fixmount_default.c: use lockf() if flock() is 569538494Sobrien unavailable. 569638494Sobrien 569738494Sobrien * include/am_defs.h: include <string.h> even if don't have 569838494Sobrien STDC_HEADERS defined (sunos4). 569938494Sobrien (seteuid): define seteuid() to be setresuid() for systems that 570038494Sobrien have but not the other (hpux). 570138494Sobrien 570238494Sobrien * aux/macros/check_extern.m4: test should include <strings.h>. 570338494Sobrien 570438494SobrienTue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 570538494Sobrien 570638494Sobrien * lib/xutil.c (debug_option): moved from amd/getargs.c to this 570738494Sobrien more proper file. 570838494Sobrien 570938494Sobrien * include/am_utils.h: put in structure for debug options, for all 571038494Sobrien progams to use. 571138494Sobrien 571238494Sobrien * amd/get_args.c: moved structure for debug options out. 571338494Sobrien 571438494SobrienSun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 571538494Sobrien 571638494Sobrien * ported fixmount. 571738494Sobrien 571838494Sobrien * lib/ualarm.c: replacement function for systems that don't have a 571938494Sobrien ualarm(). 572038494Sobrien 572138494Sobrien * ported fsinfo. 572238494Sobrien 572338494SobrienSun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 572438494Sobrien 572538494Sobrien * ported mk-amd-map. 572638494Sobrien 572738494Sobrien * buildall: added -K option to buildall, to run mkconf. 572838494Sobrien 572938494SobrienFri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 573038494Sobrien 573138494Sobrien ******************************************************************* 573238494Sobrien *** Released am-utils-6.0a2 *** 573338494Sobrien ******************************************************************* 573438494Sobrien 573538494SobrienThu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 573638494Sobrien 573738494Sobrien * all *.[hcyl] files: add copyright line. 573838494Sobrien 573938494Sobrien * aux/macros/check_mount_type.m4: test for mount type for 574038494Sobrien linux-like systems, by checking for loadable or statically linked 574138494Sobrien kernel filesystem modules. 574238494Sobrien 574338494Sobrien * aux/macros/check_mnttab_type.m4: test for mount table entry 574438494Sobrien for linux-like systems, by checking for loadable or statically 574538494Sobrien linked kernel filesystem modules. 574638494Sobrien 574738494Sobrien * aux/configure.in: pcfs filesystems can use vfat type (linux) 574838494Sobrien 574938494Sobrien * aux/macros/check_fs_mntent.m4: test for filesystem existence for 575038494Sobrien linux-like systems, by checking for loadable or statically linked 575138494Sobrien kernel filesystem modules. 575238494Sobrien 575338494Sobrien * conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX 575438494Sobrien 9.0 header files. This should be removed when HPUX 9.0 is deemed 575538494Sobrien defunct. 575638494Sobrien 575738494Sobrien * aux/acconfig.h: set an undefined variable for having an extern 575838494Sobrien to clnt_sperrno(). 575938494Sobrien 576038494Sobrien * include/am_defs.h: define extern for clnt_sperrno() if needed. 576138494Sobrien 576238494Sobrien * aux/configure.in: test for extern clnt_sperrno(). 576338494Sobrien 576438494Sobrien * aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is 576538494Sobrien similar to irix. 576638494Sobrien 576738494Sobrien * aux/macros/check_mount_style.m4: use mount helper on HPUX. 576838494Sobrien 576938494Sobrien * aux/macros/check_mtype_type.m4: hpux's mount type is a char*, 577038494Sobrien not integer (but may be mapped to one later). 577138494Sobrien 577238494Sobrien * conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header 577338494Sobrien files. They have mount(2) and vfsmount(2) which don't take same 577438494Sobrien arguments, and they have string mount types MNTTYPE_* as well as 577538494Sobrien integer types MOUNT_*. So I need this new mount function to map 577638494Sobrien from string types to integer types for the vfsmount() function. 577738494Sobrien 577838494Sobrien * conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling 577938494Sobrien vfsmount(), call mount_hpux(). 578038494Sobrien 578138494SobrienThu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 578238494Sobrien 578338494Sobrien * lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if 578438494Sobrien both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined. 578538494Sobrien 578638494SobrienThu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 578738494Sobrien 578838494Sobrien * conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for 578938494Sobrien hpux. 579038494Sobrien 579138494Sobrien * include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h. 579238494Sobrien 579338494Sobrien * aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h. 579438494Sobrien 579538494Sobrien * buildall: added ability to configure using other shells than 579638494Sobrien /bin/sh, on those systems where /bin/sh is buggy or limited 579738494Sobrien (HPUX). 579838494Sobrien 579938494Sobrien * aux/macros/struct_nfs_fh.m4: reinstated the macro but have it 580038494Sobrien defined am_nfs_fh, and also test for plain typedef "nfs_fh". 580138494Sobrien 580238494Sobrien * aux/acconfig.h: #undef am_nfs_fh, which is being defined by a 580338494Sobrien reinstated macro. 580438494Sobrien 580538494Sobrien * aux/configure.in: check for <nfs/export.h> 580638494Sobrien 580738494Sobrien * include/am_defs.h: include <nfs/export.h> (HPUX) if exists. 580838494Sobrien 580938494Sobrien * aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if 581038494Sobrien exists. 581138494Sobrien 581238494Sobrien * aux/macros/mount_headers.m4 (define): removed some non-working 581338494Sobrien (on HPUX) code that attempts to recreate the fhandle_t rather than 581438494Sobrien load it up from system headers. Also added some NFS protocol 581538494Sobrien header inclusion. include <nfs/export.h> (HPUX) if exists. 581638494Sobrien 581738494SobrienWed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 581838494Sobrien 581938494Sobrien * aux/macros/mount_headers.m4 (define): Use M4 changequote to 582038494Sobrien ensure [] brackets are correctly used. 582138494Sobrien 582238494Sobrien * aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate 582338494Sobrien multi-line M4 inclusions in []. 582438494Sobrien 582538494SobrienTue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 582638494Sobrien 582738494Sobrien * conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if 582838494Sobrien it exists. 582938494Sobrien 583038494Sobrien * aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new 583138494Sobrien config.h macro for field f_fstypename of struct statfs. 583238494Sobrien 583338494Sobrien * aux/configure.in: testing for field f_fstypename field of struct 583438494Sobrien statfs (NetBSD). 583538494Sobrien 583638494Sobrien * aux/acconfig.h: moved all of the "static" definitions out to a 583738494Sobrien fixed file called include/am_defs.h. Added to all */Makefile.am 583838494Sobrien files a dependency on am_defs.h. Created am_defs.h of course, and 583938494Sobrien then added #include <amd_defs.h> to all of the source and header 584038494Sobrien files that required it. 584138494Sobrien 584238494SobrienMon Feb 24 01:27:02 1997 Erez Zadok <ezk@defiant.soscorp.com> 584338494Sobrien 584438494Sobrien * aux/acconfig.h: two more externals for xdr functions that may be 584538494Sobrien implemented by libamu. 584638494Sobrien 584738494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR 584838494Sobrien definitions. 584938494Sobrien 585038494SobrienSun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 585138494Sobrien 585238494Sobrien * buildall (default): added -D option for turning on even stricker 585338494Sobrien developer options. 585438494Sobrien 585538494Sobrien * */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to 585638494Sobrien determine dependencies on optional NFS protocol headers. 585738494Sobrien 585838494Sobrien * aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed. 585938494Sobrien 586038494Sobrien * aux/macros/check_nfs_prot_header.m4: new test to determine what 586138494Sobrien NFS protocol headers to use. 586238494Sobrien 586338494Sobrien * conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to 586438494Sobrien complete missing system headers for NFS protocol definitions. 586538494Sobrien 586638494SobrienSun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 586738494Sobrien 586838494Sobrien * amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in 586938494Sobrien #ifdef's as needed. 587038494Sobrien 587138494Sobrien * amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is 587238494Sobrien suitable #ifdef'ed. 587338494Sobrien 587438494Sobrien * include/am_compat.h: a couple more mnttab options 587538494Sobrien (timeo/retrans) setting just in case. 587638494Sobrien 587738494Sobrien * amd/autil.c (host_normalize): make sure hostent->h_name is 587838494Sobrien passed a non-const char *. 587938494Sobrien 588038494Sobrien * conf/mount/mount_linux.c (mount_linux): cleaned up a block of code. 588138494Sobrien 588238494Sobrien * {lib,amq,amd}/*.c (many functions): cast xdr_entry to 588338494Sobrien XDRPROC_T_TYPE. 588438494Sobrien 588538494Sobrien * lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to 588638494Sobrien XDRPROC_T_TYPE. 588738494Sobrien 588838494Sobrien * lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to 588938494Sobrien XDRPROC_T_TYPE. 589038494Sobrien 589138494Sobrien * lib/wire.c (getwire): Make sure safe assignment from const to 589238494Sobrien none is done. 589338494Sobrien 589438494SobrienSat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 589538494Sobrien 589638494Sobrien * aux/macros/expand_cpp_int.m4: new macro for expanding integers. 589738494Sobrien 589838494Sobrien * aux/configure.in: added linux/fs.h support in configure and 589938494Sobrien several M4 macros. 590038494Sobrien 590138494Sobrien * conf/mount/mount_linux.c (mount_linux): use macro instead of 590238494Sobrien "ugly" fixed hex number for mount() arguments. 590338494Sobrien 590438494SobrienSat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 590538494Sobrien 590638494Sobrien * amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and 590738494Sobrien turned all of its code always on. That code always seems to 590838494Sobrien compile, as long as you have hesiod and libresolv. 590938494Sobrien 591038494Sobrien * amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all 591138494Sobrien of its code always on. 591238494Sobrien 591338494Sobrien * aux/configure.in: removed superfluous test for hs_zone_transfer 591438494Sobrien function (will never find it because it is an amd-internal 591538494Sobrien function). 591638494Sobrien 591738494Sobrien * amd/mapc.c (maptypes): must used correct new name for am-utils' 591838494Sobrien hesiod initialization function: hesiod_am_init. 591938494Sobrien 592038494Sobrien * amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to 592138494Sobrien hesiod_am_init so as not to conflict with libhesiod's 592238494Sobrien hesiod_init() function. 592338494Sobrien 592438494Sobrien * aux/configure.in: added test and explicit inclusion of 592538494Sobrien libresolv.a for later resolution of library references with 592638494Sobrien libhesiod. 592738494Sobrien 592838494Sobrien * aux/macros/opt_cppflags.m4: new file. configure/compile C 592938494Sobrien preprocessor flags. 593038494Sobrien 593138494Sobrien * aux/macros/opt_libs.m4: new file. configure/compile library 593238494Sobrien flags. 593338494Sobrien 593438494Sobrien * Makefile.am (EXTRA_DIST_AUX): include two new macros 593538494Sobrien opt_cppflags.m4 and opt_libs.m4. 593638494Sobrien 593738494Sobrien * aux/configure.in: test for libhesiod needs to additional 593838494Sobrien libresolv to link completely. Additional configuration time 593938494Sobrien options added for setting initial CPPFLAGS and LIBS. 594038494Sobrien 594138494SobrienTue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 594238494Sobrien 594338494Sobrien ******************************************************************* 594438494Sobrien *** Released am-utils-6.0a1 *** 594538494Sobrien ******************************************************************* 594638494Sobrien 594738494SobrienThu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 594838494Sobrien 594938494Sobrien * amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that 595038494Sobrien it works on freebsd, where they map dbm_pagfno a non-existing 595138494Sobrien macro on purpose, to force you to port the code to Berkeley DB. 595238494Sobrien 595338494SobrienFri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 595438494Sobrien 595538494Sobrien * amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the 595638494Sobrien actual mount_toplvl, to avoid some possible race conditions. 595738494Sobrien 595838494SobrienThu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 595938494Sobrien 596038494Sobrien * amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code. 596138494Sobrien 596238494SobrienWed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 596338494Sobrien 596438494Sobrien * lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code) 596538494Sobrien 596638494Sobrien * amd/amd.c (main): fix local address using htonl(). Free up 596738494Sobrien buffers allocated by netdir_*() functions. 596838494Sobrien 596938494SobrienWed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 597038494Sobrien 597138494Sobrien * amd/fix-amd-map.in: new script that will convert old-style amd 597238494Sobrien maps to new one. 597338494Sobrien 597438494SobrienTue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 597538494Sobrien 597638494Sobrien * FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl, 597738494Sobrien and replies back to simple nfs/link type mount queries). 597838494Sobrien 597938494Sobrien * conf/mtab/mtab_svr4.c: reorganized the code in this file to be 598038494Sobrien easier to read, and fixed a few bugs with un/setting the lock file 598138494Sobrien descriptor. 598238494Sobrien 598338494SobrienWed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 598438494Sobrien 598538494Sobrien * amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older 598638494Sobrien signals in Svr3 systems. Only stellix ever used this. 598738494Sobrien 598838494Sobrien * amd/rpc_fwd.c (fwd_reply): removed all code that was triggered 598938494Sobrien by DYNAMIC_BUFFERS, since it was not in use. 599038494Sobrien 599138494SobrienTue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 599238494Sobrien 599338494Sobrien * amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer 599438494Sobrien takes '=' sign as old selector. Fix your maps. 599538494Sobrien (deslashify): removed APOLLO code that treated two '//' as one. 599638494Sobrien 599738494SobrienSun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 599838494Sobrien 599938494Sobrien * amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which 600038494Sobrien was not used. It made any submount error fail the whole group. 600138494Sobrien 600238494Sobrien * amd/ops_nfs.c (make_nfs_auth): removed code dependent on 600338494Sobrien HAS_NFS_QUALIFIED_NAMES. 600438494Sobrien (mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it 600538494Sobrien is never on. So code that was triggered by #ifndef 600638494Sobrien NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to 600738494Sobrien be fixed later. 600838494Sobrien Removed all ULTRIX_HACK code. Ultrix is DEAD! 600938494Sobrien removed all PRESET_AC code, which was only on for Linux to preset 601038494Sobrien the attribute cache values (otherwise they default to zero). 601138494Sobrien (nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will 601238494Sobrien have to fixed up later. 601338494Sobrien (mount_nfs_fh): removed code that was never included, which 601438494Sobrien attempted to set the port on which amd's nfs mounts on. This 601538494Sobrien isn't supported by the ping algorithm yet. In any case, it is all 601638494Sobrien done in nfs_init(). 601738494Sobrien 601838494Sobrien * amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh): 601938494Sobrien removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or 602038494Sobrien specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will 602138494Sobrien have to be addressed later. 602238494Sobrien 602338494Sobrien * amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent 602438494Sobrien on PRECISE_SYMLINKS. 602538494Sobrien 602638494Sobrien * amd/mapc.c (mapc_meta_search): removed code that depended on 602738494Sobrien HAS_DEPOT. It is known buggy code. The whole DEPOT support needs 602838494Sobrien to be rethought. 602938494Sobrien (mapc_add_kv): ported code to use standard regular expression 603038494Sobrien (regexp) library. 603138494Sobrien 603238494Sobrien * amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on 603338494Sobrien FLUSH_KERNEL_NAME_CACHE and the macro itself. 603438494Sobrien 603538494SobrienSat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 603638494Sobrien 603738494Sobrien * amd/map.c (exported_ap_alloc): removed all code triggered by 603838494Sobrien SHRINK_EXPORTED_AP and the macro itself. 603938494Sobrien 604038494Sobrien * amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code 604138494Sobrien in all the time. Assuming that there is always NIS realod 604238494Sobrien available. 604338494Sobrien (yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all() 604438494Sobrien function is broken such that it does not release filedescriptors 604538494Sobrien it created, then you are hosed. Get a fix for yp_all from your 604638494Sobrien vendor or switch operating systems. 604738494Sobrien 604838494SobrienTue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 604938494Sobrien 605038494Sobrien * amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to 605138494Sobrien HAVE_HS_ZONE_TRANSFER. 605238494Sobrien 605338494SobrienMon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 605438494Sobrien 605538494Sobrien * amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is 605638494Sobrien always included. We should always try to inform the remove mount 605738494Sobrien daemon of mounts we performed. If we want an option for this, it 605838494Sobrien should be a run-time option. 605938494Sobrien 606038494Sobrien * amd/host_ops.c: removed all that optionally did not make the 606138494Sobrien directory mount points for amd. 606238494Sobrien 606338494Sobrien * HOST_EXEC code removed from everywhere. There is no indication 606438494Sobrien that it was used anywhere. If it needs to be used, then a 606538494Sobrien run-time switch should control it. 606638494Sobrien 606738494SobrienThu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 606838494Sobrien 606938494Sobrien * amd/*_ops.c: removed all references to mntent_t's fields 607038494Sobrien mnt_freq and mnt_passno, since they are no longe rused (and never 607138494Sobrien have been). 607238494Sobrien 607338494Sobrien * amd/am_ops.c: removed function sunos4_match, which was off 607438494Sobrien anyway. This was one of the places where an '=' sign was allowed 607538494Sobrien as an assignment operator (which is now ':='). 607638494Sobrien 607738494Sobrien * amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which 607838494Sobrien was off anyway. This was one of the places where an '=' sign was 607938494Sobrien allowed as an assignment operator (which is now ':='). 608038494Sobrien 608138494SobrienTue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 608238494Sobrien 608338494Sobrien * amq/amq.c: ported to am-utils. Working. 608438494Sobrien 608538494Sobrien * conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4 608638494Sobrien to be string, as it should be (rather than a string mapped to int 608738494Sobrien and back mapped to string). 608838494Sobrien 608938494SobrienSun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 609038494Sobrien 609138494Sobrien * lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code. 609238494Sobrien 609338494Sobrien * lib/umount_fs.c: split this into three files: default, osf, and 609438494Sobrien bsd44, that are in conf/umount/umount_*.c. 609538494Sobrien 609638494SobrienThu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 609738494Sobrien 609838494Sobrien * aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new 609938494Sobrien macro to automatically figure out if an external definition for 610038494Sobrien sys_errlist[] exists. 610138494Sobrien 610238494Sobrien * lib/xutil.c (xfree): removed "#undef free" because it's not 610338494Sobrien needed there. Any system that redefines free() needs help. 610438494Sobrien 610538494Sobrien * conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that 610638494Sobrien was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be 610738494Sobrien in active use anywhere. If added later, it should be a run-time 610838494Sobrien configuration option. 610938494Sobrien 611038494Sobrien * conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to 611138494Sobrien be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables 611238494Sobrien in a file in /etc. 611338494Sobrien 611438494Sobrien * lib/util.c (str3cat): removed _AIX code. AIX should have a 611538494Sobrien working realloc, or else find a cleaner solution to this. 611638494Sobrien (mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync() 611738494Sobrien after immediately making directories so that fsck will be able to 611838494Sobrien fix the filesystem in the event of an immediate crash. This was 611938494Sobrien because a bug in UFS which is fixed by now. 612038494Sobrien 612138494Sobrien * lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered 612238494Sobrien code. Does not appear to be on and used anywhere. 612338494Sobrien (dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now. 612438494Sobrien 612538494Sobrien * lib/resvport.c: split the binding of reserved ports code to a 612638494Sobrien separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4) 612738494Sobrien from the BSD code. 612838494Sobrien 612938494SobrienThu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 613038494Sobrien 613138494Sobrien * lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled 613238494Sobrien in by automake and configure, for optional sources that need to be 613338494Sobrien built as part of libamu.a. 613438494Sobrien 613538494Sobrien * aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o 613638494Sobrien to LIBOBJS. 613738494Sobrien 613838494Sobrien * lib/memcmp.c (memcmp): new file added to replace a possible bad 613938494Sobrien implementation of memcmp. 614038494Sobrien 614138494SobrienWed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 614238494Sobrien 614338494Sobrien * converted the sources to use memset/memmove/memcmp instead of 614438494Sobrien bzero/becopy/bcmp. 614538494Sobrien 614638494Sobrien * ran all sources through gnu Indent w/ options specified in 614738494Sobrien aux/amindent. 614838494Sobrien 614938494SobrienWed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 615038494Sobrien 615138494Sobrien * At this point the initial genration of config.h via autoconf and 615238494Sobrien some preliminary makefiles via automake is done. I will not begin 615338494Sobrien modifying sources, so it's a good time to document from here. 6154