ChangeLog revision 174294
1174294Sobrien2006-05-11 Erez Zadok <ezk@cs.sunysb.edu> 2131702Smbr 3174294Sobrien ******************************************************************* 4174294Sobrien *** Released am-utils-6.1.5 *** 5174294Sobrien ******************************************************************* 6131702Smbr 7174294Sobrien2006-05-10 Erez Zadok <ezk@cs.sunysb.edu> 8131702Smbr 9174294Sobrien * Minor new ports: i386-unknown-freebsd6.1 (RELEASE) 10174294Sobrien powerpc-apple-darwin8.6.0, and i386-unknown-openbsd3.9. 11131702Smbr 12174294Sobrien * libamu/mount_fs.c (compute_nfs_attrcache_flags): fix signedness 13174294Sobrien problems on IRIX-6.5. 14131702Smbr 15174294Sobrien * conf/autofs/autofs_solaris_v1.c (xdr_umntrequest): fix 16174294Sobrien signedness problems on IRIX-6.5. 17131702Smbr 18174294Sobrien2006-05-01 Erez Zadok <ezk@cs.sunysb.edu> 19131702Smbr 20174294Sobrien * configure.in: check if libc already includes dbm functionality 21174294Sobrien (as in FreeBSD 6), then don't bother to check specific libraries 22174294Sobrien such as libdbm, gdbm, etc. 23131702Smbr 24174294Sobrien2006-04-21 Erez Zadok <ezk@cs.sunysb.edu> 25131702Smbr 26174294Sobrien * configure.in: detect G/DBM support via gdbm_compat library 27174294Sobrien (Debian 3.1). 28174294Sobrien 29174294Sobrien * minor new port: powerpc-apple-darwin8.5.0 30174294Sobrien 31174294Sobrien2006-04-20 Erez Zadok <ezk@cs.sunysb.edu> 32174294Sobrien 33174294Sobrien * scripts/amd.conf-sample, scripts/amd.conf.5, doc/am-utils.texi, 34174294Sobrien NEWS: document new nfs_allow_any_interface parameter. 35174294Sobrien 36174294Sobrien * include/am_compat.h (INADDR_LOOPBACK): define INADDR_LOOPBACK if 37174294Sobrien not defined, since some systems don't have it. 38174294Sobrien 39174294Sobrien2006-04-20 Nick Williams <Nick.Williams@morganstanley.com> 40174294Sobrien 41174294Sobrien * libamu/wire.c (is_interface_local): new boolena function to 42174294Sobrien determine if address represents any of the local interfaces. 43174294Sobrien (getwire): more properly check if address equals INADDR_LOOPBACK, 44174294Sobrien not if IFF_LOOPBACK is not (the latter isn't as correct). 45174294Sobrien 46174294Sobrien * include/am_utils.h: extern for new is_interface_local() function. 47174294Sobrien 48174294Sobrien * conf/transp/transp_{sockets,tli}.c: don't define INADDR_LOOPBACK 49174294Sobrien here but in am_compat.h 50174294Sobrien 51174294Sobrien * amd/nfs_prot_svc.c (nfs_program_2): if 52174294Sobrien nfs_allow_any_interface=yes, then allow NFS packets from any local 53174294Sobrien interface (not just 127.0.0.1). 54174294Sobrien 55174294Sobrien * amd/conf.c (gopt_nfs_allow_any_interface): implement the new 56174294Sobrien amd.conf parameter nfs_allow_any_interface. 57174294Sobrien 58174294Sobrien * amd/amd.h (CFM_NFS_ANY_INTERFACE): define new global flag when 59174294Sobrien al interfaces are acceptable for local NFS packets. 60174294Sobrien 61174294Sobrien2006-04-18 Christos Zoulas <christos@zoulas.com> 62174294Sobrien 63174294Sobrien * amd/opts.c: Add support for optionally specifying the hostname 64174294Sobrien to match against the netgroup in the netgrp and netgrpd selectors. 65174294Sobrien 66174294Sobrien2006-04-16 Erez Zadok <ezk@cs.sunysb.edu> 67174294Sobrien 68174294Sobrien * libamu/mtab.c (hasmntval): fix inverted meaning of error from 69174294Sobrien hasmntvalerr(). 70174294Sobrien 71174294Sobrien2006-04-14 Erez Zadok <ezk@cs.sunysb.edu> 72174294Sobrien 73174294Sobrien * libamu/mount_fs.c (compute_nfs_attrcache_flags): use new 74174294Sobrien hasmntvalerr() function to set attribute cache values only if they 75174294Sobrien were set (regardless whether they were set to zero or a non-zero 76174294Sobrien value). Before, we were unable to distinguish between an error to 77174294Sobrien parse an option, and a user who actually wanted to set an 78174294Sobrien attribute-cache value to 0. This now fixes an important 79174294Sobrien performance bug that Amd was turning off the attribute caches even 80174294Sobrien for regular (non-automounter) NFS mounts. 81174294Sobrien 82174294Sobrien * libamu/mtab.c (hasmntvalerr): new function to set the value of 83174294Sobrien an option into an integer, but ONLY if that options was set and 84174294Sobrien parsed correctly. This function returns 1 on error, 0 on success 85174294Sobrien (instead of always setting the option value to 0). 86174294Sobrien (hasmntval): wrapper function around hasmntvalerr, which maintains 87174294Sobrien backwards compatibility (always sets option value to 0, even on 88174294Sobrien error to parse the option). 89174294Sobrien 90174294Sobrien * amd/nfs_subr.c (fh_to_mp3): use long int printf format for 91174294Sobrien fhh_pid. 92174294Sobrien 93174294Sobrien2006-04-05 Christos Zoulas <christos@zoulas.com> 94174294Sobrien 95174294Sobrien * amd/amfs_generic.c (amfs_lookup_mntfs): fix use-after-free bug 96174294Sobrien (Coverity). 97174294Sobrien 98174294Sobrien2006-03-27 Erez Zadok <ezk@cs.sunysb.edu> 99174294Sobrien 100174294Sobrien * doc/am-utils.texi, scripts/{amd.conf.5,amd.conf-sample}: 101174294Sobrien document new nfs_retransmit_counter_toplvl and 102174294Sobrien nfs_retry_interval_toplvl global amd.conf parameters. 103174294Sobrien 104174294Sobrien * amd/conf.c (gopt_nfs_retransmit_counter_toplvl, 105174294Sobrien (gopt_nfs_retry_interval_toplvl): parse amd.conf 106174294Sobrien nfs_retransmit_counter_toplvl and nfs_retry_interval_toplvl global 107174294Sobrien parameters. 108174294Sobrien 109174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_mount): support setting toplvl 110174294Sobrien timeo/retrans parameters for Amd's toplvl mounts, separately from 111174294Sobrien all other UDP or NFS mounts. 112174294Sobrien 113174294Sobrien * amd/amd.h: define a new timeo/retrans parameter for toplvl 114174294Sobrien mounts. 115174294Sobrien 116174294Sobrien2006-03-22 Erez Zadok <ezk@cs.sunysb.edu> 117174294Sobrien 118174294Sobrien * minor new port: i386-pc-linux-suse10.1 (beta 8). 119174294Sobrien 120174294Sobrien2006-03-21 Christos Zoulas <christos@zoulas.com> 121174294Sobrien 122174294Sobrien * amd/am_ops.c (merge_opts): Remove useless check found by 123174294Sobrien Coverity; xmalloc never returns NULL. 124174294Sobrien 125174294Sobrien2006-03-21 Erez Zadok <ezk@cs.sunysb.edu> 126174294Sobrien 127174294Sobrien * minor new ports: i386-pc-linux-fc5. 128174294Sobrien 129174294Sobrien * amd/info_ldap.c: as of Linux Fedora Core 5 (which comes with 130174294Sobrien openldap-2.3.9), the ldap.h headers deprecate several functions 131174294Sobrien used in this file, such as ldap_unbind. You get compile errors 132174294Sobrien about missing extern definitions. Those externs are still in 133174294Sobrien <ldap.h>, but surrounded by an ifdef LDAP_DEPRECATED. I am 134174294Sobrien turning on that ifdef at the top of info_ldap.c, under the 135174294Sobrien assumption that the functions may be deprecated, but they still 136174294Sobrien work for this (older?) version of the LDAP API. It gets am-utils 137174294Sobrien to compile, but it is not clear if it will work perfectly. 138174294Sobrien 139174294Sobrien * libamu/xdr_func.c (xdr_am_mountres3_ok), amq/amq_xdr.c 140174294Sobrien (xdr_amq_mount_tree, xdr_amq_mount_tree_p, 141174294Sobrien xdr_amq_mount_info_list, xdr_amq_mount_tree_list), amq/amq.c 142174294Sobrien (show_mti), amd/amq_subr.c (xdr_amq_setopt, xdr_amq_mount_subtree, 143174294Sobrien xdr_amq_mount_tree, xdr_amq_mount_tree_list, xdr_amq_mount_tree), 144174294Sobrien libamu/xdr_func.c (xdr_am_mountres3_ok): use casing magic to stop 145174294Sobrien GCC-4.1 from complaining about "dereferencing type-punned pointer 146174294Sobrien will break strict-aliasing rules" here (but not elsewhere). 147174294Sobrien 148174294Sobrien2006-03-20 Christos Zoulas <christos@zoulas.com> 149174294Sobrien 150174294Sobrien * libamu/wire.c: avoid potential dereferencing of a NULL pointer 151174294Sobrien (Coverity). 152174294Sobrien 153174294Sobrien * hlfsd/homedir.c (delay): remove unnecessary check for NULL 154174294Sobrien pointer (Coverity). 155174294Sobrien 156174294Sobrien * fsinfo/fsi_analyze.c (analyze_dkmounts, analyze_mounts, 157174294Sobrien analyze_mounts): avoid potential dereferencing of a NULL pointer 158174294Sobrien (Coverity). 159174294Sobrien 160174294Sobrien * conf/transp/transp_sockets.c (create_amq_service): avoid 161174294Sobrien potential dereferencing of a NULL pointer (Coverity). 162174294Sobrien 163174294Sobrien * amd/sched.c (sigchld): properly check for the end of the waiting 164174294Sobrien process list (Coverity). 165174294Sobrien 166174294Sobrien * amd/mapc.c (mapc_create): initialize 'modify' to zero (Coverity). 167174294Sobrien 168174294Sobrien * amd/autil.c (amfs_mkcacheref, am_unmounted): avoid potential 169174294Sobrien dereferencing of a NULL pointer (Coverity). 170174294Sobrien 171174294Sobrien * amd/amfs_generic.c (amfs_lookup_mntfs): free def_opts before 172174294Sobrien reusing it (memory leak bug detected by Coverity). 173174294Sobrien (amfs_bgmount): avoid potential dereferencing of a NULL pointer 174174294Sobrien (Coverity). 175174294Sobrien 176174294Sobrien * amd/am_ops.c (merge_opts): no need to check if newstr is NULL 177174294Sobrien (bug detected by Coverity). 178174294Sobrien 179174294Sobrien2006-03-08 Ion Badulescu <ionut@moisil.badula.org> 180174294Sobrien 181174294Sobrien * amd/nfs_subr.c (mp_to_fh): fixed old-style filehandles--the pid 182174294Sobrien comparison was failing. 183174294Sobrien 184174294Sobrien2006-03-08 Erez Zadok <ezk@cs.sunysb.edu> 185174294Sobrien 186174294Sobrien * configure.in: properly test for either <gdbm/ndbm.h> or 187174294Sobrien <gdbm-ndbm.h> (unfortunately, Autoconf will map both names to the 188174294Sobrien same $ac_cv_* variable name). Some systems support one header or 189174294Sobrien another. Patch inspired by work Debian did. 190174294Sobrien 191174294Sobrien2006-02-10 Erez Zadok <ezk@cs.sunysb.edu> 192174294Sobrien 193174294Sobrien ******************************************************************* 194174294Sobrien *** Released am-utils-6.1.4 *** 195174294Sobrien ******************************************************************* 196174294Sobrien 197174294Sobrien2006-01-04 Erez Zadok <ezk@cs.sunysb.edu> 198174294Sobrien 199174294Sobrien * doc/am-utils.texi (auto_attrcache Parameter): revise discussion 200174294Sobrien to mention pros and cons of turning on/off this parameter, 201174294Sobrien including impact on Amd's performance, and ways to improve 202174294Sobrien performance while minimizing the window of vulnerability in which 203174294Sobrien kernel may return the wrong (cached) attributes. 204174294Sobrien 205174294Sobrien2006-01-02 Erez Zadok <ezk@cs.sunysb.edu> 206174294Sobrien 207174294Sobrien * updated copyright year to 2006 on all files. 208174294Sobrien 209174294Sobrien2005-12-20 Erez Zadok <ezk@cs.sunysb.edu> 210174294Sobrien 211174294Sobrien * include/am_utils.h, conf/transp/transp_tli.c (amu_svc_register, 212174294Sobrien register_autofs_service): use a consistent prototype for the 213174294Sobrien dispatch function of the autofs service de/registration functions. 214174294Sobrien 215174294Sobrien2005-12-03 Erez Zadok <ezk@cs.sunysb.edu> 216174294Sobrien 217174294Sobrien * minor new ports: i386-unknown-netbsdelf2.1, 218174294Sobrien i386-unknown-netbsdelf3.0 (RELEASE), and i386-unknown-openbsd3.8. 219174294Sobrien 220174294Sobrien2005-12-02 Erez Zadok <ezk@cs.sunysb.edu> 221174294Sobrien 222174294Sobrien * m4/macros/check_field.m4: remove double inclusion of msdosfs 223174294Sobrien headers, which are included in mount_header1.h (netbsd 2.1 doesn't 224174294Sobrien protect <msdosfs/msdosfsmount.h> which causes compile errors). 225174294Sobrien 226174294Sobrien2005-11-08 Erez Zadok <ezk@cs.sunysb.edu> 227174294Sobrien 228174294Sobrien * minor new port: i386-unknown-freebsd6.0 (RELEASE) 229174294Sobrien 230174294Sobrien2005-10-26 Erez Zadok <ezk@cs.sunysb.edu> 231174294Sobrien 232174294Sobrien * amd/amq_subr.c (amqproc_pawd_1_svc): repeatedly resolve path in 233174294Sobrien Amd, not in pawd (to avoid repeated network RPCs). 234174294Sobrien 235174294Sobrien * amq/pawd.c (transform_dir): move repeated path resolution into Amd. 236174294Sobrien 237174294Sobrien2005-10-25 Erez Zadok <ezk@cs.sunysb.edu> 238174294Sobrien 239174294Sobrien * amq/pawd.c (transform_dir): resolve path repeatedly until 240174294Sobrien finished. Bug fix from Jonathan Chen <jon+amd-at-spock.org>. 241174294Sobrien Added safety check to prevent infinite loops. 242174294Sobrien 243174294Sobrien2005-10-19 Erez Zadok <ezk@cs.sunysb.edu> 244174294Sobrien 245174294Sobrien * doc/am-utils.texi (opts Option): document new pcfs options 246174294Sobrien longname, nowin95, shortname, user=N, group=N, mask=N, and 247174294Sobrien dirmask=N. 248174294Sobrien 249174294Sobrien * amd/ops_pcfs.c (mount_pcfs): process new pcfs options longname, 250174294Sobrien nowin95, shortname, user=N, group=N, mask=N, and dirmask=N. 251174294Sobrien 252174294Sobrien * include/am_compat.h: provide compatibility mnttab string names, 253174294Sobrien if needed, for pcfs mount options longname, nowin95, shortname, 254174294Sobrien user=N, group=N, mask=N, and dirmask=N. 255174294Sobrien 256174294Sobrien * include/am_utils.h: extern for hasmntstr(). 257174294Sobrien 258174294Sobrien * libamu/mtab.c (hasmntstr): new function to return the string 259174294Sobrien value following a mount option, up to the next comma-delimited 260174294Sobrien options. 261174294Sobrien 262174294Sobrien * configure.in: check for mnttab and pcfs options longname, 263174294Sobrien nowin95, and shortname. 264174294Sobrien 265174294Sobrien * Makefile.am (EXTRA_DIST_M4): distribute new macro 266174294Sobrien check_mnt2_pcfs_opt.m4. 267174294Sobrien 268174294Sobrien * m4/macros/check_mnt2_pcfs_opt.m4: new macro to check for pcfs 269174294Sobrien mnttab and mount options. 270174294Sobrien 271174294Sobrien2005-10-18 Erez Zadok <ezk@cs.sunysb.edu> 272174294Sobrien 273174294Sobrien * libamu/mount_fs.c (print_nfs_args): print nfs_args->addr 274174294Sobrien correctly, depending if it's a pointer or not. 275174294Sobrien 276174294Sobrien * conf/sa_dref/sa_dref_*.h: for each NFS_SA_DREF macro, also 277174294Sobrien #define NFS_ARGS_T_ADDR_IS_POINTER if nfs_args->addr is a pointer 278174294Sobrien or an embedded structure, so we can tell how to print it. 279174294Sobrien 280174294Sobrien * libamu/mount_fs.c (print_nfs_args): print nfs_args->addrlen 281174294Sobrien field, if it exists. 282174294Sobrien 283174294Sobrien * configure.in: check for nfs_args->addrlen field. 284174294Sobrien 285174294Sobrien * wire-test/wire-test.c (main), libamu/mount_fs.c 286174294Sobrien (print_nfs_args), fixmount/fixmount.c (inetresport, 287174294Sobrien clnt_create_timeout), amq/pawd.c (transform_dir), amq/amq.c 288174294Sobrien (main), amd/srvr_nfs.c (find_nfs_srvr), amd/autil.c 289174294Sobrien (amfs_mount): document that as per POSIX, we don't need to set the 290174294Sobrien sa_len/sin_len fields in struct sockaddr/sockaddr_in. The field 291174294Sobrien is used only internally in the kernel. See 292174294Sobrien www.awprofessional.com/articles/article.asp?p=169505&seqNum=2&rl=1 293174294Sobrien 294174294Sobrien * fixmount/fixmount.c (inetresport): initialize sockaddr_in 295174294Sobrien structure before filling in some fields. 296174294Sobrien 297174294Sobrien2005-10-11 Erez Zadok <ezk@cs.sunysb.edu> 298174294Sobrien 299174294Sobrien * doc/am-utils.texi (nfs_vers, nfs_proto parameters): clarify and 300174294Sobrien correct mistaken description of nfs_proto. 301174294Sobrien 302174294Sobrien2005-10-10 Erez Zadok <ezk@cs.sunysb.edu> 303174294Sobrien 304174294Sobrien ******************************************************************* 305174294Sobrien *** Released am-utils-6.1.3 *** 306174294Sobrien ******************************************************************* 307174294Sobrien 308174294Sobrien2005-10-07 Erez Zadok <ezk@cs.sunysb.edu> 309174294Sobrien 310174294Sobrien * m4/macros/check_mnttab_type.m4: move the test for MOUNT_* to the 311174294Sobrien very end, after the test using getvfsbyname(). 312174294Sobrien 313174294Sobrien * m4/macros/expand_run_string.m4: if the string value returned is 314174294Sobrien empty, consider it invalid. 315174294Sobrien 316174294Sobrien * m4/macros/check_varargs_macros.m4: rewrite macro so it'll 317174294Sobrien try and compile the varargs test, not just cpp it. Some systems 318174294Sobrien pass the old cpp test, but not when you actually try to compile 319174294Sobrien the code (Tru64's cc). 320174294Sobrien 321174294Sobrien * conf/autofs/autofs_solaris_v1.h: redefine 322174294Sobrien autofs_strdup_space_hack as a macro to str3cat(NULL,(s)," ",""). 323174294Sobrien This works everywhere and we avoid linking problems, inline 324174294Sobrien functions, etc. 325174294Sobrien 326174294Sobrien * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): remove 327174294Sobrien autofs_strdup_space_hack() function altogether. 328174294Sobrien 329174294Sobrien * m4/macros/os_cflags.m4: remove hack that hardcodes pte_t=u_int. 330174294Sobrien 331174294Sobrien * configure.in: test for <sys/immu.h> header. 332174294Sobrien Test for pte_t, but only on IRIX6 systems. 333174294Sobrien 334174294Sobrien * Makefile.am (EXTRA_DIST_M4): distribute new type_pte_t.m4 file. 335174294Sobrien 336174294Sobrien * m4/macros/type_pte_t.m4: new test for existence of pte_t 337174294Sobrien typedef, needed on some IRIX-6.5/gcc systems. 338174294Sobrien 339174294Sobrien * m4/macros/header_templates.m4: add missing templates for 340174294Sobrien HAVE_EXTERN_GETDTABLESIZE, HAVE_EXTERN_GETWD, and 341174294Sobrien HAVE_EXTERN_UALARM. 342174294Sobrien 343174294Sobrien * amd/info_exec.c (exec_map_open): break assignment from inside 344174294Sobrien conditional, to work around an IRIX-6.5 cc bug. 345174294Sobrien 346174294Sobrien * fsinfo/fsi_util.c (set_ether_if), amd/map.c (unmount_mp), 347174294Sobrien libamu/xutil.c (expand_error), libamu/strutil.c (xsnprintf): avoid 348174294Sobrien comparison between signed and unsigned integers. 349174294Sobrien 350174294Sobrien * conf/autofs/autofs_solaris_v1.h, conf/autofs/autofs_solaris_v1.c 351174294Sobrien (autofs_strdup_space_hack): move "space_hack" function from static 352174294Sobrien inline in header, into the only source file that needs it. This 353174294Sobrien is cleaner and also prevents linking problem with some compilers 354174294Sobrien that won't apply CPP macros inside static inline functions (for 355174294Sobrien the strl* functions). 356174294Sobrien 357174294Sobrien * amq/pawd.c (find_mt, find_mlp): remove obsolete, inefficient 358174294Sobrien code. 359174294Sobrien (transform_dir): call the new, efficient amqproc_pawd_1() routine. 360174294Sobrien 361174294Sobrien * amq/amq_clnt.c (amqproc_pawd_1): AMQPROC_PAWD wrapper routine. 362174294Sobrien 363174294Sobrien * amq/amq.h (amqproc_pawd_1): extern for amq's AMQPROC_PAWD 364174294Sobrien wrapper routine. 365174294Sobrien 366174294Sobrien * amd/amq_svc.c (amq_program_1): dispatch point for 367174294Sobrien amqproc_pawd_1_svc. 368174294Sobrien 369174294Sobrien * amd/amq_subr.c (amqproc_pawd_1_svc): moved pawd's path-matching 370174294Sobrien functionality into Amd, where it can be done a lot more 371174294Sobrien efficiently. We don't have to construct and ship a whole export 372174294Sobrien tree from Amd to pawd. We just get a variable-length 373174294Sobrien xdr_wrapstring for the user's path, iterate over the entire export 374174294Sobrien list inside Amd, and return only a matched string if found 375174294Sobrien (otherwise we return "" to indicate that there was no match, and 376174294Sobrien let pawd printf the same string it sent over). 377174294Sobrien 378174294Sobrien * amd/amd.h: extern for amqproc_pawd_1_svc, amd's service routine 379174294Sobrien the AMQPROC_PAWD RPC. 380174294Sobrien 381174294Sobrien2005-10-06 Erez Zadok <ezk@cs.sunysb.edu> 382174294Sobrien 383174294Sobrien * ltmain.sh, m4/macros/libtool.m4: update to libtool-1.5.20. 384174294Sobrien Fixes Tru64 bugs when using ksh. 385174294Sobrien 386174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_mount): break complex ifdef macro 387174294Sobrien into two sections, to workaround a C99 varargs-macro bug in 388174294Sobrien gcc-3.2.2 (RH9). 389174294Sobrien 390174294Sobrien * libamu/wire.c (print_wires): convert argument-less xsnprintf to 391174294Sobrien xstrlcpy. 392174294Sobrien 393174294Sobrien * include/am_utils.h: use new HAVE_C99_VARARGS_MACROS or 394174294Sobrien HAVE_GCC_VARARGS_MACROS to pass file name and line number to 395174294Sobrien xsnprintf/xvsnprintf. 396174294Sobrien 397174294Sobrien * libamu/strutil.c (xsnprintf, xvsnprintf): if debugging is on, 398174294Sobrien then also print the source file name and line number that called 399174294Sobrien xsnprintf/xvsnprintf with a buffer that wasn't large enough (most 400174294Sobrien likely an am-utils bug). 401174294Sobrien 402174294Sobrien * Makefile.am (EXTRA_DIST_M4): distribute new 403174294Sobrien check_varargs_macros.m4 file. 404174294Sobrien 405174294Sobrien * configure.in: execute new AMU_VARARGS_MACROS test. 406174294Sobrien 407174294Sobrien * m4/macros/check_varargs_macros.m4: new test to check what style 408174294Sobrien of variable-length argument macros, if any, does the 409174294Sobrien compiler/pre-processor supports. 410174294Sobrien 411174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_lookup_2_req) 412174294Sobrien conf/autofs/autofs_solaris_v1.c (autofs_mount_1_req), amd/opts.c, 413174294Sobrien amd/nfs_subr.c (nfsproc_lookup_2_svc), amd/nfs_start.c 414174294Sobrien (mount_automounter), amd/get_args.c (get_args), amd/amfs_toplvl.c, 415174294Sobrien amd/amfs_auto.c (amfs_auto_mount), amd/amd.h, amd/amd.c (main): 416174294Sobrien use sizeof() instead of fixed SIZEOF_* macros. 417174294Sobrien 418174294Sobrien * libamu/strutil.c (xstrlcat, xstrlcpy), include/am_utils.h 419174294Sobrien (DEBUG): if debugging is on, then also print the source file name 420174294Sobrien and line number that called xstrl* with a buffer that wasn't large 421174294Sobrien enough (most likely an am-utils bug) 422174294Sobrien 423174294Sobrien * include/am_compat.h (INADDR_NONE): define in a common location, 424174294Sobrien if OS doesn't have it, use 0xffffffffU which should work with any 425174294Sobrien ANSI compiler. 426174294Sobrien 427174294Sobrien * fixmount/fixmount.c, libamu/wire.c: remove local definition of 428174294Sobrien INADDR_NONE. 429174294Sobrien 430174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_mount), amd/amfs_auto.c 431174294Sobrien (amfs_auto_mount): use common SIZEOF_OPTS in definition and call 432174294Sobrien to autofs_get_opts. 433174294Sobrien 434174294Sobrien * amd/amd.h (SIZEOF_OPTS): moved #define to common header. 435174294Sobrien 436174294Sobrien2005-10-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 437174294Sobrien 438174294Sobrien * amd/opts.c (expand_op): Need to check BUFSPACE for env for 439174294Sobrien vlen+1. Likewise for cp and strlen(cp)+1. 440174294Sobrien 441174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_mount) [HAVE_FS_AUTOFS]: Pass new 442174294Sobrien size argument to autofs_get_opts. 443174294Sobrien 444174294Sobrien2005-10-05 Erez Zadok <ezk@cs.sunysb.edu> 445174294Sobrien 446174294Sobrien * amq/pawd.c (transform_dir): was using UDP only. Now will also 447174294Sobrien try TCP if UDP failed. Destroy client after use to avoid leftover 448174294Sobrien TCP sockets in the kernel. 449174294Sobrien 450174294Sobrien * libamu/hasmntopt.c (amu_hasmntopt): increase size of MNTMAXSTR 451174294Sobrien from 128 to to 256, because some users have really long option 452174294Sobrien strings. Suggestion from jon+amd-at-spock.org. 453174294Sobrien 454174294Sobrien * amd/opts.c (expand_op): should check BUFSPACE for vlen+1, not 455174294Sobrien just vlen. Bug discovered when started using xstrlcpy(). 456174294Sobrien 457174294Sobrien * ALL: convert from using strcat to the safer xstrlcat, and from 458174294Sobrien strcpy to safer xstrlcpy. 459174294Sobrien 460174294Sobrien2005-10-04 Erez Zadok <ezk@cs.sunysb.edu> 461174294Sobrien 462174294Sobrien * hlfsd/hlfsd.h: remove old fatalerror() and ERRM macros. 463174294Sobrien 464174294Sobrien * hlfsd/hlfsd.c (fatalerror): new function instead of macro. 465174294Sobrien Easier to use xstrlcat in this new function. 466174294Sobrien 467174294Sobrien * amd/amd.h, include/am_utils.h, amd/amd.c: moved 'hostd' extern 468174294Sobrien from am_utils.h to amd.h, and define its size as a macro that 469174294Sobrien could be passed to xstrl*(). 470174294Sobrien 471174294Sobrien * ALL: convert from using sprintf to the safer xsnprintf. 472174294Sobrien 473174294Sobrien * mk-amd-map/Makefile.am (LDADD): link with libamu to get 474174294Sobrien xsnprintf(). 475174294Sobrien 476174294Sobrien * amd/amd.h, amd/amd.c, include/am_utils.h: moved pid_fsname 477174294Sobrien extern from am_utils.h to amd.h, and define its size as a macro 478174294Sobrien that could be passed to xsnprintf(). 479174294Sobrien 480174294Sobrien2005-10-02 Erez Zadok <ezk@cs.sunysb.edu> 481174294Sobrien 482174294Sobrien * include/am_utils.h: extern for xvsnprintf(). 483174294Sobrien 484174294Sobrien * amd/autil.c: move strsplit() to libamu/strutil.c. 485174294Sobrien 486174294Sobrien * libamu/Makefile.am: use strutil.c, not util.c. 487174294Sobrien 488174294Sobrien * libamu/strutil.c: rename from util.c to explain better purpose 489174294Sobrien of file. Move xvsnprintf and xsnprintf from xutil.c to this 490174294Sobrien file. Sync up with 6.2 version of file. 491174294Sobrien 492174294Sobrien * libamu/xutil.c: explain purpose of file. Move mkdirs/rmdirs 493174294Sobrien code from old util.c. 494174294Sobrien 495174294Sobrien2005-10-01 Erez Zadok <ezk@cs.sunysb.edu> 496174294Sobrien 497174294Sobrien * m4/macros/header_templates.m4: templates for FFS. 498174294Sobrien 499174294Sobrien * m4/macros/check_mnttab_type.m4: on BSD44 systems, check for file 500174294Sobrien system mount table name via the MOUNT_* mount(2) macros (because 501174294Sobrien BSD44 keeps the mount table in the kernel). 502174294Sobrien 503174294Sobrien * configure.in: synchronise order of searching for mnttab entries 504174294Sobrien and mount names. The new order is "ext3 ext2 ffs ufs 4.2 4.3 4.4 505174294Sobrien efs xfs jfs ultrix" (which would prefer ffs on BSD44 instead of 506174294Sobrien ufs, and ext3 instead of ext2 on Linux). 507174294Sobrien 508174294Sobrien * include/am_defs.h: include <sys/statvfs.h> if it exists. 509174294Sobrien 510174294Sobrien * conf/nfs_prot/nfs_prot_netbsd1_4.h: NetBSD 3 has both statfs() 511174294Sobrien and statvfs(), but the latter is preferred, so #define to use 512174294Sobrien statvfs. 513174294Sobrien 514174294Sobrien * configure.in: check for statfs(), statvfs(), and 515174294Sobrien <sys/statvfs.h>. 516174294Sobrien 517174294Sobrien * config.guess.long: strip trailing '.' on "netbsdelf3.0." 518174294Sobrien (Beta). Workaround for bug in config.guess. 519174294Sobrien 520174294Sobrien * config.{guess,sub}: update to latest versions. 521174294Sobrien 522174294Sobrien2005-09-30 Christos Zoulas <christos@zoulas.com> 523174294Sobrien 524174294Sobrien * fsinfo/fsi_util.c (set_ether_if): use INADDR_NONE instead of 525174294Sobrien hard-coded value of -1. 526174294Sobrien 527174294Sobrien * include/amq_defs.h (AMQ_STRLEN): increase default size from 2KB 528174294Sobrien to 16KB. We can afford it these days. 529174294Sobrien 530174294Sobrien * libamu/strcasecmp.c (strcasecmp): use unsigned chars in 531174294Sobrien tolower() to avoid sign/size promotion bugs. 532174294Sobrien 533174294Sobrien * libamu/xutil.c (switch_to_logfile): don't output to LOG_CONS by 534174294Sobrien default (it's unfriendly). If user really wants to, they can set 535174294Sobrien it in /etc/syslog.conf. 536174294Sobrien 537174294Sobrien2005-09-29 Erez Zadok <ezk@cs.sunysb.edu> 538174294Sobrien 539174294Sobrien * amq/pawd.c (find_mt): if the auto mount type is used, pawd could 540174294Sobrien go into an infinite loop since the mt_directory and mt_mountpoint 541174294Sobrien fields are the same for auto mounts. Solution: ignore type auto 542174294Sobrien mounts, similar to toplvl. Bug fix from Jonathan Chen 543174294Sobrien <jon+amd@spock.org>. 544174294Sobrien 545174294Sobrien * README.attrcache: document test-attrcache script. 546174294Sobrien 547174294Sobrien * scripts/Makefile.am (noinst_SCRIPTS): build test-attrcache 548174294Sobrien script. 549174294Sobrien 550174294Sobrien * configure.in: build scripts/test-attrcache script and chmod it 551174294Sobrien so it can be executed in place. 552174294Sobrien 553174294Sobrien * scripts/test-attrcache.in: script to test the NFS attribute 554174294Sobrien cache using Amd. 555174294Sobrien 556174294Sobrien2005-09-26 Erez Zadok <ezk@cs.sunysb.edu> 557174294Sobrien 558174294Sobrien * libamu/xutil.c (unregister_amq): repair broken meaning of D_AMQ, 559174294Sobrien which was reversed in am-utils-6.2. Bug fix from Steve Plite 560174294Sobrien <splite-amutils at sigint.cs.purdue.edu>. 561174294Sobrien 562174294Sobrien * hlfsd/stubs.c (nfsproc_getattr_2_svc, nfsproc_lookup_2_svc, 563174294Sobrien nfsproc_readlink_2_svc, nfsproc_readdir_2_svc), hlfsd/hlfsd.c 564174294Sobrien (hlfsd_init): use new clocktime() function. 565174294Sobrien 566174294Sobrien2005-09-18 Erez Zadok <ezk@cs.sunysb.edu> 567174294Sobrien 568174294Sobrien ******************************************************************* 569174294Sobrien *** Released am-utils-6.1.2.1 *** 570174294Sobrien ******************************************************************* 571174294Sobrien 572174294Sobrien * README.attrcache: Update status of freebsd and openbsd. 573174294Sobrien Document netbsd's patchs to support noac. 574174294Sobrien 575174294Sobrien * libamu/mount_fs.c (compute_nfs_attrcache_flags): cleanup the 576174294Sobrien code that sets the ac{reg,dir}{min,max} fields so it also sets the 577174294Sobrien appropriate nfs_args->flags such as MNT2_NFS_OPT_ACREGMIN. 578174294Sobrien 579174294Sobrien * configure.in: check for nfs_args fields acregmax and acdirmax. 580174294Sobrien 581174294Sobrien ******************************************************************* 582174294Sobrien *** Released am-utils-6.1.2 *** 583174294Sobrien ******************************************************************* 584174294Sobrien 585174294Sobrien * README.attrcache: new file documenting in detail OS bugs 586174294Sobrien relating to attribute caching, which can affect Amd's reliability 587174294Sobrien under heavy load. 588174294Sobrien 589174294Sobrien * doc/Makefile.am: install README.attrcache file as attrache.txt 590174294Sobrien file on am-utils Web site. 591174294Sobrien 592174294Sobrien * Makefile.am (EXTRA_DIST): include README.attrcache in distro. 593174294Sobrien 594174294Sobrien * BUGS, NEWS, doc/am-utils.texi (auto_attrcache Parameter), 595174294Sobrien scripts/amd.conf.5, scripts/amd.conf-sample: document attribute 596174294Sobrien cache bugs on some OSs. 597174294Sobrien 598174294Sobrien2005-09-17 Erez Zadok <ezk@cs.sunysb.edu> 599174294Sobrien 600174294Sobrien * libamu/xutil.c (clocktime): newly implemented routine. Uses 601174294Sobrien gettimeofday() each time to return a high-resolution clock time, 602174294Sobrien and does not "cache" the last time. Returns time in seconds, just 603174294Sobrien like the old implementation. If passed a non-null argument, will 604174294Sobrien fill it in with the current time in seconds+microseconds. 605174294Sobrien 606174294Sobrien * libamu/xutil.c: remove actual declaration of clock_valid, and 607174294Sobrien another never-used declaration for xclock_valid. 608174294Sobrien 609174294Sobrien * include/am_utils.h: remove defunct definition of clocktime() 610174294Sobrien macro and clock_valid variable. Add extern for new definition. 611174294Sobrien 612174294Sobrien * libamu/mount_fs.c (mount_fs), hlfsd/homedir.c (homedir, 613174294Sobrien hlfsd_diskspace, hlfsd_getpwent, plt_reset, table_add), 614174294Sobrien hlfsd/hlfsd.c (main, hlfsd_init, reload, cleanup), 615174294Sobrien conf/mtab/mtab_mach3.c (open_locked_mtab), conf/mtab/mtab_file.c 616174294Sobrien (open_locked_mtab), amd/nfs_start.c (do_select, run_rpc), 617174294Sobrien amd/autil.c (host_normalize): remove defunct clock_valid. 618174294Sobrien 619174294Sobrien * amd/nfs_subr.c (nfsproc_getattr_2_svc): Print microseconds for 620174294Sobrien node's mtime. 621174294Sobrien (fh_to_mp3): use new clocktime() to update mtime and get a better 622174294Sobrien time resolution. 623174294Sobrien 624174294Sobrien * amd/mapc.c (mapc_reload_map): change prototype from returning 625174294Sobrien void to returning an int. If reloading was needed and succeeded, 626174294Sobrien return 1; else return 0. 627174294Sobrien (mapc_sync): update mtime of parent node if needed. This is a 628174294Sobrien CRITICAL FIX, to ensure that the kernel flushes its DNLC/dcache 629174294Sobrien when we run "amq -f" manually or when a map is reloaded. 630174294Sobrien 631174294Sobrien * amd/map.c (new_ttl): update am_ttl and na_atime in one shot. 632174294Sobrien (init_map): use new clocktime(). 633174294Sobrien (unmount_mp): if the OS doesn't support a "symttl" option, then 634174294Sobrien update the mtime of the parent node using the clocktime(); but if 635174294Sobrien the time hasn't gotten changed because of rapid Amd accesses on 636174294Sobrien systems that don't have a micro-second NFS-client resolution, then 637174294Sobrien increment mtime by one arbitrarily (this could, on some systems 638174294Sobrien and under pathological cases, result in mtime's that are in the 639174294Sobrien future). 640174294Sobrien 641174294Sobrien * amd/autil.c (forcibly_timeout_mp): MAJOR BUG FIX: force mtime 642174294Sobrien update of parent dir, to prevent DNLC/dcache from caching the old 643174294Sobrien entry, which could result in ESTALE errors, bad symlinks, and 644174294Sobrien more. 645174294Sobrien (am_mounted): record mount time, and update am_stats at the same 646174294Sobrien time, using the double-action redone clocktime() routine. 647174294Sobrien (am_mounted): update parent's mtime from that of the child. 648174294Sobrien (am_unmounted): when unmounting an entry, update mtime of parent 649174294Sobrien node. 650174294Sobrien 651174294Sobrien * amd/amfs_generic.c (amfs_bgmount): now that clocktime() doesn't 652174294Sobrien remember it's last non-zero value, save it in a temporary variable 653174294Sobrien to avoid a TOCTOU problem (between an "if" and a "dlog"). 654174294Sobrien 655174294Sobrien * libamu/xutil.c (show_time_host_and_name), 656174294Sobrien conf/autofs/autofs_linux.c (autofs_mounted, autofs_timeout_mp), 657174294Sobrien amd/srvr_nfs.c (nfs_keepalive_callback, nfs_keepalive_timeout) 658174294Sobrien (find_nfs_srvr), amd/rpc_fwd.c (fwd_alloc), amd/nfs_subr.c 659174294Sobrien (nfsproc_getattr_2_svc), amd/nfs_start.c (do_select, run_rpc), 660174294Sobrien amd/mapc.c (root_init), amd/map.c(map_flush_srvr, timeout_mp), 661174294Sobrien amd/info_ndbm.c (ndbm_init), amd/info_ldap.c (amu_ldap_rebind), 662174294Sobrien amd/info_file.c (file_open), amd/info_exec.c (fgets_timed, 663174294Sobrien exec_search), amd/clock.c (timeout, softclock), amd/autil.c 664174294Sobrien (forcibly_timeout_mp), amd/amfs_generic.c (amfs_retry, 665174294Sobrien amfs_bgmount, amfs_generic_mount_child), amd/amd.c (main): pass 666174294Sobrien NULL to clocktime(). 667174294Sobrien 668174294Sobrien2005-09-07 Erez Zadok <ezk@cs.sunysb.edu> 669174294Sobrien 670174294Sobrien * minor new port: powerpc-apple-darwin8.2.0. 671174294Sobrien 672174294Sobrien * m4/macros/type_auth_create_gidlist.m4: Old macosx used "gid_t" 673174294Sobrien but all newer ones (10.4+) use int. 674174294Sobrien 675174294Sobrien * m4/macros/type_recvfrom_fromlen.m4: Old macosx used "int" for 676174294Sobrien 6th arg of recvfrom(), but all newer ones (10.4+) use socklen_t. 677174294Sobrien 678174294Sobrien * minor new port: i386-pc-linux-deb3.1. 679174294Sobrien 680174294Sobrien2005-09-02 Erez Zadok <ezk@cs.sunysb.edu> 681174294Sobrien 682174294Sobrien * conf/mount/mount_linux.c: If autoconf didn't find any disk-based 683174294Sobrien file system on this system (probably because /proc isn't mounted), 684174294Sobrien then provide some default definition for this file to compile. 685174294Sobrien 686174294Sobrien2005-08-27 Erez Zadok <ezk@cs.sunysb.edu> 687174294Sobrien 688174294Sobrien * Makefile.am (DISTCLEANFILES): also remove amu_autofs_prot.h, 689174294Sobrien config.cache.old, and dbgcf.h on "make distclean". 690174294Sobrien (CLEANFILES): remove dbgcf on plain "make clean". 691174294Sobrien 692174294Sobrien * amd/Makefile.am (DISTCLEANFILES): also remove ops_autofs.c on 693174294Sobrien "make distclean". 694174294Sobrien 695174294Sobrien2005-08-24 Erez Zadok <ezk@cs.sunysb.edu> 696174294Sobrien 697174294Sobrien * configure.in: wrap all LDAP and HESIOD tests in test whether 698174294Sobrien --with-OPT was used. 699174294Sobrien 700174294Sobrien2005-08-16 Erez Zadok <ezk@cs.sunysb.edu> 701174294Sobrien 702174294Sobrien * configure.in: sinclude([vers.m4]) version number file. 703174294Sobrien 704174294Sobrien * vers.m4: new file to separate version number out of 705174294Sobrien configure.in, useful for nightly snapshot script to generate 706174294Sobrien nightly version string. 707174294Sobrien 708174294Sobrien * Makefile.am (EXTRA_DIST_M4): include vers.m4 in distro. 709174294Sobrien 710174294Sobrien2005-08-11 Erez Zadok <ezk@cs.sunysb.edu> 711174294Sobrien 712174294Sobrien * configure.in: keep AC_INIT on same line, for nightly snapshot 713174294Sobrien build script. 714174294Sobrien 715174294Sobrien2005-08-06 Erez Zadok <ezk@cs.sunysb.edu> 716174294Sobrien 717174294Sobrien * scripts/amd.conf.5: selectors_in_defaults is a common parameter, 718174294Sobrien not just [global]. Use consistent capitalization of Amd/Amq. 719174294Sobrien 720174294Sobrien * scripts/amd.conf-sample: properly list all of the parameters 721174294Sobrien which are common to both the [global] and the per-map sections. 722174294Sobrien 723174294Sobrien * doc/am-utils.texi (Common Parameters): selectors_in_defaults is 724174294Sobrien a common parameter, not just [global]. 725174294Sobrien 726174294Sobrien * scripts/amd.conf-sample (sun_map_syntax): example of new flag. 727174294Sobrien 728174294Sobrien * cvs-server.txt: update instructions after branching 6.1-stable. 729174294Sobrien 730174294Sobrien2005-08-02 Erez Zadok <ezk@cs.sunysb.edu> 731174294Sobrien 732174294Sobrien ******************************************************************* 733174294Sobrien *** Released am-utils-6.1.1 *** 734174294Sobrien ******************************************************************* 735174294Sobrien 736174294Sobrien * libamu/xutil.c (xsnprintf): "unsafe" alternative to vsnprintf is 737174294Sobrien vsprintf, not sprintf. 738174294Sobrien 739174294Sobrien * conf/umount/umount_osf.c (umount_fs): refer to proper formal 740174294Sobrien parameter name. 741174294Sobrien (umount2_fs): pass second arg to umount(). 742174294Sobrien 743174294Sobrien * ALL: remove CVS ID and put actual file name in source. 744174294Sobrien 745174294Sobrien * conf/autofs/*.[hc]: proper copyright headers. 746174294Sobrien 747174294Sobrien * whitespace reformatting. Remove remaining '%W%' SCCS IDs. 748174294Sobrien 749174294Sobrien * amd/mntfs.c (free_mntfs): don't discard the last reference to an 750174294Sobrien mntfs that had been mounted already. It won't have the 751174294Sobrien MFF_RESTARTED flag on, as it gets turned off after the entry is 752174294Sobrien mounted, but it will have the MFF_RSTKEEP flag on. 753174294Sobrien 754174294Sobrien * amd/autil.c (mf_mounted), amd/restart.c (restart_fake_mntfs): 755174294Sobrien show the mntfs's flags. 756174294Sobrien 757174294Sobrien2005-08-01 Erez Zadok <ezk@cs.sunysb.edu> 758174294Sobrien 759174294Sobrien * conf/mtab/mtab_linux.c: removed unused code. Cleanup. 760174294Sobrien (handler): removed this bad signal handler. 761174294Sobrien (lock_mtab): Redhat's original code set a signal handler called 762174294Sobrien "handler()" for all non-ALRM signals. The handler called 763174294Sobrien unlock_mntlist(), plog'ed the signal name, and then exit(1)! 764174294Sobrien Never, ever, exit() from inside a utility function. This messed 765174294Sobrien up Amd's careful signal-handling code, and caused Amd to abort 766174294Sobrien uncleanly only any other "innocent" signal 767174294Sobrien (even simple SIGUSR1), leaving behind a hung Amd mnt point. That 768174294Sobrien code should have at least restored the signal handlers' states 769174294Sobrien upon a successful mtab unlocking. Anyway, that handler was 770174294Sobrien unnecessary, because will call unlock_mntlist() properly anyway on 771174294Sobrien exit. 772174294Sobrien 773174294Sobrien * conf/mtab/mtab_{file,isc3,mach3,linux}.c (unlock_mntlist): dlog 774174294Sobrien message that we're inside the unlock_mntlist function. 775174294Sobrien 776174294Sobrien * amd/amd.c (main): use new setup_sighandler() for Amd's four main 777174294Sobrien signals (INT, TERM, HUP, and CHLD). 778174294Sobrien (main) Add SIGINT and SIGTERM to masked_sigs, used in 779174294Sobrien nfs_start.c:do_select() for setjmp/longjmp code; the MASK was set 780174294Sobrien to all four signals if !HAVE_SIGACTION, but only to HUP+CHLD if we 781174294Sobrien HAVE_SIGACTION. So this change makes Amd behave consistently. 782174294Sobrien 783174294Sobrien * include/am_utils.h: extern for new setup_sighandler(). 784174294Sobrien 785174294Sobrien * libamu/xutil.c (setup_sighandler): new utility function to setup 786174294Sobrien a single signal-handler regardless of what method is supported by 787174294Sobrien this OS. 788174294Sobrien (going_down): call unlock_mntlist() when exiting, to ensure that 789174294Sobrien Amd will remove any leftover mtab lock files, if any. 790174294Sobrien 791174294Sobrien * amd/restart.c (restart_automounter_nodes): cleanup function. 792174294Sobrien 793174294Sobrien * minor new port: i386-pc-linuxoldld-deb3.1. 794174294Sobrien 795174294Sobrien * configure.in: include <sys/types.h> before <linux/socket.h> to 796174294Sobrien get the definition of size_t on Debian-3.1r0a. 797174294Sobrien 798174294Sobrien2005-07-29 Erez Zadok <ezk@cs.sunysb.edu> 799174294Sobrien 800174294Sobrien * amd/srvr_nfs.c (find_nfs_srvr): don't blindly copy the hostent 801174294Sobrien IP address. First check if it differs from the existing one of 802174294Sobrien the fserver, and copy only if it changed. If it did change, flush 803174294Sobrien the fhandle cache to avoid a stale fhandle being reused. This 804174294Sobrien allows Amd to detect IP address changes even for an fserver that 805174294Sobrien lost one or more NFS pings, but not enough to be declared totally 806174294Sobrien down. We handle the "totally down" fserver case in 807174294Sobrien check_fs_addr_change(). 808174294Sobrien 809174294Sobrien * amd/ops_nfs.c (nfs_umount), amd/sched.c (sched_task), 810174294Sobrien amd/nfs_subr.c (nfs_quick_reply): code clarity. 811174294Sobrien 812174294Sobrien * conf/mount/mount_linux.c (linux_nfs_error): dlog mappings of 813174294Sobrien errnos to NFS errors. 814174294Sobrien 815174294Sobrien * conf/umount/umount_linux.c (umount2_fs): cleanup code. Trying 816174294Sobrien stat() seems doomed to hang at times, so don't try stat at all, 817174294Sobrien because umount2() appears to be clever enough to never hang. 818174294Sobrien 819174294Sobrien2005-07-25 Erez Zadok <ezk@cs.sunysb.edu> 820174294Sobrien 821174294Sobrien * amd/amd.h (FSF_FORCE_UNMOUNT): new flag used to indicate that a 822174294Sobrien particular fserver may need forced/lazy unmounts when it's mntfs's 823174294Sobrien are unmounted. 824174294Sobrien 825174294Sobrien * amd/ops_nfs.c (nfs_umount): a simple unmount returned EBUSY, and 826174294Sobrien the user specified forced_unmounts=yes in amd.conf, and this 827174294Sobrien fserver was flagged with FSF_FORCE_UNMOUNT, and the OS supports 828174294Sobrien forced/lazy unmounts, then try forced/lazy unmounts. This should 829174294Sobrien allow a hung mount point to be removed. 830174294Sobrien 831174294Sobrien * amd/srvr_nfs.c (find_nfs_srvr): move away IP-address change 832174294Sobrien detection code to its own function. 833174294Sobrien (check_fs_addr_change): new function to detect if the IP address 834174294Sobrien of a downed host has changed, and do various cleanups and fixups 835174294Sobrien to try and recover as best from that situation (e.g., flushing 836174294Sobrien various caches). Also set the FSF_FORCE_UNMOUNT flag for the 837174294Sobrien fserver in question. 838174294Sobrien (flush_srvr_nfs_cache): pass fserver as argument, so we can 839174294Sobrien selectively flush the NFS cache for a single fserver (or all of 840174294Sobrien them, if you pass NULL). 841174294Sobrien 842174294Sobrien * libamu/xutil.c (switch_to_logfile): truncate a regular-file log 843174294Sobrien file if user passed non-zero "truncate_log" flag. 844174294Sobrien 845174294Sobrien * include/am_utils.h: switch_to_logfile() now takes a 3rd arg. 846174294Sobrien 847174294Sobrien * amd/get_args.c (get_args): pass "truncate_log" flag as per 848174294Sobrien amd.conf global settings. 849174294Sobrien 850174294Sobrien * amd/conf.c (gopt_truncate_log): store global value of 851174294Sobrien truncate_log flag. 852174294Sobrien 853174294Sobrien * amd/amq_subr.c (amqproc_setopt_1_svc), hlfsd/hlfsd.c (main, 854174294Sobrien reload): don't truncate log file when calling switch_to_logfile(). 855174294Sobrien 856174294Sobrien * amd/amd.h (CFM_TRUNCATE_LOG): new flag. Fix comment typo. 857174294Sobrien 858174294Sobrien * NEWS, doc/am-utils.texi (truncate_log Parameter), 859174294Sobrien scripts/amd.conf.5, scripts/amd.conf-sample (log_file): document 860174294Sobrien new truncate_log amd.conf parameter. 861174294Sobrien 862174294Sobrien * amd/conf.c (gopt_forced_unmounts): check Linux kernel version 863174294Sobrien and alert if your version may be too old for MNT_FORCE to work 864174294Sobrien (before 2.4.0) or for MNT_DETACH to work (before 2.6.0). 865174294Sobrien Otherwise it may be impossible to pin down the exact kernel 866174294Sobrien version in which we should enable this feature. 867174294Sobrien 868174294Sobrien * conf/umount/umount_linux.c (umount2_fs): if MNT_FORCE returned 869174294Sobrien EBUSY, then don't try to stat(2) before MNT_DETACH because it 870174294Sobrien could hang. 871174294Sobrien 872174294Sobrien2005-07-21 Erez Zadok <ezk@cs.sunysb.edu> 873174294Sobrien 874174294Sobrien * conf/umount/umount_linux.c (umount_fs): cleanup this function, 875174294Sobrien breaking long "if" statements using "goto out". 876174294Sobrien 877174294Sobrien * conf/umount/umount_{aix,bsd44,osf,default,linux}.c (umount_fs): 878174294Sobrien call new utility function umount2_fs() as needed (EBUSY, EIO, or 879174294Sobrien ESTALE). 880174294Sobrien 881174294Sobrien * conf/umount/umount_{aix,bsd44,osf,default,linux}.c (umount2_fs): 882174294Sobrien define a new utility function to invoke forcible/lazy unmounts 883174294Sobrien without touching any mtab files. This separate utility function 884174294Sobrien is useful because it can be called from elsewhere. 885174294Sobrien 886174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_init): new function, called 887174294Sobrien before Amd mounts toplvl mounts, which gives us a hook for cleanup 888174294Sobrien of a previously dead Amd. In our case, if the user asked for 889174294Sobrien forced_unmounts, and the OS supports it, then we try forced/lazy 890174294Sobrien unmounts on any previous toplvl mounts. This is useful if a 891174294Sobrien previous Amd died and left behind toplvl mount points (this Amd 892174294Sobrien will clean them up!). WARNING: Don't use forced/lazy unmounts if 893174294Sobrien you have another valid Amd running, because this code WILL force 894174294Sobrien those valid toplvl mount points to be detached as well! 895174294Sobrien 896174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_umount): don't unconditionally 897174294Sobrien try forced/lazy unmounts because it will prevent a normal Amd from 898174294Sobrien terminating and cleaning up properly (self-deadlocking: detached 899174294Sobrien mounts hang the parent Amd on a stat). Since we already do 900174294Sobrien unmounts in the background, then try a safer policy: after trying 901174294Sobrien the normal unmounts a few times (5 sec), escalate and try forced 902174294Sobrien unmounts a few times (5 more seconds), and if even that failed, 903174294Sobrien then try the ultimate -- detached unmounts (which always succeed). 904174294Sobrien This allows Amd to first try and shutdown cleanly, and gradually 905174294Sobrien try more forcible ways to shutdown. On Linux, this procedure will 906174294Sobrien cleanly shutdown Amd even if there are processes with their CWD on 907174294Sobrien Amd's mount points (which normally result in EBUSY). 908174294Sobrien 909174294Sobrien2005-07-20 Erez Zadok <ezk@cs.sunysb.edu> 910174294Sobrien 911174294Sobrien * Makefile.am (EXTRA_DIST_CONF): add new umount_aix.c to distro. 912174294Sobrien 913174294Sobrien * conf/umount/umount_aix.c: easier if AIX has its own unmount 914174294Sobrien helper file. 915174294Sobrien 916174294Sobrien * m4/macros/check_umount_style.m4: AIX needs its own unmount style 917174294Sobrien file. 918174294Sobrien 919174294Sobrien * doc/am-utils.texi (forced_unmounts Parameter): @xref -> @pxref. 920174294Sobrien 921174294Sobrien2005-07-19 Erez Zadok <ezk@cs.sunysb.edu> 922174294Sobrien 923174294Sobrien * conf/nfs_prot/nfs_prot_aix5_2.h: define compatible 924174294Sobrien forced-unmount flag. 925174294Sobrien 926174294Sobrien * conf/umount/umount_default.c (umount_fs): if regular umount got 927174294Sobrien EBUSY, EIO, or ESTALE, then try forced unmount, if supported. Try 928174294Sobrien umount2 (Solaris) or uvmount (AIX). 929174294Sobrien 930174294Sobrien * conf/umount/umount_{bsd44,osf}.c (umount_fs): if default 931174294Sobrien umount() failed with EIO or ESTALE, also try forced unmount. 932174294Sobrien 933174294Sobrien2005-07-18 Erez Zadok <ezk@cs.sunysb.edu> 934174294Sobrien 935174294Sobrien * amd/autil.c (amfs_mount), amd/amfs_toplvl.c 936174294Sobrien (amfs_toplvl_umount): enable forced/lazy unmounts only if user 937174294Sobrien asked for it (and dlog it). 938174294Sobrien 939174294Sobrien * scripts/amd.conf.5: document new force_unmount global parameter. 940174294Sobrien 941174294Sobrien * doc/am-utils.texi (forced_unmounts Parameter): document new 942174294Sobrien global parameter. 943174294Sobrien 944174294Sobrien * amd/conf.c (gopt_forced_unmounts): process forced_unmounts 945174294Sobrien option (default "no"). Exit with an error if user specified the 946174294Sobrien option as "yes" but configure couldn't find support for either the 947174294Sobrien MNT_FORCE or MNT_DETACH flags. 948174294Sobrien 949174294Sobrien * scripts/amd.conf-sample (forced_unmounts): example usage of new 950174294Sobrien option. 951174294Sobrien 952174294Sobrien * amd/amd.h (CFM_FORCED_UNMOUNTS): new flag for forced_unmounts 953174294Sobrien option. 954174294Sobrien 955174294Sobrien * m4/macros/header_templates.m4: templates for _DETACH and _FORCE. 956174294Sobrien 957174294Sobrien * configure.in: check for generic u/mount options "detach" and 958174294Sobrien "force". 959174294Sobrien 960174294Sobrien * include/am_utils.h (UMOUNT_FS, umount_fs): new prototypes. 961174294Sobrien Define AMU_UMOUNT flags for force, detach, and autofs. 962174294Sobrien 963174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_umount): pass _FORCE and _DETACH 964174294Sobrien unmount flags unconditionally. Pass them to UMOUNT_FS(). 965174294Sobrien 966174294Sobrien * conf/nfs_prot/nfs_prot_linux.h: define MNT_FORCE and MNT_DETACH 967174294Sobrien if needed, because some Linux systems don't define them 968174294Sobrien (presumably because it would be too dangerous to expose these 969174294Sobrien flags to users). 970174294Sobrien 971174294Sobrien * amd/autil.c (amfs_mount): if mount(2) failed with ESTALE or EIO, 972174294Sobrien then assume that we're in trouble, possibly because a previous 973174294Sobrien mount is hung. So, first try to force a lazy unmount of the old 974174294Sobrien mount. If the forced unmount worked, then try again to mount the 975174294Sobrien desired file system. If the forced unmount failed, then don't 976174294Sobrien retry: just return an error. 977174294Sobrien 978174294Sobrien * amd/amfs_generic.c (amfs_generic_umount), amd/amfs_host.c 979174294Sobrien (amfs_host_umount), amd/ops_cachefs.c (cachefs_umount), 980174294Sobrien amd/ops_cdfs.c (cdfs_umount), amd/ops_efs.c (efs_umount), 981174294Sobrien amd/ops_lofs.c (lofs_umount), amd/ops_nfs.c (nfs_umount), 982174294Sobrien amd/ops_pcfs.c (pcfs_umount), amd/ops_ufs.c (ufs_umount), 983174294Sobrien amd/ops_xfs.c (xfs_umount), conf/umount/umount_bsd44.c 984174294Sobrien (umount_fs), conf/umount/umount_default.c (umount_fs), 985174294Sobrien conf/umount/umount_linux.c (umount_fs), conf/umount/umount_osf.c 986174294Sobrien (umount_fs): compute and use unmount specific flags. 987174294Sobrien 988174294Sobrien2005-07-16 Erez Zadok <ezk@cs.sunysb.edu> 989174294Sobrien 990174294Sobrien * configure.in: better help for users, if nfs_args can't be found. 991174294Sobrien 992174294Sobrien2005-07-15 Erez Zadok <ezk@cs.sunysb.edu> 993174294Sobrien 994174294Sobrien * BUGS: more details on AIX's need to install bos.net.nfs.adt 995174294Sobrien before configuring am-utils (else configure cannot find struct 996174294Sobrien nfs_args on AIX). 997174294Sobrien 998174294Sobrien2005-07-10 Erez Zadok <ezk@cs.sunysb.edu> 999174294Sobrien 1000174294Sobrien * amd/srvr_nfs.c (find_nfs_srvr): flush NFS handle cache if the IP 1001174294Sobrien address of a down server had changed. 1002174294Sobrien 1003174294Sobrien * amd/info_union.c (union_reload): use safer xsnprintf() routine. 1004174294Sobrien 1005174294Sobrien * amd/srvr_nfs.c (find_nfs_srvr): check to see if the IP address 1006174294Sobrien of a named but down fserver changed (i.e., the previous IP address 1007174294Sobrien is no longer responding). If so, then reset the fserver to the 1008174294Sobrien new IP address, and set the fserver's flags such that the function 1009174294Sobrien will fall through to doing the usual NFS version/proto checks and 1010174294Sobrien pinging. (This should fix one case of bug #308.) 1011174294Sobrien 1012174294Sobrien * conf/umount/umount_linux.c (umount_fs): warn if plain umount() 1013174294Sobrien failed, before we try to ignore any errors or try optional 1014174294Sobrien umount2(), possibly with forced/lazy unmount. 1015174294Sobrien (umount_fs): dlog when unmount succeeded. 1016174294Sobrien 1017174294Sobrien2005-07-08 Erez Zadok <ezk@cs.sunysb.edu> 1018174294Sobrien 1019174294Sobrien * conf/mount/mount_linux.c: add a couple more NFSv2 error codes 1020174294Sobrien that are compatible with NFSv3. 1021174294Sobrien 1022174294Sobrien2005-07-07 Erez Zadok <ezk@cs.sunysb.edu> 1023174294Sobrien 1024174294Sobrien * m4/macros/header_templates.m4: extern template for strlcat(). 1025174294Sobrien 1026174294Sobrien * amd/get_args.c (get_version_string): use safer strlcat (or 1027174294Sobrien replacement strlcat). Use new wrapper xsnprintf() function, which 1028174294Sobrien will use the safer vsnprintf() if available, else default to plain 1029174294Sobrien sprintf. 1030174294Sobrien 1031174294Sobrien * configure.in: check for existence of strlcat() and its extern, 1032174294Sobrien replacing with libamu/strlcat.c as needed. 1033174294Sobrien 1034174294Sobrien * libamu/Makefile.am (EXTRA_DIST): add strlcat.c to distro. 1035174294Sobrien 1036174294Sobrien * include/am_defs.h: optional strlcat() extern. 1037174294Sobrien 1038174294Sobrien * include/am_utils.h: extern for new xvsnprintf(). 1039174294Sobrien 1040174294Sobrien * configure.in: overdue new major libtool shlib version. 1041174294Sobrien Check for snprintf function and extern. 1042174294Sobrien 1043174294Sobrien2005-07-06 Erez Zadok <ezk@cs.sunysb.edu> 1044174294Sobrien 1045174294Sobrien * conf/nfs_prot/nfs_prot_aix4_3.h: cleanup struct 1046174294Sobrien aix4_nfs_args_bis. 1047174294Sobrien 1048174294Sobrien * Makefile.am (EXTRA_DIST_CONF): include mount_aix3.c in 1049174294Sobrien distribution. 1050174294Sobrien 1051174294Sobrien * conf/mount/mount_aix.c: mount style for aix 5.x and newer. 1052174294Sobrien 1053174294Sobrien * conf/mount/mount_aix3.c: mount styles for aix 3.x/4.x. 1054174294Sobrien 1055174294Sobrien * m4/macros/check_mount_style.m4: split mount styles for 1056174294Sobrien aix3.x/4.x and the newer (and better) aix 5.x code. 1057174294Sobrien 1058174294Sobrien2005-07-05 Erez Zadok <ezk@cs.sunysb.edu> 1059174294Sobrien 1060174294Sobrien * amq/pawd.c (getawd): avoid buffer overflow. Bug fix from Graeme 1061174294Sobrien Wilford <G.Wilford@surrey.ac.uk>. 1062174294Sobrien 1063174294Sobrien2005-06-30 Erez Zadok <ezk@cs.sunysb.edu> 1064174294Sobrien 1065174294Sobrien * amd/map.c (get_next_exported_ap): Avoid running off the end of 1066174294Sobrien the exported_ap[] array. Patch from jon+amd-at-spock.org. Fixed 1067174294Sobrien bug #301. 1068174294Sobrien 1069174294Sobrien2005-06-25 Erez Zadok <ezk@cs.sunysb.edu> 1070174294Sobrien 1071174294Sobrien * Makefile.am (EXTRA_DIST_CONF): distribute new mtab_linux.c. 1072174294Sobrien 1073174294Sobrien * conf/mtab/mtab_linux.c (rewrite_mtab): variable declarations 1074174294Sobrien must come before C code. 1075174294Sobrien 1076174294Sobrien * conf/mtab/mtab_linux.c: Linux-specific mount table hanlding 1077174294Sobrien that's safe (uses locks, handles symlinks to /proc/mounts, etc.). 1078174294Sobrien Patch from Red Hat, which they adapted from mtab_file.c. Minor 1079174294Sobrien fixes to this file. 1080174294Sobrien 1081174294Sobrien * m4/macros/check_mnttab_style.m4: Use Linux-specific mount table 1082174294Sobrien handling. 1083174294Sobrien 1084174294Sobrien2005-06-24 Erez Zadok <ezk@cs.sunysb.edu> 1085174294Sobrien 1086174294Sobrien * conf/mount/mount_aix.c (mount_aix3): minor cleanup of filehandle 1087174294Sobrien copying code. 1088174294Sobrien 1089174294Sobrien2005-06-23 Erez Zadok <ezk@cs.sunysb.edu> 1090174294Sobrien 1091174294Sobrien * conf/nfs_prot/nfs_prot_hpux.h: add extern for h_errno, which may 1092174294Sobrien be missing from older hpux10 systems. 1093174294Sobrien 1094174294Sobrien * configure.in: update bug-reporting address to list 1095174294Sobrien https://bugzilla.am-utils.org/ as well as the mailing list. 1096174294Sobrien 1097174294Sobrien * Makefile.am (EXTRA_DIST_M4): distribute new type_rpcvers_t.m4 1098174294Sobrien macro. 1099174294Sobrien 1100174294Sobrien * conf/transp/transp_tli.c (get_nfs_version): always use 1101174294Sobrien rpcvers_t, now that it'll be automatically discovered. 1102174294Sobrien 1103174294Sobrien * configure.in: check for rpcvers_t type. 1104174294Sobrien 1105174294Sobrien * m4/macros/type_rpcvers_t.m4: new macro to check for type of 1106174294Sobrien rpcvers_t (Some Solaris versions need it). 1107174294Sobrien 1108174294Sobrien * conf/nfs_prot/nfs_prot_sunos5_8.h: don't define INADDR_NONE 1109174294Sobrien here, but in the actual source files that may need it. 1110174294Sobrien 1111174294Sobrien * libamu/wire.c (INADDR_NONE): define INADDR_NONE if not defined 1112174294Sobrien already. 1113174294Sobrien 1114174294Sobrien * include/am_defs.h: define extern for sleep(3) if needed. 1115174294Sobrien 1116174294Sobrien * m4/macros/header_templates.m4: template for sleep(3) extern. 1117174294Sobrien 1118174294Sobrien * configure.in: check for extern for sleep(3), which is missing 1119174294Sobrien from some old (and buggy) versions of gcc's fixinc'ed headers. 1120174294Sobrien 1121174294Sobrien * conf/nfs_prot/nfs_prot_aix4_3.h: update definition of struct 1122174294Sobrien nfs_args from actual system headers. 1123174294Sobrien 1124174294Sobrien * conf/mount/mount_aix.c (mount_aix3): fix name of aix4 "bis" 1125174294Sobrien structure. 1126174294Sobrien 1127174294Sobrien2005-06-22 Erez Zadok <ezk@cs.sunysb.edu> 1128174294Sobrien 1129174294Sobrien * BUGS: update Solaris information about use of f/lex and 1130174294Sobrien yacc/bison. 1131174294Sobrien 1132174294Sobrien2005-06-20 Erez Zadok <ezk@cs.sunysb.edu> 1133174294Sobrien 1134174294Sobrien * minor new port: i386-pc-linux-suse9.3. 1135174294Sobrien 1136174294Sobrien2005-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 1137174294Sobrien 1138174294Sobrien * configure.in (linux/nfs_mount.h): Move __KERNEL__ definition up 1139174294Sobrien so u32 is available for <linux/sunrpc/msg_prot.h>. 1140174294Sobrien 1141174294Sobrien2005-06-16 Erez Zadok <ezk@cs.sunysb.edu> 1142174294Sobrien 1143174294Sobrien * amd/mapc.c (maptypes): move MAP_EXEC after MAP_FILE, because 1144174294Sobrien exec maps will always match when users use amd with command line 1145174294Sobrien args (not amd.conf). Using that legacy way, unfortunately, means 1146174294Sobrien that Amd will use it's hard-coded info-service search path, which 1147174294Sobrien doesn't work for everyone. It's much better to use amd.conf and 1148174294Sobrien specify what you want exactly. 1149174294Sobrien 1150174294Sobrien2005-06-15 Erez Zadok <ezk@cs.sunysb.edu> 1151174294Sobrien 1152174294Sobrien * minor new port: i386-pc-linux-fc4 (gcc4 catches more bugs). 1153174294Sobrien 1154174294Sobrien * m4/macros/type_recvfrom_fromlen.m4: linux systems use unsigned 1155174294Sobrien int as the type of recvfrom()'s 6th argument. 1156174294Sobrien 1157174294Sobrien * m4/macros/type_yp_order_outorder.m4: linux systems use unsigned 1158174294Sobrien int as the type of yp_order()'s 3rd argument. 1159174294Sobrien 1160174294Sobrien2005-06-15 Erez Zadok <ezk@cs.sunysb.edu> 1161174294Sobrien 1162174294Sobrien * scripts/amd.conf-sample (map_type): typo, said mount_type 1163174294Sobrien instead of map_type for the 'exec' example. 1164174294Sobrien 1165174294Sobrien2005-06-11 Erez Zadok <ezk@cs.sunysb.edu> 1166174294Sobrien 1167174294Sobrien ******************************************************************* 1168174294Sobrien *** Released am-utils-6.1 *** 1169174294Sobrien ******************************************************************* 1170174294Sobrien 1171174294Sobrien2005-06-04 Erez Zadok <ezk@cs.sunysb.edu> 1172174294Sobrien 1173174294Sobrien * amd/ops_nfs.c (mount_nfs_fh): set timeo/retrans mount options 1174174294Sobrien only if the user specified them in amd.conf or elsewhere. If they 1175174294Sobrien were not specified, don't do anything, which would let the OS use 1176174294Sobrien its own defaults. 1177174294Sobrien 1178174294Sobrien * amd/get_args.c (get_args): negative timeo/retrans are "good" in 1179174294Sobrien that they represent uninitialized values (meaning to let the OS 1180174294Sobrien use it's default values). So only check if user specified a value 1181174294Sobrien equal to zero (invalid). 1182174294Sobrien 1183174294Sobrien * amd/amd.h: define AMU_TYPE_NONE so we know when users didn't 1184174294Sobrien specify timeo/retrans at all. 1185174294Sobrien 1186174294Sobrien2005-06-03 Erez Zadok <ezk@cs.sunysb.edu> 1187174294Sobrien 1188174294Sobrien ******************************************************************* 1189174294Sobrien *** Released am-utils-6.1-rc7 *** 1190174294Sobrien ******************************************************************* 1191174294Sobrien 1192174294Sobrien * m4/macros/os_cflags.m4 (CFLAGS): use custom-OS C flags for 1193174294Sobrien configuring, not just for building. That way the two phases 1194174294Sobrien (configure and compile) are in sync. This fixes getwire() on 1195174294Sobrien OSF/1 systems. 1196174294Sobrien 1197174294Sobrien * conf/nfs_prot/nfs_prot_sunos5_8.h: define INADDR_NONE if not 1198174294Sobrien defined in system headers. 1199174294Sobrien 1200174294Sobrien2005-06-01 Erez Zadok <ezk@cs.sunysb.edu> 1201174294Sobrien 1202174294Sobrien * libamu/Makefile.am (EXTRA_DIST): remove alloca.c as it's no 1203174294Sobrien longer needed. 1204174294Sobrien 1205174294Sobrien2005-05-28 Erez Zadok <ezk@cs.sunysb.edu> 1206174294Sobrien 1207174294Sobrien * completed set of fixes for irix6.5. 1208174294Sobrien 1209174294Sobrien * Minor new ports alpha-unknown-linux-gentoo1.4.16 1210174294Sobrien alphaev56-dec-osf4.0f, mips-unknown-linux-gentoo1.4.16, and 1211174294Sobrien sparc64-unknown-linux-gentoo1.4.16, and mips-sgi-irix6.5. Test 1212174294Sobrien those systems with both cc and gcc, where possible. 1213174294Sobrien 1214174294Sobrien * include/am_xdr_func.h: remove trailing comma at end of enum 1215174294Sobrien list. 1216174294Sobrien 1217174294Sobrien * m4/macros/os_cflags.m4: with gcc 3.4.3 on irix-6.5, we get pte_t 1218174294Sobrien undefined. So give it a dummy value. 1219174294Sobrien 1220174294Sobrien * libamu/alloca.c: remove file from distro. 1221174294Sobrien 1222174294Sobrien * configure.in: don't call AC_FUNC_ALLOCA any more. 1223174294Sobrien 1224174294Sobrien * include/am_defs.h: remove header fixups for <alloca.h>, now that 1225174294Sobrien we don't need it. 1226174294Sobrien 1227174294Sobrien * amd/amq_svc.c (amqsvc_is_client_allowed): rewrite function to 1228174294Sobrien avoid only use of alloca() in am-utils, and to use strdup 1229174294Sobrien explicitly. This way we can avoid using alloca, a feature that's 1230174294Sobrien not portable on various systems. 1231174294Sobrien 1232174294Sobrien * amq/amq.c: remove unused lint/rcsid cruft. 1233174294Sobrien 1234174294Sobrien2005-05-27 Erez Zadok <ezk@cs.sunysb.edu> 1235174294Sobrien 1236174294Sobrien * conf/checkmount/checkmount_osf.c (fixmount_check_mount): add 1237174294Sobrien extra parentheses around assignments in "if" expressions (gcc 1238174294Sobrien complains). 1239174294Sobrien 1240174294Sobrien * conf/nfs_prot/nfs_prot_osf4.h: add missing extern definitions 1241174294Sobrien for plock, hstrerror, getmntinfo, alloca, xdr_exportnode, and 1242174294Sobrien xdr_groups. 1243174294Sobrien 1244174294Sobrien * configure.in: check for <linux/socket.h>, which, if found, 1245174294Sobrien appears to be preferable to <sys/socket.h>. Use it to find 1246174294Sobrien <linux/nfs_mount.h>. On some Linux systems 1247174294Sobrien (Gentoo), both exist but only one must be included, or else you 1248174294Sobrien get redefined structure errors. 1249174294Sobrien 1250174294Sobrien * libamu/wire.c (is_network_member): check if masknum is 1251174294Sobrien INADDR_NONE, not "< 0" because it's an unsigned quantity. 1252174294Sobrien 1253174294Sobrien * libamu/util.c (xstrlcpy): remove useless test for size_t < 0, 1254174294Sobrien because it's an unsigned quantity. 1255174294Sobrien 1256174294Sobrien2005-05-26 Erez Zadok <ezk@cs.sunysb.edu> 1257174294Sobrien 1258174294Sobrien ******************************************************************* 1259174294Sobrien *** Released am-utils-6.1-rc6 *** 1260174294Sobrien ******************************************************************* 1261174294Sobrien 1262174294Sobrien2005-05-25 Erez Zadok <ezk@cs.sunysb.edu> 1263174294Sobrien 1264174294Sobrien * conf/nfs_prot/nfs_prot_aix5_2.h: AIX 5.3 complains about 1265174294Sobrien missing definition of struct thread_credentials in <sys/vfs.h> 1266174294Sobrien but trying to bring that definition in drags a whole lot of other 1267174294Sobrien messy stuff. So just provide a dummy definition for this 1268174294Sobrien structure. 1269174294Sobrien 1270174294Sobrien2005-05-24 Erez Zadok <ezk@cs.sunysb.edu> 1271174294Sobrien 1272174294Sobrien * Makefile.am (EXTRA_DIST_M4): distribute m4/macros/libtool.m4. 1273174294Sobrien 1274174294Sobrien * m4/macros/header_templates.m4: template for HAVE_EXTERN_MNTCTL. 1275174294Sobrien 1276174294Sobrien * m4/macros/check_extern.m4: include <sys/vmount.h> on AIX 1277174294Sobrien systems, so we can find extern definition for mntctl(). 1278174294Sobrien 1279174294Sobrien * conf/mtab/mtab_aix.c, conf/checkmount/checkmount_aix.c: only 1280174294Sobrien define an extern for mntctl() if needed. 1281174294Sobrien 1282174294Sobrien * amd/ops_nfs.c (prime_nfs_fhandle_cache): never, ever, use C++ 1283174294Sobrien style comments in C code. Some C compilers don't accept it. 1284174294Sobrien 1285174294Sobrien * amd/info_ldap.c (amu_ldap_init, get_ldap_timestamp): force cast 1286174294Sobrien of "time_t *ts" to u_long, to avoid complaints on AIX 5.2 with 1287174294Sobrien xlC. 1288174294Sobrien 1289174294Sobrien * amd/get_args.c: rename symbol conf_file to amu_conf_file to 1290174294Sobrien avoid conflict with libldap.a from openldap-2.0.21 on AIX 5.2. 1291174294Sobrien Oh, when will people who develop libraries learn to always prefix 1292174294Sobrien their exported symbols with a library-specific name? 1293174294Sobrien 1294174294Sobrien * configure.in: check for mntctl() extern on AIX systems. 1295174294Sobrien 1296174294Sobrien * ltmain.sh: update from latest libtool-1.5.18, so we can properly 1297174294Sobrien build on AIX 5.2/5.3 with cc and with gcc. 1298174294Sobrien 1299174294Sobrien * m4/macros/libtool.m4: update from latest libtool-1.5.18. This 1300174294Sobrien time, and from now on, we must include libtool.m4 from the libtool 1301174294Sobrien distribution itself. That way we ensure that we use an ltmain.sh 1302174294Sobrien that matches the appropriate libtool M4 macros. This makes 1303174294Sobrien am-utils no longer dependent on having libtool installed on a 1304174294Sobrien given system on which you run bootstrap. 1305174294Sobrien 1306174294Sobrien2005-05-23 Erez Zadok <ezk@cs.sunysb.edu> 1307174294Sobrien 1308174294Sobrien * minor new port: i386-pc-linux-deb3.0. 1309174294Sobrien 1310174294Sobrien2005-05-22 Erez Zadok <ezk@cs.sunysb.edu> 1311174294Sobrien 1312174294Sobrien * minor new ports: i386-unknown-netbsdelf2.0.2 and 1313174294Sobrien i386-unknown-openbsd3.7. 1314174294Sobrien 1315174294Sobrien2005-05-20 Erez Zadok <ezk@cs.sunysb.edu> 1316174294Sobrien 1317174294Sobrien * minor new ports: i386-pc-linux-gentoo1.4.16 and 1318174294Sobrien powerpc-unknown-linux-yellowdog2.3. 1319174294Sobrien 1320174294Sobrien * include/{mount_headers2.h, am_defs.h}: safer setup before 1321174294Sobrien inclusion of <linux/nfs_mount.h>, which is broken on several 1322174294Sobrien systems. 1323174294Sobrien 1324174294Sobrien * configure.in: test for <linux/nfs2.h>. Separate special test 1325174294Sobrien for <linux/nfs_mount.h> because we need to define __KERNEL__ for 1326174294Sobrien that test, as well as optionally define struct nfs2_fh for some 1327174294Sobrien systems (gentoo with 2.4 kernel, yellowdog 2.3, and others). 1328174294Sobrien 1329174294Sobrien * config.guess.long: support Gentoo and Yellow Dog Linux distros. 1330174294Sobrien 1331174294Sobrien2005-05-18 Erez Zadok <ezk@cs.sunysb.edu> 1332174294Sobrien 1333174294Sobrien * minor new ports: i386-pc-linux-suse9.2 and 1334174294Sobrien i386-unknown-freebsd5.4. 1335174294Sobrien 1336174294Sobrien * amd/nfs_subr.c: use NFS_FHSIZE, not FHSIZE. 1337174294Sobrien 1338174294Sobrien2005-05-17 Erez Zadok <ezk@cs.sunysb.edu> 1339174294Sobrien 1340174294Sobrien ******************************************************************* 1341174294Sobrien *** Released am-utils-6.1-rc5 *** 1342174294Sobrien ******************************************************************* 1343174294Sobrien 1344174294Sobrien * amd/info_ldap.c (amu_ldap_init): change plog to dlog, to avoid 1345174294Sobrien sending annoying warning for a minor issue. 1346174294Sobrien 1347174294Sobrien2005-05-17 Ion Badulescu <ionut@moisil.badula.org> 1348174294Sobrien 1349174294Sobrien * amd/nfs_subr.c: check for NULL pointer before dereferencing it. 1350174294Sobrien 1351174294Sobrien2005-05-16 Erez Zadok <ezk@cs.sunysb.edu> 1352174294Sobrien 1353174294Sobrien * minor new ports: powerpc-apple-darwin7.9.0. 1354174294Sobrien 1355174294Sobrien * m4/macros/host_macros.m4: if a NetBSD system, remove 'elf' part 1356174294Sobrien from OS name because it's no longer relevant. Also, don't include 1357174294Sobrien the major OS version number in the OS name because that's also 1358174294Sobrien unnecessary (and users can always use $osver in maps). 1359174294Sobrien 1360174294Sobrien * amd/nfs_subr.c: use [1] for out-of-band pointer at the end of 1361174294Sobrien struct am_fh, because it's the most portable method. Bug fix 1362174294Sobrien suggestion from Dan Riley <dsr at mail.lns.cornell.edu>. Better 1363174294Sobrien fix from Ion Badulescu: use [FHSIZE-sizeof(u_int)] which is the 1364174294Sobrien actual size we use. 1365174294Sobrien 1366174294Sobrien * amd/amfs_generic.c (amfs_lookup_mntfs): reset currently used 1367174294Sobrien def_opts to options given in -opts, appended with the /default 1368174294Sobrien options. Bug fix suggestion from Dan Riley <dsr at 1369174294Sobrien mail.lns.cornell.edu>. 1370174294Sobrien 1371174294Sobrien2005-05-13 Erez Zadok <ezk@cs.sunysb.edu> 1372174294Sobrien 1373174294Sobrien ******************************************************************* 1374174294Sobrien *** Released am-utils-6.1-rc4 *** 1375174294Sobrien ******************************************************************* 1376174294Sobrien 1377174294Sobrien2005-05-11 Daniel P. Ottavio <dottavio@ic.sunysb.edu> 1378174294Sobrien 1379174294Sobrien * amd/amd.c (main) : fixed memory leak detected by valgrind 1380174294Sobrien 1381174294Sobrien * amd/info_ldap.c (amu_ldap_init) : fixed memory leak detected by 1382174294Sobrien valgrind 1383174294Sobrien 1384174294Sobrien2005-05-11 Erez Zadok <ezk@cs.sunysb.edu> 1385174294Sobrien 1386174294Sobrien * m4/macros/{check_checkmount_style.m4, check_mnttab_style.m4, 1387174294Sobrien check_nfs_fh_dref.m4, check_nfs_prot_headers.m4, 1388174294Sobrien check_nfs_sa_dref.m4, check_umount_style.m4, os_cflags.m4}: check 1389174294Sobrien for "macosx" as valid OS string, so we compile properly on Darwin 1390174294Sobrien systems. 1391174294Sobrien 1392174294Sobrien ******************************************************************* 1393174294Sobrien *** Released am-utils-6.1-rc3 *** 1394174294Sobrien ******************************************************************* 1395174294Sobrien 1396174294Sobrien * rerun bootstrap to get a working configure script that actually 1397174294Sobrien checks for limits.h and dependent linux autofs/nfs headers. 1398174294Sobrien 1399174294Sobrien * configure.in: remove redundant check for limits.h. 1400174294Sobrien 1401174294Sobrien2005-05-09 Erez Zadok <ezk@cs.sunysb.edu> 1402174294Sobrien 1403174294Sobrien ******************************************************************* 1404174294Sobrien *** Released am-utils-6.1-rc2 *** 1405174294Sobrien ******************************************************************* 1406174294Sobrien 1407174294Sobrien2005-05-08 Erez Zadok <ezk@cs.sunysb.edu> 1408174294Sobrien 1409174294Sobrien * amd/amfs_generic.c (amfs_lookup_mntfs): removed redundant use of 1410174294Sobrien old_def_opts variable. 1411174294Sobrien 1412174294Sobrien2005-05-08 Daniel P. Ottavio <dottavio@ic.sunysb.edu> 1413174294Sobrien 1414174294Sobrien * amd/amfs_generic.c (amfs_lookup_mntfs) : Make sure when a map 1415174294Sobrien entry has a single dash '-', that the default options are reset. 1416174294Sobrien This functionality was somehow lost from earlier releases and 1417174294Sobrien reported by Dan Riley <dsr@mail.lns.cornell.edu>. 1418174294Sobrien 1419174294Sobrien2005-05-05 Erez Zadok <ezk@cs.sunysb.edu> 1420174294Sobrien 1421174294Sobrien * config.guess.long: detect SuSE Enterprise Server and call it 1422174294Sobrien "sles" not "suse". 1423174294Sobrien 1424174294Sobrien2005-05-02 Erez Zadok <ezk@cs.sunysb.edu> 1425174294Sobrien 1426174294Sobrien * doc/am-utils.texi (amd): document proper use of 1427174294Sobrien /etc/hosts.allow. Don't spawn a new Amd process because Amd will 1428174294Sobrien get confused if someone else waitpid's on its children (which 1429174294Sobrien often do important un/mount work). Issue reported by Francis 1430174294Sobrien Montagnac <Francis.Montagnac at sophia.inria.fr>. 1431174294Sobrien 1432174294Sobrien * minor new ports: powerpc64-unknown-linux-rhel4, and 1433174294Sobrien powerpc64-unknown-linux-sles9. 1434174294Sobrien 1435174294Sobrien2005-05-01 Daniel P. Ottavio <dottavio@ic.sunysb.edu> 1436174294Sobrien 1437174294Sobrien * amd/amfs_host.c (amfs_host_umount): We do not want to pass 1438174294Sobrien ENOENT as an error because if the directory does not exists our 1439174294Sobrien work is done anyway. 1440174294Sobrien 1441174294Sobrien * conf/umount/umount_linux.c (umount_fs): If we are successful or 1442174294Sobrien there was an ENOENT, remove the mount entry from the mtab file. 1443174294Sobrien 1444174294Sobrien2005-05-01 Ion Badulescu <ionut@moisil.badula.org> 1445174294Sobrien 1446174294Sobrien * amd/nfs_subr.c: am_fh definition moved here from amd.h; 1447174294Sobrien restructured to better reflect its duality (old/new filehandles) 1448174294Sobrien (fh_to_mp3): fhh_gen is always used, even for new style f/h 1449174294Sobrien (mp_to_fh): ditto 1450174294Sobrien 1451174294Sobrien * amd/amd.h: moved am_fh definition to nfs_subr.c (which is the 1452174294Sobrien only place where it's used) 1453174294Sobrien 1454174294Sobrien2005-04-30 Erez Zadok <ezk@cs.sunysb.edu> 1455174294Sobrien 1456174294Sobrien * m4/macros/host_macros.m4: use sw_vers on Apple machines to find 1457174294Sobrien out more appropriate OS name (macosx) and OS version (10.3.x) than 1458174294Sobrien uname(3) reports. 1459174294Sobrien 1460174294Sobrien2005-04-29 Erez Zadok <ezk@cs.sunysb.edu> 1461174294Sobrien 1462174294Sobrien * config.guess, config.sub, doc/texinfo.tex: updates from latest 1463174294Sobrien official GNU distributions. 1464174294Sobrien 1465174294Sobrien * m4/macros/host_macros.m4: for macosx, change architecture value 1466174294Sobrien from "Power Macintosh" to "powerpc". 1467174294Sobrien 1468174294Sobrien * libamu/util.c (xstrlcpy): format 'len' parameter as u_long, not 1469174294Sobrien int (it's a size_t). 1470174294Sobrien 1471174294Sobrien2005-04-16 Erez Zadok <ezk@cs.sunysb.edu> 1472174294Sobrien 1473174294Sobrien * scripts/amd.conf.5, doc/am-utils.texi (normalize_slashes 1474174294Sobrien Parameter), scripts/amd.conf-sample: document new 1475174294Sobrien normalize_slashes global configuration parameter. 1476174294Sobrien 1477174294Sobrien * amd/opts.c (deslashify, normalize_slash): don't touch trailing 1478174294Sobrien slashes, even if multiples of them, if user said 1479174294Sobrien normalize_slashes=no in amd.conf. 1480174294Sobrien 1481174294Sobrien * amd/conf.c (gopt_normalize_slashes): new function to record if 1482174294Sobrien to normalize slashes or not. 1483174294Sobrien 1484174294Sobrien * amd/amd.h (CFM_NORMALIZE_SLASHES): new flag to decide if to 1485174294Sobrien normalize double-slashes or not ("yes" by default). 1486174294Sobrien 1487174294Sobrien * amd/autil.c (am_mounted): pass TRUE when calling mf_mounted. 1488174294Sobrien This is the parent mntfs which does the mf->mf_fo 1489174294Sobrien (am_opts type), and we're passing TRUE here to tell mf_mounted to 1490174294Sobrien actually free the am_opts. 1491174294Sobrien 1492174294Sobrien * amd/autil.c (mf_mounted): Be careful when calling free_ops and 1493174294Sobrien XFREE here. Some pseudo file systems like nfsx call this 1494174294Sobrien function, even though it would be called by the lower-level amd 1495174294Sobrien file system functions. nfsx needs to call this function because 1496174294Sobrien of the other actions it takes. So we pass a boolean from the 1497174294Sobrien caller (yes, not so clean workaround) to determine if we should 1498174294Sobrien free or not. If we're not freeing (often because we're called 1499174294Sobrien from a callback function), then just to be sure, we'll zero out 1500174294Sobrien the am_opts structure and set the pointer to NULL. The parent 1501174294Sobrien mntfs node owns this memory and is going to free it with a call to 1502174294Sobrien mf_mounted(mntfs,TRUE). 1503174294Sobrien 1504174294Sobrien * amd/amd.h: pass flag to mf_mounted, to free or not to free the 1505174294Sobrien am_opts. 1506174294Sobrien 1507174294Sobrien * amd/amfs_nfsx.c (amfs_nfsx_cont): call mf_mounted with FALSE to 1508174294Sobrien tell it not to free the am_opts, to avoid double free. 1509174294Sobrien 1510174294Sobrien * include/am_defs.h: include limits.h if found. 1511174294Sobrien 1512174294Sobrien * configure.in: check for limits.h. Check for certain Linux 1513174294Sobrien headers such as auto_fs.h after checking for limits.h, and include 1514174294Sobrien the latter if it exists, because some Linux headers depend on 1515174294Sobrien limits.h. This prevents warnings during configure time. 1516174294Sobrien 1517174294Sobrien2005-04-12 Erez Zadok <ezk@cs.sunysb.edu> 1518174294Sobrien 1519174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_mount): do NOT set retrans/timeo 1520174294Sobrien values from default global UDP settings, because it can cause 1521174294Sobrien unexpected timeouts in Amd on slow systems. The default that each 1522174294Sobrien OS provides for these toplvl NFS mounts should be OK, or else you 1523174294Sobrien can use the map_options entry. 1524174294Sobrien 1525174294Sobrien2005-04-09 Daniel P. Ottavio <dottavio@ic.sunysb.edu> 1526174294Sobrien 1527174294Sobrien * amd/nfs_subr.c (mp_to_fh): Replace xstrlcpy with memcpy because the 1528174294Sobrien source buffer is treated more as a filehandle than a string. 1529174294Sobrien 1530174294Sobrien * amd/nfs_subr.c (fh_to_mp3): Replace xstrlcpy with memcpy because the 1531174294Sobrien source buffer is treated more as a filehandle than a string. 1532174294Sobrien 1533174294Sobrien * amd/opts.c (free_op): No longer need to assign pointer to NULL 1534174294Sobrien after XFREE. 1535174294Sobrien 1536174294Sobrien * amd/opts.c (expand_op): Revert back to using strncpy() instead 1537174294Sobrien of xstrlcpy. The code is correct and relies on the semantics of 1538174294Sobrien strncpy. 1539174294Sobrien 1540174294Sobrien * libamu/mount_fs.c (compute_nfs_args): Leave XXX warning that use 1541174294Sobrien of xstrlcpy in NFS_HN_DREF may corrupt a struct nfs_args, or 1542174294Sobrien truncate our concocted "hostname:/path" string prematurely if the 1543174294Sobrien nap->hostname field is ever less than 64 bytes long 1544174294Sobrien (MAXHOSTNAMELEN). 1545174294Sobrien 1546174294Sobrien * libamu/util.c (xstrlcpy): Return immediately if len is 0 to 1547174294Sobrien avoid unnecessary work. Log an error and return if len is less 1548174294Sobrien than 0. 1549174294Sobrien 1550174294Sobrien2005-04-07 Erez Zadok <ezk@cs.sunysb.edu> 1551174294Sobrien 1552174294Sobrien * include/am_utils.h (XFREE): XFREE() should nullify the pointer 1553174294Sobrien even when compiling without debugging. It's safer this way. 1554174294Sobrien 1555174294Sobrien * libamu/xutil.c (am_set_hostname), 1556174294Sobrien hlfsd/stubs.c (nfsproc_lookup_2_svc), 1557174294Sobrien fsinfo/fsinfo.c (fsi_get_args), 1558174294Sobrien fixmount/fixmount.c (is_same_host, remove_mount, main), 1559174294Sobrien conf/mtab/mtab_isc3.c (mnt_dup, mtab_of), 1560174294Sobrien conf/mount/mount_svr4.c (mount_svr4), 1561174294Sobrien conf/mount/mount_linux.c (setup_loop_device), 1562174294Sobrien conf/hn_dref/hn_dref_linux.h (NFS_HN_DREF), 1563174294Sobrien conf/hn_dref/hn_dref_isc3.h (NFS_HN_DREF), 1564174294Sobrien amd/opts.c (expand_op), 1565174294Sobrien amd/ops_nfs.c (mount_nfs_fh), 1566174294Sobrien amd/nfs_subr.c (fh_to_mp3, mp_to_fh), 1567174294Sobrien amd/amfs_host.c (amfs_host_mount), 1568174294Sobrien amd/am_ops.c (merge_opts): 1569174294Sobrien use the new xstrlcpy instead of strncpy. 1570174294Sobrien 1571174294Sobrien * conf/checkmount/checkmount_{default,svr4}.c 1572174294Sobrien (fixmount_check_mount): document why NOT to use xstrlcpy. 1573174294Sobrien 1574174294Sobrien * libamu/xutil.c: am_hostname need not be MAXHOSTNAMELEN+1 any 1575174294Sobrien more, just MAXHOSTNAMELEN. 1576174294Sobrien 1577174294Sobrien * libamu/xutil.c (real_plog): use strlcpy (not xstrlcpy to avoid 1578174294Sobrien recursion, since xstrlcpy may use plog). 1579174294Sobrien 1580174294Sobrien * libamu/util.c (xstrlcpy): truncating a string is serious. Use 1581174294Sobrien XLOG_ERROR not XLOG_WARNING. 1582174294Sobrien 1583174294Sobrien2005-04-06 Erez Zadok <ezk@cs.sunysb.edu> 1584174294Sobrien 1585174294Sobrien * include/am_utils.h: external definition for new xstrlcpy 1586174294Sobrien function. 1587174294Sobrien 1588174294Sobrien * libamu/util.c (xstrlcpy): new function. Similar to strncpy, but 1589174294Sobrien uses strlcpy to guarantee that the resulting string is null 1590174294Sobrien terminated, and also warn if the resulting string was truncated. 1591174294Sobrien 1592174294Sobrien * libamu/xutil.c (get_server_pid): move this function from util.c 1593174294Sobrien which is for general-purpose utilities. 1594174294Sobrien 1595174294Sobrien * m4/macros/header_templates.m4: template for HAVE_EXTERN_STRLCPY. 1596174294Sobrien 1597174294Sobrien * include/am_defs.h: provide extern definition for strlcpy, if 1598174294Sobrien needed. 1599174294Sobrien 1600174294Sobrien * libamu/Makefile.am (EXTRA_DIST): include strlcpy.c in distro. 1601174294Sobrien 1602174294Sobrien * configure.in: search for strlcpy and its extern. 1603174294Sobrien 1604174294Sobrien * amq/pawd.c (find_mt): It only handles *some* filesystem types, 1605174294Sobrien so it breaks on direct xfs mounts for example. The fix (from 1606174294Sobrien Christos Zoulas) is simple: We need to exclude toplvl to avoid 1607174294Sobrien infinite recursion, but all other fs's are game. 1608174294Sobrien 1609174294Sobrien2005-03-31 Erez Zadok <ezk@cs.sunysb.edu> 1610174294Sobrien 1611174294Sobrien * amd/nfs_subr.c (fh_to_mp3): strncpy may not null terminate if 1612174294Sobrien copying exactly len bytes, so add null just to be safe. 1613174294Sobrien 1614174294Sobrien2005-03-30 Daniel P. Ottavio <dottavio@ic.sunysb.edu> 1615174294Sobrien 1616174294Sobrien * amd/nfs_subr.c (fh_to_mp3): Increased the n of strncpy() 1617174294Sobrien to make sure it null terminates. 1618174294Sobrien 1619174294Sobrien2005-03-29 Daniel P. Ottavio <dottavio@ic.sunysb.edu> 1620174294Sobrien 1621174294Sobrien * amd/nfs_subr.c (fh_to_mp3): Fix memset bug. In this case 1622174294Sobrien the memset can be removed because strncpy() should padd the 1623174294Sobrien buffer with NULLs anyway. 1624174294Sobrien 1625174294Sobrien2005-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 1626174294Sobrien 1627174294Sobrien * include/am_defs.h: Clarify comment. 1628174294Sobrien 1629174294Sobrien2005-03-21 Erez Zadok <ezk@cs.sunysb.edu> 1630174294Sobrien 1631174294Sobrien * include/am_defs.h: undefine "GROUP" so Solaris 10 with gcc-2.96 1632174294Sobrien won't complain about a conflict for this definition between 1633174294Sobrien <rpcsvc/nis.h> and <sys/acl.h>. 1634174294Sobrien 1635174294Sobrien2005-03-20 Erez Zadok <ezk@cs.sunysb.edu> 1636174294Sobrien 1637174294Sobrien * amd/readdir.c (amfs_readdir_browsable): use %p, not %lx. 1638174294Sobrien 1639174294Sobrien * libamu/mount_fs.c (print_nfs_args): print pointer with %p, not 1640174294Sobrien %lx. 1641174294Sobrien 1642174294Sobrien2005-03-18 Erez Zadok <ezk@cs.sunysb.edu> 1643174294Sobrien 1644174294Sobrien ******************************************************************* 1645174294Sobrien *** Released am-utils-6.1-rc1 *** 1646174294Sobrien ******************************************************************* 1647174294Sobrien 1648174294Sobrien2005-03-18 Erez Zadok <ezk@cs.sunysb.edu> 1649174294Sobrien 1650174294Sobrien * conf/transp/transp_tli.c (get_nfs_version): use proper type for 1651174294Sobrien versout on Solaris (rpcvcers_t). 1652174294Sobrien 1653174294Sobrien * amd/mapc.c (mapc_showtypes): if last map type to print, don't 1654174294Sobrien append newline or comma to it. 1655174294Sobrien 1656174294Sobrien * libamu/mount_fs.c (print_nfs_args): cast struct netbuf pointer 1657174294Sobrien to %lx because on Solaris 10 sparc gcc-3.4.3 complains about 1658174294Sobrien casting it to an int (size is different). 1659174294Sobrien 1660174294Sobrien * configure.in, NEWS: prepare for 6.1-rc1 release. 1661174294Sobrien 1662174294Sobrien2005-03-17 Erez Zadok <ezk@cs.sunysb.edu> 1663174294Sobrien 1664174294Sobrien * scripts/amd2ldif.in, ldap.schema: fixes by Adam Morley 1665174294Sobrien <adam-at-gmi-dot-com> to synchronize what amd2ldif does vs. what 1666174294Sobrien the ldap.schema expects. 1667174294Sobrien 1668174294Sobrien * amd/map.c (exported_ap_free): We're using a free-list data 1669174294Sobrien structure and re-using malloc'ed objects. So, to be safe, memset 1670174294Sobrien entire structure when it's freed, not just the pointer. 1671174294Sobrien (umount_exported): bug fix to on-exit code. Don't run 1672174294Sobrien am_unmounted() unless unmount_mp() didn't run, since the latter 1673174294Sobrien already calls am_unmounted(). This way we avoid a double-free 1674174294Sobrien bug. 1675174294Sobrien 1676174294Sobrien2005-03-15 Erez Zadok <ezk@cs.sunysb.edu> 1677174294Sobrien 1678174294Sobrien * tasks: updates. Executable maps is supported. NFSv4 and 1679174294Sobrien FreeBSD autofs isn't. 1680174294Sobrien 1681174294Sobrien * Makefile.am (EXTRA_DIST): include FAQ in distro. 1682174294Sobrien 1683174294Sobrien * doc/Makefile.am (alldocs): install README.lda and README.osx. 1684174294Sobrien 1685174294Sobrien * FAQ: new file, better late than never. 1686174294Sobrien 1687174294Sobrien2005-03-14 Erez Zadok <ezk@cs.sunysb.edu> 1688174294Sobrien 1689174294Sobrien * scripts/amd2ldif.in: patch to add the amdMapName attribute to 1690174294Sobrien the amdMapTimestamp object when amd2ldif converts it. This is 1691174294Sobrien necessary if you are using type:=auto mounts and want those 1692174294Sobrien mountmaps looked up through LDAP. Patch from Jim Zajkowski 1693174294Sobrien <jim.zajkowski@gmail.com>. 1694174294Sobrien 1695174294Sobrien2005-03-12 Erez Zadok <ezk@cs.sunysb.edu> 1696174294Sobrien 1697174294Sobrien * minor new ports: i386-pc-linux-rhel4. 1698174294Sobrien 1699174294Sobrien * minor new ports: powerpc-apple-darwin7.8.0. 1700174294Sobrien 1701174294Sobrien2005-03-10 Erez Zadok <ezk@cs.sunysb.edu> 1702174294Sobrien 1703174294Sobrien * amd/ops_nfs.c (prime_nfs_fhandle_cache): rearrange code so it's 1704174294Sobrien cleaner. 1705174294Sobrien 1706174294Sobrien * ltmain.sh: upgrade from libtool-1.5.6. 1707174294Sobrien 1708174294Sobrien * m4/macros/check_{fs_mntent,mnttab_type,mount_type}.m4: check for 1709174294Sobrien Linux 2.6 kernel modules, which have a .ko extension, not .o. Now 1710174294Sobrien we can properly detect which file systems exist on Linux 2.6 based 1711174294Sobrien systems (SLES9, RHEL4, Fedora, etc.). 1712174294Sobrien 1713174294Sobrien2005-03-09 Erez Zadok <ezk@cs.sunysb.edu> 1714174294Sobrien 1715174294Sobrien * m4/macros/host_macros.m4: find out what's the OS software 1716174294Sobrien distribution name, if any. 1717174294Sobrien 1718174294Sobrien * m4/macros/header_templates.m4: template for DISTRO_NAME. 1719174294Sobrien 1720174294Sobrien * amd/get_args.c (get_version_string): print again full_os, os, 1721174294Sobrien osver, and vendor (bug fix). 1722174294Sobrien (get_version_string): print distribution name, if known (e.g., 1723174294Sobrien rh9, suse8, etc.). 1724174294Sobrien 1725174294Sobrien * amd/mapc.c (mapc_showtypes): wrap around list of supported map. 1726174294Sobrien 1727174294Sobrien2005-03-08 Erez Zadok <ezk@cs.sunysb.edu> 1728174294Sobrien 1729174294Sobrien * amd/map.c (umount_exported): when unmounting file systems on 1730174294Sobrien exit (when amd.conf global unmount_on_exit=yes), use unmount_mp() 1731174294Sobrien instead of unmount_node() because the latter always unmounts in 1732174294Sobrien the foreground, whereas the former unmounts in the bg/fg as 1733174294Sobrien needed. Unmounting always in the foreground has two problems: (1) 1734174294Sobrien if the unmount hangs, amd hangs, and (2) for type:=program, the 1735174294Sobrien unmount script is execve'd(!) thus replacing the main amd process, 1736174294Sobrien which never gets to finish up, leaving the amd mount points hung. 1737174294Sobrien 1738174294Sobrien * NEWS: mention new feature of executable maps. 1739174294Sobrien 1740174294Sobrien * AUTHORS: Acknowledge Erik Kline. 1741174294Sobrien 1742174294Sobrien * scripts/amd.conf.5: document executable maps and 1743174294Sobrien exec_map_timeout parameter. 1744174294Sobrien 1745174294Sobrien * scripts/amd.conf-sample: examples of an executable map and 1746174294Sobrien exec_map_timeout. 1747174294Sobrien 1748174294Sobrien * m4/macros/header_templates.m4: template for HAVE_MAP_EXEC. 1749174294Sobrien 1750174294Sobrien * doc/am-utils.texi: document Executable maps and exec_map_timeout 1751174294Sobrien parameter. 1752174294Sobrien 1753174294Sobrien * amd/conf.c (gopt_exec_map_timeout): function to parse 1754174294Sobrien exec_map_timeout [global] parameter. 1755174294Sobrien 1756174294Sobrien * amd/amd.h (AMFS_EXEC_MAP_TIMEOUT): define default executable map 1757174294Sobrien timeout to 10 seconds, and a global placeholder for the 1758174294Sobrien configurable value. 1759174294Sobrien 1760174294Sobrien * amd/amd.c (init_global_options): initialize default executable 1761174294Sobrien map timeout. 1762174294Sobrien 1763174294Sobrien * amd/Makefile.am (EXTRA_amd_SOURCES): include info_exec.c in 1764174294Sobrien tarball. 1765174294Sobrien 1766174294Sobrien * configure.in: enable executable maps. 1767174294Sobrien 1768174294Sobrien * amd/mapc.c: define executable map functions and behavior. 1769174294Sobrien 1770174294Sobrien * amd/info_exec.c: executable map implementation from Erik Kline 1771174294Sobrien <ekline at ekline dot com>, modified, cleaned-up, and fixed. 1772174294Sobrien 1773174294Sobrien2005-03-07 Erez Zadok <ezk@cs.sunysb.edu> 1774174294Sobrien 1775174294Sobrien * amd/info_file.c (file_init_or_mtime): consolidate identical 1776174294Sobrien file_init and file_mtime into one function. 1777174294Sobrien 1778174294Sobrien2005-03-05 Erez Zadok <ezk@cs.sunysb.edu> 1779174294Sobrien 1780174294Sobrien * doc/am-utils.texi (Program Filesystem): if umount/unmount are 1781174294Sobrien not specified, Amd uses "umount ${fs}" by default. 1782174294Sobrien 1783174294Sobrien * amd/amfs_program.c (amfs_program_match): if neither unmount nor 1784174294Sobrien umount parameters are specified, use the default userland umount 1785174294Sobrien program with "umount ${fs}". This way type:=program doesn't have 1786174294Sobrien to specify the umount program for basic unmounting actions. 1787174294Sobrien (amfs_program_init): save unmount program string in mf_private 1788174294Sobrien only if it's NULL, not based on mf_refc. 1789174294Sobrien 1790174294Sobrien * configure.in: auto-detect name of userland unmount program. 1791174294Sobrien 1792174294Sobrien * aux_conf.h.in (UNMOUNT_PROGRAM): macro for default userland 1793174294Sobrien unmount program. 1794174294Sobrien 1795174294Sobrien * amd/ops_cachefs.c (cachefs_init): save unmount program string in 1796174294Sobrien mf_private only if it's NULL, not based on mf_refc. 1797174294Sobrien 1798174294Sobrien * configure.in: don't "discover" inheritance file system any more, 1799174294Sobrien since we don't have the .c file for it. 1800174294Sobrien 1801174294Sobrien * amd/get_args.c (get_version_string): hack to still show that we 1802174294Sobrien support the inherit file system in output of amd -v. 1803174294Sobrien 1804174294Sobrien2005-03-05 Ion Badulescu <ionut@moisil.badula.org> 1805174294Sobrien 1806174294Sobrien * amd/amfs_inherit.c: removed, dead code 1807174294Sobrien 1808174294Sobrien * amd/Makefile.am, 1809174294Sobrien amd/am_ops.c, 1810174294Sobrien amd/amd.h, 1811174294Sobrien conf/autofs/autofs_linux.h, 1812174294Sobrien conf/autofs/autofs_solaris_v1.h, 1813174294Sobrien conf/autofs/autofs_solaris_v2_v3.h, 1814174294Sobrien m4/macros/header_templates.m4: removed references to amfs_inherit.c 1815174294Sobrien 1816174294Sobrien2005-03-05 Erez Zadok <ezk@cs.sunysb.edu> 1817174294Sobrien 1818174294Sobrien * amd/autil.c (am_mounted): completely rewrite the unmount 1819174294Sobrien no/timeout code to (1) make more sense for odd conditions, and (2) 1820174294Sobrien allow utimeout=N mount options to override FS_NOTIMEOUT default 1821174294Sobrien flags for disk-based file systems such as ufs, pcfs, cdfs, etc. 1822174294Sobrien 1823174294Sobrien * libamu/mount_fs.c (mount_fs): use safer XFREE() not free(). 1824174294Sobrien 1825174294Sobrien * conf/umount/umount_linux.c (umount_fs): strtok is destructive, 1826174294Sobrien so use strdup'ed string. 1827174294Sobrien 1828174294Sobrien * conf/mount/mount_linux.c (parse_opts): strtok is destructive, so 1829174294Sobrien use strdup'ed string. 1830174294Sobrien 1831174294Sobrien2005-03-04 Erez Zadok <ezk@cs.sunysb.edu> 1832174294Sobrien 1833174294Sobrien * scripts/amd.conf.5, doc/am-utils.texi (cache_duration 1834174294Sobrien Parameter): clarify actual behavior: this Parameter affects 1835174294Sobrien initial mount timeout as well as the linear backoff what happens 1836174294Sobrien the initial failed EBUSY unmount. 1837174294Sobrien 1838174294Sobrien * doc/am-utils.texi (opts Option): better explanation of 1839174294Sobrien utimeout=N mount pseudo-option. 1840174294Sobrien 1841174294Sobrien * amd/amd.h (AM_TTL, AM_TTL_W): better comments, minor cleanup. 1842174294Sobrien 1843174294Sobrien2005-03-02 Daniel P. Ottavio <dottavio@ic.sunysb.edu> 1844174294Sobrien 1845174294Sobrien * AUTHORS: add Dan Ottavio. 1846174294Sobrien 1847174294Sobrien * scripts/amd.conf.5: document new debug_mtab_file option. 1848174294Sobrien 1849174294Sobrien * scripts/amd.conf-sample (debug_mtab_file): show example. 1850174294Sobrien 1851174294Sobrien * doc/am-utils.texi (debug_mtab_file Parameter): document new 1852174294Sobrien option. 1853174294Sobrien 1854174294Sobrien * conf/mtab/mtab_{file,mach3}.c (open_locked_mtab): if mtab file 1855174294Sobrien doesn't exist by the time Amd tries to exist, return a 0 rather 1856174294Sobrien than hang indefinitely. 1857174294Sobrien 1858174294Sobrien * amd/conf.c (gopt_debug_mtab_file): new function to parse 1859174294Sobrien debug_mtab_file option. 1860174294Sobrien 1861174294Sobrien * amd/amd.h: placeholder for debug_mtab_file string. 1862174294Sobrien Define default debug_mtab_file to "/tmp/mtab". 1863174294Sobrien 1864174294Sobrien * NEWS: document new debug_mtab_file option. 1865174294Sobrien 1866174294Sobrien2005-03-02 Erez Zadok <ezk@cs.sunysb.edu> 1867174294Sobrien 1868174294Sobrien * conf/transp/transp_{sockets,tli}.c (amu_get_myaddress): when 1869174294Sobrien users want Amd's NFS service to bind to some arbitrary "localhost" 1870174294Sobrien address, show which address was actually resolved and bound to. 1871174294Sobrien 1872174294Sobrien2005-03-01 Erez Zadok <ezk@cs.sunysb.edu> 1873174294Sobrien 1874174294Sobrien * amd/srvr_nfs.c (start_nfs_pings): move code from elsewhere 1875174294Sobrien (update_nfs_pingval) that initializes the pinger, as well as turns 1876174294Sobrien it on/off as needed, and handles changing its value. This is to 1877174294Sobrien avoid races and other infinite-loop conditions that could result 1878174294Sobrien in ping storms. 1879174294Sobrien 1880174294Sobrien * amd/srvr_amfs_auto.c (amfs_generic_find_srvr): when creating a 1881174294Sobrien new file server structure, default the ping value to AM_PINGER 1882174294Sobrien (30sec) and set the FSF_PING_UNINIT flag. 1883174294Sobrien 1884174294Sobrien * amd/amd.h (FSF_PING_UNINIT): new flag to tell whether the NFS 1885174294Sobrien pinger had been initialized for a given file server. 1886174294Sobrien 1887174294Sobrien * scripts/ctl-amd.in (stop): no need to check if 1888174294Sobrien /var/lock/subsys/amd file exists if you do an rm -f afterward. 1889174294Sobrien Ensure that proper return value is returned from script. 1890174294Sobrien 1891174294Sobrien * NEWS, doc/am-utils.texi (opts Option): update meaning of ping=N 1892174294Sobrien so that if N=-1, pings are off; if N=0, pings are set to the 1893174294Sobrien default value (currently 30 seconds). 1894174294Sobrien 1895174294Sobrien2005-02-28 Erez Zadok <ezk@cs.sunysb.edu> 1896174294Sobrien 1897174294Sobrien * amd/nfs_prot_svc.c (nfs_program_2): on TLI system, try to call 1898174294Sobrien __rpc_get_local_uid to verify if the RPC call through the 1899174294Sobrien local host interface came from UID 0. 1900174294Sobrien 1901174294Sobrien * configure.in: look for internal libnsl function 1902174294Sobrien __rpc_get_local_uid (seems to be available on all known TLI 1903174294Sobrien systems, Solaris and HP-UX 11). 1904174294Sobrien 1905174294Sobrien * conf/transp/transp_tli.c (amu_svc_getcaller): unnecessary 1906174294Sobrien function for TLI systems (and it violated a array's bounds, 1907174294Sobrien discovered with libumem.so). 1908174294Sobrien (bind_resv_port, bind_resv_port_only_udp, get_autofs_address): 1909174294Sobrien just to be on the safe side, set struct t_bind's qlen field to non 1910174294Sobrien zero (64 by default). This value cannot be zero for TCP 1911174294Sobrien connections, and it's unclear if it's good to have it zero for UDP 1912174294Sobrien connections, so setting it to 64 is safer. 1913174294Sobrien 1914174294Sobrien2005-02-27 Erez Zadok <ezk@cs.sunysb.edu> 1915174294Sobrien 1916174294Sobrien * doc/am-utils.texi (opts Option, Keep-alives): update text on 1917174294Sobrien ping option. 1918174294Sobrien 1919174294Sobrien * amd/srvr_nfs.c (update_nfs_pingval): new function to update NFS 1920174294Sobrien server ping values, turn them off, or re-enable them. 1921174294Sobrien (find_nfs_srvr): call update_nfs_pingval() as needed. 1922174294Sobrien 1923174294Sobrien * hlfsd/hlfsd.c (reaper, cleanup): don't use exit(3) in a signal 1924174294Sobrien handler, but use _exit(2) instead. 1925174294Sobrien 1926174294Sobrien * amd/amd.c (parent_exit): This signal handler is called during 1927174294Sobrien Amd initialization. The parent forks a child to do all the hard 1928174294Sobrien automounting work, and waits for a SIGQUIT signal from the child. 1929174294Sobrien When the parent gets the signal it's supposed to call this handler 1930174294Sobrien and exit(3), thus completing the daemonizing process. Alas, on 1931174294Sobrien some systems, especially Linux 2.4/2.6 with Glibc, exit(3) doesn't 1932174294Sobrien always terminate the parent process. Worse, the parent process 1933174294Sobrien now refuses to accept any more SIGQUIT signals -- they are 1934174294Sobrien blocked. What's really annoying is that this doesn't happen all 1935174294Sobrien the time, suggesting a race condition somewhere. 1936174294Sobrien (This happens even if I change the logic to use another signal.) 1937174294Sobrien I traced this to something which exit(3) does in addition to 1938174294Sobrien exiting the process, probably some atexit() stuff or other 1939174294Sobrien side-effects related to signal handling. Either way, since at 1940174294Sobrien this stage the parent process just needs to terminate, I'm simply 1941174294Sobrien calling _exit(2). Note also that the OpenGroup doesn't list 1942174294Sobrien exit(3) as a recommended "Base Interface" but they do list 1943174294Sobrien _exit(2) as one. This fix seems to work reliably all the time. 1944174294Sobrien 1945174294Sobrien * scripts/wait4amd2die.in: change default to recognize that amd is 1946174294Sobrien down more quickly (check every 3 seconds instead of 5). 1947174294Sobrien 1948174294Sobrien2005-02-26 Erez Zadok <ezk@cs.sunysb.edu> 1949174294Sobrien 1950174294Sobrien * libamu/xutil.c (amu_release_controlling_tty): warn if closing 1951174294Sobrien stdin/stdout/stderr failed. No need for tempfd. 1952174294Sobrien 1953174294Sobrien * scripts/ctl-{amd,hlfsd}.in: before running any real program in 1954174294Sobrien these shell scripts, chdir to "/" to avoid possible hangs with 1955174294Sobrien existing NFS mounts. This was causing ctl-amd's forked 1956174294Sobrien grand-child amd process to hang if restartable_mounts=no. Go 1957174294Sobrien figure. 1958174294Sobrien 1959174294Sobrien2005-02-25 Erez Zadok <ezk@cs.sunysb.edu> 1960174294Sobrien 1961174294Sobrien * minor new port ia64-unknown-linux-rhel4 1962174294Sobrien 1963174294Sobrien * fsinfo/fsi_util.c (set_ether_if): avoid u_long casting to -1 1964174294Sobrien (RHEL4 gcc 3.4.3 ia64 compiler complains). 1965174294Sobrien 1966174294Sobrien2005-02-24 Erez Zadok <ezk@cs.sunysb.edu> 1967174294Sobrien 1968174294Sobrien * minor new port i386-unknown-freebsd6.0 (6.0-CURRENT-SNAP001). 1969174294Sobrien 1970174294Sobrien2005-02-23 Erez Zadok <ezk@cs.sunysb.edu> 1971174294Sobrien 1972174294Sobrien * minor new port: i386-pc-linux-rhel3. 1973174294Sobrien 1974174294Sobrien * INSTALL: major update of the compatibility list. 1975174294Sobrien 1976174294Sobrien * m4/macros/os_cflags.m4: set AMU_CFLAGS not AM_CFLAGS. 1977174294Sobrien 1978174294Sobrien2005-02-22 Erez Zadok <ezk@cs.sunysb.edu> 1979174294Sobrien 1980174294Sobrien * scripts/amd.conf.5, doc/am-utils.texi (preferred_amq_port): 1981174294Sobrien document new preferred_amq_port [global] option. 1982174294Sobrien 1983174294Sobrien * scripts/amd.conf-sample (preferred_amq_port): example. 1984174294Sobrien 1985174294Sobrien * include/am_utils.h: add preferred_amq_port to prototype. 1986174294Sobrien 1987174294Sobrien * conf/transp/transp_tli.c (bind_preferred_amq_port): new function 1988174294Sobrien to bind the Amq RPC service for UDP and TCP to a preferred port 1989174294Sobrien (or to any port if preferred_amq_port==0). 1990174294Sobrien (create_amq_service): decide if to bind to RPC_ANYFD, or to a 1991174294Sobrien requested port. 1992174294Sobrien 1993174294Sobrien * conf/transp/transp_sockets.c (create_amq_service): if 1994174294Sobrien preferred_amq_port is greater than 0, then bind to that port for 1995174294Sobrien both UDP and TCP. If preferred_amq_port==0, then bind to any 1996174294Sobrien port. 1997174294Sobrien 1998174294Sobrien * amd/nfs_start.c (mount_automounter): pass global 1999174294Sobrien preferred_amq_port value to create_amq_service(). 2000174294Sobrien 2001174294Sobrien * amd/conf.c (gopt_preferred_amq_port): new function to parse 2002174294Sobrien amd.conf value for preferred_amq_port. 2003174294Sobrien 2004174294Sobrien * amd/amd.h: placeholder for preferred_amq_port. 2005174294Sobrien 2006174294Sobrien2005-02-21 Erez Zadok <ezk@cs.sunysb.edu> 2007174294Sobrien 2008174294Sobrien * conf/transp/transp_tli.c (bind_resv_port_only_udp): rename old 2009174294Sobrien bindnfs_port to a more proper name. This function binds the NFS 2010174294Sobrien service to a specified port, and only for UDP. 2011174294Sobrien 2012174294Sobrien * conf/transp/transp_tli.c: cleanup some code, rename some 2013174294Sobrien functions, in preparation for RPC amq port specification code. 2014174294Sobrien 2015174294Sobrien2005-02-19 Erez Zadok <ezk@cs.sunysb.edu> 2016174294Sobrien 2017174294Sobrien * */Makefile.am: don't redefine CFLAGS or LDFLAGS; they are 2018174294Sobrien reserved for users to pass them on the command line. Instead, use 2019174294Sobrien autoconf's internal AM_CFLAGS and AM_LDFLAGS. 2020174294Sobrien 2021174294Sobrien * depcomp, install-sh, missing, mkinstalldirs: update from latest 2022174294Sobrien versions of Automake 1.9.2. 2023174294Sobrien 2024174294Sobrien * m4/macros/*.m4: properly quote AC_DEFUN'ed macro name, and fix 2025174294Sobrien regexp/patsubst M4 commands. Newer versions of autoconf (e.g., 2026174294Sobrien v2.59) complain about those. 2027174294Sobrien 2028174294Sobrien2005-02-17 Erez Zadok <ezk@cs.sunysb.edu> 2029174294Sobrien 2030174294Sobrien * amd/opts.c (f_xhost): if we don't have hstrerror, just print the 2031174294Sobrien value of h_errno. 2032174294Sobrien 2033174294Sobrien * configure.in: include -lresolv if it defines the hstrerror() 2034174294Sobrien function and not already available in existing libraries. 2035174294Sobrien 2036174294Sobrien * minor new port: powerpc-apple-darwin7.7.0. 2037174294Sobrien 2038174294Sobrien * amd/nfs_subr.c (mp_to_fh): pathlen should be u_int because it is 2039174294Sobrien later compared against an unsigned quantity (complaint from gcc 2040174294Sobrien 3.3 on SuSE 8.2) 2041174294Sobrien 2042174294Sobrien * include/am_utils.h: remove unnecessary (and conflicting) extern 2043174294Sobrien for bind_resv_port2(), which is declared as static in 2044174294Sobrien transp_tli.c. 2045174294Sobrien 2046174294Sobrien * doc/am-utils.texi, scripts/amd.conf.5, scripts/amd.conf-sample, 2047174294Sobrien NEWS: document four new amd.conf options: nfs_retry_interval_udp, 2048174294Sobrien nfs_retransmit_counter_udp nfs_retry_interval_tcp, and 2049174294Sobrien nfs_retransmit_counter_tcp. 2050174294Sobrien 2051174294Sobrien * amd/ops_nfs.c (mount_nfs_fh): set timeo/retrans values based on 2052174294Sobrien wether nfs_proto was "udp" or "tcp". 2053174294Sobrien 2054174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_mount): set retrans/timeo values 2055174294Sobrien from default UDP settings (because toplvl mounts are UDP for now). 2056174294Sobrien 2057174294Sobrien * amd/get_args.c (get_args): use parameters to -t option to set 2058174294Sobrien both UDP and TCP timeo/retrans values. 2059174294Sobrien 2060174294Sobrien * amd/conf.c: (gopt_nfs_retransmit_counter_udp, 2061174294Sobrien (gopt_nfs_retransmit_counter_tcp, gopt_nfs_retry_interval_udp 2062174294Sobrien (gopt_nfs_retry_interval_tcp): new functions to parse UDP and TCP 2063174294Sobrien retrans/timeo parameters separately. 2064174294Sobrien (gopt_nfs_retry_interval, gopt_nfs_retransmit_counter): if 2065174294Sobrien specified, use it to set defaults for both UDP and TCP. 2066174294Sobrien 2067174294Sobrien * amd/amd.c (init_global_options): initialize default values of 2068174294Sobrien both UDP and TCP retrans/timeo values to -1. 2069174294Sobrien 2070174294Sobrien * amd/amd.h (AMU_TYPE_{TCP,UDP,MAX}): define separate retrans and 2071174294Sobrien timeo values, one for udp mounts and another for tcp mounts. 2072174294Sobrien 2073174294Sobrien2005-02-16 Erez Zadok <ezk@cs.sunysb.edu> 2074174294Sobrien 2075174294Sobrien * README.osx: new file with some instructions for Mac OS-X users, 2076174294Sobrien courtesy Kevin Layer. 2077174294Sobrien 2078174294Sobrien * amd/get_args.c (get_args): move call to switch_to_logfile() 2079174294Sobrien after processing -v, so we don't print "no logfile defined; using 2080174294Sobrien stderr" when we're about to print version info and exit anyway. 2081174294Sobrien 2082174294Sobrien * minor new port: powerpc-ibm-aix5.3.0.0. 2083174294Sobrien 2084174294Sobrien * hlfsd/hlfsd.c (main): rewrite code to avoid negative array 2085174294Sobrien references. 2086174294Sobrien 2087174294Sobrien * conf/checkmount/checkmount_aix.c: remove extern definition for 2088174294Sobrien mntctl(), since AIX 5.3 has it in <sys/vmount.h>. 2089174294Sobrien 2090174294Sobrien * amd/info_union.c (union_reload): rewrite code to avoid negative 2091174294Sobrien array references. 2092174294Sobrien 2093174294Sobrien * amd/opts.c (split_opts, expand_op): rewrite code to avoid 2094174294Sobrien negative array references. 2095174294Sobrien 2096174294Sobrien * conf/mtab/mtab_aix.c: remove extern definition for mntctl(), 2097174294Sobrien since AIX 5.3 has it in <sys/vmount.h>. 2098174294Sobrien 2099174294Sobrien * libamu/xutil.c (real_plog): rewrite code to avoid negative array 2100174294Sobrien references. 2101174294Sobrien 2102174294Sobrien * libamu/wire.c (is_network_member): rearrange code slightly to 2103174294Sobrien avoid negative array references (AIX 5.3 xlC 7.0 compiler 2104174294Sobrien complains about it). 2105174294Sobrien 2106174294Sobrien2005-01-26 Erez Zadok <ezk@cs.sunysb.edu> 2107174294Sobrien 2108174294Sobrien * doc/am-utils.texi (xhost Selector Function): document new 2109174294Sobrien selector function. 2110174294Sobrien 2111174294Sobrien * amd/opts.c (f_xhost): new function for use when matching the 2112174294Sobrien "host" selector for the current host's name. This function will 2113174294Sobrien now match the primary host name as well as all known aliases 2114174294Sobrien (CNAMES) that gethostbyname() returns. This function now supports 2115174294Sobrien a new function selector called xhost(ARG); the old host==ARG 2116174294Sobrien selector is unharmed. 2117174294Sobrien 2118174294Sobrien2005-01-17 Ion Badulescu <ionut@moisil.badula.org> 2119174294Sobrien 2120174294Sobrien * NEWS: document the ability to restart old mount points 2121174294Sobrien 2122174294Sobrien * amd/map.c (mount_auto_node): force the fileid of the 2123174294Sobrien root to be 1, so that it won't change between restarts; use the 2124174294Sobrien root filesystem's own methods instead of hard-coding the use of 2125174294Sobrien the default methods 2126174294Sobrien 2127174294Sobrien * conf/transp/transp_tli.c (create_nfs_service): better cleanup on 2128174294Sobrien error conditions. 2129174294Sobrien (bind_resv_port2): allow the caller to request a certain port. 2130174294Sobrien 2131174294Sobrien * conf/transp/transp_sockets.c (bind_resv_port): allow the caller 2132174294Sobrien to request a certain port. 2133174294Sobrien (create_nfs_service): better cleanup on error conditions. 2134174294Sobrien 2135174294Sobrien * amd/restart.c (restart_automounter_nodes): new function, takes 2136174294Sobrien care of restarting automounter NFS mount points (autofs will come 2137174294Sobrien later). 2138174294Sobrien (restart): skip all automounter mount points. 2139174294Sobrien 2140174294Sobrien * amd/nfs_subr.c (fh_to_mp3, mp_to_fh): new filehandle 2141174294Sobrien implementation: if the path to the node is shorter than sizeof(fh) 2142174294Sobrien chars (currently 32 chars for a NFSv2 fh), simply store it inside 2143174294Sobrien the fh. For longer paths, keep the old implementation. 2144174294Sobrien 2145174294Sobrien * amd/nfs_start.c (mount_automounter): reorder things so that 2146174294Sobrien restarting the toplvl filesystems occurs before anything else (so 2147174294Sobrien that we can grab all the ports we need before we accidentally use 2148174294Sobrien them for something else). 2149174294Sobrien 2150174294Sobrien * amd/mntfs.c (locate_mntfs): remove dead code; add special 2151174294Sobrien handling of restarted toplvl filesystems. 2152174294Sobrien 2153174294Sobrien * amd/mapc.c (root_keyiter): fix up a comment. 2154174294Sobrien 2155174294Sobrien * amd/map.c (path_to_exported_ap): new function, searches for and 2156174294Sobrien returns a node by the path to it. 2157174294Sobrien (get_root_nfs_fh): remove unnecessary fiddling with the root fh. 2158174294Sobrien 2159174294Sobrien * config.guess.long: support Red Hat Enterprise Linux 2160174294Sobrien 2161174294Sobrien2005-01-17 Erez Zadok <ezk@cs.sunysb.edu> 2162174294Sobrien 2163174294Sobrien * libamu/util.c (rmdirs): prevent amd from logging 'Read-only 2164174294Sobrien filesystem' errors when the mount point has an ancestor (i.e. '/') 2165174294Sobrien that is mounted read-only. Patch from David Rage <rage@ucl.ac.uk>. 2166174294Sobrien 2167174294Sobrien2005-01-17 Ion Badulescu <ionut@moisil.badula.org> 2168174294Sobrien 2169174294Sobrien * conf/umount/umount_linux.c (umount_fs): Linux doesn't need the 2170174294Sobrien autofs space hack 2171174294Sobrien 2172174294Sobrien * conf/umount/umount_default.c (umount_fs): there is no need for 2173174294Sobrien HAVE_LOOP_DEV, now that Linux has its own dedicated umount_linux.c 2174174294Sobrien 2175174294Sobrien2005-01-17 Erez Zadok <ezk@cs.sunysb.edu> 2176174294Sobrien 2177174294Sobrien * doc/am-utils.texi (Automatic Unmounting): document new umount2() 2178174294Sobrien behavior on Linux. 2179174294Sobrien 2180174294Sobrien * conf/umount/umount_linux.c (umount_fs): new file. On Linux, if 2181174294Sobrien umount(2) failed with EIO or ESTALE, try umount2(2) with 2182174294Sobrien MNT_FORCE+MNT_DETACH. Based on patch from Christos Zoulas 2183174294Sobrien <christos@zoulas.com>. 2184174294Sobrien 2185174294Sobrien * m4/macros/check_umount_style.m4: pick new linux umount style. 2186174294Sobrien 2187174294Sobrien * Makefile.am (EXTRA_DIST_CONF): distribute new umount_linux.c 2188174294Sobrien file. 2189174294Sobrien 2190174294Sobrien2005-01-16 Erez Zadok <ezk@cs.sunysb.edu> 2191174294Sobrien 2192174294Sobrien * conf/nfs_prot/nfs_prot_aix{4_2,4_3,5_1,5_2}.h, 2193174294Sobrien m4/macros/struct_nfs_args.m4: minor cleanups for quicker execution 2194174294Sobrien of "nfs_args" test. 2195174294Sobrien 2196174294Sobrien2005-01-13 Erez Zadok <ezk@cs.sunysb.edu> 2197174294Sobrien 2198174294Sobrien * amd/get_args.c (show_usage): separate function to print usage 2199174294Sobrien string. 2200174294Sobrien (get_args) Call show_usage() from get_args when needed, then exit. 2201174294Sobrien 2202174294Sobrien * amd/get_args.c (get_version_string): print also domain, host, 2203174294Sobrien and hostd. 2204174294Sobrien (get_args): print version string at the very end, after all other 2205174294Sobrien values had been initialized. Patch from Christos Zoulas 2206174294Sobrien <christos@zoulas.com>. 2207174294Sobrien 2208174294Sobrien * conf/transp/transp_sockets.c (check_pmap_up, get_nfs_version), 2209174294Sobrien conf/transp/transp_tli.c (check_pmap_up): correct an inconsistency 2210174294Sobrien in timeouts in the RPC code between socket and TLI 2211174294Sobrien implementations. The clntudp_create timeout has a different 2212174294Sobrien meaning than the clnt_call timeout. Set the timeout of the create 2213174294Sobrien to 2 seconds which means retry if no answer in two seconds, and 2214174294Sobrien the timeout call to 6 seconds, which will give us consistently 2 2215174294Sobrien to 3 pings. This is useful on occasional network UDP loss where a 2216174294Sobrien single packet loss would wrongfully mark a server down. (The TLI 2217174294Sobrien code is the one that had the problem occurs.) Patch from Christos 2218174294Sobrien Zoulas <christos@zoulas.com>. 2219174294Sobrien 2220174294Sobrien * libamu/mount_fs.c (compute_nfs_attrcache_flags): make sure code 2221174294Sobrien compiles even for systems that don't have the nfs_args 2222174294Sobrien ac{reg,dir}{min,max} fields. 2223174294Sobrien 2224174294Sobrien * amd/amfs_toplvl.c (set_auto_attrcache_timeout): just to be safe, 2225174294Sobrien add "noac" if amd.conf option auto_attrcache was set to 0. This 2226174294Sobrien should hopefully make the compute_nfs_attrcache_flags patch even 2227174294Sobrien safer. 2228174294Sobrien 2229174294Sobrien * libamu/mount_fs.c (compute_nfs_attrcache_flags): separate 2230174294Sobrien function to compute attribute-cache values. This function now 2231174294Sobrien computes attribute-cache flags for BOTH Amd's automount points 2232174294Sobrien (NFS) as well as any normal NFS mount that Amd performs. 2233174294Sobrien (compute_nfs_args, compute_automounter_nfs_args): call 2234174294Sobrien compute_nfs_attrcache_flags to figure out attribute-cache related 2235174294Sobrien flags. Patch from Christos Zoulas <christos@zoulas.com>. 2236174294Sobrien 2237174294Sobrien * scripts/amd.conf-sample: show examples of new global options 2238174294Sobrien domain_strip and auto_attrcache. 2239174294Sobrien 2240174294Sobrien * scripts/amd.conf.5: document new global options domain_strip and 2241174294Sobrien auto_attrcache. Add warning to auto_attrcache use in case of 2242174294Sobrien ESTALE. 2243174294Sobrien 2244174294Sobrien * doc/am-utils.texi: minor cleanups and document new global 2245174294Sobrien options domain_strip and auto_attrcache. Add warning to 2246174294Sobrien auto_attrcache use in case of ESTALE. 2247174294Sobrien 2248174294Sobrien * amd/conf.c (gopt_auto_attrcache): parse new global amd.conf 2249174294Sobrien option auto_attrcache. 2250174294Sobrien (gopt_domain_strip): parse new global amd.conf option 2251174294Sobrien domain_strip. Part of a patch from Christos Zoulas 2252174294Sobrien <christos@zoulas.com>. 2253174294Sobrien 2254174294Sobrien * amd/autil.c (host_normalize): don't call domain_strip() 2255174294Sobrien unconditionally, but depend on the new global amd.conf flag 2256174294Sobrien domain_strip. 2257174294Sobrien 2258174294Sobrien * amd/amfs_toplvl.c (set_auto_attrcache_timeout): new function to 2259174294Sobrien set attribute cache timeout value given other configured global 2260174294Sobrien defaults. 2261174294Sobrien (amfs_toplvl_mount): set automount point attribute cache option 2262174294Sobrien value to "noac" if attrcache=0, else set it to whatever 2263174294Sobrien set_auto_attrcache_timeout() returns. 2264174294Sobrien 2265174294Sobrien * amd/amd.h (CFM_DOMAIN_STRIP, CFM_DEFAULT_FLAGS): flag to decide 2266174294Sobrien if to strip the domain from the host name or not, default options 2267174294Sobrien set to strip the domain. 2268174294Sobrien Store global value of automount attribute cache timeout value. 2269174294Sobrien 2270174294Sobrien * amd/amd.c (init_global_options): add flag to record automount 2271174294Sobrien point attribute cache value. 2272174294Sobrien 2273174294Sobrien * amd/amd.c (do_memory_locking): new function to encapsulate all 2274174294Sobrien of the memory-locking functionality, which was in main() before. 2275174294Sobrien Also added a call to madvise(), just in case. 2276174294Sobrien (main): call do_memory_locking() to pin process memory if amd.conf 2277174294Sobrien asked for it, but do so after the main Amd process daemonizes, 2278174294Sobrien because mlock/mlockall is not inherited by fork() by default. 2279174294Sobrien Slightly restructured patch from Jonathan Chen 2280174294Sobrien <jon+amd@spock.org>. 2281174294Sobrien 2282174294Sobrien * configure.in: check for madvise(2). 2283174294Sobrien 2284174294Sobrien * config.guess, config.sub: updates for latest official GNU 2285174294Sobrien versions. 2286174294Sobrien 2287174294Sobrien * m4/GNUmakefile: update paths to "make update" 2288174294Sobrien 2289174294Sobrien2005-01-12 Erez Zadok <ezk@cs.sunysb.edu> 2290174294Sobrien 2291174294Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: define an nfs_fh3 structure 2292174294Sobrien that's compatible for HPUX11 as well as NFSv3. 2293174294Sobrien 2294174294Sobrien * include/am_defs.h: On AIX 5.2, both <resolv.h> and 2295174294Sobrien <arpa/nameser_compat.h> define MAXDNAME, if compiling with gcc 2296174294Sobrien -D_USE_IRS (so that we get extern definitions for hstrerror() and 2297174294Sobrien others). So undef MAXDNAME before it gets redefined. 2298174294Sobrien 2299174294Sobrien * include/am_defs.h: Solaris 10 (build 72) defines GROUP_OBJ in 2300174294Sobrien <sys/acl.h>, which is included in many other header files. 2301174294Sobrien <rpcsvc/nis.h> uses GROUP_OBJ inside enum zotypes. So if you're 2302174294Sobrien unlucky enough to include both headers, you get a compile error 2303174294Sobrien because the two symbols conflict. Temp hack: undefine acl.h's 2304174294Sobrien GROUP_OBJ before including nis.h, because we don't need acl.h for 2305174294Sobrien am-utils. 2306174294Sobrien 2307174294Sobrien * m4/macros/os_cflags.m4: turn -D_USE_IRS for AIX5+ so that 2308174294Sobrien certain extern definitions of resolver functions become available. 2309174294Sobrien 2310174294Sobrien * amd/opts.c (expand_op): use #define for expand_error string 2311174294Sobrien because some compilers complain about the use of static const 2312174294Sobrien char[] inside a varargs function. 2313174294Sobrien 2314174294Sobrien * minor new port i386-unknown-netbsdelf1.6.2. 2315174294Sobrien 2316174294Sobrien * new port i386-unknown-netbsdelf2.0. 2317174294Sobrien 2318174294Sobrien * minor port i386-unknown-freebsd5.3. 2319174294Sobrien 2320174294Sobrien * libamu/mount_fs.c (compute_nfs_args): don't compare 2321174294Sobrien nap->maxgrouplist against NULL but against 0 directly, because on 2322174294Sobrien FreeBSD 4.3, NULL is defined is (void *)0 and gcc 3.4 complains 2323174294Sobrien about a type mismatch. 2324174294Sobrien 2325174294Sobrien * minor port i386-pc-linux-fc3 (Fedora Core 3). 2326174294Sobrien 2327174294Sobrien2005-01-11 Erez Zadok <ezk@cs.sunysb.edu> 2328174294Sobrien 2329174294Sobrien * hlfsd/hlfsd.c (main): use sigsuspend() over sigpause(), because 2330174294Sobrien FC3 doesn't have proper extern definition for the defunct 2331174294Sobrien sigpause(). 2332174294Sobrien 2333174294Sobrien * configure.in: look for sigsuspend(). 2334174294Sobrien 2335174294Sobrien2005-01-01 Erez Zadok <ezk@cs.sunysb.edu> 2336174294Sobrien 2337174294Sobrien * updated copyright year to 2005 on all files. 2338174294Sobrien 2339174294Sobrien2004-11-29 Erez Zadok <ezk@cs.sunysb.edu> 2340174294Sobrien 2341174294Sobrien * scripts/amd.conf.5: Small fixes to typos in man page, from 2342174294Sobrien Thomas Klausner <tk@giga.or.at>. 2343174294Sobrien 2344174294Sobrien2004-10-22 Erez Zadok <ezk@cs.sunysb.edu> 2345174294Sobrien 2346174294Sobrien * ldap.schema: add this file to distribution. 2347174294Sobrien 2348174294Sobrien2004-09-15 Erez Zadok <ezk@cs.sunysb.edu> 2349174294Sobrien 2350174294Sobrien * doc/am-utils.texi: fix old URLs. 2351174294Sobrien 2352174294Sobrien2004-09-01 Erez Zadok <ezk@cs.sunysb.edu> 2353174294Sobrien 2354174294Sobrien * conf/mtab/mtab_aix.c (read_mtab): avoid a race condition between 2355174294Sobrien multiple calls to mntctl(). Patch suggested by Michael van Elst 2356174294Sobrien <M.van.Elst@science-computing.de>. 2357174294Sobrien 2358174294Sobrien2004-08-07 Erez Zadok <ezk@cs.sunysb.edu> 2359174294Sobrien 2360174294Sobrien * doc/am-utils.texi (Program Filesystem): document how to get 2361174294Sobrien double slashes in Amd maps. 2362174294Sobrien 2363174294Sobrien * amd/opts.c (normalize_slash): support escaped slashes, needed 2364174294Sobrien for SMB mounts. Use '\\\/\\\/' in a string to get a double slash. 2365174294Sobrien 2366174294Sobrien2004-08-06 Erez Zadok <ezk@cs.sunysb.edu> 2367174294Sobrien 2368174294Sobrien * amd/amfs_program.c (amfs_program_match): bug fix. Complain if 2369174294Sobrien both opt_unmount and opt_umount are missing, not when just one of 2370174294Sobrien them is missing. 2371174294Sobrien 2372174294Sobrien2004-08-03 Erez Zadok <ezk@cs.sunysb.edu> 2373174294Sobrien 2374174294Sobrien * amq/pawd.c (find_mt): recognize "linkx" type mounts. Patch from 2375174294Sobrien Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>. Support "nfsx" while 2376174294Sobrien we're at it. 2377174294Sobrien 2378174294Sobrien * doc/am-utils.texi: mention bugzilla. Fix broken URL HREF's. 2379174294Sobrien 2380174294Sobrien2004-08-02 Erez Zadok <ezk@cs.sunysb.edu> 2381174294Sobrien 2382174294Sobrien * amq/pawd.c (find_mt): recognize "host" type mounts. Patch from 2383174294Sobrien Dan Nelson <dnelson@allantgroup.com>. 2384174294Sobrien 2385174294Sobrien2004-07-30 Erez Zadok <ezk@cs.sunysb.edu> 2386174294Sobrien 2387174294Sobrien * doc/am-utils.texi, NEWS: minor typos fixed. 2388174294Sobrien 2389174294Sobrien2004-07-30 Erez Zadok <ezk@play.cs.columbia.edu> 2390174294Sobrien 2391174294Sobrien * include/am_xdr_func.h: cannot have field-less structure; put a 2392174294Sobrien dummy field in. 2393174294Sobrien 2394174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (xdr_autofs_rddirargs): cast 2395174294Sobrien 2nd arg of xdr_u_int to a u_int*, not int*. 2396174294Sobrien (autofs_mount_2_req): don't use C++ // comments. 2397174294Sobrien 2398174294Sobrien2004-07-30 Erez Zadok <ezk@cs.sunysb.edu> 2399174294Sobrien 2400174294Sobrien * m4/macros/{try_compile_anyfs,check_field}.m4: include 2401174294Sobrien <fs/msdosfs/msdosfsmount.h> if it exists. Part of a set of 2402174294Sobrien FreeBSD 5 patches from Martin Blapp <mb@imp.ch>. 2403174294Sobrien 2404174294Sobrien * include/am_defs.h: include <fs/msdosfs/msdosfsmount.h> if it 2405174294Sobrien exists. 2406174294Sobrien 2407174294Sobrien * amd/ops_pcfs.c (mount_pcfs): set pcfs_args_t.dirmask field to 2408174294Sobrien 0777 by default. 2409174294Sobrien 2410174294Sobrien * configure.in: check for pcfs_args_t.dirmask field. Check for 2411174294Sobrien existence of <fs/msdosfs/msdosfsmount.h>, new on FreeBSD 5. 2412174294Sobrien 2413174294Sobrien2004-07-29 Erez Zadok <ezk@cs.sunysb.edu> 2414174294Sobrien 2415174294Sobrien * minor new port: i386-pc-linux-fc2 (Fedora Core 2). 2416174294Sobrien 2417174294Sobrien * amd/info_ldap.c (amu_ldap_rebind): don't use ldap_enable_cache() 2418174294Sobrien unless the function exists in libldap and the extern is in 2419174294Sobrien <ldap.h>. Recently, openldap removed the extern from ldap.h, but 2420174294Sobrien left the function in libldap, for binary compatibility; however 2421174294Sobrien ldap_enable_cache and related functions have been deprecated (and 2422174294Sobrien no longer listed in the header files), and therefore should be 2423174294Sobrien avoided. 2424174294Sobrien 2425174294Sobrien * m4/macros/check_extern_ldap.m4: new macro to check for 2426174294Sobrien LDAP-specific externs. This is separate from check_extern.m4 so 2427174294Sobrien as to avoid breaking the general-purpose macro with LDAP-specific 2428174294Sobrien headers. 2429174294Sobrien 2430174294Sobrien * m4/macros/header_templates.m4: extern template for new 2431174294Sobrien HAVE_EXTERN_LDAP_ENABLE_CACHE. 2432174294Sobrien 2433174294Sobrien * configure.in: call new check_extern_ldap.m4 macro. 2434174294Sobrien 2435174294Sobrien * Makefile.am (EXTRA_DIST_M4): distribute new check_extern_ldap.m4 2436174294Sobrien macro. 2437174294Sobrien 2438174294Sobrien * config.guess.long: distinguish between redhat and fedora-core 2439174294Sobrien releases. 2440174294Sobrien 2441174294Sobrien2004-07-23 Erez Zadok <ezk@cs.sunysb.edu> 2442174294Sobrien 2443174294Sobrien * Minor new port i386-pc-linux-suse8.2: minor new port to SuSE 2444174294Sobrien 8.2. This systems' latest GCC (gcc version 3.3 20030226 2445174294Sobrien prerelease) correctly caught a lot of possibly bad comparisons 2446174294Sobrien between signed and unsigned quantities. 2447174294Sobrien 2448174294Sobrien * hlfsd/homedir.c (table_add, plt_search): changed first arg of 2449174294Sobrien both functions to u_int. 2450174294Sobrien 2451174294Sobrien * hlfsd/hlfsd.h, hlfsd/hlfsd.c: change 'cache_interval' to u_int. 2452174294Sobrien Changed proto for plt_search arg to u_int. 2453174294Sobrien 2454174294Sobrien * amq/amq.c (show_mi, main): change 'i' to u_int. 2455174294Sobrien 2456174294Sobrien * amq/pawd.c (find_mlp): change 'i' to u_int. 2457174294Sobrien 2458174294Sobrien * amd/srvr_nfs.c (find_nfs_srvr): change proto_nfs_version to 2459174294Sobrien u_int. 2460174294Sobrien 2461174294Sobrien * amd/amd.h: change prototype of vreaddir and amfs_error_readdir 2462174294Sobrien to use u_int count parameter. 2463174294Sobrien 2464174294Sobrien * amd/ops_TEMPLATE.c (foofs_readdir), amd/amfs_error.c 2465174294Sobrien (amfs_error_readdir): change 'count' parameter in proto to u_int. 2466174294Sobrien 2467174294Sobrien * amd/amd.h: change proto of amfs_generic_readdir() to use u_int 2468174294Sobrien count parameter. 2469174294Sobrien 2470174294Sobrien * amd/readdir.c (make_entry_chain): preflen should be u_int. 2471174294Sobrien (amfs_readdir_browsable): change 'count' to u_int. 2472174294Sobrien (amfs_generic_readdir): change 'count' to u_int. 2473174294Sobrien 2474174294Sobrien * amd/amd.h: amu_global_options's portmap_program field should be 2475174294Sobrien u_long, not int (to match RPC conventions). Change am_fh's 2476174294Sobrien fhh_gen field to u_int, to match am_gen field in struct am_node. 2477174294Sobrien 2478174294Sobrien * amd/conf.c (gopt_portmap_program): use atol() instead of atoi() 2479174294Sobrien to avoid size differences. 2480174294Sobrien 2481174294Sobrien * conf/mount/mount_linux.c (find_unused_loop_device): cast to int 2482174294Sobrien to avoid comparison between chars and integers. 2483174294Sobrien 2484174294Sobrien * libamu/mount_fs.c (get_hex_string): change 'i' to u_int to avoid 2485174294Sobrien comparisons between signed and unsigned integers. 2486174294Sobrien 2487174294Sobrien2004-07-13 Erez Zadok <ezk@cs.sunysb.edu> 2488174294Sobrien 2489174294Sobrien * minor new port: i386-pc-linux-suse9.1. 2490174294Sobrien 2491174294Sobrien * include/am_defs.h: don't use __kernel_dev_t for dev_t on Linux, 2492174294Sobrien because SuSE wants __kernel_old_dev_t. Instead, just define it 2493174294Sobrien directly to what they both use: an unsigned short. 2494174294Sobrien 2495174294Sobrien2004-05-27 Erez Zadok <ezk@cs.sunysb.edu> 2496174294Sobrien 2497174294Sobrien * minor new port: i386-unknown-freebsd4.10 2498174294Sobrien 2499174294Sobrien2004-04-29 Ion Badulescu <ionut@moisil.badula.org> 2500174294Sobrien 2501174294Sobrien * amd/amfs_generic.c (amfs_lookup_one_mntfs): fix the creation of 2502174294Sobrien mountpoints for autofs-based sublinks the right way 2503174294Sobrien 2504174294Sobrien2004-04-28 Ion Badulescu <ionut@moisil.badula.org> 2505174294Sobrien 2506174294Sobrien Fixes for various memory management problems discovered by 2507174294Sobrien Rainer's purify run: 2508174294Sobrien 2509174294Sobrien * conf/transp/transp_tli.c (check_pmap_up): zero out struct 2510174294Sobrien timeval before using; 2511174294Sobrien (get_nfs_version): ditto 2512174294Sobrien 2513174294Sobrien * amd/map.c (umount_exported): make sure we don't try to free the 2514174294Sobrien same am_node multiple times, by setting its corresponding 2515174294Sobrien exported_ap slot to null 2516174294Sobrien 2517174294Sobrien * amd/get_args.c (get_version_string): a static pointer is pretty 2518174294Sobrien pointless, make it automatic 2519174294Sobrien 2520174294Sobrien * amd/conf.c (gopt_debug_options): remove unnecessary strdup(); 2521174294Sobrien (gopt_log_options): ditto 2522174294Sobrien (gopt_print_version): free version string after using it 2523174294Sobrien 2524174294Sobrien * amd/autil.c (mf_mounted): free mntfs->mf_fo instead of leaking 2525174294Sobrien it 2526174294Sobrien 2527174294Sobrien * amd/amfs_generic.c (amfs_lookup_one_mntfs): use the CALLOC macro 2528174294Sobrien (amfs_lookup_mntfs): free def_opts on return 2529174294Sobrien 2530174294Sobrien * amd/amd.c (daemon_mode): zero out struct sigaction before using 2531174294Sobrien it; 2532174294Sobrien (main): ditto 2533174294Sobrien 2534174294Sobrien2004-04-27 Ion Badulescu <ionut@moisil.badula.org> 2535174294Sobrien 2536174294Sobrien * amd/amfs_generic.c (amfs_lookup_one_mntfs): force FS_MKMNT on 2537174294Sobrien the real mount of an autofs-based sublink 2538174294Sobrien 2539174294Sobrien2004-04-25 Ion Badulescu <ionut@moisil.badula.org> 2540174294Sobrien 2541174294Sobrien * amd/map.c (free_map_if_success): avoid dereferencing a pointer 2542174294Sobrien to potentially freed memory 2543174294Sobrien 2544174294Sobrien2004-02-26 Erez Zadok <ezk@cs.sunysb.edu> 2545174294Sobrien 2546174294Sobrien * minor new port: i386-unknown-freebsd5.2.1. 2547174294Sobrien 2548174294Sobrien2004-01-30 Ion Badulescu <ion@guppy.limebrokerage.com> 2549174294Sobrien 2550174294Sobrien * scripts/ctl-hlfsd.in: don't run hlfsd with -D fork 2551174294Sobrien 2552174294Sobrien2004-01-25 Erez Zadok <ezk@cs.sunysb.edu> 2553174294Sobrien 2554174294Sobrien * minor new port: sparc64-unknown-linux-deb3.0 2555174294Sobrien 2556174294Sobrien * config.guess.long: recoognize Debian Linux. 2557174294Sobrien 2558174294Sobrien2004-01-22 Erez Zadok <ezk@cs.sunysb.edu> 2559174294Sobrien 2560174294Sobrien * conf/transp/transp_tli.c (amu_get_myaddress): use 2561174294Sobrien htonl(INADDR_LOOPBACK) and define INADDR_LOOPBACK if not already 2562174294Sobrien available. 2563174294Sobrien 2564174294Sobrien2004-01-21 Erez Zadok <ezk@cs.sunysb.edu> 2565174294Sobrien 2566174294Sobrien * wire-test/wire-test.c, hlfsd/hlfsd.c (main): pass NULL as second 2567174294Sobrien parameter to amu_get_myaddress(). 2568174294Sobrien 2569174294Sobrien * conf/transp/transp_tli.c (amu_get_myaddress): resolve value of 2570174294Sobrien localhost_address amd.conf parameter, if defined (else default to 2571174294Sobrien HOST_SELF_CONNECT). 2572174294Sobrien Removed htonl() around socket address copying (I think it was 2573174294Sobrien wrong) since plog("My IP address is...") in amd.c was printing 2574174294Sobrien addresses wrong on Solaris x86.. 2575174294Sobrien 2576174294Sobrien * conf/transp/transp_sockets.c (amu_get_myaddress): comment out 2577174294Sobrien old DEBUG code that warns if 127.0.0.1 isn't the same as what 2578174294Sobrien get_myaddress() reports. Add code to resolve value of 2579174294Sobrien localhost_address amd.conf parameter, if defined (else default to 2580174294Sobrien 127.0.0.1). 2581174294Sobrien 2582174294Sobrien * amd/conf.c (gopt_localhost_address): new function to parse 2583174294Sobrien amd.conf parameter localhost_address. 2584174294Sobrien 2585174294Sobrien * amd/amd.h: global field to store amd.conf localhost_address 2586174294Sobrien parameter. 2587174294Sobrien 2588174294Sobrien * amd/amd.c (main): call amu_get_myaddress with global option, 2589174294Sobrien which could have been set in amd.conf. 2590174294Sobrien 2591174294Sobrien * NEWS, doc/am-utils.texi, scripts/amd.conf-sample, 2592174294Sobrien scripts/amd.conf.5: document new option localhost_address. 2593174294Sobrien 2594131702Smbr2004-01-20 Ion Badulescu <ionut@moisil.badula.org> 2595131702Smbr 2596131702Smbr * amd/conf.c (gopt_nfs_allow_insecure_port): support function for 2597131702Smbr the new "nfs_allow_insecure_port" amd.conf directive 2598131702Smbr 2599131702Smbr * amd/nfs_prot_svc.c (nfs_program_2): complain about the insecure 2600131702Smbr port and drop the request only if the "nfs_allow_insecure_port" 2601131702Smbr option is not set in amd.conf 2602131702Smbr 2603131702Smbr * doc/am-utils.texi (Global Parameters): documented the new 2604131702Smbr amd.conf directive "nfs_allow_insecure_port" 2605131702Smbr 2606131702Smbr * scripts/amd.conf.5 (nfs_allow_insecure_port): ditto 2607131702Smbr 2608131702Smbr * scripts/amd.conf-sample (nfs_allow_insecure_port): added the 2609131702Smbr "nfs_allow_insecure_port" directive 2610131702Smbr 2611131702Smbr2004-01-20 Erez Zadok <ezk@cs.sunysb.edu> 2612131702Smbr 2613131702Smbr * doc/am-utils.texi: amd-workers is defunct. 2614131702Smbr 2615131702Smbr2004-01-19 Erez Zadok <ezk@cs.sunysb.edu> 2616131702Smbr 2617131702Smbr * cvs-server.txt: updated instructions 2618131702Smbr 2619131702Smbr2004-01-18 Erez Zadok <ezk@cs.sunysb.edu> 2620131702Smbr 2621131702Smbr * minor new port: i386-unknown-freebsd5.2. 2622131702Smbr 2623131702Smbr2004-01-05 Erez Zadok <ezk@cs.sunysb.edu> 2624131702Smbr 2625131702Smbr * MIRRORS.{txt,html}: verify each mirror site, update to new 2626131702Smbr locations (if found), and remove stale mirrors URLs. 2627131702Smbr 2628131702Smbr * updated copyright year to 2004 on all files. 2629131702Smbr 2630174294Sobrien2004-01-03 Erez Zadok <ezk@cs.sunysb.edu> 2631174294Sobrien 2632174294Sobrien * MIRRORS.txt: track status. 2633174294Sobrien 2634131702Smbr * Makefile.am (install-snapshot): new directory to install 2635131702Smbr snapshots (now that am-utils home page is moved). 2636131702Smbr 2637174294Sobrien2004-01-02 Erez Zadok <ezk@cs.sunysb.edu> 2638174294Sobrien 2639131702Smbr * INSTALL, README.autofs: remove forced text-mode. 2640131702Smbr 2641131702Smbr * doc/am-utils.texi: fix Amd book URL. 2642131702Smbr 2643131702Smbr * Makefile.am (EXTRA_DIST): include new mirror files in tarball. 2644131702Smbr 2645131702Smbr * AUTHORS, BUGS, README, README.y2k, configure.in, 2646131702Smbr doc/am-utils.texi: revisions to use newer URLs for Web site, FTP, 2647131702Smbr and mailing lists. 2648131702Smbr 2649174294Sobrien * MIRRORS.{html,txt}: updates. 2650131702Smbr 2651131702Smbr * doc/Makefile.am: install mirror lists officially. 2652131702Smbr 2653174294Sobrien2004-01-01 Erez Zadok <ezk@cs.sunysb.edu> 2654174294Sobrien 2655174294Sobrien * tasks: things to do after migrating ftp/Web sites. 2656174294Sobrien 2657174294Sobrien2003-12-09 Erez Zadok <ezk@cs.sunysb.edu> 2658174294Sobrien 2659174294Sobrien * fsinfo/fsinfo.8: fixed typo (unbalanced []) in man page. Bug 2660174294Sobrien report from Eric S. Raymond <esr@thyrsus.com>. 2661174294Sobrien 2662174294Sobrien2003-11-18 Erez Zadok <ezk@cs.sunysb.edu> 2663174294Sobrien 2664174294Sobrien * Makefile.am (EXTRA_DIST_M4): exclude removed file 2665174294Sobrien m4/macros/struct_nfs_fh3.m4 from distro. 2666174294Sobrien 2667174294Sobrien2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2668174294Sobrien 2669174294Sobrien * libamu/xdr_func.c (xdr_am_nfs_fh3): Use AM_FHSIZE3 instead of 2670174294Sobrien FHSIZE3 (may be undefined). 2671174294Sobrien 2672174294Sobrien2003-10-24 Ion Badulescu <ion@guppy.limebrokerage.com> 2673174294Sobrien 2674174294Sobrien Compile fix for Solaris7 with LDAP: 2675174294Sobrien 2676174294Sobrien * include/am_defs.h: moved the ldap headers before am_nfs_prot.h 2677174294Sobrien to facilitate using ldap types in it 2678174294Sobrien 2679174294Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: add a couple of ldap 2680174294Sobrien definitions that Sun left out of their headers 2681174294Sobrien 2682174294Sobrien2003-10-24 Ion Badulescu <ionut@moisil.badula.org> 2683174294Sobrien 2684174294Sobrien * conf/nfs_prot/nfs_prot_*.h: remove all NFSv3-related 2685174294Sobrien definitions, they are now defined globally 2686174294Sobrien 2687174294Sobrien * libamu/xdr_func.c: unconditionally define all xdr functions 2688174294Sobrien needed for NFSv3, but with an am_ prefix to prevent namespace 2689174294Sobrien collisions 2690174294Sobrien 2691174294Sobrien * amd/amfs_host.c, amd/ops_nfs.c, amd/srvr_nfs.c, 2692174294Sobrien libamu/mount_fs.c: added the am_ prefix to all 2693174294Sobrien structures and functions having to do with NFSv3 to prevent 2694174294Sobrien namespace collisions 2695174294Sobrien 2696174294Sobrien * include/am_utils.h: moved definition of am_nfs_handle to ... 2697174294Sobrien 2698174294Sobrien * include/am_xdr_func.h: ... here. Also define AM_FHSIZE3, 2699174294Sobrien am_nfs_fh3, AM_NFSPROC3_LOOKUP, am_nfsstat3, am_fhandle3, 2700174294Sobrien am_mountstat3, am_mountres3_ok, am_mountres3, am_filename3, 2701174294Sobrien am_diropargs3, am_LOOKUP3args, am_LOOKUP3resok, am_LOOKUP3resfail, 2702174294Sobrien am_LOOKUP3res here; remove cross-platform compile helper macros 2703174294Sobrien AMU_LOOKUP3RES_*. 2704174294Sobrien 2705174294Sobrien * include/am_defs.h: include am_xdr_func.h before am_utils.h to 2706174294Sobrien provide definitions for NFS filehandles 2707174294Sobrien 2708174294Sobrien * amd/amd.h: removed declaration for xdr_mountres3 2709174294Sobrien 2710174294Sobrien * doc/am-utils.text: minor warning fix 2711174294Sobrien 2712174294Sobrien * BUGS: document the autoconf warnings when trying to compile 2713174294Sobrien system header files in isolation 2714174294Sobrien 2715174294Sobrien2003-10-23 Ion Badulescu <ionut@moisil.badula.org> 2716174294Sobrien 2717174294Sobrien * m4/macros/struct_nfs_fh3.m4: removed, not needed 2718174294Sobrien 2719174294Sobrien * configure.in: check if struct mounta has the optptr field; 2720174294Sobrien removed all NFSv3-related checks, we implement everything 2721174294Sobrien internally now 2722174294Sobrien 2723174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_mount_2_free): don't 2724174294Sobrien touch mnt->optptr unless HAVE_MOUNTA_OPTPTR is defined 2725174294Sobrien 2726174294Sobrien2003-10-22 Ion Badulescu <ionut@moisil.badula.org> 2727174294Sobrien 2728174294Sobrien * m4/macros/struct_nfs_fh3.m4: removed, not used anymore 2729174294Sobrien 2730174294Sobrien * libamu/xdr_func.c (xdr_am_nfs_fh3): update xdr_am_nfs_fh3 2731174294Sobrien comments 2732174294Sobrien 2733174294Sobrien * configure.in: don't check for xdr_nfs_fh3 and struct nfs_fh3, we 2734174294Sobrien always use our own 2735174294Sobrien 2736174294Sobrien2003-10-22 Ion Badulescu <ion@guppy.limebrokerage.com> 2737174294Sobrien 2738174294Sobrien * BUGS: document the limitations of bind mounts on Linux 2739174294Sobrien 2740131702Smbr2003-10-21 Ion Badulescu <ionut@moisil.badula.org> 2741131702Smbr 2742174294Sobrien * buildall: added support for -i (make install) 2743131702Smbr 2744174294Sobrien2003-10-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2745174294Sobrien 2746174294Sobrien * NEWS: New minor port i386-pc-solaris2.10 (Solaris 10). 2747174294Sobrien * INSTALL: Mention its test status. 2748174294Sobrien 2749174294Sobrien2003-10-16 Erez Zadok <ezk@cs.sunysb.edu> 2750174294Sobrien 2751174294Sobrien * amd/ops_nfs.c (nfs_init): declare as static to match forward 2752174294Sobrien definition at top of file. 2753174294Sobrien 2754174294Sobrien * conf/nfs_prot/nfs_prot_{hpux11, netbsd1_4,openbsd,aix5_2}.h: 2755174294Sobrien added missing definitions for LOOKUP3res, diropargs3, etc. 2756174294Sobrien 2757174294Sobrien2003-10-15 Erez Zadok <ezk@cs.sunysb.edu> 2758174294Sobrien 2759174294Sobrien * libamu/xdr_func.c (xdr_LOOKUP3res, xdr_am_nfs_fh3), 2760174294Sobrien libamu/mount_fs.c (compute_nfs_args), amd/ops_nfs.c 2761174294Sobrien (got_nfs_fh_mount, got_nfs_fh_webnfs, prime_nfs_fhandle_cache, 2762174294Sobrien webnfs_lookup), amd/amfs_host.c (fetch_fhandle): Attempt to 2763174294Sobrien cleanup some inconsistencies with how we treat NFSv3 file handles. 2764174294Sobrien Whenever we need to get data out of a filehandle given to us, we 2765174294Sobrien assume that it uses the OS's native fhandle structure 2766174294Sobrien (often struct nfs_fh3). When we store the fhandle data for our 2767174294Sobrien own use, however, we store it in one of two ways. The first, is 2768174294Sobrien that we use the system's default nfs_fh3 structure; the second is 2769174294Sobrien that we define out own struct am_nfs_fh3 in nfs_prot.h (and go 2770174294Sobrien through an elaborate autoconf song-and-dance to "discover" it as a 2771174294Sobrien native fh3 handle structure). It appears that we do the latter, 2772174294Sobrien instead of using the system's default fhandle structure, simply to 2773174294Sobrien avoid extra malloc's and free's, because whereas nfsv2's fhandle 2774174294Sobrien structure is a simple 32-byte buffer, nfsv3's fhandle structures 2775174294Sobrien often just define a "char *" for the fhandle data, and the caller 2776174294Sobrien must malloc/free the space inside as needed. Our code was never 2777174294Sobrien written with constructor/destructor callbacks for these nfsv3 2778174294Sobrien filehandles. Moreover, we carefully wrote our own am_nfs_fh3 2779174294Sobrien structure so IT JUST SO HAPPENS to align with most (hopefully all) 2780174294Sobrien of the fhandle structures for v3: first four bytes are the length 2781174294Sobrien fields and the next four bytes are the fhandle data. Sigh. 2782174294Sobrien Having this inconsistent use of v3 filehandles can be a real bear, 2783174294Sobrien because we simply cannot avoid using the system's default fhandle 2784174294Sobrien structure indirectly, through things like diropargs3 in 2785174294Sobrien xdr_diropargs3(), which has inside of it a reference to the 2786174294Sobrien system's default nfs_fh3 structure. ANYWAY, the current fix I've 2787174294Sobrien come up with is to generalize the way we dereference field names 2788174294Sobrien within the nfs_fh3 structure (whether ours or the system's) and 2789174294Sobrien the same for the system's LOOKUP3res structure. I'm not pleased 2790174294Sobrien with this fix; I'd rather we don't use our own am_nfs_fh3 2791174294Sobrien structure at all. 2792174294Sobrien 2793174294Sobrien * libamu/xdr_func.c (xdr_am_nfs_fh3): always define this 2794174294Sobrien function if we have NFS3, because we often use our own, 2795174294Sobrien incompatible am_nfs_fh3 structure. 2796174294Sobrien 2797174294Sobrien * include/am_xdr_func.h: We cannot use the native system's 2798174294Sobrien xdr_nfs_fh3 because we are defining our own incompatible 2799174294Sobrien am_hfs_fh3 structure for some systems. 2800174294Sobrien 2801174294Sobrien * include/am_xdr_func.h: Define default values for field names of 2802174294Sobrien struct nfs_fh3 and LOOKUP3res. 2803174294Sobrien 2804174294Sobrien * doc/am-utils.texi (debug_options Parameter): minor typo fixed. 2805174294Sobrien 2806174294Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: FreeBSD uses different fields 2807174294Sobrien names for struct nfs_fh3 and LOOKUP3res, so override the default 2808174294Sobrien names here. 2809174294Sobrien 2810174294Sobrien * configure.in: AMU_CHECK_FS_MNTENT(nfs3) test before 2811174294Sobrien AMU_STRUCT_NFS_FH3, because the latter depends on the former. 2812174294Sobrien 2813174294Sobrien * amd/ops_nfs.c (prime_nfs_fhandle_cache): add {} to disambiguate 2814174294Sobrien and clarify if-the-else clauses. 2815174294Sobrien 2816174294Sobrien2003-10-13 Ion Badulescu <ionut@moisil.badula.org> 2817174294Sobrien 2818174294Sobrien * amd/get_args.c (get_version_string): change "Built by" to 2819174294Sobrien "Configured by", and add a new "Built by" line using the variables 2820174294Sobrien below 2821174294Sobrien 2822174294Sobrien * m4/update_build_version (vers): add BUILD_USER, BUILD_HOST, and 2823174294Sobrien BUILD_DATE to build_version.h 2824174294Sobrien 2825174294Sobrien * amd/mntfs.c (locate_mntfs): fix restarted filesystems: mf_fo 2826174294Sobrien must be initialized even for them, otherwise we lose opt_sublink 2827174294Sobrien (and perhaps other options as well). Report from Rainer Orth. 2828174294Sobrien 2829174294Sobrien * amd/amfs_generic.c (amfs_bgmount): The fix for the mf_fo NULL 2830174294Sobrien pointer dereferencing was a bit too aggressive and could end up 2831174294Sobrien not processing the sublink option if the filesystem was already 2832174294Sobrien mounted. 2833174294Sobrien 2834174294Sobrien2003-10-11 Ion Badulescu <ionut@moisil.badula.org> 2835174294Sobrien 2836174294Sobrien Fix restarted filesystem by disabling the amfs_inherit filesystem 2837174294Sobrien and moving the restarting logic into the generic code. The old 2838174294Sobrien code is still there, will be removed sometime in the near future. 2839174294Sobrien 2840174294Sobrien * amd/mntfs.c (locate_mntfs): disable amfs_inherit and simply 2841174294Sobrien return the pointer to the restarted filesystem 2842174294Sobrien (free_mntfs): check for the MFF_RESTART flag instead of the 2843174294Sobrien amfs_inherit ops 2844174294Sobrien 2845174294Sobrien * amd/autil.c (mf_mounted): remove the MFF_RESTART flag once the 2846174294Sobrien filesystem is in use 2847174294Sobrien 2848174294Sobrien * amd/amfs_nfsx.c (amfs_nfsx_init): only call fs_init() if the 2849174294Sobrien filesystem is not being restarted 2850174294Sobrien (amfs_nfsx_remount): if the filesystem is already mounted, 2851174294Sobrien short-circuit the code and just continue 2852174294Sobrien 2853174294Sobrien * amd/amfs_generic.c (amfs_bgmount): only call fs_init() if the 2854174294Sobrien filesystem is not being restarted; remove hack that was used to 2855174294Sobrien work around an amfs_inherit problem 2856174294Sobrien 2857174294Sobrien2003-10-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2858174294Sobrien 2859174294Sobrien Use WebNFS to obtain file handles for mount(2). 2860174294Sobrien 2861174294Sobrien * NEWS: Document WebNFS support. 2862174294Sobrien 2863174294Sobrien * configure.in: Check for public mount option. 2864174294Sobrien * include/am_compat.h (MNTTAB_OPT_PUBLIC): Define if missing. 2865174294Sobrien * doc/am-utils.texi (opts Option): Renamed webnfs to public, 2866174294Sobrien update description. 2867174294Sobrien 2868174294Sobrien * amd/amd.h (FSF_WEBNFS): New mntfs flag. 2869174294Sobrien * include/am_utils.h (RPC_XID_WEBNFS): New XID type. 2870174294Sobrien 2871174294Sobrien * amd/amfs_host.c (amfs_host_mount, amfs_host_umounted): Reject 2872174294Sobrien WebNFS mount/umount attempts. 2873174294Sobrien * amd/ops_nfs.c (got_nfs_fh_mount): Renamed from got_nfs_fh. 2874174294Sobrien (got_nfs_fh_webnfs): New function. 2875174294Sobrien (flush_nfs_fhandle_cache): Don't invalidate port for WebNFS servers. 2876174294Sobrien (prime_nfs_fhandle_cache): Likewise. 2877174294Sobrien Remove unconditional return of public file handle for WebNFS, but 2878174294Sobrien get NFS file handles via mountd or WebNFS instead. 2879174294Sobrien (webnfs_lookup): New function. 2880174294Sobrien (nfs_umounted): Don't inform mountd if MFF_WEBNFS. 2881174294Sobrien * amd/rpc_fwd.c (fwd_packet, fwd_reply): Send/receive WebNFS 2882174294Sobrien packets. 2883174294Sobrien * amd/srvr_nfs.c (recompute_portmap): Don't contact portmap for 2884174294Sobrien WebNFS servers. 2885174294Sobrien Mention host in info message. 2886174294Sobrien (find_nfs_srvr): Handle public mount option. 2887174294Sobrien Prefer NFSv3/tcp if the client supports it. 2888174294Sobrien Allow port mount option to override default or result from portmap 2889174294Sobrien lookup. 2890174294Sobrien 2891174294Sobrien * libamu/xdr_func.c (xdr_diropargs3, xdr_filename3, 2892174294Sobrien xdr_LOOKUP3args, xdr_LOOKUP3res, xdr_LOOKUP3resfail, 2893174294Sobrien xdr_LOOKUP3resok, xdr_nfs_fh3, xdr_nfsstat3): New functions. 2894174294Sobrien * include/am_xdr_func.h: Declare them. 2895174294Sobrien * configure.in: Check for them. 2896174294Sobrien * conf/nfs_prot/nfs_prot_linux.h: Provide missing NFSv3 2897174294Sobrien definitions and types. 2898174294Sobrien 2899174294Sobrien2003-10-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2900174294Sobrien 2901174294Sobrien Support IRIX 6 private mount option. 2902174294Sobrien 2903174294Sobrien * configure.in (AC_CHECK_MNTTAB_OPTS): Check for private option 2904174294Sobrien name string. 2905174294Sobrien (AC_CHECK_MNT2_NFS_OPTS): Check for private NFS mount option (IRIX 6). 2906174294Sobrien * aux/macros/header_templates.m4 (MNTTAB_OPT_PRIVATE, 2907174294Sobrien MNT2_NFS_OPT_PRIVATE): Provide templates. 2908174294Sobrien * include/am_compat.h (MNTTAB_OPT_PRIVATE): Define if missing. 2909174294Sobrien * doc/am-utils.texi (opts Option): Document it. 2910174294Sobrien 2911174294Sobrien2003-10-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2912174294Sobrien 2913174294Sobrien * doc/am-utils.texi (opts Option): Fix Tru64 UNIX name in proplist 2914174294Sobrien mount option. 2915174294Sobrien 2916174294Sobrien2003-10-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2917174294Sobrien 2918174294Sobrien * libamu/mount_fs.c (compute_nfs_args) [HAVE_NFS_ARGS_T_FH_LEN]: 2919174294Sobrien Don't reference removed fh3. 2920174294Sobrien 2921174294Sobrien2003-10-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2922174294Sobrien 2923174294Sobrien * NEWS: New minor port sparc-sun-solaris2.10 (Solaris 10). 2924174294Sobrien 2925174294Sobrien * INSTALL: Mention test status of various ports. 2926174294Sobrien Describe IRIX 6 autofs status. 2927174294Sobrien 2928174294Sobrien2003-10-09 Ion Badulescu <ionut@moisil.badula.org> 2929174294Sobrien 2930174294Sobrien * NEWS: updated 2931174294Sobrien 2932174294Sobrien * amd/amfs_generic.c (amfs_bgmount): don't use mf_fo until after 2933174294Sobrien we've done all the tests and we know we have a valid and mountable 2934174294Sobrien mntfs. Otherwise we could end up dereferencing null pointers. 2935174294Sobrien 2936174294Sobrien * amd/amd.h: fixed a copy&paste comment bug 2937174294Sobrien 2938174294Sobrien * amd/am_ops.c (ops_match): minor code cleanup 2939174294Sobrien 2940174294Sobrien * doc/am-utils.texi: fixed various typos; added warning about the 2941174294Sobrien racy nature of nfsx; removed duplicated listing of debug options; 2942174294Sobrien added paragraph about signals supported by hlfsd; removed the long 2943174294Sobrien list of (maybe) supported platforms since it duplicates the list 2944174294Sobrien in INSTALL. 2945174294Sobrien 2946174294Sobrien2003-10-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2947174294Sobrien 2948174294Sobrien Simplify FD_SET etc. use. 2949174294Sobrien 2950174294Sobrien * include/am_defs.h (FD_SET, FD_ISSET, FD_CLR, FD_ZERO): Provide 2951174294Sobrien if missing. 2952174294Sobrien (rpc_pending_now, run_rpc): Use them. 2953174294Sobrien * configure.in: Check for fds_bits field in fd_set. 2954174294Sobrien * amd/nfs_start.c (run_rpc): Use it. 2955174294Sobrien 2956174294Sobrien2003-10-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2957174294Sobrien 2958174294Sobrien Improve RPC XID handling. 2959174294Sobrien 2960174294Sobrien * amd/rpc_fwd.c (fwd_packet, fwd_reply): Always log xid. 2961174294Sobrien Convert xid to/from host/network byte order. 2962174294Sobrien 2963174294Sobrien2003-10-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2964174294Sobrien 2965174294Sobrien Use NFS V2/V3 file handles instead of mount results. 2966174294Sobrien 2967174294Sobrien * include/am_utils.h (am_nfs_fhandle): Use NFS V2/V3 file handles 2968174294Sobrien only, not MOUNTPROC_MNT results. 2969174294Sobrien * amd/amfs_host.c (fetch_fhandle): Use local variables to store 2970174294Sobrien MOUNTPROC_MNT results. 2971174294Sobrien * amd/autil.c (amfs_mount): Use new am_nfs_fhandle_t. 2972174294Sobrien * amd/ops_nfs.c (struct fh_cache): New member fh_status. 2973174294Sobrien (got_nfs_fh): Use local variables to store MOUNTPROC_MNT results. 2974174294Sobrien Store MOUNTPROC_MNT errors in fh_status. 2975174294Sobrien (prime_nfs_fhandle_cache): Get fh_error from fh_status. 2976174294Sobrien * hlfsd/hlfsd.c (main): Use new am_nfs_fhandle_t. 2977174294Sobrien * libamu/mount_fs.c (compute_nfs_args): Copy NFS V2/V3 file 2978174294Sobrien handles straight from new am_nfs_fhandle_t. 2979174294Sobrien 2980174294Sobrien2003-10-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2981174294Sobrien 2982174294Sobrien * amd/clock.c (CID_ALLOC): Remove unused argument. 2983174294Sobrien (timeout): Likewise. 2984174294Sobrien 2985174294Sobrien * amd/ops_nfs.c (FHID_ALLOC): Remove unused argument. 2986174294Sobrien (prime_nfs_fhandle_cache): Likewise. 2987174294Sobrien (call_mountd): Use UDPMSGSIZE instead of magic constant. 2988174294Sobrien 2989174294Sobrien * amd/rpc_fwd.c (XID_ALLOC): Remove unused argument. 2990174294Sobrien (fwd_packet): Likewise. 2991174294Sobrien Handle TLOOK error from t_rcvudata(). 2992174294Sobrien 2993174294Sobrien2003-09-30 Ion Badulescu <ionut@moisil.badula.org> 2994174294Sobrien 2995174294Sobrien * NEWS: updated 2996174294Sobrien 2997174294Sobrien * libamu/mount_fs.c (mount_fs): don't try to recreate the mount 2998174294Sobrien point if the mount fails with ENOENT: in the best case we would be 2999174294Sobrien papering over a bug, and in the worst case we could cause a 3000174294Sobrien deadlock (with autofs). If there are races, they need to be 3001174294Sobrien exposed and fixed properly. 3002174294Sobrien 3003174294Sobrien * conf/autofs/autofs_solaris_v1.h, 3004174294Sobrien conf/autofs/autofs_solaris_v2_v3.h, 3005174294Sobrien conf/autofs/autofs_linux.h: (AUTOFS_NFSX_FS_FLAGS): autofs 3006174294Sobrien semantics don't allow us to mount nfsx directly onto an autofs 3007174294Sobrien mountpoint, so disallow it 3008174294Sobrien 3009174294Sobrien * amd/amfs_nfsx.c (amfs_nfsx_match): more restrictive sanity check 3010174294Sobrien to avoid trying to memmove(foo, bar, (unsigned)-1) due to invalid 3011174294Sobrien map entries... 3012174294Sobrien (amfs_nfsx_cont): amfs_retry does most of the cleanup work for us 3013174294Sobrien in the upper layer, so don't do anything else beside wakeup() on 3014174294Sobrien success 3015174294Sobrien (amfs_nfsx_remount): only create the mountpoints as we need them, 3016174294Sobrien avoids creating them on the wrong filesystem in the case of 3017174294Sobrien hierarchical mounts; fix crash-generating typo (m should really be 3018174294Sobrien mf and I swear I hate single-character variable names) 3019174294Sobrien 3020174294Sobrien * amd/amfs_generic.c (amfs_cont): one more dlog 3021174294Sobrien (amfs_bgmount): amazingly enough, even foreground mounts can be 3022174294Sobrien backgrounded (in the case of nfsx), so account for this 3023174294Sobrien possibility and permit retries 3024174294Sobrien 3025174294Sobrien * m4/macros/check_autofs_style.m4 (AMU_AUTOFS_PROT_HEADER): define 3026174294Sobrien and AC_SUBST it as ${top_builddir}/amu_autofs_prot.h 3027174294Sobrien 3028174294Sobrien * amd/Makefile.am ($(amd_OBJECTS) $(EXTRA_amd_OBJECTS)): depend on 3029174294Sobrien @AMU_AUTOFS_PROT_HEADER@ 3030174294Sobrien 3031174294Sobrien2003-09-29 Erez Zadok <ezk@urd.fsl.cs.sunysb.edu> 3032174294Sobrien 3033174294Sobrien * minor new port mipsel-unknown-linux-rhPS2 (Linux on Sony 3034174294Sobrien PlayStation 2) 3035174294Sobrien 3036174294Sobrien * amd/srvr_nfs.c (find_nfs_srvr): don't run code that expects 3037174294Sobrien "char protocols[]" unless MNTTAB_OPT_PROTO is defined. 3038174294Sobrien 3039174294Sobrien2003-09-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 3040174294Sobrien 3041174294Sobrien Consolidate alloca support. 3042174294Sobrien 3043174294Sobrien * amd/amq_svc.c: Move alloca support ... 3044174294Sobrien * include/am_defs.h: ... here. 3045174294Sobrien * amd/conf_parse.y: Remove alloca support. 3046174294Sobrien * fsinfo/fsi_gram.y: Likewise. 3047174294Sobrien 3048174294Sobrien2003-09-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 3049174294Sobrien 3050174294Sobrien Handle Solaris 10. 3051174294Sobrien * m4/macros/check_nfs_prot_headers.m4 3052174294Sobrien (AMU_CHECK_NFS_PROT_HEADERS): Don't use wildcards for 3053174294Sobrien sunos5.[0-3], solaris 2.[0-3], there were no micro releases. 3054174294Sobrien Explicitly match sunos5*, solaris2* for Solaris 8 and beyond. 3055174294Sobrien 3056174294Sobrien * m4/macros/os_cflags.m4 (AMU_OS_CFLAGS): Dont use wildcards for 3057174294Sobrien solaris2.[0-5], sunos5.[0-5], but explicitly handle Solaris 2.5 3058174294Sobrien micro releases to cope with Solaris 2.5.1. 3059174294Sobrien Explicitly match solaris2*, sunos5*. 3060174294Sobrien 3061174294Sobrien2003-09-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 3062174294Sobrien 3063174294Sobrien * amd/amq_svc.c: Provide alloca prerequisites. 3064174294Sobrien 3065174294Sobrien * conf/transp/transp_tli.c (register_autofs_service): Fix typo. 3066174294Sobrien 3067174294Sobrien2003-09-23 Ion Badulescu <ion@opteron.tower-research.com> 3068174294Sobrien 3069174294Sobrien * minor new port: x86_64-unknown-linux-rh2.9.5AS. (Red Hat 3070174294Sobrien Enterprise Linux 3.0 beta running on a 64-bit AMD64 platform) 3071174294Sobrien 3072174294Sobrien2003-09-22 Ion Badulescu <ionut@buggy.badula.org> 3073174294Sobrien 3074174294Sobrien * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): compile fix 3075174294Sobrien 3076174294Sobrien2003-09-19 Ion Badulescu <ionut@moisil.badula.org> 3077174294Sobrien 3078174294Sobrien * amd/amfs_nfsl.c (amfs_nfsl_match): checking opt_fs is not always 3079174294Sobrien enough, we should lstat() the sublink if it's defined. 3080174294Sobrien (amfs_nfsl_ffserver): ditto 3081174294Sobrien (ALL): Removed some obsolete comments. The nfsl code is now little 3082174294Sobrien more than a very straight-forward switch between link and nfs. 3083174294Sobrien 3084174294Sobrien * amd/amfs_link.c (amfs_link_match): more up-to-date explanation 3085174294Sobrien for the prepend-the-dot hack for type link; also, the sublink is 3086174294Sobrien already normalized and absolute, so take advantage of that 3087174294Sobrien 3088174294Sobrien * amd/amfs_generic.c (amfs_lookup_one_mntfs): the sublink is 3089174294Sobrien already normalized and absolute, so take advantage of that 3090174294Sobrien 3091174294Sobrien * amd/am_ops.c (ops_match): normalize the sublink here, early into 3092174294Sobrien the matching process 3093174294Sobrien 3094174294Sobrien * amd/autil.c (am_mounted): be consistent and accept both 3095174294Sobrien "nounmount" and "noumount" as pseudo mount options (same as 3096174294Sobrien "unmount" and "umount" nearby) 3097174294Sobrien 3098174294Sobrien * amd/Makefile.am (build_version.h): fixed dependencies (depends 3099174294Sobrien on amd_OBJECTS, not OBJECTS -- which doesn't even exist) 3100174294Sobrien 3101174294Sobrien2003-09-19 Erez Zadok <ezk@dhcp8.fsl.cs.sunysb.edu> 3102174294Sobrien 3103174294Sobrien * amd/amq_subr.c (amqproc_export_1_svc): force double casting to 3104174294Sobrien avoid gcc-3.3 complaints on Solaris 9 about "dereferencing 3105174294Sobrien type-punned pointer will break strict-aliasing rules". 3106174294Sobrien 3107174294Sobrien2003-09-16 Ion Badulescu <ionut@moisil.badula.org> 3108174294Sobrien 3109174294Sobrien * Released beta version 6.1b4 3110174294Sobrien 3111174294Sobrien2003-09-15 Ion Badulescu <ionut@moisil.badula.org> 3112174294Sobrien 3113174294Sobrien * doc/am-utils.texi (opts Option): removed documentation for old 3114174294Sobrien ignore_portmapper mount option, documented the new webnfs option 3115174294Sobrien 3116174294Sobrien * NEWS: webnfs support 3117174294Sobrien 3118174294Sobrien * amd/srvr_nfs.c (find_nfs_srvr): set MFF_WEBNFS if the "webnfs" 3119174294Sobrien (former "ignore_portmapper") mount option is present 3120174294Sobrien 3121174294Sobrien * amd/ops_nfs.c (prime_nfs_fhandle_cache): generate a public 3122174294Sobrien filehandle (all zeros) if MFF_WEBNFS is set 3123174294Sobrien (nfs_umounted): don't talk to mountd if MFF_WEBNFS is set 3124174294Sobrien 3125174294Sobrien * amd/amd.h (MFF_WEBNFS): new flag, obvious meaning 3126174294Sobrien 3127174294Sobrien2003-09-13 Ion Badulescu <ionut@moisil.badula.org> 3128174294Sobrien 3129174294Sobrien * amd/srvr_nfs.c: renamed np_xid to global_xid; sanitized the 3130174294Sobrien NPXID_ALLOC macro and renamed it to XID_ALLOC; renamed start_ping 3131174294Sobrien to create_ping_payload; renamed nfs_pinged to 3132174294Sobrien nfs_keepalive_callback; renamed nfs_timed_out to 3133174294Sobrien nfs_keepalive_timeout; renamed nfs_srvr_port to get_mountd_port; 3134174294Sobrien made ping_buf and ping_len arrays with one element for each 3135174294Sobrien supported nfs version 3136174294Sobrien 3137174294Sobrien * amd/amd.h: renamed nfs_srvr_port() to get_mountd_port() 3138174294Sobrien 3139174294Sobrien * amd/amfs_host.c (amfs_host_init): ditto 3140174294Sobrien 3141174294Sobrien * amd/ops_nfs.c (call_mountd): ditto 3142174294Sobrien 3143174294Sobrien2003-09-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 3144174294Sobrien 3145174294Sobrien * BUGS: Mention fix for broken Solaris 8 <rpcsvc/autofs_prot.h> 3146174294Sobrien patches. 3147174294Sobrien 3148174294Sobrien2003-08-31 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3149174294Sobrien 3150174294Sobrien * amd/autil.c (strealloc): don't call malloc_verify() unless it 3151174294Sobrien exists. 3152174294Sobrien 3153174294Sobrien * configure.in: move "OPTION PROCESSING" section (opt_debug etc.) 3154174294Sobrien after we figure out PROG_CC and other compiler features, because 3155174294Sobrien some of the option processing macros need a compiler to function. 3156174294Sobrien 3157174294Sobrien * libamu/xutil.c: don't define variables that won't be used unless 3158174294Sobrien mallinfo() and malloc_verify() exist. 3159174294Sobrien (real_plog): don't call checkup_mem unless 3160174294Sobrien mallocinfo() and malloc_verify() exist. 3161174294Sobrien (checkup_mem): don't define this function unless mallocinfo() and 3162174294Sobrien malloc_verify() exist. 3163174294Sobrien 3164174294Sobrien * m4/macros/opt_debug.m4: check for functions malloc_verify and 3165174294Sobrien mallinfo in general libraries and then in libmapmalloc and 3166174294Sobrien libmalloc. These seem to have disappeared in FreeBSD 5.x. 3167174294Sobrien 3168174294Sobrien * libamu/xutil.c (dxfree): print pointer using %p 3169174294Sobrien 3170174294Sobrien2003-08-29 Erez Zadok <ezk@a-opendarwin.fsl.cs.sunysb.edu> 3171174294Sobrien 3172174294Sobrien * configure.in: start 6.1b4-pre officially (belated) 3173174294Sobrien 3174174294Sobrien * minor new port: i686-apple-darwin6.6 3175174294Sobrien 3176174294Sobrien2003-08-27 Ion Badulescu <ionut@moisil.badula.org> 3177174294Sobrien 3178174294Sobrien * conf/autofs/autofs_solaris_v1.c: convert relative targets to 3179174294Sobrien absolute paths when using lofs mounts 3180174294Sobrien 3181174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c: ditto 3182174294Sobrien 3183174294Sobrien * conf/autofs/autofs_linux.c: ditto 3184174294Sobrien 3185119679Smbr2003-08-27 Ion Badulescu <ionut@buggy.badula.org> 3186119679Smbr 3187174294Sobrien * README.autofs: added a paragraph about the resource consumption 3188174294Sobrien of auto maps over autofs 3189119679Smbr 3190174294Sobrien * amd/amfs_generic.c (amfs_lookup_one_mntfs): moved the setting of 3191174294Sobrien the MFF_IS_AUTOFS flag from init_mntfs() to 3192174294Sobrien amfs_lookup_one_mntfs(), where it belongs 3193174294Sobrien 3194174294Sobrien * amd/mntfs.c (init_mntfs): ditto 3195174294Sobrien 3196174294Sobrien2003-08-27 Ion Badulescu <ion@guppy.limebrokerage.com> 3197174294Sobrien 3198174294Sobrien * amd/ops_nfs.c (got_nfs_fh): make the error EACCES if we are 3199174294Sobrien denied a filehandle by the server (used to be EIO) 3200174294Sobrien 3201174294Sobrien2003-08-27 Erez Zadok <ezk@a-bsdi42.fsl.cs.sunysb.edu> 3202174294Sobrien 3203174294Sobrien * conf/nfs_prot/nfs_prot_bsdi3.h: support na_uid and na_gid. 3204174294Sobrien 3205174294Sobrien2003-08-27 Ion Badulescu <ionut@moisil.badula.org> 3206174294Sobrien 3207174294Sobrien * conf/autofs/autofs_linux.c (autofs_mount_succeeded): force 3208174294Sobrien daemon-initiated timeouts on autofs filesystems, since apparently 3209174294Sobrien they appear as "always busy" to the kernel-based expiration routine 3210174294Sobrien 3211174294Sobrien2003-08-26 Ion Badulescu <ionut@buggy.badula.org> 3212174294Sobrien 3213174294Sobrien * NEWS: updated 3214174294Sobrien 3215174294Sobrien * conf/autofs/autofs_linux.h (AUTOFS_LINK_FS_FLAGS): remove 3216174294Sobrien FS_ON_AUTOFS 3217174294Sobrien (AUTOFS_LINKX_FS_FLAGS): ditto 3218174294Sobrien 3219174294Sobrien * conf/autofs/autofs_solaris_v1.h (AUTOFS_LINK_FS_FLAGS): remove 3220174294Sobrien FS_ON_AUTOFS 3221174294Sobrien (AUTOFS_LINKX_FS_FLAGS): ditto 3222174294Sobrien 3223174294Sobrien * conf/autofs/autofs_solaris_v2_v3.h (AUTOFS_LINK_FS_FLAGS): remove 3224174294Sobrien FS_ON_AUTOFS 3225174294Sobrien (AUTOFS_LINKX_FS_FLAGS): ditto 3226174294Sobrien 3227174294Sobrien * amd/amfs_generic.c (amfs_lookup_one_mntfs): don't modify the 3228174294Sobrien original opt_fs, instead store the new mount point for autofs in a 3229174294Sobrien temporary variable and pass it around. Fixes a problem with the 3230174294Sobrien link side of nfsl. 3231174294Sobrien 3232174294Sobrien2003-08-25 Ion Badulescu <ionut@moisil.badula.org> 3233174294Sobrien 3234174294Sobrien * NEWS: updated 3235174294Sobrien 3236174294Sobrien * amd/ops_nfs.c (prime_nfs_fhandle_cache): use get_mntfs_wchan to 3237174294Sobrien initialize the fh_wchan member of the cache entry 3238174294Sobrien (prime_nfs_fhandle_cache): use get_mntfs_wchan for the wchan_t 3239174294Sobrien argument of call_mountd() 3240174294Sobrien 3241174294Sobrien * amd/map.c (free_map_if_success): use get_mntfs_wchan for the 3242174294Sobrien wchan_t argument of wakeup() 3243174294Sobrien 3244174294Sobrien * amd/amfs_nfsx.c (amfs_nfsx_cont): use get_mntfs_wchan for the 3245174294Sobrien wchan_t argument of wakeup_task() and wakeup() 3246174294Sobrien 3247174294Sobrien * amd/amfs_host.c (amfs_host_init): use get_mntfs_wchan for the 3248174294Sobrien wchan_t argument of nfs_srvr_port() 3249174294Sobrien 3250174294Sobrien * amd/amfs_generic.c (ALL): use get_mntfs_wchan for the wchan_t 3251174294Sobrien argument of sched_task() and wakeup() 3252174294Sobrien (amfs_retry): minor cleanup 3253174294Sobrien (amfs_bgmount): call nfs_quick_reply on failure 3254174294Sobrien 3255174294Sobrien * amd/sched.c (get_mntfs_wchan): new function which calls the 3256174294Sobrien member function get_wchan if defined, otherwise returns the mntfs 3257174294Sobrien pointer itself 3258174294Sobrien 3259174294Sobrien * amd/amfs_inherit.c (amfs_inherit_get_wchan): new function, 3260174294Sobrien calls get_mntfs_wchan() on the inherited filesystem 3261174294Sobrien 3262174294Sobrien * amd/amfs_*.c, amd/ops_*.c: initialize the new get_wchan member 3263174294Sobrien of the ops to 0 3264174294Sobrien 3265174294Sobrien * amd/amd.h: new function type vget_wchan 3266174294Sobrien (struct mntfs): new member get_wchan which returns the waiting 3267174294Sobrien channel associated with the mntfs (normally itself) 3268174294Sobrien 3269174294Sobrien2003-08-22 Ion Badulescu <ion@guppy.limebrokerage.com> 3270174294Sobrien 3271174294Sobrien * conf/mount/mount_linux.c (parse_opts): minor cleanup 3272174294Sobrien 3273174294Sobrien * conf/autofs/autofs_linux.c (autofs_handle_fdset): added missing 3274174294Sobrien break in case autofs_ptype_expire_multi 3275174294Sobrien 3276174294Sobrien2003-08-22 Ion Badulescu <ionut@moisil.badula.org> 3277174294Sobrien 3278174294Sobrien * conf/autofs/autofs_solaris_v1.h: undefine autofs support if 3279174294Sobrien autofs_args_t cannot be determined (hopefully fixes a reported 3280174294Sobrien IRIX 6.5.4 problem). 3281174294Sobrien 3282174294Sobrien * conf/autofs/autofs_solaris_v1.c: wrap entire file in #ifdef 3283174294Sobrien HAVE_FS_AUTOFS / #endif (see above) 3284174294Sobrien 3285174294Sobrien * conf/autofs/autofs_linux.h: undefine autofs support if the 3286174294Sobrien necessary header files are not found (fixes a reported RedHat 6.2 3287174294Sobrien Sparc problem). 3288174294Sobrien 3289174294Sobrien * conf/autofs/autofs_linux.c: wrap entire file in #ifdef 3290174294Sobrien HAVE_FS_AUTOFS / #endif (see above) 3291174294Sobrien 3292174294Sobrien * libamu/mount_fs.c (compute_nfs_args): only use MNT2_NFS_OPT_SOFT 3293174294Sobrien if autoconf detected it (fixes a reported RedHat 6.2 Alpha problem). 3294174294Sobrien 3295174294Sobrien * amd/map.c (unmount_mp, unmount_exported): move the code that 3296174294Sobrien changes the fattr from NFLNK to NFDIR from unmount_mp to 3297174294Sobrien unmount_exported, it was causing troubles (ESTALE) after failed 3298174294Sobrien unmounts. This is still very very unclean, but it's the same as the 3299174294Sobrien old 6.0 code. 3300174294Sobrien 3301119679Smbr2003-08-22 Nick Williams <Nick.Williams@morganstanley.com> 3302119679Smbr 3303119679Smbr * amd/info_ldap.c (amu_ldap_init): don't try to pass a null 3304119679Smbr pointer as a string to plog, Solaris (and other OS's) don't like 3305119679Smbr it and will dump core. 3306119679Smbr 3307174294Sobrien2003-08-13 Ion Badulescu <ion@guppy.limebrokerage.com> 3308174294Sobrien 3309174294Sobrien * amd/amd.h: introduced two new types, wchan_t and opaque_t, as 3310174294Sobrien aliases of voidp. This makes reading the code easier on the eyes. :) 3311174294Sobrien 3312174294Sobrien * ALL: replace various instances of voidp with wchan_t and 3313174294Sobrien opaque_t, as appropriate 3314174294Sobrien 3315174294Sobrien2003-08-13 Ion Badulescu <ionut@nicu.badula.org> 3316174294Sobrien 3317174294Sobrien * NEWS, configure.in: bumped version up to 6.1b4-pre 3318174294Sobrien 3319174294Sobrien2003-08-13 Ion Badulescu <ionut@moisil.badula.org> 3320174294Sobrien 3321174294Sobrien * Released beta version 6.1b3 3322174294Sobrien 3323174294Sobrien2003-08-13 Ion Badulescu <ion@guppy.limebrokerage.com> 3324174294Sobrien 3325174294Sobrien * conf/autofs/autofs_linux.c (autofs_mount_fs): HACK: always use 3326174294Sobrien symlinks for host mounts; assorted fixes for the symlink mode 3327174294Sobrien 3328174294Sobrien2003-08-05 Ion Badulescu <ionut@moisil.badula.org> 3329174294Sobrien 3330174294Sobrien * conf/umount/umount_default.c (umount_fs): enable space hack 3331174294Sobrien handling for autofs v1 3332174294Sobrien 3333174294Sobrien * amd/map.c (get_first_exported_ap, get_next_exported_ap): new 3334174294Sobrien functions that facilitate iterating through the list of 3335174294Sobrien mountpoints 3336174294Sobrien 3337174294Sobrien * amd/amfs_union.c (amfs_union_mounted): use get_first_exported_ap 3338174294Sobrien and get_next_exported_ap 3339174294Sobrien 3340174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_unmount_2_req): ditto 3341174294Sobrien 3342174294Sobrien2003-08-04 Erez Zadok <ezk@ulkesh.dyn.optonline.net> 3343174294Sobrien 3344174294Sobrien * configure.in: check if system stores mount tables in files 3345174294Sobrien (usually in /etc), and configure couldn't find a definition for 3346174294Sobrien either struct mntent or struct mnttab. If so, abort configure 3347174294Sobrien because this could be a new/misconfigured system, or a bug in 3348174294Sobrien am-utils. 3349174294Sobrien 3350174294Sobrien2003-08-04 Ion Badulescu <ionut@moisil.badula.org> 3351174294Sobrien 3352174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_umount_fs): fix 3353174294Sobrien compile warning 3354174294Sobrien 3355174294Sobrien2003-08-04 Ion Badulescu <ionut@buggy.badula.org> 3356174294Sobrien 3357174294Sobrien * conf/autofs/autofs_linux.c (autofs_mount_fs): don't call 3358174294Sobrien ops->mount_fs() for an already mounted filesystem 3359174294Sobrien (autofs_umount_fs): only call ops->umount_fs() if we're holding 3360174294Sobrien the last reference to the filesystem 3361174294Sobrien 3362174294Sobrien * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): ditto 3363174294Sobrien (autofs_umount_fs): ditto 3364174294Sobrien 3365174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_mount_fs): ditto 3366174294Sobrien (autofs_umount_fs): ditto 3367174294Sobrien 3368174294Sobrien * amd/amfs_generic.c (amfs_lookup_mntfs): remove the shortcut for 3369174294Sobrien already-mounted filesystems 3370174294Sobrien (amfs_cont): only release the autofs_fh if the filesystem is not 3371174294Sobrien mounted; add another comment about the NFS_SCALEDOWN hack 3372174294Sobrien (amfs_bgmount): if the mntfs is already mounted, skip just the 3373174294Sobrien filesystem initialization, but do call mount_node() 3374174294Sobrien 3375174294Sobrien * amd/map.c (mount_node): always call autofs_mount_fs(), but only 3376174294Sobrien call ops->mount_fs() if the mntfs is not yet mounted 3377174294Sobrien (unmount_node): always call autofs_umount_fs(), but only call 3378174294Sobrien ops->umount_fs() if the refcount on the mntfs equals 1. 3379174294Sobrien 3380174294Sobrien2003-08-02 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3381174294Sobrien 3382174294Sobrien * conf/nfs_prot/nfs_prot_openbsd.h: include <ufs/ufs/ufsmount.h> 3383174294Sobrien here with the proper workarounds for openbsd3.3 (define MAXQUOTAS, 3384174294Sobrien define dummy struct netexport, and include <ufs/ufs/extattr.h> 3385174294Sobrien wrapped in _KERNEL). 3386174294Sobrien 3387174294Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: include <ufs/ufs/ufsmount.h> 3388174294Sobrien here with the proper workarounds for freebsd5.1 (define dummy 3389174294Sobrien struct ufs_extattr_per_mount). 3390174294Sobrien 3391174294Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: include <ufs/ufs/ufsmount.h> 3392174294Sobrien here with the proper workarounds for bsdi2 (define MAXQUOTAS and 3393174294Sobrien dummy struct netexport). 3394174294Sobrien 3395174294Sobrien * include/mount_headers1.h: do not include <ufs/ufs/ufsmount.h> 3396174294Sobrien here, b/c every *BSD system has some sort of problem in including 3397174294Sobrien this header file, which includes ugly workarounds. Inclusion of 3398174294Sobrien this header was already moved out of am_defs.h (used to compile 3399174294Sobrien amd), but we forgot to move it out of mount_headers1.h (used to 3400174294Sobrien configure). The specific inclusion of ufsmount.h is now in the OS 3401174294Sobrien specific nfs_prot.h file. 3402174294Sobrien 3403174294Sobrien * configure.in: if configure could not find any definition for 3404174294Sobrien "struct nfs_args", abort configure with an explanatory message. 3405174294Sobrien There's no point in continuing, as this could be a system bug, 3406174294Sobrien buggy am-utils, or a new system to which am-utils wasn't ported to 3407174294Sobrien yet. 3408174294Sobrien 3409174294Sobrien * minor new port: i386-pc-solaris2.9 3410174294Sobrien 3411174294Sobrien2003-08-01 Ion Badulescu <ionut@buggy.badula.org> 3412174294Sobrien 3413174294Sobrien * doc/am-utils.texi (NFS-Link Filesystem): make the documentation 3414174294Sobrien match the code (as well as basic logic operations: the negation of 3415174294Sobrien 'a or b' is 'not a and not b', not 'not a or not b') 3416174294Sobrien 3417174294Sobrien2003-08-01 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3418174294Sobrien 3419174294Sobrien * minor new port: i386-unknown-openbsd3.3. 3420174294Sobrien 3421174294Sobrien * m4/macros/check_libwrap_severity.m4: new macro to check if 3422174294Sobrien libwrap includes the integer variables deny_severity and 3423174294Sobrien allow_severity, since some libwrap implementations do and others 3424174294Sobrien don't. The test tries to compile and run a simple empty main() 3425174294Sobrien program, then the same program while defining these two variables: 3426174294Sobrien comparing the results of the two tests, we can tell whether we 3427174294Sobrien should define NEED_LIBWRAP_SEVERITY_VARIABLES. 3428174294Sobrien 3429174294Sobrien * Makefile.am (EXTRA_DIST_M4): distribute new macro 3430174294Sobrien check_libwrap_severity.m4. 3431174294Sobrien 3432174294Sobrien * m4/macros/header_templates.m4: template for HAVE_LIBWRAP (which 3433174294Sobrien we must define explicitly since we've overridden the 3434174294Sobrien action-if-found in AC_CHECK_LIB(wrap). Also template for 3435174294Sobrien NEED_LIBWRAP_SEVERITY_VARIABLES. 3436174294Sobrien 3437174294Sobrien * amd/amq_svc.c: if libwrap does not include the severity 3438174294Sobrien variables, then define and initialize them here. 3439174294Sobrien 3440174294Sobrien * amd/Makefile.am (LIBS): explicitly include @WRAPLIB@ only for 3441174294Sobrien Amd binary. Other am-utils binaries don't need -lwrap. 3442174294Sobrien 3443174294Sobrien * configure.in: if libwrap is found, only define it in @WRAPLIB@, 3444174294Sobrien so we don't automatically link every am-utils binary with -lwrap. 3445174294Sobrien Run test for existence of severity variables in libwrap. 3446174294Sobrien 3447174294Sobrien2003-07-31 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3448174294Sobrien 3449174294Sobrien * conf/nfs_prot/nfs_prot_openbsd.h: define struct fattr fields uid 3450174294Sobrien and gid. 3451174294Sobrien 3452174294Sobrien * configure.in: move check for AC_CHECK_LIB(libwrap) as far down 3453174294Sobrien as possible because on modern tcpwrapper systems such as openbsd, 3454174294Sobrien the caller must provide two symbols: deny_severity and 3455174294Sobrien allow_severity, which determine the logging level of rejected and 3456174294Sobrien requested requests, respectively. If this check happens too 3457174294Sobrien early, then $LIBS includes -lwrap, which causes many subsequent 3458174294Sobrien tests that need to run a compiled program to fail with missing 3459174294Sobrien symbols. 3460174294Sobrien 3461174294Sobrien * m4/macros/header_templates.m4: fix typo in template for 3462174294Sobrien readdirplus. 3463174294Sobrien 3464174294Sobrien * configure.in: check for <ufs/ufs/extattr.h> (OpenBSD 3.3) 3465174294Sobrien 3466174294Sobrien * minor new port: i386-unknown-netbsdelf1.6.1. 3467174294Sobrien 3468174294Sobrien * configure.in: save state before system-specific tests are run. 3469174294Sobrien 3470174294Sobrien * m4/macros/check_gnu_getopt.m4: do NOT abort ./configure just 3471174294Sobrien because the compiled test program failed to run. 3472174294Sobrien 3473174294Sobrien2003-08-01 Ion Badulescu <ionut@buggy.badula.org> 3474174294Sobrien 3475174294Sobrien * NEWS, README.autofs: updated 3476174294Sobrien 3477174294Sobrien * libamu/mount_fs.c (mount_fs): added support for the space hack 3478174294Sobrien 3479174294Sobrien * doc/am-utils.texi: mention than UFS/XFS/EFS/CacheFS filesystems 3480174294Sobrien are not expired by default; correct and expand the section 3481174294Sobrien describing the program filesystem 3482174294Sobrien 3483174294Sobrien * conf/autofs/autofs_solaris_v2_v3.h (AUTOFS_*_FS_FLAGS): add 3484174294Sobrien FS_ON_AUTOFS for supported filesystems 3485174294Sobrien 3486174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_mount_fs): call 3487174294Sobrien mf->mount_fs() 3488174294Sobrien (autofs_umount_fs): call mf->umount_fs() 3489174294Sobrien 3490174294Sobrien * conf/autofs/autofs_solaris_v1.h (autofs_strdup_space_hack): add 3491174294Sobrien prototype for malloc() 3492174294Sobrien (AUTOFS_*_FS_FLAGS): lose the FS_MKMNT flags, add FS_ON_AUTOFS for 3493174294Sobrien supported filesystems 3494174294Sobrien 3495174294Sobrien * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): add support 3496174294Sobrien for the space hack; call mf->mount_fs() 3497174294Sobrien (autofs_umount_fs): add support for the space hack; call 3498174294Sobrien mf->umount_fs() 3499174294Sobrien (autofs_mount_succeeded): add support for the space hack 3500174294Sobrien 3501174294Sobrien * conf/autofs/autofs_linux.h: lose the FS_MKMNT flags, add 3502174294Sobrien FS_ON_AUTOFS for supported filesystems 3503174294Sobrien 3504174294Sobrien * conf/autofs/autofs_linux.c (AUTOFS_MAX_VERSION): define to 3505174294Sobrien AUTOFS_MAX_PROTO_VERSION instead of hardcoding to 4 3506174294Sobrien (autofs_mounted): host mounts are now supported on all autofs 3507174294Sobrien versions, remove the hack to turn it off on v3 3508174294Sobrien (autofs_mount_fs): call mf->mount_fs(), create/remove mountpoints 3509174294Sobrien as needed 3510174294Sobrien (autofs_umount_fs): call mf->umount_fs(), remove mountpoints on 3511174294Sobrien success 3512174294Sobrien (ALL): use '#if AUTOFS_MAX_VERSION >= 4' instead of 3513174294Sobrien '#ifdef autofs_ptype_expire_multi' 3514174294Sobrien 3515174294Sobrien * amd/map.c (mount_node): autofs_mount_fs() now calls 3516174294Sobrien mf->mount_fs() internally 3517174294Sobrien (unmount_node): autofs_umount_fs() now calls mf->umount_fs() 3518174294Sobrien internally 3519174294Sobrien 3520174294Sobrien * amd/autil.c (am_mounted): minor cleanup 3521174294Sobrien 3522174294Sobrien * amd/amfs_program.c (amfs_program_ops): added FS_MKMNT to 3523174294Sobrien nfs_fs_flags 3524174294Sobrien 3525174294Sobrien * amd/amfs_generic.c (amfs_lookup_one_mntfs): use the FS_ON_AUTOFS 3526174294Sobrien flag instead of hardcoding filesystem types 3527174294Sobrien (amfs_bgmount): better mount_type logging 3528174294Sobrien 3529174294Sobrien * amd/amd.h (FS_ON_AUTOFS): new flag which tells the code that 3530174294Sobrien this filesystem can be mounted directly onto an autofs mountpoint 3531174294Sobrien 3532174294Sobrien2003-07-31 Ion Badulescu <ionut@buggy.badula.org> 3533174294Sobrien 3534174294Sobrien * amd/amfs_nfsl.c (amfs_nfsl_umount): fix copy&paste error (was 3535174294Sobrien calling amfs_link_ops.umount_fs() for NFS filesystems) 3536174294Sobrien (amfs_nfsl_umounted): remove rmdirs() hack, it is now handled 3537174294Sobrien properly elsewhere 3538174294Sobrien (amfs_nfsl_ffserver): remove FS_MKMNT from mf_fsflags if we're 3539174294Sobrien using link (not NFS) 3540174294Sobrien 3541174294Sobrien2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 3542174294Sobrien 3543174294Sobrien * README.autofs: Correct IRIX spelling. 3544174294Sobrien AutoFS support exists only on IRIX 6. 3545174294Sobrien Update IRIX 6 status. 3546174294Sobrien 3547174294Sobrien Allow AutoFS V1 support to compile on IRIX 6. 3548174294Sobrien * conf/autofs/autofs_solaris_v1.c (autofs_mount_1_req): Add 3549174294Sobrien SVCXPRT * arg. 3550174294Sobrien Remove superfluous \n from dlog messages. 3551174294Sobrien (autofs_unmount_1_req): Likewise. 3552174294Sobrien Switch to get_exported_ap. 3553174294Sobrien (autofs_program_1): Invoke handlers with additional transp arg. 3554174294Sobrien * conf/autofs/autofs_solaris_v1.h: Use autofs_args_t to define 3555174294Sobrien autofs_fh_t, struct auto_args doesn't exist on IRIX 6. 3556174294Sobrien 3557174294Sobrien * conf/mount/mount_irix6.c (mount_irix) [HAVE_FS_AUTOFS]: Support 3558174294Sobrien AutoFS mounts. 3559174294Sobrien [HAVE_FS_LOFS]: Likewise for lofs mounts. 3560174294Sobrien 3561174294Sobrien * conf/nfs_prot/nfs_prot_irix6.h (AUTOFS_CONFTYPE): Define. 3562174294Sobrien Don't disable AutoFS support any more. 3563174294Sobrien 3564174294Sobrien * conf/transp/transp_sockets.c [HAVE_FS_AUTOFS && AUTOFS_PROG] 3565174294Sobrien (register_autofs_service): Define autofs_xprt. 3566174294Sobrien 3567174294Sobrien * m4/macros/check_autofs_style.m4 (AMU_CHECK_AUTOFS_STYLE): Update 3568174294Sobrien Solaris 8+ comment to mention AutoFS V4. 3569174294Sobrien (irix6*): Enable AutoFS V1 support on IRIX 6. 3570174294Sobrien 3571174294Sobrien2003-07-30 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 3572174294Sobrien 3573174294Sobrien * NEWS, doc/am-utils.texi, scripts/amd.conf.5: revised explanation 3574174294Sobrien of autofs_use_lofs. 3575174294Sobrien 3576174294Sobrien2003-07-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 3577174294Sobrien 3578174294Sobrien * amd/ops_efs.c (efs_mount): Replace on_autofs arg with 3579174294Sobrien MFF_ON_AUTOFS flag. 3580174294Sobrien (efs_umount): Likewise. 3581174294Sobrien 3582174294Sobrien2003-07-30 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3583174294Sobrien 3584174294Sobrien * conf/umount/umount_bsd44.c (umount_fs): convert to new way of 3585174294Sobrien unmounting which takes autofs into account. 3586174294Sobrien 3587174294Sobrien2003-07-30 Ion Badulescu <ionut@moisil.badula.org> 3588174294Sobrien 3589174294Sobrien * ALL: renamed MFF_AUTOFS to MFF_IS_AUTOFS; removed mf_real_mount 3590174294Sobrien hack; pass a new on_autofs argument to mount/umount function, 3591174294Sobrien based on the MFF_ON_AUTOFS mntfs flag 3592174294Sobrien 3593174294Sobrien * NEWS, README.autofs: updated 3594174294Sobrien 3595174294Sobrien * scripts/amd.conf.5: document new option autofs_use_lofs 3596174294Sobrien 3597174294Sobrien * scripts/amd.conf-sample (autofs_use_lofs): document new option 3598174294Sobrien 3599174294Sobrien * m4/macros/check_autofs_style.m4 (am_utils_link_files): symlink 3600174294Sobrien the autofs header as amu_autofs_prot.h instead of slurping it into 3601174294Sobrien aux_conf.h 3602174294Sobrien 3603174294Sobrien * libamu/mount_fs.c (mount_fs): removed old stub, renamed 3604174294Sobrien mount_fs2 to mount_fs, added new argument on_autofs 3605174294Sobrien 3606174294Sobrien * doc/am-utils.texi (Direct Automount Filesystem): document 3607174294Sobrien problems with nfs direct mounts on modern kernels, document good 3608174294Sobrien autofs support for direct mounts on Solaris 3609174294Sobrien (autofs_use_lofs Parameter): document this new option 3610174294Sobrien (browsable_dirs Parameter): note that mount storms are avoided 3611174294Sobrien when using autofs 3612174294Sobrien 3613174294Sobrien * conf/umount/umount_bsd44.c (umount_fs): removed old stub, 3614174294Sobrien renamed umount_fs2 to umount_fs 3615174294Sobrien 3616174294Sobrien * conf/umount/umount_osf.c (umount_fs): removed old stub, 3617174294Sobrien renamed umount_fs2 to umount_fs, added new argument on_autofs 3618174294Sobrien 3619174294Sobrien * conf/umount/umount_default.c (umount_fs): ditto as above; return 3620174294Sobrien an error on ENOENT instead of faking success 3621174294Sobrien 3622174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_lookup_2_req): much 3623174294Sobrien simplified, now only consults the map for existance of the key and 3624174294Sobrien returns success if key is found 3625174294Sobrien (autofs_mount_2_req): request symlinks if CFM_AUTOFS_USE_LOFS is 3626174294Sobrien not on; 3627174294Sobrien (autofs_mount_2_free): implemented 3628174294Sobrien (autofs_unmount_2_req): use get_exported_ap() instead of 3629174294Sobrien referencing export_ap directly 3630174294Sobrien (autofs_mount_succeeded): remove code for replying to lookup 3631174294Sobrien requests, now only mount requests can end up here 3632174294Sobrien (autofs_mount_failed): ditto 3633174294Sobrien 3634174294Sobrien * conf/autofs/autofs_solaris_v1.h (AUTOFS_HOST_FS_FLAGS): removed 3635174294Sobrien FS_AUTOFS 3636174294Sobrien (AUTOFS_DIRECT_FS_FLAGS): added FS_DIRECTORY 3637174294Sobrien 3638174294Sobrien * conf/autofs/autofs_solaris_v2_v3.h (AUTOFS_HOST_FS_FLAGS): removed 3639174294Sobrien FS_AUTOFS 3640174294Sobrien (AUTOFS_DIRECT_FS_FLAGS): added FS_DIRECTORY 3641174294Sobrien (AUTOFS_LINK_FS_FLAGS): added FS_MBACKGROUND 3642174294Sobrien 3643174294Sobrien * conf/autofs/autofs_linux.c (autofs_bind_umount): new function, 3644174294Sobrien factored out of autofs_umount_fs() 3645174294Sobrien (autofs_mount_fs): renamed from autofs_link_mount() and expanded 3646174294Sobrien to deal with filesystems mounted indirectly (via lofs/bind 3647174294Sobrien mounts) on autofs and to observe the new CFM_AUTOFS_USE_LOFS flag 3648174294Sobrien (autofs_umount_fs): ditto, from autofs_link_umount() 3649174294Sobrien 3650174294Sobrien * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): ditto 3651174294Sobrien * (autofs_umount_fs): ditto 3652174294Sobrien 3653174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_mount_fs): ditto 3654174294Sobrien * (autofs_umount_fs): ditto 3655174294Sobrien 3656174294Sobrien * amd/opts.c: made fs_static static 3657174294Sobrien 3658174294Sobrien * amd/ops_nfs.c: made nfs_init, nfs_match, nfs_mount, nfs_umount 3659174294Sobrien and nfs_umounted static 3660174294Sobrien (mount_nfs_fh): removed unnecessary arguments 3661174294Sobrien 3662174294Sobrien * amd/ops_cachefs.c (cachefs_ops): use amfs_generic_find_srvr for 3663174294Sobrien the ffserver method, because using NULL causes problems 3664174294Sobrien 3665174294Sobrien * amd/ops_cdfs.c (cdfs_ops): ditto 3666174294Sobrien 3667174294Sobrien * amd/ops_efs.c (efs_ops): ditto 3668174294Sobrien 3669174294Sobrien * amd/ops_lofs.c (lofs_ops): ditto 3670174294Sobrien 3671174294Sobrien * amd/ops_pcfs.c (pcfs_ops): ditto 3672174294Sobrien 3673174294Sobrien * amd/ops_ufs.c (ufs_ops): ditto 3674174294Sobrien 3675174294Sobrien * amd/ops_xfs.c (xfs_ops): ditto 3676174294Sobrien 3677174294Sobrien * amd/nfs_subr.c (fh_to_mp3, fh_to_mp, mp_to_fh): moved here from 3678174294Sobrien map.c 3679174294Sobrien 3680174294Sobrien * amd/nfs_start.c: use get_exported_ap() instead of referencing 3681174294Sobrien exported_ap directly 3682174294Sobrien 3683174294Sobrien * amd/mntfs.c (locate_mntfs): new function, factored out of 3684174294Sobrien find_mntfs 3685174294Sobrien (locate_mntfs): special-case FS_DIRECT filesystems: for direct 3686174294Sobrien mounts we will have two filesystems mounted on the same m/p 3687174294Sobrien (realloc_mntfs): removed the old EZK hack for failovers 3688174294Sobrien 3689174294Sobrien * amd/map.c (get_exported_ap): new function that returns an 3690174294Sobrien exported_ap member by its index 3691174294Sobrien (root_node,exported_ap,exported_ap_size,first_free_map,last_used_map): 3692174294Sobrien made static 3693174294Sobrien (fh_to_mp3, fh_to_mp, mp_to_fh): moved to nfs_subr.c 3694174294Sobrien (get_root_ap): removed unused second argument 3695174294Sobrien (unmount_mp): moved the mk_fattr(NFDIR) here from umount_exported 3696174294Sobrien to catch more cases 3697174294Sobrien (mount_node): call autofs_mount_fs after ops->mount_fs for autofs 3698174294Sobrien nodes 3699174294Sobrien (unmount_node): call autofs_umount_fs before ops->umount_fs for 3700174294Sobrien autofs nodes 3701174294Sobrien 3702174294Sobrien * amd/conf.c: new global option "autofs_use_lofs", takes yes/no 3703174294Sobrien values 3704174294Sobrien 3705174294Sobrien * amd/autil.c (amfs_mount): take an extra argument (mf) 3706174294Sobrien (amfs_mount): call autofs_compute_mount_flags() for mounts 3707174294Sobrien directly on autofs m/p 3708174294Sobrien (am_unmounted): document and avoid the race between am_umounted() 3709174294Sobrien at shutdown time and amfs_cont() 3710174294Sobrien 3711174294Sobrien * amd/amfs_union.c (amfs_union_mounted): use get_exported_ap() 3712174294Sobrien instead of referencing internal map variables directly 3713174294Sobrien 3714174294Sobrien * amd/amq_subr.c (amqproc_export_1_svc): ditto 3715174294Sobrien 3716174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_ops): removed FS_AUTOFS from 3717174294Sobrien nfs_fs_flags 3718174294Sobrien (amfs_toplvl_mount): pass extra argument (mf) to amfs_mount() 3719174294Sobrien (amfs_toplvl_umount): refuse to attempt the unmount if the 3720174294Sobrien mountpoint is not a directory 3721174294Sobrien 3722174294Sobrien * amd/amfs_nfsx.c (amfs_nfsx_init): propagate the MFF_ON_AUTOFS 3723174294Sobrien flag into the nfs f/s at the bottom of the stack 3724174294Sobrien 3725174294Sobrien * amd/amfs_nfsl.c: call nfs and link member functions through 3726174294Sobrien their respective am_ops structures, not directly 3727174294Sobrien 3728174294Sobrien * amd/amfs_linkx.c (amfs_linkx_umount): new static stub 3729174294Sobrien 3730174294Sobrien * amd/amfs_link.c: made amfs_link_mount() and amfs_link_umount() 3731174294Sobrien static functions 3732174294Sobrien (amfs_link_mount): removed call to autofs_link_mount() 3733174294Sobrien (amfs_link_umount): removed call to autofs_link_umount() 3734174294Sobrien 3735174294Sobrien * amd/amfs_host.c (amfs_host_ops): removed FS_AUTOFS from 3736174294Sobrien nfs_fs_flags 3737174294Sobrien (do_mount): removed superfluous function arguments 3738174294Sobrien 3739174294Sobrien * amd/amfs_direct.c (amfs_direct_ops): removed FS_AUTOFS from 3740174294Sobrien nfs_fs_flags 3741174294Sobrien 3742174294Sobrien * amd/amfs_auto.c (amfs_auto_ops): removed FS_AUTOFS from 3743174294Sobrien nfs_fs_flags 3744174294Sobrien (amfs_auto_mount): pass extra argument (mf) to amfs_mount 3745174294Sobrien 3746174294Sobrien * amd/amd.h (CFM_AUTOFS_USE_LOFS): new flag, tells amd whether to 3747174294Sobrien use lofs-mounts or symlinks when mounting on autofs 3748174294Sobrien (CFM_DEFAULT_FLAGS): added CFM_AUTOFS_USE_LOFS 3749174294Sobrien (VLOOK_LOOKUP): new flag, will merely check if a key exists 3750174294Sobrien (MFF_IS_AUTOFS): renamed from MFF_AUTOFS 3751174294Sobrien (MFF_ON_AUTOFS): new flag, tells amd if a f/s is mounted directly 3752174294Sobrien on an autofs m/p, or indirectly via a lofs mount/symlink 3753174294Sobrien (fh_to_mp2): macro expanded throughout the code and removed 3754174294Sobrien (mntfs): removed mf_real_mount hack 3755174294Sobrien (autofs_mount_fs): renamed from autofs_link_mount 3756174294Sobrien (autofs_umount_fs): renamed from autofs_link_umount 3757174294Sobrien (mount_lofs): exposed 3758174294Sobrien various other cleanups, functions/variables made static and removed 3759174294Sobrien 3760174294Sobrien * aux_conf.h.in: removed @am_utils_autofs_style@, it is now 3761174294Sobrien included directly as amu_autofs_prot.h 3762174294Sobrien 3763174294Sobrien2003-07-24 Erez Zadok <ezk@whitestar.dyn.optonline.net> 3764174294Sobrien 3765174294Sobrien * doc/am-utils.texi, scripts/amd.conf.5: document that 3766174294Sobrien use_tcpwrappers is "yes" by default. 3767174294Sobrien 3768174294Sobrien * amd/amd.c (init_global_options): set default global options. 3769174294Sobrien 3770174294Sobrien * amd/amd.h (CFM_DEFAULT_FLAGS): define default options which 3771174294Sobrien are always on (plock and use_tcpwrappers). 3772174294Sobrien 3773174294Sobrien * scripts/amd.conf-sample: reorganize values per option so default 3774174294Sobrien one is listed first. 3775174294Sobrien 3776174294Sobrien2003-07-23 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3777174294Sobrien 3778174294Sobrien * tasks: trim old stuff. Discuss new parser. 3779174294Sobrien 3780174294Sobrien * amd/conf.c (set_conf_kv): initialize the very first map in conf 3781174294Sobrien file from global defaults. Bug fix which was introduced after 3782174294Sobrien conf.c code restructuring. 3783174294Sobrien 3784174294Sobrien2003-07-18 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3785174294Sobrien 3786174294Sobrien * m4/macros/header_templates.m4: template for 3787174294Sobrien HAVE_EXTERN_HOSTS_CTL. 3788174294Sobrien 3789174294Sobrien * include/am_defs.h: define extern for hosts_ctl() if needed. 3790174294Sobrien 3791174294Sobrien * configure.in (AMU_CHECK_EXTERNS): check for extern definition 3792174294Sobrien for libwrap's hosts_ctl() (FreeBSD 5.0 doesn't have it). 3793174294Sobrien 3794174294Sobrien * m4/macros/check_extern.m4: include tcpd.h if it and libwrap exist. 3795174294Sobrien 3796174294Sobrien2003-07-18 Erez Zadok <ezk@cs.sunysb.edu> 3797174294Sobrien 3798174294Sobrien * hlfsd/hlfsd.h: redundant extern for mboxfile removed. 3799174294Sobrien 3800174294Sobrien * amd/amq_svc.c (amq_program_1): only check for tcpwrappers if 3801174294Sobrien amd.conf global option use_tcpwrappers=yes. 3802174294Sobrien 3803174294Sobrien * scripts/amd.conf.5, scripts/amd.conf-sample (use_tcpwrappers), 3804174294Sobrien doc/am-utils.texi (use_tcpwrappers Parameter): document new 3805174294Sobrien amd.conf global option. 3806174294Sobrien 3807174294Sobrien * amd/conf.c (gopt_use_tcpwrappers): define a new amd.conf global 3808174294Sobrien option called use_tcpwrappers ("no" by default). 3809174294Sobrien 3810174294Sobrien * amd/amq_svc.c (amqsvc_is_client_allowed): include tcpd/libwrap 3811174294Sobrien code only if both libwrap and tcpd.h exist. 3812174294Sobrien (amq_program_1): log warning when an Amq service client is denied, 3813174294Sobrien and a debug message when a client is allowed. 3814174294Sobrien 3815174294Sobrien * amd/amd.h (CFM_USE_TCPWRAPPERS): define [global] amd.conf flag. 3816174294Sobrien (AMD_SERVICE_NAME): define AMD_SERVICE_NAME for tcpd/libwrap. 3817174294Sobrien 3818174294Sobrien * include/am_defs.h: include tcpd.h if available and libwrap 3819174294Sobrien available. 3820174294Sobrien 3821174294Sobrien * configure.in: check for tcpd.h. 3822174294Sobrien 3823174294Sobrien2003-07-18 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3824174294Sobrien 3825174294Sobrien * scripts/expn.1, amd/amd.8 amq/amq.8, fixmount/fixmount.8, 3826174294Sobrien hlfsd/hlfsd.8, scripts/expn.1: remove ".PD 0" nroff command 3827174294Sobrien because it removes useful spaces in between paragraphs. Based on 3828174294Sobrien smaller patch from Philippe Troin <phil@fifi.org>. 3829174294Sobrien 3830174294Sobrien2003-07-17 Philippe Troin <phil@fifi.org> 3831174294Sobrien 3832174294Sobrien * amq/amq.8: Document the libwrap/amd behavior. 3833174294Sobrien 3834174294Sobrien * amd/amq_svc.c (libwrap_check_client): New function to validate 3835174294Sobrien an amq connection with libwrap. 3836174294Sobrien (amq_program_1): Call libwrap_check_client() and close the 3837174294Sobrien connection if libwrap does not allow it. 3838174294Sobrien 3839174294Sobrien * configure.in: Check for the tcp wrappers library. 3840174294Sobrien 3841119679Smbr2003-07-17 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3842119679Smbr 3843174294Sobrien * amd/amq_subr.c (amqproc_mnttree_1_svc, amqproc_stats_1_svc, 3844174294Sobrien amqproc_getmntfs_1_svc, xdr_amq_mount_tree), hlfsd/hlfsd.c 3845174294Sobrien (hlfsd_init): cast pointers to void* before casting them to 3846174294Sobrien another type, to avoid gcc-3.3 -Wall warnings. 3847174294Sobrien 3848119679Smbr * fsinfo/*.[hc]: rename fsinfo function log() to fsi_log(), to 3849119679Smbr avoid conflict with builtin function in gcc-3.3. 3850119679Smbr 3851174294Sobrien2003-07-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 3852119679Smbr 3853174294Sobrien * scripts/amd.conf-sample: Remove obsolete comment. 3854119679Smbr 3855174294Sobrien2003-07-16 Erez Zadok <ezk@cs.sunysb.edu> 3856174294Sobrien 3857174294Sobrien * amd/info_file.c (read_line): check for errors from fgets(). 3858174294Sobrien Although rare, they can occur upon disk or network failures. 3859174294Sobrien Patch from Nick Williams <Nick.Williams@morganstanley.com>. 3860174294Sobrien 3861174294Sobrien2003-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 3862174294Sobrien 3863174294Sobrien * BUGS (Solaris 8): Update patch revisions, mention old autofs 3864174294Sobrien patches, fix filenames and rpcgen command. 3865174294Sobrien 3866174294Sobrien2003-07-15 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 3867174294Sobrien 3868174294Sobrien * doc/am-utils.texi (map_defaults Parameter): document new 3869174294Sobrien map_defaults option. 3870174294Sobrien 3871174294Sobrien * scripts/amd.conf.5: document new map_defaults option. 3872174294Sobrien 3873174294Sobrien * scripts/amd.conf-sample (map_type): show examples of new 3874174294Sobrien map_defaults option. 3875174294Sobrien 3876174294Sobrien * amd/mapc.c (mapc_create): initialize mnt_map->cfm field to NULL. 3877174294Sobrien 3878174294Sobrien * amd/get_args.c (get_args): call process_all_regular_maps(). 3879174294Sobrien 3880174294Sobrien * amd/conf.c: keep head and tail of cfm list. 3881174294Sobrien (init_cf_map): reworked reset_cf_map. This one doesn't reset a 3882174294Sobrien globaly reused cfm, but rather just inherits [global] options. 3883174294Sobrien (set_conf_kv): just store global/map options without actually 3884174294Sobrien creating any mnt_map's. Essentially, we now parse the whole 3885174294Sobrien amd.conf file, and then try to process the maps one at a time. 3886174294Sobrien (process_one_regular_map): new function to process one map, just 3887174294Sobrien renamed from process_regular_map. 3888174294Sobrien (process_all_regular_maps): new exported function to process all 3889174294Sobrien maps. No need for hacky process_last_map(). 3890174294Sobrien (find_cf_map): new exported function to return a cf_map_t given a 3891174294Sobrien map's mount point (e.g., /home or /net). 3892174294Sobrien 3893174294Sobrien * amd/amfs_generic.c (amfs_parse_defaults): find if amd.conf 3894174294Sobrien specificed a map_defaults for a given map. If so, use that 3895174294Sobrien instead of the /defaults that came from the map itself. Also 3896174294Sobrien restructure code a bit so it's not one huge long "if" statement. 3897174294Sobrien 3898174294Sobrien HACK ALERT: there's no easy way to find out what the map mount 3899174294Sobrien point is at this point, so I am forced to initialize the 3900174294Sobrien mnt_map->cfm field here for the first time, upon the very first 3901174294Sobrien search for a /defaults entry in this map. This initialization is 3902174294Sobrien much better done in mapc_create(), but it's impossible to do that 3903174294Sobrien there with the current code structure. 3904174294Sobrien 3905174294Sobrien * amd/amd.h: struct cf_map becomes linked list. struct mnt_map 3906174294Sobrien includes pointer to cf_map_t, amd.conf defaults and options for a 3907174294Sobrien given map. extern cleanups. 3908174294Sobrien 3909174294Sobrien2003-07-15 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3910174294Sobrien 3911174294Sobrien * amd/info_hesiod.c (hesiod_search): It's not possible to have a 3912174294Sobrien key such as ".access" in a hesiod map as that would imply a null 3913174294Sobrien node in the DNS tree. So a lookup for such a key must clearly 3914174294Sobrien fail. With the current info_hesiod.c it does (after calling 3915174294Sobrien hes{,iod}_resolve) but returns an error that confuses some 3916174294Sobrien programs - eg. apache. This patch shortcuts the process and just 3917174294Sobrien returns ENOENT for any key starting with ".". Patch submitted by 3918174294Sobrien by Mark Davies <mark@mcs.vuw.ac.nz>. 3919174294Sobrien 3920174294Sobrien * include/am_utils.h (CALLOC): redefine macro to use xzalloc, not 3921174294Sobrien fsinfo's own xcalloc. 3922174294Sobrien 3923174294Sobrien * fsinfo/fsi_util.c (xcalloc): remove redundant function. 3924174294Sobrien 3925174294Sobrien2003-07-14 Erez Zadok <ezk@cs.sunysb.edu> 3926174294Sobrien 3927174294Sobrien * include/am_compat.h (MNTTAB_OPT_XLATECOOKIE): The NetBSD 3928174294Sobrien xlatecookie NFS option doesn't work as MNTTAB_OPT_XLATECOOKIE is 3929174294Sobrien never defined. Define it as needed. Patch from Mark Davies 3930174294Sobrien <mark@mcs.vuw.ac.nz>. 3931174294Sobrien 3932174294Sobrien2003-07-14 Ion Badulescu <lionut@gonzales.badula.org> 3933174294Sobrien 3934174294Sobrien * BUGS (Note): document the Solaris 8 bug (the upgrade to autofs 3935174294Sobrien v4 without updating all the header files) 3936174294Sobrien 3937174294Sobrien2003-07-13 Ion Badulescu <lionut@gonzales.badula.org> 3938174294Sobrien 3939174294Sobrien * NEWS, tasks: updated 3940174294Sobrien 3941174294Sobrien * amd/amfs_generic.c (free_continuation): free _all_ mntfs's in 3942174294Sobrien the am_mfarray, unconditionally 3943174294Sobrien (amfs_bgmount): call free_mntfs when we're done with a mntfs, call 3944174294Sobrien dup_mntfs when starting processing of a new one; make sure we 3945174294Sobrien always go through 'goto failed' for a failed mntfs; use the error 3946174294Sobrien code returned by autofs_get_fh() 3947174294Sobrien 3948174294Sobrien * conf/autofs/autofs_linux.c (autofs_get_fh): return proper error 3949174294Sobrien codes in case of problems 3950174294Sobrien 3951174294Sobrien2003-07-13 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 3952174294Sobrien 3953174294Sobrien * BUGS: Document buggy behavior of Solaris /usr/ccs/bin/lex. In 3954174294Sobrien short, use flex. 3955174294Sobrien 3956174294Sobrien2003-07-13 Erez Zadok <ezk@a-hpux11.fsl.cs.sunysb.edu> 3957174294Sobrien 3958174294Sobrien * fsinfo/fsi_lex.l, amd/conf_tok.l: allocate more output slots so 3959174294Sobrien lex scanners don't run out of mem. 3960174294Sobrien 3961174294Sobrien2003-07-13 Ion Badulescu <lionut@gonzales.badula.org> 3962174294Sobrien 3963174294Sobrien * amd/amfs_generic.c (amfs_lookup_mntfs): ditto as below for the 3964174294Sobrien special provision 3965174294Sobrien 3966174294Sobrien * amd/mntfs.c (find_mntfs): compare the filesystem type 3967174294Sobrien (i.e. mf_ops) in addition to mf_info; the special provision 3968174294Sobrien mentioned below is really for any filesystem already mounted on 3969174294Sobrien our mount point, not just for inherited filesystems 3970174294Sobrien 3971174294Sobrien2003-07-13 Erez Zadok <ezk@whitestar.dyn.optonline.net> 3972174294Sobrien 3973174294Sobrien * doc/Makefile.am (install-html): build per-chapter HTML manual, 3974174294Sobrien as well as manual in one big HTML file. 3975174294Sobrien 3976174294Sobrien * doc/am-utils.texi: Minor corrections. Ack Ion's autofs work. 3977174294Sobrien Ack maintainers. New section on How to get additionl info, 3978174294Sobrien including the Amd book. Correct stale URLs and Emails. 3979174294Sobrien 3980174294Sobrien * amd/amd.8, amq/amq.8, amq/pawd.1, fixmount/fixmount.8, 3981174294Sobrien fsinfo/fsinfo.8, hlfsd/hlfsd.8, mk-amd-map/mk-amd-map.8, 3982174294Sobrien scripts/amd.conf.5, scripts/automount2amd.8, 3983174294Sobrien wire-test/wire-test.8: include references to info pages, proper 3984174294Sobrien authors, am-utils Web page, and amd book. 3985174294Sobrien 3986174294Sobrien2003-07-13 Ion Badulescu <lionut@gonzales.badula.org> 3987174294Sobrien 3988174294Sobrien * amd/mntfs.c (find_mntfs): re-add the check for mf_info, but with 3989174294Sobrien a special provision for inherited filesystems. This unbreaks the 3990174294Sobrien handling of parallel mounts 3991174294Sobrien 3992174294Sobrien * amd/amfs_generic.c (amfs_lookup_mntfs): for restarted 3993174294Sobrien filesystems, there can be no alternative mntfs to try to mount 3994174294Sobrien 3995174294Sobrien2003-07-13 Erez Zadok <ezk@cs.sunysb.edu> 3996174294Sobrien 3997174294Sobrien * amd/amd.8: reference am-utils info page in amd man page, as per 3998174294Sobrien Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>. 3999174294Sobrien 4000174294Sobrien * fsinfo/fsinfo.h, fsinfo/fsinfo.c (fsi_get_args): don't use 4001174294Sobrien yywrap() if it doesn't exist. 4002174294Sobrien 4003174294Sobrien * amd/conf_parse.y, amd/conf_tok.l, fsinfo/fsi_gram.y, 4004174294Sobrien fsinfo/fsi_lex.l: fixes to support old flex 2.5.4, as well as the 4005174294Sobrien newer flex 2.5.31 (beta development). These include resolving 4006174294Sobrien conflicts with yylineno, unput() vs. nounput(), etc. 4007174294Sobrien 4008174294Sobrien2003-07-13 Ion Badulescu <lionut@gonzales.badula.org> 4009174294Sobrien 4010174294Sobrien * amd/amfs_generic.c (amfs_cont): check for (am_error > 0) before 4011174294Sobrien calling assign_error_mntfs() 4012174294Sobrien (amfs_generic_mount_child): ditto 4013174294Sobrien 4014174294Sobrien * amd/autil.c (assign_error_mntfs): move the check for 4015174294Sobrien (am_error > 0) up into the caller, it's less confusing that way 4016174294Sobrien 4017174294Sobrien * tasks: some updates 4018174294Sobrien 4019174294Sobrien * conf/transp/transp_tli.c (check_pmap_up): new function which 4020174294Sobrien detects if the remote portmapper is functional 4021174294Sobrien (amu_clnt_create_best_version): removed 4022174294Sobrien (get_nfs_version): use a much simplified version of the old 4023174294Sobrien amu_clnt_create_best_version(), based on clnt_create_vers() and 4024174294Sobrien its _timed() counterpart 4025174294Sobrien 4026174294Sobrien * conf/transp/transp_sockets.c (check_pmap_up): new function which 4027174294Sobrien detects if the remote portmapper is functional 4028174294Sobrien (pmap_ping): deleted 4029174294Sobrien (get_nfs_version): removed calls to pmap_ping, already done by 4030174294Sobrien caller 4031174294Sobrien 4032174294Sobrien * amd/srvr_nfs.c: call check_pmap_up() before continuing with 4033174294Sobrien get_nfs_version() 4034174294Sobrien 4035174294Sobrien * amd/amfs_generic.c: updated a couple of log messages 4036174294Sobrien 4037174294Sobrien * configure.in: detect clnt_create_vers and clnt_create_vers_timed; 4038174294Sobrien changed LIBTOOL versioning to 3:0:0 4039174294Sobrien 4040174294Sobrien2003-07-12 Ion Badulescu <lionut@gonzales.badula.org> 4041174294Sobrien 4042174294Sobrien * conf/autofs/autofs_linux.h (AUTOFS_HOST_FS_FLAGS): removed 4043174294Sobrien FS_AUTOFS because the host mount cannot be a top level mount 4044174294Sobrien (AUTOFS_DIRECT_FS_FLAGS): removed FS_AUTOFS because Linux autofs 4045174294Sobrien doesn't support direct mounts 4046174294Sobrien 4047174294Sobrien2003-07-12 Erez Zadok <ezk@whitestar.dyn.optonline.net> 4048174294Sobrien 4049174294Sobrien * amd/conf_parse.y, amd/conf_tok.l: pretty comments on # cpp 4050174294Sobrien macros. 4051174294Sobrien 4052174294Sobrien2003-07-10 Ion Badulescu <ionut@buggy.badula.org> 4053174294Sobrien 4054174294Sobrien * include/am_utils.h (dlog): improved version for gcc, using 4055174294Sobrien vararg macros 4056174294Sobrien 4057174294Sobrien * amd/rpc_fwd.c (fwd_packet): unused variable when compiling 4058174294Sobrien without debugging 4059174294Sobrien 4060174294Sobrien2003-07-10 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 4061174294Sobrien 4062174294Sobrien * include/am_utils.h (dlog): change the #define of non-debugging 4063174294Sobrien dlog to "nothing" so that all that'll be left behind is a list of 4064174294Sobrien args in parenthesis (arg,arg,...). GCC and other native C 4065174294Sobrien compilers seem OK with it, even if it doesn't optimize away the 4066174294Sobrien whole debugging line. 4067174294Sobrien 4068174294Sobrien * ltmain.sh: was from libtool 1.4.2. updated to libtool 1.4.3, 4069174294Sobrien the latest on RH9 systems (but is not the latest libtool 4070174294Sobrien available). Stay with stable version in preparation for 6.1 4071174294Sobrien release. 4072174294Sobrien 4073174294Sobrien * config.{guess,sub}, doc/texinfo.tex: update to latest off of 4074174294Sobrien ftp.gnu.org. 4075174294Sobrien 4076174294Sobrien2003-07-09 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 4077174294Sobrien 4078174294Sobrien * amd/amfs_inherit.c (amfs_inherit_inherit): don't use // C++ 4079174294Sobrien style comments: breaks non-C++ compilers (like AIX xlC 6) 4080174294Sobrien 4081174294Sobrien2003-07-02 Ion Badulescu <ionut@buggy.badula.org> 4082174294Sobrien 4083174294Sobrien * doc/am-utils.texi (opts Option): document ignore_portmapper option 4084174294Sobrien 4085174294Sobrien * conf/transp/transp_sockets.c (get_nfs_version): better 4086174294Sobrien protocol/version cycling while probing remote server; better log 4087174294Sobrien messages 4088174294Sobrien 4089174294Sobrien * amd/srvr_nfs.c (start_ping): improved log message 4090174294Sobrien (find_nfs_srvr): always use requested nfs_version/nfs_proto; make 4091174294Sobrien sure we have a valid NFS port; start the server as "valid, down" if 4092174294Sobrien the remote portmapper tells us the NFS service is not running; 4093174294Sobrien implement the "ignore_portmapper" pseudo-mount option 4094174294Sobrien 4095174294Sobrien * amd/rpc_fwd.c (fwd_packet): better debug messages 4096174294Sobrien 4097174294Sobrien * amd/ops_nfs.c (got_nfs_fh): log a messages if a root fh is 4098174294Sobrien denied; call wakeup even if mountd call fails 4099174294Sobrien 4100174294Sobrien * amd/amq_subr.c (xdr_amq_mount_info_qelem): use FSRV_ISUP/ISDOWN 4101174294Sobrien instead of checking the flags directly 4102174294Sobrien * amd/srvr_amfs_auto.c (free_srvr): ditto 4103174294Sobrien 4104174294Sobrien * amd/amfs_generic.c (amfs_bgmount): refined some error/debug 4105174294Sobrien messages 4106174294Sobrien 4107174294Sobrien * amd/amd.h (FSRV_ERROR): new macro 4108174294Sobrien (FSRV_ISDOWN, FSRV_ISUP): a server that doesn't exist (i.e. it's a 4109174294Sobrien local filesystem) is always up 4110174294Sobrien 4111174294Sobrien2003-06-30 Erez Zadok <ezk@cs.sunysb.edu> 4112174294Sobrien 4113174294Sobrien * amd/autil.c (am_mounted): set AMF_NOTIMEOUT if either unmount or 4114174294Sobrien umount options are present. 4115174294Sobrien 4116174294Sobrien * doc/am-utils.texi (Program Filesystem): document alias options 4117174294Sobrien to unmount:=, umount:=. 4118174294Sobrien 4119174294Sobrien * amd/opts.c (expansions): initialize opt_umount. 4120174294Sobrien (to_free): initialize opt_umount. 4121174294Sobrien 4122174294Sobrien * amd/amfs_program.c (amfs_program_match): ensure that only one of 4123174294Sobrien umount:= or unmount:= options are specified, but that at least one 4124174294Sobrien of them is listed. 4125174294Sobrien 4126174294Sobrien * amd/amd.h: support unmount:=XXX as well as umount:=XXX (too 4127174294Sobrien annoying in type:program, when one forgets the 'n' in "unmount"). 4128174294Sobrien They are two separate fields, so we can catch mistakes when 4129174294Sobrien someone tries to define both options. 4130174294Sobrien 4131174294Sobrien * doc/am-utils.texi (Program Filesystem): explain that both mount 4132174294Sobrien and unmount options must be specified. Correct example to show 4133174294Sobrien both. 4134174294Sobrien 4135174294Sobrien2003-06-25 Erez Zadok <ezk@cs.sunysb.edu> 4136174294Sobrien 4137174294Sobrien * XXX: beginning of new amd.conf option map_defaults: will parse 4138174294Sobrien the option and set remember it in the right places. Need to 4139174294Sobrien document this and actually hook it up with the rest of the code. 4140174294Sobrien Any volunteers? :-) 4141174294Sobrien 4142174294Sobrien * scripts/amd.conf-sample (map_defaults): example of map_defaults 4143174294Sobrien amd.conf option. 4144174294Sobrien 4145174294Sobrien * amd/conf.c (reset_cf_map): initialize global and per-mount 4146174294Sobrien map_defaults. 4147174294Sobrien (gopt_map_defaults): parse global map_defaults. 4148174294Sobrien (process_regular_option,ropt_map_defaults): parse per-map 4149174294Sobrien map_defaults amd.conf option. 4150174294Sobrien 4151174294Sobrien * amd/amd.h: a place to store global and per-mount map_defaults. 4152174294Sobrien 4153174294Sobrien * BUGS: more notes about AIX 5.2 problems and how to overcome 4154174294Sobrien them. 4155174294Sobrien 4156174294Sobrien2003-06-10 Erez Zadok <ezk@cs.sunysb.edu> 4157174294Sobrien 4158174294Sobrien * doc/Makefile.am: force version.texi to be rebuilt regardless of 4159174294Sobrien maintainer mode. Silly Automake will not build version.texi if 4160174294Sobrien maintainer mode is off (this is hardcoded into the automake perl 4161174294Sobrien script!). According to the Automake maintainers, users should 4162174294Sobrien always build in CVS trees with maintainer-mode on; but what if I 4163174294Sobrien don't want to?! I don't want to distribute Makefiles with 4164174294Sobrien maintained rules in them to users. The Automake maintainers also 4165174294Sobrien say that "make dist" will rebuild version.texi no matter what. I 4166174294Sobrien find that not to be the case. It failed to run a "make" before 4167174294Sobrien "make dist" because version.texi doesn't exist! Chicken and Egg 4168174294Sobrien situation. So, until Automake deals with version.texi in a more 4169174294Sobrien flexible and friendly manner, I adapted a rule to build 4170174294Sobrien version.texi and inserted it in this Makefile.am. 4171174294Sobrien 4172119679Smbr2003-06-09 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4173119679Smbr 4174119679Smbr * mk-amd-map/mk-amd-map.c (main): open temp db file using O_EXCL, 4175119679Smbr next best thing to using mkstemp(). Patch from Hendrik Scholz 4176119679Smbr <hscholz@raisdorf.net>. 4177119679Smbr 4178119679Smbr2003-05-08 Ion Badulescu <ion@guppy.limebrokerage.com> 4179119679Smbr 4180119679Smbr * libamu/mount_fs.c (compute_automounter_mount_flags): use 4181174294Sobrien MNT2_GEN_OPT_AUTOMNTFS if available; minor cleanup 4182119679Smbr 4183119679Smbr * m4/macros/header_templates.m4: added template for 4184119679Smbr MNT2_GEN_OPT_AUTOMOUNTED 4185119679Smbr 4186174294Sobrien2003-05-01 Ion Badulescu <ionut@nicu.badula.org> 4187174294Sobrien 4188174294Sobrien * amd/ops_xfs.c (mount_xfs): compile fix (s/genflags/flags/) 4189174294Sobrien 4190119679Smbr2003-04-23 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4191119679Smbr 4192119679Smbr * conf/transp/transp_sockets.c (create_amq_service): minor cpp 4193119679Smbr directive indentation and commenting. 4194119679Smbr 4195119679Smbr2003-04-22 Ion Badulescu <ionut@moisil.badula.org> 4196119679Smbr 4197174294Sobrien * conf/transp/transp_sockets.c (create_amq_service): Ugly *BSD fix 4198174294Sobrien for an RPC library DoS issue (original patch from Martin Blapp, 4199119679Smbr massaged into something more digestable by me) 4200119679Smbr 4201174294Sobrien2003-04-14 Ion Badulescu <ionut@moisil.badula.org> 4202174294Sobrien 4203174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c: removed autofs_free_data(), 4204174294Sobrien left over from the recent cleanup 4205174294Sobrien 4206119679Smbr2003-04-13 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4207119679Smbr 4208119679Smbr * doc/Makefile.am (DVIPS): use proper options for dvips. 4209119679Smbr 4210119679Smbr * doc/am-utils.texi (opts Option): document new 'unmount' option, 4211119679Smbr and better explain the 'nounmount' option. Also some misc options 4212119679Smbr for better generation of html manual. 4213119679Smbr 4214174294Sobrien * doc/Makefile.am (install-html): support newer texi2html 4.0 4215119679Smbr options, as older options were renamed or changed behavior. 4216119679Smbr 4217119679Smbr * amd/autil.c (am_mounted): support new 'unmount' option, to allow 4218119679Smbr all file system mounts to timeout and thus expire. This option is 4219119679Smbr useful for removable local media such as CD-ROMs, USB drives, 4220119679Smbr etc. so they can expire when not in use, and get unmounted (such 4221119679Smbr drives can get work out when they keep spinning). Patch from 4222119679Smbr Christos Zoulas <christos@zoulas.com> (originally from Koji 4223119679Smbr Imada). 4224119679Smbr 4225119679Smbr2003-04-10 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4226119679Smbr 4227119679Smbr * configure.in: use AM_MAINTAINER_MODE, so maintainer-only rules 4228119679Smbr do not get added to Makefiles by default (they are confusing to 4229119679Smbr users who don't have autotools installed). 4230119679Smbr 4231174294Sobrien2003-04-09 Ion Badulescu <ion@guppy.limebrokerage.com> 4232174294Sobrien 4233174294Sobrien * amd/mntfs.c (find_mntfs): revert the "change of philosophy" (see 4234174294Sobrien the 2001-05-23 entry) back to the 6.0 code 4235174294Sobrien 4236119679Smbr2003-04-04 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4237119679Smbr 4238119679Smbr * libamu/xutil.c (switch_to_logfile): don't try to print logfile 4239119679Smbr if it is null (strlen core dump on solaris). Bug report from John 4240119679Smbr P. Rouillard <rouilj@ieee.org>. 4241119679Smbr 4242119679Smbr2003-03-31 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4243119679Smbr 4244119679Smbr * fsinfo/fsinfo.8: typo co-ordinate -> coordinate. Typo report 4245119679Smbr from Perry E. Metzger" <perry@piermont.com>. 4246119679Smbr 4247174294Sobrien2003-03-25 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 4248174294Sobrien 4249174294Sobrien * include/am_defs.h: Don't include malloc.h if stdlib.h exists, 4250174294Sobrien because modern systems (e.g., BSD) complain if you use malloc.h 4251174294Sobrien instead of stdlib.h. Let's hope there are no systems out 4252174294Sobrien there that need both. 4253174294Sobrien 4254119679Smbr2003-03-20 Erez Zadok <ezk@suse73.fsl.cs.sunysb.edu> 4255119679Smbr 4256119679Smbr * minor new port: sparc64-unknown-linux-suse7.3. 4257119679Smbr 4258119679Smbr2003-03-20 Erez Zadok <ezk@a-freebsd5.fsl.cs.sunysb.edu> 4259119679Smbr 4260119679Smbr * minor new port: i386-unknown-freebsd5.0. 4261119679Smbr 4262119679Smbr * configure.in: detect nfsclient/nfsargs.h. 4263119679Smbr 4264119679Smbr * conf/nfs_prot/nfs_prot_freebsd3.h: include 4265119679Smbr <nfsclient/nfsargs.h>, needed in FreeBSD 5.0. 4266119679Smbr 4267119679Smbr2003-03-15 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4268119679Smbr 4269119679Smbr * amd/amd.8, amd/amd.8, fixmount/fixmount.8, hlfsd/hlfsd.8, 4270119679Smbr scripts/amd.conf.5, scripts/expn.1: minor spell checking and 4271119679Smbr extraneous space elimination. 4272119679Smbr 4273174294Sobrien2003-03-07 Ion Badulescu <ionut@buggy.badula.org> 4274174294Sobrien 4275174294Sobrien * conf/autofs/autofs_linux.c (autofs_get_fh): don't leak file 4276174294Sobrien descriptors if limit exceeded 4277174294Sobrien (autofs_mounted): call autofs_get_mp(); init am_autofs_ttl 4278174294Sobrien (autofs_release_fh): release pending_mounts and pending_umounts 4279174294Sobrien queues 4280174294Sobrien (autofs_timeout_mp): update am_autofs_ttl instead of am_ttl 4281174294Sobrien 4282174294Sobrien * amd/mntfs.c (init_mntfs): delete initialization of removed 4283174294Sobrien mf_autofs_fh 4284174294Sobrien (uninit_mntfs): delete call to autofs_release_fh() 4285174294Sobrien 4286174294Sobrien * amd/map.c (init_map): init autofs_fh to 0, delete initialization 4287174294Sobrien of removed autofs_data 4288174294Sobrien (free_map): release autofs_fh after unmounting map; delete call to 4289174294Sobrien autofs_free_data() 4290174294Sobrien (umount_exported): call autofs_release_mp() prior to unmounting 4291174294Sobrien autofs f/s 4292174294Sobrien (unmount_mp): ditto 4293174294Sobrien (free_map_if_success): call autofs_get_mp() if unmounting fails 4294174294Sobrien (timeout_mp): use the dedicated am_autofs_ttl timeout for f/s-wide 4295174294Sobrien timeouts instead of the per-mountpoint am_ttl 4296174294Sobrien 4297174294Sobrien * amd/autil.c (am_unmounted): release autofs_fh after unmounting 4298174294Sobrien autofs f/s 4299174294Sobrien 4300174294Sobrien * amd/amfs_generic.c (amfs_cont): release autofs_fh if mounting 4301174294Sobrien autofs f/s fails; 4302174294Sobrien (amfs_bgmount): ditto 4303174294Sobrien 4304174294Sobrien * amd/amd.h: moved autofs_fh from mntfs to am_node, since it's 4305174294Sobrien more related to the mount point than to the f/s mounted; 4306174294Sobrien added am_autofs_ttl to am_node, for running expirations on entire 4307174294Sobrien filesystems 4308174294Sobrien 4309174294Sobrien * conf/autofs/autofs_*: autofs_get_fh() returns int instead of 4310174294Sobrien autofs_fh_t *; autofs_release_fh() now takes an am_node * parameter 4311174294Sobrien instead of autofs_fh_t *, in an effort to not deal with 4312174294Sobrien autofs-specific data structures outside autofs code; 4313174294Sobrien new methods autofs_get_mp() and autofs_release_mp(), which 4314174294Sobrien acquire/release autofs resources to allow clean unmount attempts; 4315174294Sobrien nuke autofs_data_t, never used 4316174294Sobrien 4317174294Sobrien * amd/amd.h: prototypes for new and changed autofs functions 4318174294Sobrien 4319174294Sobrien2003-03-07 Ion Badulescu <ion@guppy.limebrokerage.com> 4320174294Sobrien 4321174294Sobrien * amd/nfs_subr.c (do_readlink): eliminate third argument, never used 4322174294Sobrien (nfsproc_getattr_2_svc): reorganize the code a bit 4323174294Sobrien 4324174294Sobrien * amd/map.c (mk_fattr): take a nfsfattr * argument instead of an 4325174294Sobrien am_node * argument 4326174294Sobrien 4327174294Sobrien * amd/amd.h: changed prototype for mk_fattr() 4328174294Sobrien 4329174294Sobrien * amd/autil.c (am_unmounted): when remounting, use the parent 4330174294Sobrien node's lookup_child() and mount_child() operations, not the 4331174294Sobrien generic ones 4332174294Sobrien 4333174294Sobrien * amd/amfs_generic.c (amfs_cont): minor code optimization 4334174294Sobrien 4335174294Sobrien2003-03-06 Ion Badulescu <ion@guppy.limebrokerage.com> 4336174294Sobrien 4337174294Sobrien * amd/amfs_auto.c: lots of renames and code moving: 4338174294Sobrien amfs_auto_match() -> amfs_generic_match(), moved to generic; 4339174294Sobrien amfs_auto_mkcacheref() -> amfs_mkcacheref(), moved to autil.c; 4340174294Sobrien amfs_auto_mounted() -> amfs_generic_mounted(), moved to generic; 4341174294Sobrien amfs_auto_umount() -> amfs_generic_umount(), moved to generic; 4342174294Sobrien free_continuation(): moved to generic, made static; 4343174294Sobrien assign_error_mntfs(): moved to autil.c; 4344174294Sobrien amfs_auto_cont() -> amfs_cont(), moved to generic, made static; 4345174294Sobrien amfs_auto_retry() -> amfs_retry(), moved to generic, made static; 4346174294Sobrien try_mount() + mount_node() -> mount_node(), moved to map.c 4347174294Sobrien amfs_auto_bgmount() -> amfs_bgmount(), moved to generic; 4348174294Sobrien amfs_parse_defaults(): moved to generic; 4349174294Sobrien amfs_auto_lookup_node() -> amfs_lookup_node(), moved to generic; 4350174294Sobrien amfs_auto_lookup_one_mntfs() -> amfs_lookup_one_mntfs(), in generic; 4351174294Sobrien amfs_auto_lookup_mntfs() -> amfs_lookup_mntfs(), moved to generic; 4352174294Sobrien amfs_auto_mount_child() -> amfs_generic_mount_child(), in generic; 4353174294Sobrien amfs_auto_lookup_child() -> amfs_generic_lookup_child(), in generic; 4354174294Sobrien next_nonerror_node(): moved to autil.c; 4355174294Sobrien amfs_auto_readdir() -> amfs_generic_readdir(), moved to readdir; 4356174294Sobrien amfs_auto_readdir_browsable() -> amfs_readdir_browsable(), in readdir; 4357174294Sobrien 4358174294Sobrien * amd/amfs_toplvl.c: mount_amfs_toplvl() renamed to amfs_mount() 4359174294Sobrien and moved to autil.c 4360174294Sobrien 4361174294Sobrien * amd/readdir.c, amd/amfs_generic.c: new files with stuff ripped 4362174294Sobrien out of amd/amfs_auto.c 4363174294Sobrien 4364174294Sobrien * amd/amd.h: struct continuation moved to generic.c; prototypes 4365174294Sobrien for the renamed functions; NumChild renamed to NumChildren 4366174294Sobrien 4367174294Sobrien * amd/map.c: collaped unmount_node_wrap() and unmount_node() into 4368174294Sobrien the latter 4369174294Sobrien 4370174294Sobrien * amd/mapc.c: key_already_in_chain(): moved to readdir.c; 4371174294Sobrien make_entry_chain(): moved to readdir.c; 4372174294Sobrien 4373174294Sobrien * amd/srvr_amfs_auto.c: find_amfs_auto_srvr() renamed to 4374174294Sobrien amfs_generic_find_srvr() 4375174294Sobrien 4376174294Sobrien * amd/amfs_*.c: adjustments for the renames above 4377174294Sobrien 4378174294Sobrien * amd/ops_*.c: low-level filesystems don't need a find_server() 4379174294Sobrien method 4380174294Sobrien 4381174294Sobrien * amd/Makefile.am: added amfs_generic.c and readdir.c 4382174294Sobrien 4383174294Sobrien * doc/am-utils.texi: minor clarification for auto maps 4384174294Sobrien 4385174294Sobrien2003-03-06 Ion Badulescu <ion@guppy.limebrokerage.com> 4386174294Sobrien 4387174294Sobrien * amd/amd.h: moved lots and lots of amd-only stuff here, from 4388174294Sobrien include/am_utils.h; changed task_fun, cb_fun and fwd_fun typedefs 4389174294Sobrien to be function typedefs, not pointer to function typedefs 4390174294Sobrien 4391174294Sobrien * include/am_utils.h: see above 4392174294Sobrien 4393174294Sobrien * amd/ops_nfs.c, amd/rpc_fwd.c, amd/sched.c: adjustments for 4394174294Sobrien function typedef changes 4395174294Sobrien 4396174294Sobrien2003-03-05 Erez Zadok <ezk@cs.sunysb.edu> 4397174294Sobrien 4398174294Sobrien * BUGS: record IBM's patch number for the AIX 5.2 NFS over IPv6 4399174294Sobrien bug. 4400174294Sobrien 4401174294Sobrien2003-02-02 Erez Zadok <ezk@siamese.fsl.cs.sunysb.edu> 4402174294Sobrien 4403174294Sobrien * NEWS: minor new port: ia64-unknown-linux-rh2.1AS 4404174294Sobrien 4405174294Sobrien2003-01-31 Ion Badulescu <ion@console.limebrokerage.com> 4406174294Sobrien 4407174294Sobrien * m4/macros/os_cflags.m4: rhapsody and darwin are the same 4408174294Sobrien 4409174294Sobrien * amd/autil.c (mount_node): vastly simplified, just a wrapper now 4410174294Sobrien 4411174294Sobrien * amd/amfs_inherit.c (amfs_inherit_mount): remove the am_mounted() 4412174294Sobrien hack, we now do it properly in the generic code 4413174294Sobrien 4414174294Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): get the autofs_fh _before_ 4415174294Sobrien forking the child; set and reset MFF_MOUNTING here, not in 4416174294Sobrien mount_node(), because the latter might be running in child 4417174294Sobrien context; call am_mounted() after a successful foreground mount 4418174294Sobrien 4419174294Sobrien2003-01-29 Ion Badulescu <ionut@moisil.badula.org> 4420174294Sobrien 4421174294Sobrien * configure.in: new flag --with[out]-ndbm; don't pull in libldap 4422174294Sobrien if building --without-ldap; look for the gdbm/ndbm.h header; make 4423174294Sobrien explicit the dependency between the ndbm headers and libraries; 4424174294Sobrien define NEW_DBM_H as the ndbm header that should be used 4425174294Sobrien 4426174294Sobrien * include/am_defs.h: simply include NEW_DBM_H for ndbm stuff, 4427174294Sobrien instead of trying to second-guess configure 4428174294Sobrien 4429174294Sobrien * m4/macros/header_templates.m4: new template for NEW_DBM_H 4430174294Sobrien 4431174294Sobrien * m4/macros/check_map_funcs.m4: 4432174294Sobrien (ac_upcase_map_name): use the third argument correctly 4433174294Sobrien 4434174294Sobrien * ltmain.sh: working version from libtool-1.4.2-7 4435174294Sobrien 4436174294Sobrien * buildall: print the entire configure command, including extra 4437174294Sobrien arguments; pass each of the extra arguments separately, not 4438174294Sobrien commingled into one 4439174294Sobrien 4440174294Sobrien2003-01-28 Ion Badulescu <ion@guppy.limebrokerage.com> 4441174294Sobrien 4442174294Sobrien * include/am_utils.h (DEBUG_MNTTAB): define outside of #ifdef 4443174294Sobrien DEBUG; it is not used without DEBUG, but it is referenced at 4444174294Sobrien compile time. Bug report from John Kilburg <john@physics.unlv.edu>. 4445174294Sobrien (D_ALL): don't include D_XDRTRACE, too verbose and normally 4446174294Sobrien unnecessary 4447174294Sobrien 4448174294Sobrien2003-01-28 Erez Zadok <ezk@cs.sunysb.edu> 4449174294Sobrien 4450174294Sobrien * ltmain.sh, config.guess, config.sub, doc/texinfo.tex: updates 4451174294Sobrien from latest official GNU versions. 4452174294Sobrien 4453119679Smbr2003-01-25 Erez Zadok <ezk@cs.sunysb.edu> 4454119679Smbr 4455119679Smbr * BUGS (Note): document AIX-5.1 NFS-client side bug (hangs in 4456119679Smbr vmount). 4457119679Smbr 4458119679Smbr2003-01-25 Ion Badulescu <ionut@moisil.badula.org> 4459119679Smbr 4460174294Sobrien * Released beta version 6.1b2 4461119679Smbr 4462174294Sobrien2003-01-24 Ion Badulescu <ionut@moisil.badula.org> 4463119679Smbr 4464174294Sobrien * amd/autil.c (am_unmounted): reset MFF_MKMNT from mf_flags when 4465174294Sobrien calling rmdirs() on mountpoint 4466119679Smbr 4467174294Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): ditto 4468119679Smbr 4469174294Sobrien * amd/amfs_nfsl.c (amfs_nfsl_umounted): ditto 4470174294Sobrien 4471174294Sobrien * doc/am-utils.texi (opts Option): "sftlookup" -> "softlookup" 4472174294Sobrien 4473174294Sobrien * NEWS: "sftlookup" -> "softlookup" 4474174294Sobrien 4475174294Sobrien * amd/ops_nfs.c (nfs_mount): "sftlookup" -> "softlookup", also 4476174294Sobrien check for "nosoftlookup" in combination with "soft" 4477174294Sobrien 4478174294Sobrien2003-01-23 Ion Badulescu <ion@guppy.limebrokerage.com> 4479174294Sobrien 4480119679Smbr * m4/macros/check_nfs_fh_dref.m4: darwin/rhapsody is another 4481119679Smbr freebsd22 derivative 4482119679Smbr 4483174294Sobrien * NEWS: updated for Darwin changes 4484174294Sobrien 4485174294Sobrien * .cvsignore: added A.i386-apple-darwin6.0 4486174294Sobrien 4487174294Sobrien * m4/macros/os_cflags.m4: add -D_P1003_1B_VISIBLE to cflags for 4488174294Sobrien Darwin 4489174294Sobrien 4490174294Sobrien2003-01-23 Erez Zadok <ezk@cs.sunysb.edu> 4491174294Sobrien 4492174294Sobrien * conf/mount/mount_aix.c (mount_aix3): clean back this file from 4493174294Sobrien all the debugging cruft that is no longer needed (and really was 4494174294Sobrien never needed in the first place). 4495174294Sobrien 4496174294Sobrien2003-01-10 Erez Zadok <ezk@cs.sunysb.edu> 4497174294Sobrien 4498174294Sobrien * scripts/test-amd.{misc,conf}: simple amd.conf and amd.misc 4499174294Sobrien (map) files for testing basic amd functionality such as whether it 4500174294Sobrien can mount its own mount NFS points. 4501174294Sobrien 4502119679Smbr2002-12-28 Ion Badulescu <ionut@moisil.badula.org> 4503119679Smbr 4504119679Smbr * amd/srvr_nfs.c (start_nfs_pings): don't set FSF_PINGING if 4505119679Smbr pings are disabled 4506119679Smbr 4507174294Sobrien * libamu/xdr_func.c (xdr_ftype): use a local enum_t variable 4508174294Sobrien instead of casting the pointer to (enum_t *) 4509174294Sobrien (xdr_mountstat3): ditto 4510174294Sobrien (xdr_nfsstat): ditto 4511174294Sobrien 4512119679Smbr * libamu/misc_rpc.c (make_rpc_packet): fix make_rpc_packet() on 4513119679Smbr 64-bit big-endian platforms, bug report from Bill Fenner 4514119679Smbr <fenner@research.att.com> 4515119679Smbr 4516119679Smbr * configure.in: increase library patchlevel 4517119679Smbr 4518119679Smbr * libamu/xutil.c (amu_release_controlling_tty): close and reopen 4519119679Smbr file descriptors 0,1,2 before calling setsid() 4520119679Smbr 4521119679Smbr2002-12-27 Erez Zadok <ezk@cs.sunysb.edu> 4522119679Smbr 4523119679Smbr * updated copyright year to 2003 on all files 4524119679Smbr 4525174294Sobrien2002-12-10 Erez Zadok <ezk@localhost.localdomain> 4526119679Smbr 4527174294Sobrien * rename "aux/" subdir into "m4/" so as to avoid problems with 4528174294Sobrien MS-DOS systems (where "AUX" is a reserved name). This required 4529174294Sobrien fixing numerous files. 4530119679Smbr 4531174294Sobrien2002-12-10 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 4532119679Smbr 4533174294Sobrien * configure.in: don't check for bad hasmntopt() function if 4534174294Sobrien hasmntopt() doesn't exist on the system, because we will replace 4535174294Sobrien it with our own version anyway. 4536119679Smbr 4537174294Sobrien * conf/transp/transp_sockets.c (amu_get_myaddress): use "%lx" in 4538174294Sobrien dlog because htonl() returns a u_long. 4539174294Sobrien 4540119679Smbr2002-12-10 Erez Zadok <ezk@localhost.localdomain> 4541119679Smbr 4542174294Sobrien * include/am_defs.h: use system's hasmntopt() only if it is found 4543174294Sobrien and it is not buggy. 4544119679Smbr 4545174294Sobrien * libamu/hasmntopt.c (nextmntopt): isspace() takes an int, not a 4546174294Sobrien char. 4547174294Sobrien 4548174294Sobrien * amd/am_ops.c, amd/amfs_auto.c, amd/autil.c, amd/nfs_subr.c, 4549174294Sobrien amd/ops_cdfs.c, amd/ops_nfs.c, amd/srvr_nfs.c, libamu/hasmntopt.c, 4550174294Sobrien libamu/mount_fs.c, libamu/mtab.c: rename all uses of hasmntopt() 4551174294Sobrien to amu_hasmntopt(). Don't use hasmntopt() directly any more! 4552174294Sobrien 4553174294Sobrien * aux/macros/func_bad_hasmntopt.m4: new M4 macro to test for a bad 4554174294Sobrien hasmntopt() function, which incorrectly finds the option "soft" in 4555174294Sobrien a string "hard,softlookup,ro". 4556174294Sobrien 4557174294Sobrien * libamu/hasmntopt.c (hasmntopt): use 'const' on two args to 4558174294Sobrien hasmntopt(), to match what most systems use. 4559174294Sobrien 4560174294Sobrien * aux/macros/header_templates.m4: template for HAVE_BAD_HASMNTOPT. 4561174294Sobrien 4562174294Sobrien * configure.in: invoke test for bad hasmntopt() 4563174294Sobrien 4564174294Sobrien * NEWS: minor new port, i386-pc-linux-rh8.0. 4565174294Sobrien Mention autofs-v4 on solaris9 works. 4566174294Sobrien 4567174294Sobrien * bootstrap: remove any autom4te-*.cache directories, now that 4568174294Sobrien autoconf uses a version number for them. 4569174294Sobrien 4570174294Sobrien2002-12-09 Ion Badulescu <ionut@moisil.badula.org> 4571174294Sobrien 4572174294Sobrien Patches from Christos Zoulas: 4573174294Sobrien 4574174294Sobrien -1- am_utils.h: add full prototypes 4575174294Sobrien -2- amfs_auto.c make functions static and add prototypes 4576174294Sobrien -3- map.c: kill double free 4577174294Sobrien -5- transp_sockets.c: add full prototypes 4578174294Sobrien 4579174294Sobrien2002-12-09 Ion Badulescu <ionut@moisil.badula.org> 4580174294Sobrien 4581174294Sobrien * NEWS: updated 4582174294Sobrien 4583174294Sobrien * doc/am-utils.texi (opts Option): document sftlookup 4584174294Sobrien 4585174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c: compile fixes 4586174294Sobrien 4587174294Sobrien2002-11-22 Erez Zadok <ezk@filer.fsl.cs.sunysb.edu> 4588174294Sobrien 4589174294Sobrien * amd/info_ldap.c (amu_ldap_rebind): gopt.ldap_cache_seconds is 4590174294Sobrien %ld not %d. 4591174294Sobrien 4592174294Sobrien2002-11-21 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4593174294Sobrien 4594174294Sobrien * {amd,fsinfo}/Makefile.am: remove special rules for processing 4595174294Sobrien yacc/lex files, now that autoconf/automake properly handle them 4596174294Sobrien better (esp. now that bison 1.75 behaves differently than older 4597174294Sobrien bison versions). 4598174294Sobrien 4599119679Smbr2002-11-21 Erez Zadok <ezk@cs.sunysb.edu> 4600119679Smbr 4601119679Smbr * config.guess.long: updated script so it will properly find the 4602119679Smbr version number of the new Itanium 2 machines running "Red Hat 4603119679Smbr Linux Advanced Workstation release 2.1AW (Derry)". The script now 4604119679Smbr will report ia64-unknown-linux-rh2.1AW. 4605119679Smbr 4606174294Sobrien2002-11-20 Ion Badulescu <ionut@moisil.badula.org> 4607174294Sobrien 4608174294Sobrien * amfs_auto_bgmount(): almost complete rewrite 4609174294Sobrien 4610174294Sobrien * fixed amfs_inherit to do the right thing and not dereference 4611174294Sobrien freed mntfs'es 4612174294Sobrien 4613174294Sobrien * #if 0'ed bogus code in fh_to_mp3() -- it is now done properly in 4614174294Sobrien amfs_autofs_lookup_child() 4615174294Sobrien 4616174294Sobrien * release the autofs_fh only in one place 4617174294Sobrien 4618174294Sobrien * remove the mountpoint only if mf_refc == 1 4619174294Sobrien 4620174294Sobrien * print the mntfs type in free_mntfs() 4621174294Sobrien 4622174294Sobrien * new pseudo-mount option 'sftlookup' which causes lookups to 4623174294Sobrien mounted shares from downed servers to return EIO; the default 4624174294Sobrien depends on whether the mount is 'hard' or 'soft' 4625174294Sobrien 4626174294Sobrien * improved querying of supported NFS versions on the server -- 4627174294Sobrien don't even try if it's known to be down 4628174294Sobrien 4629174294Sobrien * solaris autofs mount code moved to transp_{sockets,tli}.c 4630174294Sobrien 4631174294Sobrien * incipient (non-functional) AIX autofs support 4632174294Sobrien 4633119679Smbr2002-11-11 Ion Badulescu <ion@guppy.limebrokerage.com> 4634119679Smbr 4635119679Smbr * doc/am-utils.texi (Keep-alives): removed outdated info about not 4636119679Smbr maintaining the state of TCP NFS servers 4637119679Smbr 4638174294Sobrien2002-11-04 Ion Badulescu <ion@guppy.limebrokerage.com> 4639119679Smbr 4640174294Sobrien * include/am_utils.h: prototype for ops_search() 4641119679Smbr 4642174294Sobrien * amd/am_ops.c (ops_search): new function for searching the right 4643174294Sobrien set of ops for a given filesystem type 4644119679Smbr 4645174294Sobrien * amd/restart.c (restart): cleanup and split into two functions in 4646174294Sobrien preparation for handling the restart of amd's own mount points 4647174294Sobrien (restart_fake_mntfs): new function, factored out from restart() 4648119679Smbr 4649174294Sobrien2002-11-04 Ion Badulescu <ionut@buggy.badula.org> 4650119679Smbr 4651174294Sobrien * amd/ops_cdfs.c (mount_cdfs): remove special code for loop device 4652174294Sobrien (cdfs_umount): ditto 4653119679Smbr 4654174294Sobrien * conf/mount/mount_linux.c (mount_linux): factor it out to 4655174294Sobrien mount_linux_nfs() and mount_linux_nonfs() 4656174294Sobrien (mount_linux_nonfs): generalize loop device support to all 4657174294Sobrien filesystems (not just cdfs); make it automatic for anything that's 4658174294Sobrien a regular file 4659174294Sobrien (parse_opts): deprecate the explicit "loop" mount option 4660174294Sobrien (do_mount_linux): minor cleanup 4661119679Smbr 4662174294Sobrien * conf/umount/umount_default.c (umount_fs2): release loop device 4663174294Sobrien on umount() 4664119679Smbr 4665174294Sobrien2002-11-03 Erez Zadok <ezk@cnm20> 4666119679Smbr 4667174294Sobrien * include/am_defs.h: moved #include of net/if.h above net/route.h, 4668174294Sobrien because on AIX 5.2 if.h is needed for route.h (let's hope it 4669174294Sobrien doesn't break things on other systems). 4670119679Smbr 4671174294Sobrien * include/am_defs.h: AIX 5.2 needs struct sigevent from signal.h 4672174294Sobrien to be defined, but I don't want to move the inclusion of signal.h 4673174294Sobrien this early into this file. Luckily, amd doesn't need the size of 4674174294Sobrien this structure in any other structure that it uses. So we 4675174294Sobrien sidestep it for now. 4676119679Smbr 4677174294Sobrien * conf/nfs_prot/nfs_prot_aix5_2.h: AIX 5.2 wants 'struct pathcnf', 4678174294Sobrien but I couldn't find its definition anywhere. Luckily, amd doesn't 4679174294Sobrien need the size of this structure in any other structure that it 4680174294Sobrien uses. So we sidestep it for now. 4681174294Sobrien 4682174294Sobrien2002-11-02 Erez Zadok <ezk@cs.sunysb.edu> 4683174294Sobrien 4684174294Sobrien * config.guess, config.sub, doc/texinfo.tex: updates from 4685174294Sobrien the latest GNU distributions (2002-09-05). 4686174294Sobrien 4687174294Sobrien2002-10-30 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4688174294Sobrien 4689174294Sobrien * conf/nfs_prot/nfs_prot_aix5_2.h: add more definitions from 4690174294Sobrien mount.h for NFSOPT_* and NFSMNT_*. 4691174294Sobrien Don't use typedefs that aren't found in system header files. 4692174294Sobrien 4693174294Sobrien2002-10-30 Erez Zadok <ezk@cs.sunysb.edu> 4694174294Sobrien 4695174294Sobrien * Makefile.am (EXTRA_DIST_CONF): distribute nfs_prot_aix5_2.h. 4696174294Sobrien 4697174294Sobrien * conf/nfs_prot/nfs_prot_aix5_2.h: new file. 4698174294Sobrien 4699174294Sobrien * aux/macros/struct_nfs_args.m4 (ac_cv_have_struct_nfs_args): look 4700174294Sobrien for "struct aux52_nfs_args". 4701174294Sobrien 4702174294Sobrien * aux/macros/check_nfs_prot_headers.m4: define new header file for 4703174294Sobrien AIX 5.2. 4704174294Sobrien 4705174294Sobrien2002-10-21 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4706174294Sobrien 4707174294Sobrien * scripts/amd.conf.5 (ldap_proto_version): document in amd.conf 4708174294Sobrien man page. 4709174294Sobrien 4710174294Sobrien * scripts/amd.conf-sample (ldap_proto_version): show example of use 4711174294Sobrien 4712174294Sobrien * doc/am-utils.texi (ldap_proto_version Parameter): document new 4713174294Sobrien amd.conf option. 4714174294Sobrien 4715174294Sobrien * amd/conf.c (gopt_ldap_proto_version): new conf function to 4716174294Sobrien support ldap_proto_version amd.conf parameter. 4717174294Sobrien 4718174294Sobrien * amd/amd.h: field to hold LDAP protocol version. 4719174294Sobrien 4720174294Sobrien * amd/amd.c (init_global_options): set default for 4721174294Sobrien ldap_proto_version. ldap_proto_version patch from George Ross 4722174294Sobrien <gdmr@dcs.ed.ac.uk> and Tim Colles <timc@inf.ed.ac.uk>. 4723174294Sobrien 4724174294Sobrien * amd/info_ldap.c (amu_ldap_unbind): ignore SIGPIPE errors while 4725174294Sobrien unbinding from an LDAP server that may have been restarted. Fix 4726174294Sobrien from George Ross <gdmr@dcs.ed.ac.uk>. 4727174294Sobrien 4728174294Sobrien2002-09-17 Ion Badulescu <ion@guppy.limebrokerage.com> 4729174294Sobrien 4730174294Sobrien * remove all autoconf stuff added for sys_nerr 4731174294Sobrien 4732174294Sobrien * amq/amq.c, libamu/xutil.c, hlfsd/hlfsd.c: always use strerror 4733174294Sobrien 4734174294Sobrien * libamu/strerror.c: more explicit text for unknown errno's 4735174294Sobrien 4736174294Sobrien2002-10-01 Erez Zadok <ezk@cs.sunysb.edu> 4737174294Sobrien 4738174294Sobrien * include/am_defs.h: define "extern int sys_err" if needed. 4739174294Sobrien 4740174294Sobrien * aux/macros/header_templates.m4: template for 4741174294Sobrien HAVE_EXTERN_SYS_NERR. 4742174294Sobrien 4743174294Sobrien * hlfsd/hlfsd.h, libamu/xutil.c (expand_error), amq/amq.c 4744174294Sobrien (show_mi): remove "extern int sys_err" 4745174294Sobrien 4746174294Sobrien * configure.in: execute test for "extern int sys_err" 4747174294Sobrien 4748174294Sobrien * Makefile.am (EXTRA_DIST_AUX): distribute new extern_sys_err.m4 file. 4749174294Sobrien 4750174294Sobrien * aux/macros/extern_sys_nerr.m4: new test to check for existence 4751174294Sobrien of "extern int sys_nerr" definition in system headers. 4752174294Sobrien 4753174294Sobrien2002-09-17 Ion Badulescu <ion@guppy.limebrokerage.com> 4754174294Sobrien 4755174294Sobrien * libamu/xutil.c (dbg_opt): bring comments in line with the code 4756174294Sobrien 4757174294Sobrien * hlfsd/hlfsd.c (main): use amuDebug() instead of touching 4758174294Sobrien debug_flags directly 4759174294Sobrien 4760174294Sobrien * amd/amd.c (main): don't init debug_flags, leave it as zero (no 4761174294Sobrien debugging by default) 4762174294Sobrien 4763174294Sobrien2002-09-11 Ion Badulescu <ion@guppy.limebrokerage.com> 4764174294Sobrien 4765174294Sobrien Debug code sanitization: 4766174294Sobrien 4767174294Sobrien - amuDebug() becomes an expression, and explicit if() statements 4768174294Sobrien are added around it throughout the code 4769174294Sobrien - amuDebugNo() goes away (ugh!) 4770174294Sobrien - D_AMQ, D_DAEMON and D_FORK reverse their meaning 4771174294Sobrien - D_ALL contains only options that don't affect amd's functionality 4772174294Sobrien 4773119679Smbr2002-09-04 Ion Badulescu <ion@guppy.limebrokerage.com> 4774119679Smbr 4775174294Sobrien * amd/amfs_auto.c (free_continuation): avoid double-free'ing the 4776174294Sobrien mntfs if there was an error/timeout 4777119679Smbr 4778174294Sobrien2002-09-04 Ion Badulescu <ion@guppy.limebrokerage.com> 4779174294Sobrien 4780174294Sobrien * amd/amfs_auto.c (amfs_auto_lookup_mntfs): use ereturn() instead 4781174294Sobrien of "return NULL" to signal an error to the upper layers 4782174294Sobrien (amfs_auto_mount): use strdup so the string can be free'd later on 4783174294Sobrien [Debian bug report from Matt Chapman <matthewc@cse.unsw.edu.au>] 4784174294Sobrien 4785174294Sobrien2002-09-03 Ion Badulescu <ion@guppy.limebrokerage.com> 4786174294Sobrien 4787174294Sobrien Patches from George Ross <gdmr@dcs.ed.ac.uk>: 4788174294Sobrien 4789174294Sobrien * amd/amfs_auto.c (assign_error_mntfs): do not discard old mntfs, 4790174294Sobrien it will be done in free_continuation(); assorted debugging messages 4791174294Sobrien 4792119679Smbr * amd/srvr_nfs.c (nfs_timed_out): allocate a new XID on server 4793174294Sobrien timeout to avoid problems with late ping replies 4794119679Smbr 4795174294Sobrien * amd/mntfs.c (free_mntfs): sanity check for mf_refc; assorted 4796174294Sobrien debugging messages 4797174294Sobrien 4798174294Sobrien * amd/map.c (unmount_node): more verbose debug message 4799174294Sobrien 4800174294Sobrien2002-07-29 Ion Badulescu <ion@guppy.limebrokerage.com> 4801174294Sobrien 4802174294Sobrien * amd/amfs_auto.c (amfs_auto_lookup_mntfs): prevent deferencing 4803174294Sobrien de-allocated memory in str3cat 4804174294Sobrien (amfs_auto_lookup_mntfs): check for buffer overflow 4805174294Sobrien 4806119679Smbr2002-07-11 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4807119679Smbr 4808119679Smbr * scripts/expn.{1,in}: fixed typos as reported by Thomas Klausner 4809119679Smbr <wiz@danbala.ifoer.tuwien.ac.at>. 4810119679Smbr 4811174294Sobrien2002-06-26 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4812119679Smbr 4813119679Smbr * doc/Makefile.am (install-html): don't use locally hacked 4814119679Smbr texi2html features. 4815119679Smbr 4816174294Sobrien * conf/transp/transp_sockets.c (amu_get_myaddress): Most modern 4817174294Sobrien systems should use 127.0.0.1 as the localhost address over which 4818174294Sobrien you can do NFS mounts. In the past we found that some NFS clients 4819174294Sobrien may not allow mounts from localhost. So we used get_myaddress() 4820174294Sobrien and that seemed to work. Alas, on some other systems, 4821174294Sobrien get_myaddress() may return one of the interface addresses at 4822174294Sobrien random, and thus use a less efficient IP address than 127.0.0.1. 4823174294Sobrien The solution is to hard-code 127.0.0.1, but still check if 4824174294Sobrien get_myaddress() returns a different value and warn about it. 4825174294Sobrien 4826119679Smbr * doc/am-utils.texi: don't use ':' in @cindex entries. 4827119679Smbr 4828174294Sobrien2002-06-25 Ion Badulescu <ion@guppy.limebrokerage.com> 4829174294Sobrien 4830174294Sobrien * Released beta version 6.1b1 4831174294Sobrien 4832119679Smbr2002-06-24 Ion Badulescu <ionut@moisil.badula.org> 4833119679Smbr 4834119679Smbr * aux/macros/struct_nfs_args.m4: added test for aix51_nfs_args 4835119679Smbr 4836119679Smbr * conf/nfs_prot/nfs_prot_aix5_1.h: rename aix42_nfs_args to 4837174294Sobrien aix51_nfs_args, rename unknown fields to u<number>, add the 4838174294Sobrien unknown new field into the middle of the old 4.2 structure 4839119679Smbr 4840119679Smbr2002-06-24 Ion Badulescu <ion@guppy.limebrokerage.com> 4841119679Smbr 4842174294Sobrien * include/am_compat.h: better test for struct netconfig 4843174294Sobrien (!HAVE_NETCONFIG_H && !HAVE_SYS_NETCONFIG_H) 4844119679Smbr 4845174294Sobrien * aux/macros/check_nfs_prot_headers.m4: added new header for aix5.1+ 4846174294Sobrien 4847174294Sobrien * buildall: fix 'buildall -b' on hpux9 and aix5.1 4848174294Sobrien 4849174294Sobrien2002-06-24 Ion Badulescu <ionut@buggy.badula.org> 4850174294Sobrien 4851174294Sobrien * INSTALL: updated 4852174294Sobrien 4853174294Sobrien * conf/autofs/autofs_solaris_v1.c (autofs_link_mount): compile fix 4854174294Sobrien (autofs_link_umount): ditto 4855174294Sobrien 4856174294Sobrien * amd/mntfs.c (init_mntfs): don't use autofs if !amd_use_autofs 4857174294Sobrien 4858174294Sobrien2002-06-23 Ion Badulescu <ionut@moisil.badula.org> 4859174294Sobrien 4860174294Sobrien * conf/autofs/autofs_linux.c: compile fixes for autofs v3 4861174294Sobrien 4862174294Sobrien2002-06-23 Ion Badulescu <ionut@moisil.badula.org> 4863174294Sobrien 4864174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_mounted): no 4865174294Sobrien expirations needed; 4866174294Sobrien (autofs_timeout_mp): likewise 4867174294Sobrien 4868174294Sobrien * conf/autofs/autofs_solaris_v1.c (autofs_mounted): no expirations 4869174294Sobrien needed; 4870174294Sobrien (autofs_timeout_mp): likewise 4871174294Sobrien 4872174294Sobrien * conf/autofs/autofs_linux.c (autofs_mounted): set the first 4873174294Sobrien expiration interval 4874174294Sobrien 4875174294Sobrien * amd/autil.c (am_mounted): call autofs_mounted here, instead of 4876174294Sobrien in mf_mounted() 4877174294Sobrien 4878174294Sobrien * amd/amd.h (NEVER): moved here from map.c 4879174294Sobrien (autofs_mounted): change argument from mntfs* to am_node* 4880174294Sobrien 4881174294Sobrien2002-06-23 Ion Badulescu <lionut@gonzales.badula.org> 4882174294Sobrien 4883174294Sobrien * conf/autofs/autofs_linux.c (autofs_mounted): set the kernel 4884174294Sobrien timeout on the autofs mountpoint to cache_duration (gopt.am_timeo) 4885174294Sobrien (autofs_timeout_mp): don't update the ttl if we're going down 4886174294Sobrien 4887174294Sobrien * amd/map.c (timeout_mp): don't call autofs_timeout_mp unless the 4888174294Sobrien timeout on that particular am_node has expired 4889174294Sobrien 4890174294Sobrien * conf/autofs/autofs_linux.c (autofs_timeout_mp): really update 4891174294Sobrien the ttl, as per the comment (compilers are not very good at 4892174294Sobrien translating comments into code...) 4893174294Sobrien 4894174294Sobrien * amd/amfs_auto.c (amfs_auto_lookup_one_mntfs): strdup am_path 4895174294Sobrien instead of opt_rfs into opt_fs for autofs, thus avoiding conflicts 4896174294Sobrien between link mounts pointing to the same target 4897174294Sobrien 4898174294Sobrien2002-06-23 Ion Badulescu <lionut@gonzales.badula.org> 4899174294Sobrien 4900174294Sobrien * conf/autofs/autofs_linux.c (send_fail, send_ready): new helper 4901174294Sobrien functions for sending messages back to the kernel 4902174294Sobrien (autofs_expire_one): initial implementation of the kernel-based 4903174294Sobrien expiration handler 4904174294Sobrien (autofs_handle_expire): call autofs_expire_one() 4905174294Sobrien (autofs_handle_expire_multi): ditto 4906174294Sobrien (autofs_umount_succeeded): search pending_umounts, send message 4907174294Sobrien back to the kernel 4908174294Sobrien (autofs_umount_failed): ditto 4909174294Sobrien (autofs_mount_succeeded): tell amd core not to expire autofs entries 4910174294Sobrien (autofs_timeout_mp): expiration function for autofs filesystems 4911174294Sobrien (autofs_timeout_mp_task): helper function for autofs_timeout_mp 4912174294Sobrien 4913174294Sobrien * conf/autofs/autofs_linux.h: new struct autofs_pending_umount for 4914174294Sobrien keeping tracking of pending umounts 4915174294Sobrien (autofs_fh_t) rename pending to pending_mounts, add pending_umounts 4916174294Sobrien 4917174294Sobrien * conf/autofs/autofs_solaris_v1.c (autofs_timeout_mp): stub 4918174294Sobrien 4919174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_timeout_mp): stub 4920174294Sobrien 4921174294Sobrien * amd/map.c (timeout_mp): call autofs_timeout_mp() for autofs 4922174294Sobrien filesystems 4923174294Sobrien 4924174294Sobrien * amd/autil.c (mf_mounted): move here the call autofs_mounted() 4925174294Sobrien from amfs_auto_mounted(). 4926174294Sobrien 4927174294Sobrien2002-06-22 Erez Zadok <ezk@whitestar.dyn.optonline.net> 4928174294Sobrien 4929174294Sobrien * amd/nfs_start.c (mount_automounter): Security fix. if user sets 4930174294Sobrien -D noamq, don't even create listening socket. Suggestion by Ed 4931174294Sobrien Ravin <eravin@panix.com>. 4932174294Sobrien 4933119679Smbr2002-06-22 Ion Badulescu <lionut@gonzales.badula.org> 4934119679Smbr 4935119679Smbr * hlfsd/homedir.c (homedir): use setgid() instead of setegid() 4936119679Smbr 4937174294Sobrien * ALL: #ifdef cleanups, unify some TLI/socket function prototypes 4938119679Smbr 4939174294Sobrien2002-06-22 Erez Zadok <ezk@whitestar.dyn.optonline.net> 4940119679Smbr 4941174294Sobrien * conf/nfs_prot/nfs_prot_netbsd1_4.h: minor port to support 4942174294Sobrien na_gid and na_uid. NetBSD patch from Jun-ichiro itojun Hagino 4943174294Sobrien <itojun@iijlab.net>. 4944174294Sobrien 4945174294Sobrien * doc/am-utils.texi (Option): document xlatecookie mount option. 4946174294Sobrien 4947174294Sobrien * libamu/mount_fs.c (compute_nfs_args): support "xlatecookie" 4948174294Sobrien NFS mount option. Patch from Matthias Scheler <tron@zhadum.de> 4949174294Sobrien for NetBSD. 4950174294Sobrien 4951174294Sobrien2002-06-22 Ion Badulescu <ionut@edgar.badula.org> 4952174294Sobrien 4953174294Sobrien * conf/autofs/autofs_solaris_v1.h: add FS_MBACKGROUND to 4954174294Sobrien AUTOFS_LINK_FS_FLAGS 4955174294Sobrien 4956174294Sobrien * conf/autofs/autofs_solaris_v1.c: convert link mounts to lofs 4957174294Sobrien mounts in autofs_link_mount/umount 4958174294Sobrien 4959174294Sobrien2002-06-22 Ion Badulescu <lionut@gonzales.badula.org> 4960174294Sobrien 4961174294Sobrien * configure.in: check for devid inside struct umntrequest 4962174294Sobrien 4963174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (xdr_umntrequest): handle the 4964174294Sobrien new umntrequest structure in v4. 4965174294Sobrien (autofs_unmount_2_req): ditto 4966174294Sobrien 4967174294Sobrien * README.autofs: updated for Solaris 2.5/2.5.1 4968174294Sobrien 4969174294Sobrien2002-06-22 Erez Zadok <ezk@whitestar.dyn.optonline.net> 4970174294Sobrien 4971174294Sobrien * configure.in: only define LDAP/Hesiod if both the headers and 4972174294Sobrien the libraries exist, and the user didn't explicitly disable those 4973174294Sobrien maps. 4974174294Sobrien 4975174294Sobrien2002-06-22 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 4976174294Sobrien 4977174294Sobrien * doc/am-utils.texi: fix typos. Can't use ":" in @cindex entries. 4978174294Sobrien 4979174294Sobrien2002-06-22 Erez Zadok <ezk@whitestar.dyn.optonline.net> 4980174294Sobrien 4981174294Sobrien * doc/am-utils.texi, scripts/amd.conf.5, scripts/amd.conf-sample, 4982174294Sobrien amd/amd.8, amd/get_args.c (get_args): document amd -A option. 4983174294Sobrien 4984174294Sobrien * amd/get_args.c (get_args): support "amd -A arg" option to 4985174294Sobrien override the system's detected architecture. Patch from George 4986174294Sobrien Ross <gdmr@dcs.ed.ac.uk>. 4987174294Sobrien 4988174294Sobrien * amd/info_ldap.c (amu_ldap_rebind): don't use ldap_enable_cache() 4989174294Sobrien if the system doesn't have it. 4990174294Sobrien 4991174294Sobrien * configure.in: detect existence of ldap_enable_cache function, 4992174294Sobrien because it doesn't exist on Solaris 9's latest ldap libraries. 4993174294Sobrien 4994174294Sobrien * amd/info_ldap.c: LDAP patches from George Ross 4995174294Sobrien <gdmr@dcs.ed.ac.uk>. Rework of old code, support for wildcards in 4996174294Sobrien LDAP queries, and an FD leak fix. 4997174294Sobrien 4998174294Sobrien2002-06-22 Ion Badulescu <lionut@gonzales.badula.org> 4999174294Sobrien 5000174294Sobrien * buildall: use ksh for configure on aix5.1; pass the extra 5001174294Sobrien arguments after "--" to configure, not to make 5002174294Sobrien 5003119679Smbr * Makefile.am: added nfs_prot_aix4_3.h to EXTRA_DIST_CONF 5004119679Smbr 5005119679Smbr * conf/mount/mount_aix.c (mount_aix3): if the NFSv3 mount fails 5006119679Smbr with EINVAL and we have MOUNT_TYPE_NFS3_BIS defined, retry the 5007119679Smbr mount with the alternative nfs3_args structure 5008119679Smbr 5009119679Smbr * conf/nfs_prot/nfs_prot_aix4_3.h: added alternative nfs3_args 5010119679Smbr structure, similar to that in aix5.1, for a hack that tries to 5011119679Smbr compensate for IBM's brain fart 5012119679Smbr 5013119679Smbr * conf/nfs_prot/nfs_prot_aix5_1.h: new nfs_prot header for aix5.1+ 5014119679Smbr 5015119679Smbr * aux/macros/check_nfs_prot_headers.m4: added new header for aix5.1+ 5016119679Smbr 5017119679Smbr * BUGS: update for direct mounts on Linux; document the brokenness 5018119679Smbr of /bin/sh on AIX 5.1 and HP-UX 9 5019119679Smbr 5020174294Sobrien * NEWS: aix5.1 port, aix4.3 workaround 5021119679Smbr 5022174294Sobrien2002-06-22 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5023119679Smbr 5024174294Sobrien * ltmain.sh: use libtool 1.4d, needed support for newer AIX. 5025119679Smbr 5026174294Sobrien2002-06-21 Ion Badulescu <ion@guppy.limebrokerage.com> 5027174294Sobrien 5028174294Sobrien * aux/macros/check_autofs_style.m4: enable autofs_v2_v3 for 5029174294Sobrien all solaris2.6+, not just for 2.[6-8] 5030174294Sobrien 5031174294Sobrien * conf/autofs/autofs_default.h: disable autofs if configure 5032174294Sobrien detects it 5033174294Sobrien 5034119679Smbr2002-06-21 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5035119679Smbr 5036119679Smbr * aux/macros/with_addon.m4: correct M4 quoting. 5037119679Smbr 5038119679Smbr * aux/macros/cache_check_dynamic.m4: correct M4 quoting. 5039119679Smbr 5040119679Smbr * bootstrap: show version of autotools being used. Helps 5041119679Smbr maintainer debugging. 5042119679Smbr 5043119679Smbr * configure.in: new proper syntax for libtool and 5044119679Smbr ansi2knr-filtering rules, required by autoconf 1.53 and higher. 5045119679Smbr 5046119679Smbr2002-06-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5047119679Smbr 5048119679Smbr * aux/GNUmakefile: new search paths for "update" target. 5049119679Smbr 5050119679Smbr * config.guess, config.sub, doc/texinfo.tex, ltmain: updates from 5051119679Smbr the latest GNU distributions. 5052119679Smbr 5053174294Sobrien2002-06-11 Ion Badulescu <ion@guppy.limebrokerage.com> 5054174294Sobrien 5055174294Sobrien * amd/amfs_auto.c (amfs_auto_lookup_child): split part of this 5056174294Sobrien function into the new amfs_auto_lookup_one_child function; return 5057174294Sobrien null if all ivecs failed to match 5058174294Sobrien 5059119679Smbr2002-05-30 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5060119679Smbr 5061119679Smbr * config.guess.long: support SuSE version names in long 5062119679Smbr config.guess format. 5063119679Smbr 5064119679Smbr2002-05-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5065119679Smbr 5066119679Smbr * scripts/lostaltmail.in (vrfy_user): unlink temp files if too 5067119679Smbr small. 5068119679Smbr 5069174294Sobrien2002-04-07 Ion Badulescu <ionut@moisil.badula.org> 5070174294Sobrien 5071174294Sobrien * hlfsd/hlfsd.c (main): compile fix for --enable-debug=no 5072174294Sobrien 5073119679Smbr2002-03-29 Ion Badulescu <ionut@moisil.badula.org> 5074119679Smbr 5075174294Sobrien * README.autofs: solaris 2.5/2.5.1 info, other minor changes 5076119679Smbr 5077174294Sobrien * doc/am-utils.texi (History): document solaris 2.5+ support 5078174294Sobrien 5079174294Sobrien * include/am_utils.h: new member in struct mntfs: mfs_real_mount; 5080174294Sobrien autofs_fs_flags becomes conditional of HAVE_AUTOFS_FS; new 5081174294Sobrien prototype for umount_fs2(); extra argument for UMOUNT_FS() 5082174294Sobrien 5083174294Sobrien * hlfsd/hlfsd.c: use the new mount_fs2() and UMOUNT_FS() 5084174294Sobrien 5085174294Sobrien * libamu/mount_fs.c (mount_fs): wrapper around the new mount_fs2() 5086174294Sobrien function; swap mntdir and real_mntdir as necessary for solaris 2.5 5087174294Sobrien autofs support 5088174294Sobrien 5089174294Sobrien * conf/umount/umount_default.c (umount_fs2): swap mntdir and 5090174294Sobrien real_mntdir as necessary for solaris 2.5 autofs support 5091174294Sobrien 5092174294Sobrien * conf/umount/umount_*.c (umount_fs): wrapper around the new 5093174294Sobrien umount_fs2() function 5094174294Sobrien (umount_fs2): new function which takes the real mountpoint as an 5095174294Sobrien extra argument 5096174294Sobrien 5097174294Sobrien * conf/nfs_prot/nfs_prot_sunos5_5.h: allow autofs support to be 5098174294Sobrien compiled in 5099174294Sobrien 5100174294Sobrien * conf/autofs/autofs_solaris_v1.h (autofs_strdup_space_hack): new 5101174294Sobrien function that appends a space at the end of a string (the famous 5102174294Sobrien "Autofs Space Protocol") 5103174294Sobrien 5104174294Sobrien * conf/autofs/autofs_solaris_v1.c: almost complete reimplementation 5105174294Sobrien 5106174294Sobrien * conf/autofs/autofs_*.h (AUTOFS_*_FS_FLAGS): add 5107174294Sobrien system-specific definitions for these macros 5108174294Sobrien 5109174294Sobrien * conf/autofs/autofs_linux.c (create_autofs_service): remove hacks 5110174294Sobrien which are now handled properly by more generic code 5111174294Sobrien (autofs_link_umount): complain if umount_fs() fails, rmdir the 5112174294Sobrien mountpoint on success 5113174294Sobrien (autofs_umount_succeeded): remove the rmdirs() code, now handled 5114174294Sobrien by generic code 5115174294Sobrien (autofs_mount_succeeded): ditto 5116174294Sobrien 5117174294Sobrien * amd/nfs_start.c (checkup): implement it as an emtpy stub if 5118174294Sobrien DEBUG is not defined 5119174294Sobrien (run_rpc): call autofs_add_fdset() after umount_exported() to 5120174294Sobrien avoid passing invalid file descriptors to select(); use plog() 5121174294Sobrien instead of perror() 5122174294Sobrien 5123174294Sobrien * amd/mntfs.c (init_mntfs): initialize mf_real_mount from mp 5124174294Sobrien (uninit_mntfs): free mf_real_mount 5125174294Sobrien 5126174294Sobrien * amd/autil.c (am_unmounted): don't remove the mount point if a 5127174294Sobrien remount is pending, also don't make the removal conditional on not 5128174294Sobrien being an autofs mount point 5129174294Sobrien 5130174294Sobrien * amd/amfs_nfsx.c (amfs_nfsx_remount): call mkdirs() on 5131174294Sobrien mf->mf_real_mount instead of mf->mf_mount 5132174294Sobrien 5133174294Sobrien * amd/amfs_nfsl.c, amd/amfs_nfsx.c: (amfs_nfsl_umounted): call 5134174294Sobrien rmdirs() on mf->mf_real_mount instead of mf->mf_mount 5135174294Sobrien 5136174294Sobrien * amd/amfs_host.c (make_mntpt): change the third argument to be 5137174294Sobrien the mountpoint, not the entire mntfs structure 5138174294Sobrien (do_mount): takes real_mntdir as an extra argument 5139174294Sobrien 5140174294Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): move the creation of the 5141174294Sobrien mountpoint here from try_mount(), otherwise the change to mf_flags 5142174294Sobrien is lost for background mounts; remove the mountpoint if we created 5143174294Sobrien it and the mount fails 5144174294Sobrien (amfs_auto_lookup_mntfs): re-initialize mf->mf_real_mount using 5145174294Sobrien autofs_strdup_space_hack() if NEED_AUTOFS_SPACE_HACK is defined 5146174294Sobrien 5147174294Sobrien * amfs_*.c, ops_*.c: initialize autofs_fs_flags using the 5148174294Sobrien AUTOFS_*_FS_FLAGS macro defined in the system-specific autofs 5149174294Sobrien header; UMOUNT_FS() takes mf->mf_real_mount as an extra argument; 5150174294Sobrien mount_fs() becomes mount_fs2() and takes mf->mf_real_mount as an 5151174294Sobrien extra argument 5152174294Sobrien 5153174294Sobrien * amd/amd.h, amd/ops_nfs.c, amd/amfs_host.c: mount_nfs_fh takes 5154174294Sobrien the real mountpoint as an additional argument 5155174294Sobrien 5156119679Smbr2002-03-28 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5157119679Smbr 5158174294Sobrien * amd/ops_cdfs.c (mount_cdfs): correctly interpret error return 5159174294Sobrien values back from mount_fs(). Return correct error number from 5160174294Sobrien this function. 5161174294Sobrien 5162174294Sobrien * conf/mount/mount_linux.c (do_mount_linux): cleanup loop mount 5163174294Sobrien cruft from this function, moved elsewhere. 5164174294Sobrien (mount_linux): prepare for loop-device mounts of ISO images. 5165174294Sobrien 5166174294Sobrien2002-03-28 Ion Badulescu <ionut@buggy.badula.org> 5167174294Sobrien 5168174294Sobrien * libamu/Makefile.am (EXTRA_DIST): added strerror.c 5169174294Sobrien 5170174294Sobrien * libamu/strerror.c: strerror() implementation for systems lacking it 5171174294Sobrien 5172174294Sobrien * doc/am-utils.texi (History): rewrote the history :) about autofs 5173174294Sobrien support 5174174294Sobrien 5175174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c: updated copyright; 5176174294Sobrien (autofs_unmount_2_req): minor cleanup 5177174294Sobrien (create_autofs_service): print log message 5178174294Sobrien (destroy_autofs_service): ditto 5179174294Sobrien 5180174294Sobrien * conf/autofs/autofs_linux.c: updated copyright 5181174294Sobrien 5182174294Sobrien * amd/nfs_start.c (mount_automounter): move the debug message into 5183174294Sobrien create_autofs_service() 5184174294Sobrien 5185174294Sobrien * amd/amd.c (main): call destroy_autofs_service() before 5186174294Sobrien going_down(), not after 5187174294Sobrien 5188174294Sobrien * configure.in: added strerror to AC_CHECK_FUNCS(); disable ldap 5189174294Sobrien if the ldap headers are not found 5190174294Sobrien 5191174294Sobrien2002-03-28 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5192174294Sobrien 5193119679Smbr * amd/info_ldap.c: patch from "Sebastien Bahloul" 5194119679Smbr <sebastien.bahloul@medasys.org> to fix a simple initialization bug 5195119679Smbr and change "HE" to HE_ENT so as to compile on HPUX. 5196119679Smbr 5197174294Sobrien2002-02-26 Erez Zadok <ezk@t3.fsl.cs.sunysb.edu> 5198174294Sobrien 5199174294Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h (na_uid): freebsd4.5 uses nfs 5200174294Sobrien atttributes field named "uid". So #define na_uid to it. 5201174294Sobrien 5202119679Smbr2002-02-12 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5203119679Smbr 5204119679Smbr * scripts/lostaltmail.in: don't verify user if -noverify option 5205119679Smbr was turned on. fix comment typo. 5206119679Smbr 5207174294Sobrien2002-02-11 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5208119679Smbr 5209174294Sobrien * amd/Makefile.am (TESTS): enable one test script, test1.sh. 5210119679Smbr 5211174294Sobrien * amd/test1.sh: re-commit simple test script. 5212174294Sobrien 5213119679Smbr2002-02-11 Ion Badulescu <ion@guppy.limebrokerage.com> 5214119679Smbr 5215174294Sobrien * Released snapshot 6.1a5 5216174294Sobrien 5217174294Sobrien * NEWS: Solaris autofs readdir() support, Linux autofs sublink fix 5218174294Sobrien 5219119679Smbr * README: require newer auto-tools, update mailing list address 5220119679Smbr 5221174294Sobrien * README.autofs: major update 5222119679Smbr 5223174294Sobrien * configure.in: version changed to 6.1a5 5224174294Sobrien 5225174294Sobrien2002-02-11 Ion Badulescu <ionut@moisil.badula.org> 5226174294Sobrien 5227174294Sobrien * conf/autofs/autofs_linux.c (autofs_link_mount): don't do a 5228174294Sobrien stat() on the am_link if called from the parent amd, to prevent 5229174294Sobrien deadlocks 5230174294Sobrien 5231174294Sobrien * amd/autil.c (am_unmounted): call amfs_link_ops.umount_fs if the 5232174294Sobrien fstype is not link but we have a sublink (Linux autofs needs this) 5233174294Sobrien (am_mounted): call amfs_link_ops.mount_fs if the fstype is not 5234174294Sobrien link but we have a sublink (Linux autofs needs this) 5235174294Sobrien 5236174294Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): print the real mountpoint, 5237174294Sobrien not the amd entry point 5238174294Sobrien 5239174294Sobrien2002-02-09 Ion Badulescu <ionut@moisil.badula.org> 5240174294Sobrien 5241174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (amd_rddirres): new custom 5242174294Sobrien structure for returning the results from readdir_2() 5243174294Sobrien (xdr_amd_putrddirres): renamed from xdr_autofs_putrddirres, 5244174294Sobrien changed to process our internal format (which is essentially the 5245174294Sobrien NFS readdir format) 5246174294Sobrien (xdr_autofs_getrddirres): not needed, deleted 5247174294Sobrien (xdr_amd_rddirres): renamed from xdr_autofs_rddirres, other 5248174294Sobrien changes to handle amd_rddirres instead of autofs_rddirres 5249174294Sobrien (autofs_lookup_2_req): return AUTOFS_NONE instead of 5250174294Sobrien AUTOFS_MOUNT_RQ, to prevent mount storms during ls -F 5251174294Sobrien (autofs_readdir_2_req): implemented 5252174294Sobrien (autofs_readdir_2_free): not needed, deleted 5253174294Sobrien (autofs_program_2): changes from autofs_rddirres to amd_rddirres 5254174294Sobrien (autofs_get_fh): changed initialization of the fh->map member, it 5255174294Sobrien now gets the mountpoint path because it makes it easier to 5256174294Sobrien implement readdir 5257174294Sobrien (autofs_release_fh): put #ifdef HAVE_AUTOFS_ARGS_T_ADDR around 5258174294Sobrien code touching fh->addr 5259174294Sobrien (destroy_autofs_service): new function, deregister the autofs 5260174294Sobrien service with the portmapper on exit 5261174294Sobrien 5262174294Sobrien * conf/autofs/autofs_linux.c (autofs_handle_missing): update 5263174294Sobrien statistics 5264174294Sobrien (destroy_autofs_service): new stub 5265174294Sobrien 5266174294Sobrien * amd/mapc.c (mapc_find): fixed indentation 5267174294Sobrien 5268174294Sobrien * amd/map.c (find_ap_recursive): renamed from find_ap2(), made 5269174294Sobrien static 5270174294Sobrien 5271174294Sobrien * amd/amd.h: removed prototype for find_ap2(), added prototype for 5272174294Sobrien destroy_autofs_service() 5273174294Sobrien 5274174294Sobrien * amd/amd.c (main): call destroy_autofs_service() before going 5275174294Sobrien down 5276174294Sobrien 5277174294Sobrien2002-02-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5278174294Sobrien 5279174294Sobrien * aux/macros/check_field.m4: need also a new version of 5280174294Sobrien AC_CHECK_MEMBERS (plural). 5281174294Sobrien 5282174294Sobrien2002-02-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5283174294Sobrien 5284174294Sobrien * aux/macros/check_field.m4: include a fixed version of 5285174294Sobrien AC_CHECK_MEMBER. g/cc will fail to check a member if the .member 5286174294Sobrien is itself a data structure, because you cannot compare, in C, a 5287174294Sobrien data structure against NULL; you can compare a native data type 5288174294Sobrien (int, char) or a pointer. Solution: do what I did in my original 5289174294Sobrien member checking macro: try to take the address of the member. You 5290174294Sobrien can always take the address of anything. 5291174294Sobrien 5292174294Sobrien2002-01-31 Erez Zadok <ezk@localhost.localdomain> 5293174294Sobrien 5294174294Sobrien * remove old '%W%' SCCS IDs from all sources. 5295174294Sobrien 5296174294Sobrien2002-01-21 Ion Badulescu <ionut@moisil.badula.org> 5297174294Sobrien 5298174294Sobrien * conf/mount/mount_linux.c (mount_linux): fix breakage introduced 5299174294Sobrien by the loop device mount support. Linux mount takes a real string 5300174294Sobrien as the last argument, unless the mount type is NFS, NCP, or SMB. 5301174294Sobrien 5302119679Smbr2002-01-20 Erez Zadok <ezk@localhost.localdomain> 5303119679Smbr 5304119679Smbr * hlfsd/hlfsd.h (HLFSD_VERSION): up version of hlfsd to 1.2, 5305119679Smbr because we made some important changes. 5306119679Smbr 5307119679Smbr2002-01-20 Ion Badulescu <lionut@gonzales.badula.org> 5308119679Smbr 5309174294Sobrien * include/am_utils.h (D_ALL): do not include D_MTAB and D_HRTIME 5310174294Sobrien by default 5311174294Sobrien 5312119679Smbr * NEWS: document latest changes 5313119679Smbr 5314119679Smbr * amd/map.c (unmount_mp): same fix as for hlfsd, update the 5315119679Smbr seconds field in mtime because Linux ignores the useconds field 5316119679Smbr 5317119679Smbr * hlfsd/homedir.c: made some global vars static 5318119679Smbr (plt_init): remove all trailing '/' chars from root's home; 5319119679Smbr use root's home, not the username (silly bugfix) 5320119679Smbr 5321119679Smbr2002-01-20 Ion Badulescu <lionut@gonzales.badula.org> 5322119679Smbr 5323119679Smbr * hlfsd/homedir.c (homedir): don't special case uid 0 as having / 5324174294Sobrien as home; instead use the root account's home 5325119679Smbr (plt_init): properly initialize root_home from the root account's 5326119679Smbr home directory, or as "" if root doesn't exist 5327119679Smbr (plt_reset): free root_home 5328119679Smbr 5329174294Sobrien2002-01-20 Erez Zadok <ezk@localhost.localdomain> 5330119679Smbr 5331174294Sobrien * hlfsd/stubs.c (nfsproc_{lookup,getattr}_2_svc): non-SYMTTL code. 5332174294Sobrien Increment seconds, not microseconds (which are ignored by NFS). 5333174294Sobrien Set symlink owner to euid. 5334119679Smbr 5335174294Sobrien * hlfsd/homedir.c (homedir): pass gid to this function, so we can 5336174294Sobrien also change the effective GID of the process writing to the user's 5337174294Sobrien home dir, as well as the group of the hlfsd symlink. 5338174294Sobrien (homedir): run setegid in the right places. 5339119679Smbr 5340174294Sobrien2002-01-15 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5341119679Smbr 5342174294Sobrien * scripts/redhat-ctl-amd.in: refer to @sbindir@ not 5343174294Sobrien ${prefix}/sbin. 5344174294Sobrien 5345174294Sobrien * scripts/ctl-{amd,hlfsd}.in: refer to @sysconfdir@ not 5346174294Sobrien ${prefix}/etc. Bug report from "A Braunsdorf" 5347174294Sobrien <ab@eas.purdue.edu>. 5348174294Sobrien 5349174294Sobrien2002-01-13 Erez Zadok <ezk@localhost.localdomain> 5350174294Sobrien 5351174294Sobrien * configure.in: only check for clock_gettime if --enable-debug was 5352174294Sobrien used. 5353174294Sobrien 5354174294Sobrien * aux/macros/opt_debug.m4: define a cache variable to record value 5355174294Sobrien of debug option used. 5356174294Sobrien 5357174294Sobrien * libamu/xutil.c (show_time_host_and_name): do not use 5358174294Sobrien clock_gettime unless debugging was compiled in. This way, if 5359174294Sobrien debugging is not compiled, we don't bother linking with librt, 5360174294Sobrien libpthread, and a whole lot of other libraries that aren't that 5361174294Sobrien necessary (esp. on Linux). 5362174294Sobrien 5363174294Sobrien2002-01-12 Erez Zadok <ezk@wavy.dyn.optonline.net> 5364174294Sobrien 5365174294Sobrien * doc/am-utils.texi (opts Option): document loop option. 5366174294Sobrien 5367174294Sobrien * include/am_utils.h: each mounted file system (mntfs) should 5368174294Sobrien optionally store the loop device used in the field mf_loopdev. 5369174294Sobrien 5370174294Sobrien * conf/nfs_prot/nfs_prot_linux.h: define HAVE_LOOP_DEVICE and some 5371174294Sobrien loop function extern definitions. For now this code is here 5372174294Sobrien because we only support loop devices on Linux. 5373174294Sobrien 5374174294Sobrien * conf/mount/mount_linux.c: recognize "loop" as a valid iso9660 5375174294Sobrien mount option. 5376174294Sobrien (parse_opts): when skipping over unknown mount options, skip over 5377174294Sobrien "loop" (since it was given in amd map entry), but not over 5378174294Sobrien loop=/dev/loopX, because the latter will go into /etc/mtab. 5379174294Sobrien (do_mount_linux): override actual cdfs mounted device name 5380174294Sobrien because with loop devices you don't mount the .iso file directly, 5381174294Sobrien but the /dev/loopX device that was setup for it. 5382174294Sobrien (show_loop, is_loop_device, find_unused_loop_device, 5383174294Sobrien setup_loop_device, delete_loop_device): support code for loop 5384174294Sobrien devices. 5385174294Sobrien 5386174294Sobrien * amd/ops_cdfs.c (mount_cdfs): pass loop device name to function. 5387174294Sobrien setup loop device before isofs mount, if "loop" option was given, 5388174294Sobrien before actual mount(2). 5389174294Sobrien (cdfs_mount): pass loopdev name to mount_cdfs(). 5390174294Sobrien (cdfs_umount): delete/unset loop device after a successful 5391174294Sobrien unmount, if a loop device was used. 5392174294Sobrien 5393174294Sobrien * amd/mntfs.c (init_mntfs): initialize mf_loopdev to NULL. 5394174294Sobrien 5395174294Sobrien * include/am_compat.h: If loop device (header file) exists, define 5396174294Sobrien mount table option MNTTTAB_OPT_LOOP. 5397174294Sobrien 5398174294Sobrien * conf/nfs_prot/nfs_prot_linux.h: hack: define HAVE_LOOP_DEVICE 5399174294Sobrien here until we have a better way to detect /dev/loop devices. 5400174294Sobrien 5401174294Sobrien * include/am_defs.h: include <linux/loop.h> if it exists. Define 5402174294Sobrien LARGEFILE support macros, possibly needed for loop devices. 5403174294Sobrien Redefine dev_t apropriately for loop devices. 5404174294Sobrien 5405174294Sobrien * configure.in: check for <linux/loop.h>. 5406174294Sobrien 5407119679Smbr2002-01-10 Ion Badulescu <ion@guppy.limebrokerage.com> 5408119679Smbr 5409119679Smbr * conf/mount/mount_linux.c (mount_linux): tcp _must_ have a timeo 5410119679Smbr parameter 2 orders of magnitude larger than udp (patch from Trond 5411119679Smbr Myklebust) 5412119679Smbr 5413174294Sobrien2002-01-09 Erez Zadok <ezk@localhost.localdomain> 5414174294Sobrien 5415174294Sobrien * aux/macros/linux_headers.m4: properly [quote] a long string in 5416174294Sobrien m4 and use AC_MSG_WARN. 5417174294Sobrien 5418174294Sobrien * ALL: put /* comments */ on #else/#endif lines everywhere. 5419174294Sobrien 5420174294Sobrien * configure.in, aux/macros/with_addon.m4: due to limitation of 5421174294Sobrien AC_HELP_STRING, pass 2nd arg to AMU_WITH_ADDON, listing name of 5422174294Sobrien package for help string. 5423174294Sobrien 5424174294Sobrien * doc/am-utils.texi (FSinfo): fixed various texinfo errors in the 5425174294Sobrien FSinfo section of the manual. 5426174294Sobrien (map_reload_interval Parameter): document new amd.conf global 5427174294Sobrien parameter. 5428174294Sobrien 5429174294Sobrien * scripts/amd.conf.5 document new global option 5430174294Sobrien map_reload_interval. Sort entries for nfs_vers and nfs_proto 5431174294Sobrien alphabetically. 5432174294Sobrien 5433174294Sobrien * amd/nfs_start.c (do_select): increment do_mapc_reload's value by 5434174294Sobrien global map_reload_interval value, not by fixed ONE_HOUR. 5435174294Sobrien 5436174294Sobrien * amd/amd.c (main): increment do_mapc_reload's value by global 5437174294Sobrien map_reload_interval value, not by fixed ONE_HOUR. 5438174294Sobrien 5439174294Sobrien * scripts/amd.conf-sample (map_reload_interval): usage example 5440174294Sobrien 5441174294Sobrien * amd/amd.c (init_global_options): initialize map_reload_interval 5442174294Sobrien to 3600 seconds. 5443174294Sobrien 5444174294Sobrien * amd/conf.c (gopt_map_reload_interval): support a new global 5445174294Sobrien amd.conf option map_reload_interval, to determine how often (in 5446174294Sobrien seconds) Amd should check if the map source has changed and then 5447174294Sobrien reload it it. This value was hard-coded to one hour, now it's the 5448174294Sobrien default if not otherwise specified. 5449174294Sobrien 5450174294Sobrien * doc/am-utils.texi (plock Parameter): document plock=yes option 5451174294Sobrien as using mlockall(2) if found. 5452174294Sobrien 5453174294Sobrien * scripts/amd.conf.5: document -S option as using mlockall(2) if 5454174294Sobrien found. 5455174294Sobrien 5456174294Sobrien * include/am_defs.h: include <sys/mman.h> if it exists. 5457174294Sobrien 5458174294Sobrien * configure.in: check for mlockall() function. Check for 5459174294Sobrien sys/mman.h. 5460174294Sobrien 5461174294Sobrien * amd/amd.c (main): support mlockall() on systems that have it and 5462174294Sobrien don't have plock(3) for plock=yes. On systems that have both, 5463174294Sobrien will try plock() first and then mlockall(), until one of them (if 5464174294Sobrien any) succeeds. 5465174294Sobrien 5466174294Sobrien2002-01-09 Erez Zadok <ezk@whitestar.dyn.optonline.net> 5467174294Sobrien 5468174294Sobrien * aux/macros/opt_debug.m4, opt_cppflags.m4, opt_amu_cflags.m4, 5469174294Sobrien with_addon.m4 (ac_upcase): fix help string formatting using 5470174294Sobrien AC_HELP_STRING. 5471174294Sobrien 5472174294Sobrien * amd/test1.sh: simple test script for "make check". Runs "amd 5473174294Sobrien -v". 5474174294Sobrien 5475174294Sobrien * amd/Makefile.am (TESTS): add one simple test script, running 5476174294Sobrien "amd -v" and checking its return value. More tests can be added. 5477174294Sobrien 5478174294Sobrien * aux/macros/linux_headers.m4: use AC_MSG_WARN directly. 5479174294Sobrien 5480174294Sobrien * aux/macros/*.m4: avoid the cumbersome "changequote" M4 command. 5481174294Sobrien Instead, list bracketed regexp patterns in [[double brackets]]. 5482174294Sobrien 5483174294Sobrien * aux/macros/header_templates.m4: remove all unnecessary 5484174294Sobrien HAVE_FIELD_* definitions, now that we're using autoconf's new 5485174294Sobrien AC_CHECK_MEMBERS. 5486174294Sobrien 5487174294Sobrien * aux/macros/field_mntent_t_mnt_time_string.m4: don't call 5488174294Sobrien 5489174294Sobrien * configure.in: use new syntax for AMU_CHECK_FIELD 5490174294Sobrien 5491174294Sobrien * aux/macros/check_field.m4: use new and simpler macro 5492174294Sobrien AC_CHECK_MEMBERS. Change all sources to use HAVE_aggregate.member 5493174294Sobrien instead of HAVE_FIELD_aggregate.member. 5494174294Sobrien 5495174294Sobrien * aux/amdgrep: simple utility script to egrep the am-utils sources 5496174294Sobrien for any pattern. 5497174294Sobrien 5498174294Sobrien * aux/macros/{check_mnttab_style.m4, check_mount_style.m4, 5499174294Sobrien check_umount_style.m4, check_network_transport_type.m4}: use newer 5500174294Sobrien AC_LIBOBJ macros instead of modifying $LIBOBJS directly 5501174294Sobrien 5502174294Sobrien * aux/macros/func_bad_memcmp.m4: redefine to use native 5503174294Sobrien AC_FUNC_MEMCMP, and then define HAVE_BAD_MEMCMP as needed. 5504174294Sobrien 5505174294Sobrien * fsinfo/fsi_gram.y, amd/conf_parse.y: indent #pragma command so 5506174294Sobrien pre-ANSI C compilers will ignore it. 5507174294Sobrien 5508174294Sobrien * conf/autofs/autofs_linux.c (autofs_link_mount): call s/getpgrp() 5509174294Sobrien correctly depending on whether it takes a void or a 0. 5510174294Sobrien 5511174294Sobrien * configure.in: check if s/getpgrp() takes void or a 0. 5512174294Sobrien 5513174294Sobrien2002-01-08 Erez Zadok <ezk@whitestar.dyn.optonline.net> 5514174294Sobrien 5515174294Sobrien * configure.in: use the newer AC_CONFIG_LINKS instead of 5516174294Sobrien AC_LINK_FILES. 5517174294Sobrien 5518174294Sobrien * aux/macros/check_autofs_style.m4, check_checkmount_style.m4, 5519174294Sobrien check_mnttab_style.m4, check_mount_style.m4, 5520174294Sobrien check_network_transport_type.m4, check_umount_style.m4, 5521174294Sobrien check_nfs_prot_headers.m4: removed backward compatible code for 5522174294Sobrien pre-autoconf-2.14. 5523174294Sobrien 5524174294Sobrien2002-01-07 Erez Zadok <ezk@whitestar.dyn.optonline.net> 5525174294Sobrien 5526174294Sobrien * doc/Makefile.am: define @SET_MAKE@ for AC_PROG_MAKE_SET macro, since 5527174294Sobrien this Makefile could explicitly chdir to other directories and run 5528174294Sobrien make there. 5529174294Sobrien (install-ps): use ${MAKE} with ${MFLAGS}. 5530174294Sobrien 5531174294Sobrien * Makefile.am (EXTRA_DIST_AUX): distribute new package_*.m4 files. 5532174294Sobrien Define @SET_MAKE@ for AC_PROG_MAKE_SET macro, since this Makefile 5533174294Sobrien could explicitly chdir to other directories and run make there. 5534174294Sobrien (install-snapshot): use ${MAKE} ${MFLAGS}, not hardcoded "make". 5535174294Sobrien 5536174294Sobrien * configure.in: call AC_PROG_MAKE_SET to check if make program 5537174294Sobrien defines $MAKE variable. 5538174294Sobrien 5539174294Sobrien * amd/get_args.c (get_version_string): use new PACKAGE_* macros 5540174294Sobrien and also report the bug-reporting address. 5541174294Sobrien 5542174294Sobrien * aux/macros/package_{name,version}.m4, header_templates.m4: using 5543174294Sobrien new PACKAGE_{NAME,VERSION,BUGREPORT} macros. 5544174294Sobrien 5545174294Sobrien * aux/macros/name_bugreport.m4: simple macro to print out the 5546174294Sobrien bug-reporting address which was configured in AC_INIT. 5547174294Sobrien 5548174294Sobrien * bootstrap: remove new autoconf messages about misuse of 5549174294Sobrien m4_patsubst and m4_regexp (internal GNU M4 macros). 5550174294Sobrien 5551174294Sobrien * configure.in: remove old comment above AC_OUTPUT. 5552174294Sobrien Use AC_CONFIG_FILES and AC_OUTPUT separately. 5553174294Sobrien Fix AC_REVISION use. 5554174294Sobrien Add AC_COPYRIGHT. 5555174294Sobrien Use new style for AC_INIT, listing package name, version, and 5556174294Sobrien bug-reporting address. 5557174294Sobrien Call new AMU_PACKAGE_* macros. 5558174294Sobrien 5559174294Sobrien * updated copyright year to 2002 on all files 5560174294Sobrien 5561174294Sobrien * configure.in: using newly renamed am-utils macros (AMU_*) 5562174294Sobrien 5563174294Sobrien * aux/macros/*.m4: renamed ALL am-utils specific macros so they 5564174294Sobrien start with AMU_*, not AC_*. That way it is easier to distinguish 5565174294Sobrien between macros that come with am-utils and those that are part of 5566174294Sobrien Autoconf or Automake. It helps to identify those am-utils macros 5567174294Sobrien that can be removed once there is generic support for them in a 5568174294Sobrien future version of Autoconf. 5569174294Sobrien 5570174294Sobrien * bootstrap: run automake --copy 5571174294Sobrien remove autom4te.cache dir before rerunning autoconf 5572174294Sobrien 5573119679Smbr2001-12-13 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5574119679Smbr 5575119679Smbr * scripts/amd.conf.5: correct title to section 5, not 8. Correct 5576119679Smbr reversed meaning of nfs_proto and nfs_vers parameters. Typos 5577119679Smbr reported by Peter Breitenlohner <peb@mppmu.mpg.de>. 5578119679Smbr 5579119679Smbr2001-12-02 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5580119679Smbr 5581119679Smbr * scripts/ctl-amd.in: run "test" or "[" in front of -x/-f 5582119679Smbr 5583119679Smbr * scripts/ctl-hlfsd.in: run "test" or "[" in front of -x/-f 5584119679Smbr 5585174294Sobrien2001-12-02 Ion Badulescu <ionut@moisil.badula.org> 5586174294Sobrien 5587174294Sobrien * hlfsd/homedir.c (plt_print): fix typo (s/plot/plog/) in 5588174294Sobrien non-mkstemp code 5589174294Sobrien 5590174294Sobrien * scripts/ctl-amd.in: touch/remove /var/lock/subsys/amd to make RH 5591174294Sobrien happy 5592174294Sobrien 5593174294Sobrien * scripts/ctl-hlfsd.in: ditto (for hlfsd) 5594174294Sobrien 5595174294Sobrien * conf/mtab/mtab_file.c (rewrite_mtab): fchmod(644) the file we 5596174294Sobrien get from mkstemp(), otherwise samba becomes very unhappy (sigsegv) 5597174294Sobrien 5598174294Sobrien * conf/mtab/mtab_mach3.c (rewrite_mtab): ditto 5599174294Sobrien 5600119679Smbr2001-11-29 Ion Badulescu <ion@guppy.limebrokerage.com> 5601119679Smbr 5602119679Smbr * tasks: updated 5603119679Smbr 5604174294Sobrien * NEWS: document the fixed autofs fd leak 5605174294Sobrien 5606119679Smbr * amq/amq.8: better document the -f option 5607119679Smbr 5608119679Smbr2001-11-29 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5609119679Smbr 5610174294Sobrien * libamu/mount_fs.c (mnt_flags): same this as for nolock option 5611119679Smbr handling, do for maxgrps. 5612119679Smbr 5613174294Sobrien2001-11-29 Ion Badulescu <ion@guppy.limebrokerage.com> 5614174294Sobrien 5615174294Sobrien * conf/autofs/autofs_linux.c (hash_init): determine the max number 5616174294Sobrien of fd's at runtime, use it to dynamically scale the hash and list 5617174294Sobrien arrays 5618174294Sobrien (autofs_get_fh): sanity check, don't allow a pipe() fd greater 5619174294Sobrien than autofs_max_fds 5620174294Sobrien (autofs_release_fh): close our end of the pipe here (no clue why 5621174294Sobrien or when it got commented out) 5622174294Sobrien (autofs_mounted): set kernelfd to -1 after closing it 5623174294Sobrien 5624119679Smbr2001-11-28 Philippe Troin <phil@fifi.org> 5625119679Smbr 5626119679Smbr * libamu/mount_fs.c (mnt_flags): Drop nolock from generic mount 5627119679Smbr opts. 5628119679Smbr (compute_nfs_args): Added nolock handling. 5629119679Smbr Adapted from an original patch from Avery Pennarun <apenwarr@nit.ca>. 5630119679Smbr 5631119679Smbr2001-11-27 Erez Zadok <ezk@a-hpux11i.fsl.cs.sunysb.edu> 5632119679Smbr 5633119679Smbr * ported to ia64-hp-hpux11.20 using HP's ANSI/C compiler. 5634119679Smbr Couldn't use bison/flex because of 32-bit vs. 64-bit binaries 5635174294Sobrien issues. Had to use HP's own yacc/lex. 5636119679Smbr 5637119679Smbr2001-11-26 Erez Zadok <ezk@a-hpux11i.fsl.cs.sunysb.edu> 5638119679Smbr 5639119679Smbr * */Makefile.am: don't use $(OBJECTS) directly because it is no 5640119679Smbr longer automatically defined now that Automake has automatic 5641119679Smbr dependency tracking (which I turn off). Instead, hard-code 5642119679Smbr minimal dependencies on am-utils' header files to depend on 5643174294Sobrien PROG_OBJECTS (where PROG is the program name being built). This 5644174294Sobrien was discovered by using HP's non-GNU make program. 5645119679Smbr 5646119679Smbr * amd/nfs_start.c (checkup): cast getpagesize() return val to 5647119679Smbr long, to avoid conflicts in division of a long by an int (on 5648119679Smbr hpux11i, with their ANSI/C compiler). 5649119679Smbr 5650119679Smbr * INSTALL, doc/am-utils.texi: port updates 5651119679Smbr 5652119679Smbr * minor new ports: ia64-hp-hpux11.20, i386-unknown-freebsd5.0, 5653119679Smbr i386-unknown-freebsd4.4, i386-pc-linux-rh7.2, 5654119679Smbr ia64-unknown-linux-rh7.1. 5655119679Smbr 5656119679Smbr * include/am_defs.h: actually declare extern definition for 5657119679Smbr xdr_callmsg() if it doesn't already exist. 5658119679Smbr 5659119679Smbr * aux/macros/header_templates.m4: declare template for 5660119679Smbr HAVE_EXTERN_XDR_CALLMSG. 5661119679Smbr 5662119679Smbr * configure.in: check for extern definition for xdr_callmsg() 5663119679Smbr because hpux11 has that function but a bad <rpc/xdr.h> header file 5664119679Smbr that doesn't define it in the right place. 5665119679Smbr 5666119679Smbr * libamu/mount_fs.c (print_nfs_args): cast ->rdev to u_long b/c 5667119679Smbr on hpux11 its type is dev_t. 5668119679Smbr 5669119679Smbr * conf/nfs_prot/nfs_prot_hpux11.h: don't support autofs on hpux11 5670119679Smbr yet. 5671119679Smbr 5672119679Smbr2001-11-16 Erez Zadok <ezk@fsl-gw.fsl.cs.sunysb.edu> 5673119679Smbr 5674119679Smbr * buildall (Usage): separate $cnf_flags and $extra_cnf_flags due 5675119679Smbr to /bin/sh limitations. 5676119679Smbr 5677119679Smbr * bootstrap (cmd): turn back on --ignore-deps (this Automake may 5678119679Smbr have problems) 5679119679Smbr 5680174294Sobrien * libamu/xutil.c: remove __attribute__ format_arg statement for 5681119679Smbr expand_error() because this function, although taking a 5682119679Smbr printf-like string, does not use it in a printf function; it only 5683119679Smbr expands a non-printf amd-special syntax %m. 5684119679Smbr 5685119679Smbr2001-11-14 Erez Zadok <ezk@fsl-gw.fsl.cs.sunysb.edu> 5686119679Smbr 5687119679Smbr * conf/nfs_prot/nfs_prot_linux.h: define KERNEL_VERSION macro 5688119679Smbr before using it because older Linux systems don't define this 5689119679Smbr (e.g., Red Hat 4.2) 5690119679Smbr 5691119679Smbr2001-11-13 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5692119679Smbr 5693119679Smbr * configure.in: convert to using autoconfig 2.52. Use new macros. 5694119679Smbr AC_MSG_NOTICE for messages; AH_TOP and AH_BOTTOM to top and bottom 5695119679Smbr parts of autogenerated config.h.in; increase autoconf 5696119679Smbr pre-requisite to version 2.50; use AC_DISABLE_SHARED not 5697119679Smbr AM_DISABLE_SHARED. 5698119679Smbr 5699119679Smbr * aux/macros/cache_check_dynamic.m4: finally I can use the new 5700119679Smbr $ECHO_N syntax in macros instead of $ac_n, since I'm using a new 5701119679Smbr autoconf. Isn't it nice to be such forward looking and having 5702119679Smbr placed a comment "XXX: use the next line for autoconf-2.14 and 5703119679Smbr newer"... :-) 5704119679Smbr 5705119679Smbr * aux/macros/save_state.m4: highlight message with ***'s 5706119679Smbr 5707119679Smbr * aux/macros/host_macros.m4: use proper M4 quoting ([], not "") 5708119679Smbr 5709119679Smbr * config.{guess,sub}: upated from latest prep ftp distributions 5710174294Sobrien 5711119679Smbr * depcomp, missing, mkinstalldirs: upated from latest Automake 1.5 5712119679Smbr 5713119679Smbr * ltmain.sh: updated from latest Libtool 1.4.2 5714174294Sobrien 5715119679Smbr * bootstrap: finally, new autoconf doesn't print silly "AC_TRY_RUN 5716119679Smbr called without default to allow cross compiling" warnings. And, 5717119679Smbr it only took like 3+ years to fix this. But, now it has anoter, 5718119679Smbr albeit less annoying warning (which the manual says to ignore): 5719119679Smbr "AC_PROG_LEX invoked multiple times". 5720119679Smbr When autoheader is run, don't treat the "all clear" message 5721119679Smbr "config.h.in is update" as an error. 5722119679Smbr 5723119679Smbr * ltconfig: removed. not needed with latest version of libtool 5724119679Smbr 5725119679Smbr * aux/macros/header_templates.m4: replaces acconfig.h and defines 5726119679Smbr all CPP macros we use in this package, including their 5727119679Smbr accompanying C /* comments */. 5728119679Smbr 5729119679Smbr * acconfig.h: removed. replaced by new autoconf system to generate 5730119679Smbr header templates using AH_TEMPLATE macros and such. 5731119679Smbr 5732119679Smbr * aux/macros/msg.m4: removed. Replaced with new macro 5733174294Sobrien AC_MSG_NOTICE 5734119679Smbr 5735119679Smbr * Makefile.am (EXTRA_DIST_AUX): remove aux/macros/msg.m4. Add 5736119679Smbr aux/macros/header_templates.m4 5737119679Smbr 5738119679Smbr * configure.in: early, in host_macros.m4, I'm renaming silly linux 5739119679Smbr $host_os names such as linux-gnu and lignux to plain "linux". 5740119679Smbr Alas, RMS finally had his way and libtool will NOT recognize 5741119679Smbr "linux" as a valid system, only "linux-gnu". Sigh. Rich, I know 5742119679Smbr you're responsible to Linux's fame. Kudos to you and your 5743119679Smbr cohorts. But please don't force the rest of us to use those ugly 5744119679Smbr or long names. Solution: temporarily name $host_os to "linux-gnu" 5745119679Smbr before calling the AC_PROG_LIBTOOL macro, then name it back to 5746119679Smbr "linux". (That way I don't have to maintain my own version of 5747119679Smbr ltmain.sh. 5748119679Smbr 5749119679Smbr * buildall: force running configure -C (to create and use a local 5750119679Smbr config.cache file). New default behavior for autoconf is NOT to 5751119679Smbr use cache files. Yeah, that's gonna fly real well with am-utils, 5752119679Smbr with its 700+ automatic tests. 5753119679Smbr 5754119679Smbr * conf/mtab/mtab_mach3.c (rewrite_mtab): use mkstemp instead of 5755119679Smbr mktemp, if the former is available. 5756119679Smbr 5757119679Smbr * conf/mtab/mtab_file.c (rewrite_mtab): use mkstemp instead of 5758119679Smbr mktemp, if the former is available. 5759119679Smbr 5760119679Smbr * mk-amd-map/mk-amd-map.c (main): use mkstemp instead of mktemp, 5761119679Smbr if the former is available. 5762119679Smbr 5763119679Smbr * aux/macros/check_nfs_socket_connection.m4: AC_DEFINE calls must 5764119679Smbr be on a separate line, as per new Autoconf manual, to avoid some 5765119679Smbr Bourne Shell syntactical bizarreness. 5766119679Smbr 5767174294Sobrien2001-11-13 Erez Zadok <ezk@a-rh71i.fsl.cs.suunysb.edu> 5768174294Sobrien 5769174294Sobrien * amd/amfs_auto.c (amfs_auto_readdir_browsable): cast to u_long, 5770174294Sobrien for IA64 Linux. 5771174294Sobrien 5772119679Smbr2001-11-12 Ion Badulescu <ionut@buggy.badula.org> 5773119679Smbr 5774119679Smbr * libamu/mtab.c (hasmntval): strtol can return a non-NULL pointer 5775119679Smbr pointing to '\0' on success, so we need to allow for it. This 5776119679Smbr fixes the problem with rejecting numerical mount options if they 5777119679Smbr are the last option in the string. 5778119679Smbr 5779119679Smbr * configure.in: increased library patchlevel 5780119679Smbr 5781174294Sobrien * NEWS: document the parsing bug 5782119679Smbr 5783174294Sobrien2001-10-29 Ion Badulescu <ionut@moisil.badula.org> 5784174294Sobrien 5785174294Sobrien * configure.in: bumped version up to 6.1a5-pre 5786174294Sobrien 5787174294Sobrien * NEWS: fixed speeling mistaike 5788174294Sobrien 5789174294Sobrien2001-10-29 Ion Badulescu <ionut@moisil.badula.org> 5790174294Sobrien 5791174294Sobrien * released snapshot am-utils-6.1a4 5792174294Sobrien 5793174294Sobrien2001-10-26 Ion Badulescu <ionut@moisil.badula.org> 5794174294Sobrien 5795174294Sobrien These changes fix autofs support for sublinks. While it is not 5796174294Sobrien perfect by any means and is hardly better than non-autofs, at 5797174294Sobrien least it works. 5798174294Sobrien 5799174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_lookup_2_req): don't 5800174294Sobrien reply if the mount is in progress 5801174294Sobrien (autofs_mount_succeeded): handle both delayed lookups and mounts 5802174294Sobrien (autofs_mount_failed): ditto 5803174294Sobrien 5804174294Sobrien * amd/amfs_auto.c (amfs_auto_lookup_mntfs): don't dispose of the 5805174294Sobrien original opt_fs if we have a sublink 5806174294Sobrien 5807174294Sobrien2001-10-23 Ion Badulescu <ionut@moisil.badula.org> 5808174294Sobrien 5809174294Sobrien * amd/amfs_auto.c (amfs_auto_lookup_mntfs): fixed silly typo (mf 5810174294Sobrien instead of new_mf) which was causing null pointer error when 5811174294Sobrien sublinks were being used 5812174294Sobrien 5813174294Sobrien2001-10-22 Ion Badulescu <ionut@moisil.badula.org> 5814174294Sobrien 5815174294Sobrien * README.autofs: updated 5816174294Sobrien 5817174294Sobrien * NEWS: updated 5818174294Sobrien 5819174294Sobrien * INSTALL: updated 5820174294Sobrien 5821174294Sobrien * AUTHORS: added myself 5822174294Sobrien 5823174294Sobrien * doc/am-utils.texi: updated 5824174294Sobrien 5825174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (xdr_autofs_rddirargs): use 5826174294Sobrien xdr_u_int() and cast things to (int) to appease Solaris 2.7 compile 5827174294Sobrien (autofs_readdir_2_req): cast req->rda_offset to (int), same as 5828174294Sobrien above 5829174294Sobrien 5830174294Sobrien2001-10-22 Ion Badulescu <ionut@moisil.badula.org> 5831174294Sobrien 5832174294Sobrien Autofs direct mounts have been verified to work on Solaris2.[67]. 5833174294Sobrien 5834174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_lookup_2_req): 5835174294Sobrien retrieve the uid and gid from the lookup request 5836174294Sobrien (autofs_mount_2_req): skip the first char in the name (it's a 5837174294Sobrien leading '/') if this is a direct mount 5838174294Sobrien 5839174294Sobrien * amd/amfs_direct.c (amfs_direct_ops): use amfs_auto_lookup_child 5840174294Sobrien and amfs_auto_mount_child for amfs_direct's methods 5841174294Sobrien 5842174294Sobrien * amd/amfs_auto.c (amfs_auto_lookup_child): don't leak an am_node 5843174294Sobrien if the mntfs lookup fails 5844174294Sobrien 5845174294Sobrien2001-10-21 Ion Badulescu <ionut@moisil.badula.org> 5846174294Sobrien 5847174294Sobrien * include/am_utils.h (AMF_REMOUNT): new flag, marks the node as 5848174294Sobrien pending a remount 5849174294Sobrien (mntfs): new member mf_fsflags, holds a copy of the filesystem's 5850174294Sobrien fs_flags 5851174294Sobrien (am_ops): new member autofs_fs_flags, holds the filesystem's flags 5852174294Sobrien when mounted onto an autofs node; fs_flags renamed to nfs_fs_flags 5853174294Sobrien 5854174294Sobrien * conf/autofs/autofs_linux.c (create_autofs_service): turn on 5855174294Sobrien FS_MKMNT for amfs_auto and FS_MBACKGROUND for amfs_link 5856174294Sobrien (autofs_umount_succeeded): don't rmdir the mountpoint if a remount 5857174294Sobrien is needed [lest the access that triggered the remount will fail] 5858174294Sobrien 5859174294Sobrien * amd/mntfs.c (init_mntfs): copy the filesystem's nfs_fs_flags 5860174294Sobrien into mf_fsflags on initialization 5861174294Sobrien 5862174294Sobrien * amd/autil.c (am_unmounted): start the remounting right away if 5863174294Sobrien the node is marked as needing a remount [fixes the Linux autofs 5864174294Sobrien deadlock when mount/unmount collide] 5865174294Sobrien 5866174294Sobrien * amd/amfs_auto.c (amfs_auto_lookup_node): mark the node as 5867174294Sobrien needing a remount if a mount request comes in while we're 5868174294Sobrien unmounting it 5869174294Sobrien (amfs_auto_lookup_mntfs): copy the filesystem's autofs_fs_flags 5870174294Sobrien into mf_fsflags if this is an autofs node 5871174294Sobrien 5872174294Sobrien * amd/amfs_*.c, amd/ops_*.c: added initialization for the new 5873174294Sobrien autofs_fs_flags member of am_ops 5874174294Sobrien 5875174294Sobrien2001-10-20 Ion Badulescu <ionut@moisil.badula.org> 5876174294Sobrien 5877174294Sobrien With these changes, Solaris 2.[67] autofs support is finally 5878174294Sobrien functional! 5879174294Sobrien 5880174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_readdir_2_req): stub 5881174294Sobrien (autofs_readdir_2_free, xdr_autofs_rddirargs, xdr_autofs_putrddirres, 5882174294Sobrien xdr_autofs_getrddirres, xdr_autofs_rddirres): new functions 5883174294Sobrien (autofs_lookup_2_req): do an actual lookup here, and tell the 5884174294Sobrien kernel to create a symlink if necessary 5885174294Sobrien (autofs_mount_2_req): no need to am_autofs_data 5886174294Sobrien (autofs_program_2): enable AUTOFS_READDIR 5887174294Sobrien (autofs_link_mount): no code needed here 5888174294Sobrien (autofs_link_umount): return success 5889174294Sobrien (autofs_mount_succeeded): lstat real mount points; don't mark 5890174294Sobrien symlinks as NOTIMEOUT 5891174294Sobrien 5892174294Sobrien * amd/mntfs.c (init_mntfs): mf_dev and mf_rdev don't exist anymore 5893174294Sobrien 5894174294Sobrien * amd/map.c (init_map): init am_dev and am_rdev to -1 5895174294Sobrien (free_map): free am_mfarray and all mntfs's listed 5896174294Sobrien 5897174294Sobrien * amd/autil.c (mf_mounted): move the lstat of the node to the 5898174294Sobrien autofs-specific code 5899174294Sobrien 5900174294Sobrien * amd/amfs_link.c (amfs_link_ops): don't background symlink creation 5901174294Sobrien 5902119679Smbr2001-10-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 5903119679Smbr 5904174294Sobrien * aux/macros/os_cflags.m4 (irix6*): Enforce N32 ABI/mips3 ISA with cc. 5905119679Smbr * BUGS: Explain this. 5906119679Smbr 5907119679Smbr2001-10-02 Erez Zadok <ezk@agora.fsl.cs.sunysb.edu> 5908119679Smbr 5909119679Smbr * doc/am-utils.texi (redhat-ctl-amd): document new script. 5910119679Smbr 5911119679Smbr * scripts/Makefile.am: build redhat-ctl-amd but do not install it. 5912119679Smbr 5913119679Smbr * scripts/redhat-ctl-amd.in: new script, useful to correctly 5914119679Smbr control Amd on Red Hat Linux systems. Script adapted from ctl-amd 5915119679Smbr and Red Hat's own rc.d script. 5916174294Sobrien 5917119679Smbr2001-10-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 5918119679Smbr 5919119679Smbr * conf/nfs_prot/nfs_prot_osf5.h: Renamed from nfs_prot_osf5_1.h. 5920119679Smbr (MNT2_NFS_OPT_AUTO): Disable. 5921119679Smbr * Makefile.am (EXTRA_DIST_CONF): Reflect new name. 5922119679Smbr * aux/macros/check_nfs_prot_headers.m4: Use this file for all 5923119679Smbr Tru64 UNIX V5 and up releases. 5924119679Smbr 5925119679Smbr2001-09-24 Ion Badulescu <ionut@moisil.badula.org> 5926119679Smbr 5927119679Smbr * include/mount_headers1.h (MFS): define as 1 instead of nothing, 5928119679Smbr to fix compile problems on OS X (patch from Ahmon Dancy) 5929119679Smbr 5930119679Smbr * aux/macros/try_compile_anyfs.m4 (MFS): ditto 5931119679Smbr 5932119679Smbr2001-08-13 Erez Zadok <ezk@fsl-gw.fsl.cs.sunysb.edu> 5933119679Smbr 5934119679Smbr * doc/am-utils.texi (in_network Selector Variable): document 5935119679Smbr expanded syntax 5936119679Smbr 5937119679Smbr * libamu/wire.c (is_network_member): support for network/netmask 5938119679Smbr as well as network/bits syntax in in_network() 5939119679Smbr 5940174294Sobrien2001-08-11 Erez Zadok <ezk@a-linux64.fsl.cs.sunysb.edu> 5941174294Sobrien 5942174294Sobrien * amq/amq.c (show_mti): print full four digits for year, and print 5943174294Sobrien it in MM/DD/YYYY format, not in YY/MM/DD format. 5944174294Sobrien 5945174294Sobrien2001-08-11 Ion Badulescu <lionut@gonzales.badula.org> 5946174294Sobrien 5947174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_lookup_2_req): 5948174294Sobrien initial attempt to do something useful -- but commented out for now 5949174294Sobrien (autofs_link_mount): create an action structure with a link 5950174294Sobrien request and pass it up 5951174294Sobrien (autofs_mount_2_req): pass the link request to the kernel 5952174294Sobrien (autofs_free_data): new helper function 5953174294Sobrien 5954174294Sobrien * conf/autofs/autofs_linux.h: added definition for autofs_data_t 5955174294Sobrien 5956174294Sobrien * conf/autofs/autofs_solaris_v2_v3.h: ditto 5957174294Sobrien 5958174294Sobrien * amd/map.c (init_map): initialize am_autofs_data 5959174294Sobrien (free_map): call the autofs cleanup function if necessary 5960174294Sobrien 5961174294Sobrien * include/am_utils.h (am_node): added private data and cleanup 5962174294Sobrien function for autofs 5963174294Sobrien 5964174294Sobrien * tasks: removed some obsolete entries 5965174294Sobrien 5966174294Sobrien2001-08-11 Erez Zadok <ezk@a-solaris8.fsl.cs.sunysb.edu> 5967174294Sobrien 5968174294Sobrien * amd/map.c (free_map_if_success): run autofs_umount_failed() only 5969174294Sobrien if this mount node is of type autofs. 5970174294Sobrien 5971174294Sobrien2001-08-11 Ion Badulescu <lionut@gonzales.badula.org> 5972174294Sobrien 5973174294Sobrien * amd/amd.h: removed mf_array from struct continuation (moved into 5974174294Sobrien am_node) 5975174294Sobrien 5976174294Sobrien * include/am_utils.h: removed VLOOK_LOOKUP; renamed vlookuppn to 5977174294Sobrien vlookup_child; added vmount_child; added mount_child to the fs_ops 5978174294Sobrien API; added prototypes for amfs_auto_mount_child and 5979174294Sobrien amfs_error_mount_child 5980174294Sobrien 5981174294Sobrien * amd/map.c (init_map): initialize am_mfarray to 0 5982174294Sobrien 5983174294Sobrien * amd/amfs_*, amd/ops_*: new API function mount_child, old API 5984174294Sobrien function lookuppn renamed to lookup_child 5985174294Sobrien 5986174294Sobrien * amd/amfs_auto.c: renamed amfs_auto_lookuppn1 to 5987174294Sobrien amfs_auto_lookup_node; renamed amfs_auto_lookuppn2 to 5988174294Sobrien amfs_auto_lookup_mntfs; renamed amfs_auto_lookuppn3 to 5989174294Sobrien amfs_auto_mount_child; moved the freeing of the error mntfs in the 5990174294Sobrien newly allocated am_node from lookup_mntfs to mount_child; make 5991174294Sobrien sure lookup_child returns a negative error if the node needs to be 5992174294Sobrien mounted; removed the call to lookuppn3 from lookup_child 5993174294Sobrien 5994174294Sobrien * amd/amfs_error.c: added stub implementations of 5995174294Sobrien amfs_error_lookup_child and amfs_error_mount_child 5996174294Sobrien 5997174294Sobrien * amd/amfs_direct.c, amd/amfs_union.c, amd/map.c, amd/nfs_subr.c, 5998174294Sobrien conf/autofs/autofs_linux.c, conf/autofs/autofs_solaris_v2_v3.c: 5999174294Sobrien call both lookup_child and mount_child, instead of the old 6000174294Sobrien lookuppn API method 6001174294Sobrien 6002119679Smbr2001-07-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 6003119679Smbr 6004119679Smbr * amd/get_args.c (get_args): a better way to handle GNU and 6005119679Smbr non-GNU getopts without strdup-ing the getopt string. 6006119679Smbr 6007119679Smbr2001-07-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 6008119679Smbr 6009119679Smbr * amd/info_ldap.c (amu_ldap_rebind): The first time you called 6010119679Smbr amu_ldap_init, aldh->ldap is not set. So when amu_ldap_rebind is 6011119679Smbr called, this function is absolutely sure to return 0. Then 6012119679Smbr amu_ldap_init return 0 without having opened any LDAP connection. 6013174294Sobrien This is not the correct behavior. 6014119679Smbr (get_ldap_timestamp, amu_ldap_search): error to free an object 6015119679Smbr ("entry") that is automatically freed by the library. Patch from 6016119679Smbr Sebastien Bahloul <sebastien.bahloul@mangoosta.fr>. 6017119679Smbr 6018119679Smbr2001-07-19 Ion Badulescu <ionut@moisil.badula.org> 6019119679Smbr 6020119679Smbr * AUTHORS (variables): added Philippe Troin 6021119679Smbr 6022119679Smbr * Makefile.am (EXTRA_DIST): added bootstrap 6023119679Smbr 6024119679Smbr * include/am_compat.h (xfs_args_t): define as u_int if the 6025119679Smbr filesystem is supported but we can't autodetect the type for 6026119679Smbr xfs_args_t. This allows Linux to mount xfs filesystems. 6027119679Smbr 6028119679Smbr2001-07-12 Philippe Troin <phil@fifi.org> 6029119679Smbr 6030174294Sobrien * doc/am-utils.texi: Added @dircategory Administration. 6031174294Sobrien 6032174294Sobrien2001-07-12 Philippe Troin <phil@fifi.org> 6033174294Sobrien 6034119679Smbr * aux/macros/with_addon.m4: Created. Wrapper around AC_ARG_WITH 6035119679Smbr with only the `yes' and `no' as possible answers. 6036119679Smbr 6037119679Smbr * configure.in: Added support for disabling LDAP and HESIOD even 6038119679Smbr if the supporting libraries are found. 6039119679Smbr 6040119679Smbr * Makefile.am (EXTRA_DIST_AUX): Added with_addon.m4 macro file. 6041119679Smbr 6042119679Smbr2001-07-12 Philippe Troin <phil@fifi.org> 6043119679Smbr 6044119679Smbr * include/am_compat.h: Removed forced definition of MNTTAB_OPT_DEV 6045119679Smbr if MNT2_GEN_OPT_NODEV was found. Actually, the dev= (SVR4) options 6046119679Smbr and the linux nodev options are different beasts. 6047119679Smbr 6048119679Smbr * conf/mount/mount_linux.c (opt_map): Removed the MNTTAB_OPT_DEV 6049119679Smbr entry (not really necessary on linux). 6050119679Smbr 6051119679Smbr2001-07-12 Philippe Troin <phil@fifi.org> 6052119679Smbr 6053119679Smbr * amd/get_args.c (get_args): Prepend "+" to the getopt string if 6054119679Smbr HAVE_GNU_GETOPT to avoid getting all options (even the ones after 6055119679Smbr the first non-option argument) slurped in by GNU getopt. 6056119679Smbr 6057119679Smbr * aux/macros/check_gnu_getopt.m4: Created. Defines HAVE_GNU_GETOPT 6058119679Smbr if GNU/glibc getopt implementation is detected. 6059119679Smbr 6060119679Smbr * configure.in: Added call to AC_CHECK_GNU_GETOPT. 6061119679Smbr 6062119679Smbr * acconfig.h: Document HAVE_GNU_GETOPT. 6063119679Smbr 6064119679Smbr * Makefile.am (EXTRA_DIST_AUX): Added check_gnu_getopt.m4 macro file. 6065119679Smbr 606682794Sobrien2001-06-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 606782794Sobrien 606882794Sobrien * LSM.am-utils, NEWS, README.y2k, ChangeLog: make sure all 606982794Sobrien am-utils URL references use www.am-utils.org, not the columbia 607082794Sobrien URL. 607182794Sobrien 6072174294Sobrien2001-06-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 607382794Sobrien 6074174294Sobrien * conf/transp/transp_sockets.c (create_nfs_service): cast to 6075174294Sobrien u_long to ensure clean compile on freebsd5 and bsdi2. 607682794Sobrien 6077174294Sobrien2001-05-23 Ion Badulescu <ionut@moisil.badula.org> 6078174294Sobrien 6079174294Sobrien WARNING: WORK IN PROGRESS 6080174294Sobrien 6081174294Sobrien It works for me on Linux (both autofs and nfs mounts), for nfs and 6082174294Sobrien link, but I won't make any guarantees outside those. 6083174294Sobrien 6084174294Sobrien * amd/mntfs.c (find_mntfs): reuse the mntfs only if both the mount 6085174294Sobrien point and the device/fileserver are the same. This is an important 6086174294Sobrien change of philosophy, watch out for memory leaks! 6087174294Sobrien 6088174294Sobrien * amd/map.c (get_ap_child): helper function for 6089174294Sobrien amfs_auto_lookuppn, creates a new am_node for key fname, inits it, 6090174294Sobrien and inserts it into all necessary structures 6091174294Sobrien 6092174294Sobrien * amd/amfs_auto.c (free_continuation): free unused mntfs's; don't 6093174294Sobrien free any of the removed fields 6094174294Sobrien (amfs_auto_lookuppn, amfs_auto_bgmount): split lookuppn into three 6095174294Sobrien subfunctions, including some code stolen from bgmount; lookuppn 6096174294Sobrien now generates an array of possible mntfs to try mounting, and 6097174294Sobrien bgmount will actually try to mount each of them. 6098174294Sobrien (amfs_auto_lookuppn[123]): the three new subfunctions for lookuppn 6099174294Sobrien (amfs_parse_defaults): new helper function for lookuppn 6100174294Sobrien 610182794Sobrien2001-05-19 Erez Zadok <ezk@kosh.dyn.optonline.net> 610282794Sobrien 610382794Sobrien * conf/mount/mount_linux.c: typo: added comma after '0' element. 610482794Sobrien 610582794Sobrien2001-05-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 610682794Sobrien 6107174294Sobrien * conf/autofs/autofs_linux.c (AUTOFS_MAX_VERSION): allow using 6108174294Sobrien autofs-v4 again 6109174294Sobrien (autofs_get_opts): don't pass pgrp, the kernel will get it 6110174294Sobrien automatically anyway, not to mention that we were passing bogus 6111174294Sobrien data if amd was not daemonized. 6112174294Sobrien 611382794Sobrien * conf/mount/mount_linux.c (linux_nfs_error): don't special case 611482794Sobrien the 0 result, just put it into the translation list 611582794Sobrien 611682794Sobrien2001-05-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 611782794Sobrien 611882794Sobrien * conf/mount/mount_linux.c (linux_nfs_error): don't report success 611982794Sobrien (0) as error (NE_IO)! 612082794Sobrien 612182794Sobrien2001-05-18 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 612282794Sobrien 612382794Sobrien * amd/amfs_host.c (amfs_host_mount): don't fail the mount if at 612482794Sobrien least one share is already mounted 612582794Sobrien 6126174294Sobrien2001-05-17 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 612782794Sobrien 6128174294Sobrien * libamu/util.c (str3cat): updated comment 612982794Sobrien 6130174294Sobrien * include/am_utils.h: added VLOOK_LOOKUP and FS_DIRECT 6131174294Sobrien 6132174294Sobrien * conf/autofs/autofs_linux.c (autofs_get_fh): removed obsolete comment 6133174294Sobrien (autofs_mounted): disable autofs support for host f/s if version < 4 6134174294Sobrien (create_autofs_service): turn on FS_MKMNT on auto f/s if using autofs 6135174294Sobrien (autofs_umount_succeeded): use rmdirs instead of rmdir 6136174294Sobrien (autofs_mount_failed): ditto 6137174294Sobrien 6138174294Sobrien * amd/opts.c (expand_op): align the debugging messages 6139174294Sobrien 6140174294Sobrien * amd/map.c (mount_auto_node): use am_node *mp instead of casting 6141174294Sobrien the void *arg; update the comment 6142174294Sobrien 6143174294Sobrien * amd/autil.c (am_mounted): check the FS_DIRECT flag instead of 6144174294Sobrien comparing to &amfs_direct_ops 6145174294Sobrien (mount_node): ifs_mount doesn't exist, make note of it in the 6146174294Sobrien comment 6147174294Sobrien 6148174294Sobrien * amd/amfs_direct.c (amfs_direct_ops): added FS_DIRECT to fs_flags 6149174294Sobrien 6150174294Sobrien * amd/amfs_auto.c (amfs_auto_mount): removed the autofs hack to 6151174294Sobrien create the mountpoint directory for auto f/s; it is now handled in 6152174294Sobrien autofs_linux.c 6153174294Sobrien (amfs_auto_bgmount): renamed the mpe parameter to mp_error; 6154174294Sobrien renamed dont_retry to retry and reverted its meaning as well; 6155174294Sobrien moved the mp variable up one scope and made use of it throughout 6156174294Sobrien the function; 6157174294Sobrien (amfs_auto_readdir): whitespace 6158174294Sobrien (amfs_auto_readdir_browsable): whitespace, also some debugging 6159174294Sobrien 6160174294Sobrien * amd/am_ops.c (vops): updated a comment 6161174294Sobrien 6162174294Sobrien * .cvsignore: added A.i386-pc-linux-rh7.[01] 6163174294Sobrien 616482794Sobrien2001-05-01 Ion Badulescu <ionut@gonzales.dev.hydraweb.com> 616582794Sobrien 616682794Sobrien * conf/mount/mount_linux.c: fixed stupid error in the linux 616782794Sobrien nfs_errormap[], which was mapping ENOENT to success!!! 616882794Sobrien 616982794Sobrien2001-04-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 617082794Sobrien 617182794Sobrien * BUGS: added info about the direct mount problems on Linux and 617282794Sobrien about the kernel patches on www.am-utils.org. 617382794Sobrien 6174174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_unmount_2_req): 6175174294Sobrien removed obsolete comment 6176174294Sobrien 617782794Sobrien * amd/autil.c (forcibly_timeout_mp): always log a message when the 617882794Sobrien forced unmount request is ignored 6179174294Sobrien (mf_mounted): don't lstat unless this is an autofs mount point, 6180174294Sobrien lest we deadlock 618182794Sobrien 6182174294Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): don't gratuitously add 6183174294Sobrien MFF_MKMNT to the flags, it causes deadlocks later on when 6184174294Sobrien unmounting 618582794Sobrien 618682794Sobrien2001-04-14 Erez Zadok <ezk@whitestar.dyn.optonline.net> 618782794Sobrien 618882794Sobrien * COPYING: update copyright year 618982794Sobrien 619082794Sobrien * amd/amfs_auto.c, amd/amfs_host.c, amd/amfs_nfsx.c, 619182794Sobrien amd/amfs_toplvl.c, amd/amfs_union.c, amd/conf.c, amd/info_nis.c, 619282794Sobrien amd/info_nisplus.c, amd/mapc.c, amd/nfs_subr.c, amd/ops_nfs.c, 619382794Sobrien amd/rpc_fwd.c, amd/srvr_amfs_auto.c, amd/srvr_nfs.c, 619482794Sobrien conf/autofs/autofs_solaris_v1.c, conf/mtab/mtab_file.c, 619582794Sobrien conf/mtab/mtab_isc3.c, conf/mtab/mtab_svr4.c, 619682794Sobrien conf/transp/transp_sockets.c, conf/transp/transp_tli.c, 619782794Sobrien libamu/mount_fs.c, libamu/mtab.c: rewritten various dlog/plog 619882794Sobrien messages for clarity, to avoid duplication, to better recognize 619982794Sobrien what the message means and where it ran, and to fix typos. 620082794Sobrien 620182794Sobrien * amd/nfs_subr.c (nfsproc_lookup_2_svc): moved trace message of 620282794Sobrien function's name to the beginning of the function, before any other 620382794Sobrien messages are logged. 620482794Sobrien 6205174294Sobrien2001-04-14 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 6206174294Sobrien 6207174294Sobrien * conf/mount/mount_linux.c (do_mount_linux): removed plog() of 6208174294Sobrien binary data 6209174294Sobrien 621082794Sobrien2001-04-05 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 621182794Sobrien 621282794Sobrien * include/am_defs.h: define NFSCLIENT, NFS, PCFS, LOFS, RFS, 621382794Sobrien MSDOSFS, MFS and CD9660 to 1, so that both #if FOO and #ifdef FOO 621482794Sobrien work (needed for MacOS X); removed duplicate definition of NFS. 621582794Sobrien 621682794Sobrien2001-03-29 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 621782794Sobrien 621882794Sobrien * amd/amd.h, amd/amfs_auto.c, amd/conf.c, 621982794Sobrien doc/am-utils.texi, 622082794Sobrien scripts/amd.conf-sample, scripts/amd.conf.5: 622182794Sobrien renamed selectors_on_default to selectors_in_defaults, 622282794Sobrien kept the former as a deprecated option; 622382794Sobrien renamed CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS; 622482794Sobrien renamed gopt_selectors_on_default() to gopt_selectors_in_defaults() 622582794Sobrien 6226174294Sobrien2001-03-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 6227174294Sobrien 6228174294Sobrien * amd/amfs_toplvl.c, amd/amfs_auto.c, amd/srvr_nfs.c, 6229174294Sobrien include/am_utils.h: compile fixes for --enable-debug=no 6230174294Sobrien 623182794Sobrien2001-03-15 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 623282794Sobrien 6233174294Sobrien * NEWS: updated 6234174294Sobrien 6235174294Sobrien * README.autofs: updated 6236174294Sobrien 6237174294Sobrien * conf/mount/mount_linux.c (linux_version_code): export the fn 6238174294Sobrien 6239174294Sobrien * conf/nfs_prot/nfs_prot_linux.h: ditto 6240174294Sobrien 6241174294Sobrien * conf/autofs/autofs_linux.c (create_autofs_service): verify the 6242174294Sobrien kernel version here, and turn off bind_works if the kernel is 6243174294Sobrien older than 2.4.0. 6244174294Sobrien (autofs_link_mount): don't touch bind_works here, it's useless 6245174294Sobrien b/c we're in a child process; remove the mountpoint directory if 6246174294Sobrien the bind mount fails 6247174294Sobrien 6248174294Sobrien * amd/opts.c (eval_fs_opts): changed some annoying debugging plogs 6249174294Sobrien into dlogs 6250174294Sobrien 6251174294Sobrien * conf/autofs/autofs_linux.c (autofs_link_mount): zero out the 6252174294Sobrien mntent struct before initializing it 6253174294Sobrien 6254174294Sobrien2001-03-14 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 6255174294Sobrien 625682794Sobrien * conf/mount/mount_linux.c (parse_opts): added support for lofs 625782794Sobrien (mount_linux): support lofs through bind mounts and/or FiST lofs 625882794Sobrien 625982794Sobrien * scripts/ctl-hlfsd.in: search for /var/spool/mail in addition to 626082794Sobrien /var/mail and /usr/spool/mail 626182794Sobrien 626282794Sobrien * conf/nfs_prot/nfs_prot_linux.h (MS_BIND): add define for it, if 626382794Sobrien kernel is newer than 2.4.0 626482794Sobrien (MNTTYPE_LOFS): ditto 626582794Sobrien 6266174294Sobrien * conf/autofs/autofs_solaris_v2_v3.c (autofs_link_umount): new stub 6267174294Sobrien (autofs_lookup_failed): removed stub 626882794Sobrien 6269174294Sobrien * conf/autofs/autofs_linux.c (autofs_lookup_failed): moved up in 6270174294Sobrien the file, made static; 6271174294Sobrien (autofs_link_mount): activate MNT2_GEN_OPT_BIND code; use stat() 6272174294Sobrien and friends to determine if bind mounts can be used and to trigger 6273174294Sobrien further cascading mounts; return proper error codes 6274174294Sobrien (autofs_link_umount): distinguish between symlinks and bind mounts 6275174294Sobrien and handle both correctly 6276174294Sobrien (autofs_umount_succeeded): remove call to autofs_link_umount() 627782794Sobrien 6278174294Sobrien * amd/map.c (umount_exported): try to unmount all mount points on 6279174294Sobrien an autofs filesystem; this isn't really needed and will be removed 6280174294Sobrien when we start handling restarting autofs mounts 6281174294Sobrien 6282174294Sobrien * amd/amfs_link.c (amfs_link_[u]mount): call autofs_link_[u]mount, 6283174294Sobrien if necessary 6284174294Sobrien 6285174294Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): fixed a bug that was 6286174294Sobrien causing the wrong mntfs to be selected when using autofs; removed 6287174294Sobrien call to autofs_link_mount() (moved where it belongs, in 6288174294Sobrien amfs_link.c) 6289174294Sobrien 6290174294Sobrien * amd/amfs_link.c: added FS_MBACKGROUND to fs flags -- cleaner 6291174294Sobrien solution is needed, because background mounting is only necessary 6292174294Sobrien for linux autofs + bind mounts 6293174294Sobrien 6294174294Sobrien * amd/amd.h: removed prototype for autofs_lookup_failed (internal 6295174294Sobrien static function for linux autofs); added prototype for 6296174294Sobrien autofs_link_umount 6297174294Sobrien 6298174294Sobrien * configure.in: bump up library patchlevel 6299174294Sobrien 630082794Sobrien2001-02-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 630182794Sobrien 630282794Sobrien * aux/macros/check_mount_trap.m4, 630382794Sobrien aux/macros/check_nfs_fh_dref.m4, 630482794Sobrien aux/macros/check_nfs_prot_headers.m4, 630582794Sobrien aux/macros/type_recvfrom_fromlen.m4, 630682794Sobrien aux/macros/type_yp_order_outorder.m4: 630782794Sobrien Fixed newer freebsd's fh type, expanded more aix3, osf2, hpux9 to 630882794Sobrien aix[1-3], osf[1-3] and hpux[6-9]. 630982794Sobrien 631082794Sobrien2001-02-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 631182794Sobrien 631282794Sobrien * check_mount_style.m4, check_mount_trap.m4, 631382794Sobrien check_network_transport_type.m4, check_nfs_fh_dref.m4, 631482794Sobrien check_nfs_prot_headers.m4, check_nfs_sa_dref.m4, 631582794Sobrien check_nfs_socket_connection.m4, os_cflags.m4, 631682794Sobrien type_yp_order_outorder.m4: small fixes to Ion's cleanup, and more 631782794Sobrien cleanup (use [[0-1]] instead of M4 changequote commands). 631882794Sobrien 631982794Sobrien * Makefile.am: removed unused conf/trap/trap_hpux11.h 632082794Sobrien 632182794Sobrien2001-02-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 632282794Sobrien 632382794Sobrien * aux/macros/check_network_transport_type.m4, 632482794Sobrien aux/macros/check_mount_style.m4, 632582794Sobrien aux/macros/check_mount_trap.m4, 632682794Sobrien aux/macros/check_network_transport_type.m4, 632782794Sobrien aux/macros/check_nfs_fh_dref.m4, 632882794Sobrien aux/macros/check_nfs_prot_headers.m4, 632982794Sobrien aux/macros/check_nfs_sa_dref.m4, 633082794Sobrien aux/macros/check_nfs_socket_connection.m4, 633182794Sobrien aux/macros/os_cflags.m4, 633282794Sobrien aux/macros/type_auth_create_gidlist.m4, 633382794Sobrien aux/macros/type_recvfrom_fromlen.m4, 633482794Sobrien aux/macros/type_yp_order_outorder.m4: 633582794Sobrien Reworked the scripts, so that a new _unknown_ version of a known OS 633682794Sobrien will use the option for the newest _known_ version of that OS. For 633782794Sobrien example, when freebsd6 comes out, it will use the stuff for 633882794Sobrien freebsd5, not the stuff for freebsd2. This makes configure more 633982794Sobrien likely to succeed on new systems/versions. 634082794Sobrien 6341174294Sobrien * Makefile.am (EXTRA_DIST_AUX): added check_autofs_style.m4 (grr) 6342174294Sobrien 6343174294Sobrien2001-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 6344174294Sobrien 6345174294Sobrien * Makefile.am (install-snapshot): use a different symlink target 6346174294Sobrien for the experimental snapshots. 6347174294Sobrien 634882794Sobrien2001-02-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 634982794Sobrien 635082794Sobrien * Makefile.am (EXTRA_DIST_CONF): include nfs_prot_darwin.h in 635182794Sobrien distributions. 635282794Sobrien 6353174294Sobrien2001-02-22 Erez Zadok <ezk@earth.cs.columbia.edu> 6354174294Sobrien 6355174294Sobrien * released snapshot am-utils-6.1a3 6356174294Sobrien 6357174294Sobrien * amd/Makefile.am (EXTRA_amd_SOURCES): don't forget to distribute 6358174294Sobrien get_args.c 6359174294Sobrien 636082794Sobrien2001-02-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 636182794Sobrien 636282794Sobrien * libamu/mtab.c: added the functions hasmnteq and haseq to 636382794Sobrien ease checks for non-numeric values in opt=value strings. 636482794Sobrien Recoded hasmntval to qualify input as numeric, allow hex and 636582794Sobrien octal strings on rhs of =, and log when the value is missing 636682794Sobrien or invalid. 636782794Sobrien 636882794Sobrien * conf/mount/mount_linux.c: revised mount_linux to use new 636982794Sobrien hasmnteq function to extract type of non-nfs mounts, and added 637082794Sobrien a log message to catch possible failure of strdup. 637182794Sobrien 637282794Sobrien * amd/am_ops.c: revised merge_ops to use new haseq function 637382794Sobrien 637482794Sobrien * amd/srvr_nfs.c: revised find_nfs_srvr to use hasmnteq to 637582794Sobrien discover protocol setting. 637682794Sobrien 637782794Sobrien * include/am_utils.h: added function prototypes for hasmnteq 637882794Sobrien and haseq 637982794Sobrien 638082794Sobrien2001-02-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 638182794Sobrien 638282794Sobrien * include/mount_headers2.h (_LINUX_NFS3_H): define it, to avoid 638382794Sobrien pulling in unwanted declarations from 2.2.19pre and 2.4.1ac 638482794Sobrien 638582794Sobrien * include/am_defs.h (_LINUX_NFS3_H): ditto 638682794Sobrien 638782794Sobrien * conf/nfs_prot/nfs_prot_linux.h: whitespace, comments 638882794Sobrien 638982794Sobrien2001-02-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 639082794Sobrien 639182794Sobrien * aux/macros/check_fs_mntent.m4 (ac_safe): remove debugging "echo" 639282794Sobrien command. 639382794Sobrien 639482794Sobrien2001-02-18 Erez Zadok <ezk@earth.cs.columbia.edu> 639582794Sobrien 639682794Sobrien * aux/macros/mount_headers.m4, include/mount_headers[12].h: split 639782794Sobrien mount_headers.h in two because one relative header (nfs_prot.h) 639882794Sobrien file cannot be included inside another from the start directory of 639982794Sobrien the first (it's relative to the directory of the first). 640082794Sobrien 640182794Sobrien2001-02-09 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 640282794Sobrien 640382794Sobrien * AUTHORS: added Ahmon Dancy <dancy@franz.com> 640482794Sobrien 640582794Sobrien * (all): added Darwin/Rhapsody/Apple OS X support from Ahmon Dancy 640682794Sobrien 640782794Sobrien * aux/macros/mount_headers.m4: moved all the C code into a 640882794Sobrien separate file, include/mount_headers.h; the effect is that 640982794Sobrien configure goes down in size by a factor of 2.5! 641082794Sobrien 641182794Sobrien * include/mount_headers.h: new file, with C code from 641282794Sobrien aux/macros/mount_headers.m4 641382794Sobrien 641482794Sobrien2001-02-01 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 641582794Sobrien 641682794Sobrien * conf/mount/mount_linux.c: made linux_nfs_error() more robust. 641782794Sobrien 6418174294Sobrien2001-02-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 641982794Sobrien 6420174294Sobrien * released snapshot am-utils-6.1a2 642182794Sobrien 6422174294Sobrien * updated ltmain.sh and ltconfig from latest stable version of 6423174294Sobrien libtool-1.3.5 6424174294Sobrien 642582794Sobrien2001-02-01 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 642682794Sobrien 642782794Sobrien * conf/nfs_prot/nfs_prot_linux.h (nfs_error): moved the definition 642882794Sobrien of nfs_error here, from mount_linux.c, so that it can actually be 642982794Sobrien used. 643082794Sobrien 643182794Sobrien * conf/mount/mount_linux.c: added unused errno 41 to the 643282794Sobrien nfs_errormap array, lest the following errno's get shifted up by 643382794Sobrien one! 643482794Sobrien 643582794SobrienSat Jan 13 00:04:38 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 643682794Sobrien 643782794Sobrien * amd/amd.h (autofs_lookuppn): Fixup whitespace. 643882794Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): Likewise. 643982794Sobrien * amd/amfs_error.c: (amfs_error_match): Likewise. 644082794Sobrien * amd/amfs_host.c (fetch_fhandle): Fixup whitespace. Remove 644182794Sobrien unnecessary temporary variable. 644282794Sobrien * amd/info_file.c (read_line): Likewise. 644382794Sobrien (search_or_reload_file): Likewise. 644482794Sobrien * amd/info_ldap.c (get_ldap_timestamp): Likewise. 6445174294Sobrien * amd/map.c (get_root_ap): Likewise. 644682794Sobrien * amd/nfs_prot_svc.c: Likewise. 644782794Sobrien * amd/ops_TEMPLATE.c (foofs_match, foofs_lookuppn, 6448174294Sobrien foofs_readlink, foofs_ffserver): Likewise. 644982794Sobrien * amd/ops_autofs.c (autofs_bgmount): Likewise. 645082794Sobrien * amd/ops_lofs.c (lofs_match): Likewise. 645182794Sobrien * amd/ops_nfs.c (got_nfs_fh): Fixup whitespace. 645282794Sobrien * amd/ops_xfs.c (xfs_match): Likewise. 645382794Sobrien * amd/srvr_amfs_auto.c (srvrlog): Line break. 645482794Sobrien * amd/srvr_nfs.c (got_portmap, call_portmap, nfs_pinged, 645582794Sobrien nfs_srvr_port): Fixup whitespace. 645682794Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: Likewise. 645782794Sobrien * conf/nfs_prot/nfs_prot_hpux.h: Likewise. 645882794Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: Likewise. 645982794Sobrien * conf/nfs_prot/nfs_prot_irix5.h: Likewise. 646082794Sobrien * conf/nfs_prot/nfs_prot_irix6.h: Likewise. 646182794Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: Likewise. 646282794Sobrien * conf/nfs_prot/nfs_prot_osf2.h: Likewise. 646382794Sobrien * conf/nfs_prot/nfs_prot_osf4.h: Likewise. 646482794Sobrien * conf/nfs_prot/nfs_prot_osf5_1.h: Likewise. 646582794Sobrien * conf/nfs_prot/nfs_prot_sunos3.h: Likewise. 646682794Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: Likewise. 646782794Sobrien * conf/nfs_prot/nfs_prot_ultrix.h: Likewise. 646882794Sobrien * conf/transp/transp_tli.c (get_mount_client): Likewise. 646982794Sobrien * hlfsd/nfs_prot_svc.c: Likewise. 647082794Sobrien * include/am_defs.h (sys_errlist): Likewise. 647182794Sobrien * include/am_utils.h (am_get_progname, am_get_hostname, 647282794Sobrien amq_program_1): Likewise. 647382794Sobrien (nfsxprt): Moved declaration. 647482794Sobrien 647582794SobrienFri Jan 12 23:31:45 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 647682794Sobrien 647782794Sobrien Removed support for amq -M. 647882794Sobrien 647982794Sobrien * acconfig.h (ENABLE_AMQ_MOUNT): Removed. 648082794Sobrien * aux/macros/opt_amq_mount.m4: Removed. 648182794Sobrien * Makefile.am (EXTRA_DIST_AUX): Don't distribute 648282794Sobrien opt_amq_mount.m4. 648382794Sobrien * configure.in (AC_OPT_AMQ_MOUNT): Removed invocation. 648482794Sobrien 648582794Sobrien * amd/amq_subr.c (ok_security, amqproc_mount_1_svc): Removed. 648682794Sobrien * amd/amq_svc.c (amq_program_1): Removed amq -M support. 648782794Sobrien * amq/amq.c (mount_map): Removed. 648882794Sobrien (main): Removed -M option handling. 648982794Sobrien Removed transport-type specific CLIENT creation. 649082794Sobrien (get_secure_amd_client, amq_bind_resv_port, privsock): Removed. 649182794Sobrien 649282794Sobrien * amq/amq.8: Removed -M documentation. 649382794Sobrien * doc/am-utils.texi (Top-level Filesystem): Removed amq -M 649482794Sobrien reference, but retain comment on mount -t amd. 649582794Sobrien (Controlling Amd): Likewise. 649682794Sobrien 649782794Sobrien * tasks: Removed this task. 649882794Sobrien 6499174294SobrienFri Jan 12 23:18:26 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 6500174294Sobrien 6501174294Sobrien * conf/autofs/autofs_*.c: Bump copyright year to 2001. 6502174294Sobrien * hlfsd/hlfsd.h (HLFSD_VERSION): Likewise. 6503174294Sobrien 6504174294Sobrien * aux/macros/check_autofs_style.m4: Renamed solaris[12] styles to 6505174294Sobrien solaris_v1, solaris_v2_v3 to reflect that these are AutoFS 6506174294Sobrien protocol version numbers, not solaris versions. 6507174294Sobrien * conf/autofs/autofs_solaris[12].[ch]: Renamed to 6508174294Sobrien autofs_solaris_{v1, 2_v3}.[ch] to reflect this. 6509174294Sobrien * Makefile.am (EXTRA_DIST_CONF): Likewise. 6510174294Sobrien 6511174294Sobrien * aux/macros/check_autofs_style.m4: Use solaris2 style for both 6512174294Sobrien versions 2 and 3 of the AutoFS protocol. 6513174294Sobrien 6514174294Sobrien Handle missing AUTOFS_POSTUNMOUNT, AUTOFS_POSTMOUNT (unnecessary 6515174294Sobrien with Solaris 8 mntfs). 6516174294Sobrien 6517174294Sobrien * conf/autofs/autofs_solaris2.c (xdr_postumntreq, xdr_postumntres, 6518174294Sobrien xdr_postmountreq, xdr_postmountres, autofs_postunmount_2_req, 6519174294Sobrien autofs_postmount_2_req ): Don't define for version 3. 6520174294Sobrien (autofs_program_2): Don't handle AUTOFS_POSTUNMOUNT, 6521174294Sobrien AUTOFS_POSTMOUNT if missing. 6522174294Sobrien 6523174294Sobrien * conf/nfs_prot/nfs_prot_sunos5_8.h: Enable AutoFS support. 6524174294Sobrien 6525174294Sobrien * aux/macros/check_autofs_style.m4: Use empty autofs_default.[ch] 6526174294Sobrien files on systems without existing autofs port. 6527174294Sobrien * conf/autofs/autofs_default.[ch]: New files, empty. 6528174294Sobrien * Makefile.am (EXTRA_DIST_CONF): Distribute them. 6529174294Sobrien * INSTALL: With this change, Solaris 8 and Tru64 5.1 compile and 6530174294Sobrien link. 6531174294Sobrien 653282794Sobrien2001-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 653382794Sobrien 653482794Sobrien * Makefile.am (EXTRA_DIST): distribute new LDAP files. 653582794Sobrien 653682794Sobrien * README.ldap, ldap-id.txt, ldap-id.ms: LDAP status information, 653782794Sobrien proposed Schema, and internet draft. 653882794Sobrien 653982794SobrienFri Jan 12 22:27:07 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 654082794Sobrien 654182794Sobrien * Support Tru64 UNIX V5.1: 654282794Sobrien 654382794Sobrien * conf/nfs_prot/nfs_prot_osf5_1.h: New file. 654482794Sobrien 654582794Sobrien * Makefile.am (EXTRA_DIST_CONF): Distribute it. 654682794Sobrien 654782794Sobrien * aux/macros/check_nfs_prot_headers.m4: Tru64 UNIX V5.1 has 654882794Sobrien AutoFS, need to disable it until a port exists. 654982794Sobrien 655082794Sobrien * INSTALL, doc/am-utils.texi (Supported Platforms): Mention new 655182794Sobrien minor port. 655282794Sobrien 655382794Sobrien2001-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 655482794Sobrien 655582794Sobrien * ALL: bump copyright year to 2001. 655682794Sobrien 655782794Sobrien2001-01-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 655882794Sobrien 655982794Sobrien * acconfig.h: correct comments for NODEV/NONDEV mount options 656082794Sobrien 656182794SobrienFri Jan 5 05:12:02 2001 Erez Zadok <ezk@subzero.cs.columbia.edu> 656282794Sobrien 656382794Sobrien * libamu/xdr_func.c: removed ugly casts to "groups*", now that 656482794Sobrien irix6's nfs_prot.h is fixed. 656582794Sobrien 656682794Sobrien * conf/nfs_prot/nfs_prot_irix6.h: copied relevant parts of 656782794Sobrien <rpcsvc/mount.h> here so we don't have to include this header. 656882794Sobrien 656982794Sobrien2001-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 657082794Sobrien 657182794Sobrien * conf/nfs_prot/nfs_prot_irix6.h: redefine "groups" typedef to 657282794Sobrien struct groups, not the pointer to this struct. 657382794Sobrien 657482794Sobrien * include/am_xdr_func.h: prototype should take "groups *" as 2nd 657582794Sobrien arg. 657682794Sobrien 6577174294Sobrien * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): change 657882794Sobrien casting of second arg of xdr_groups to "groups *". It's only 657982794Sobrien needed for irix6, due to problems with xdr_groups on that platform. 658082794Sobrien (xdr_groups): prototype should take "groups *" as 2nd arg. 658182794Sobrien 658282794Sobrien * conf/nfs_prot/nfs_prot_aix*.h: correct xdr_groups extern 6583174294Sobrien definition. Report from Ahmon Dancy <dancy@franz.com>. 658482794Sobrien 6585174294Sobrien2000-12-06 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 658682794Sobrien 6587174294Sobrien * include/am_defs.h: force non-inclusion of <linux/fs.h> via 6588174294Sobrien <linux/auto_fs.h> 658982794Sobrien 6590174294Sobrien * conf/autofs/autofs_linux.c (autofs_mounted): rename 6591174294Sobrien AUTOFS_MIN_PROTO_VERSION to AUTOFS_MIN_VERSION (leftover from 6592174294Sobrien previous commit) 659382794Sobrien 6594174294Sobrien * configure.in: fixed libtool version 659582794Sobrien 659682794Sobrien2000-12-02 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 659782794Sobrien 659882794Sobrien * doc/am-utils.texi (opts Option): document lock/nolock 659982794Sobrien 6600174294Sobrien2000-12-02 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 6601174294Sobrien 6602174294Sobrien * conf/autofs/autofs_linux.h: added struct autofs_pending_mount; 6603174294Sobrien modified autofs_fh_t to have a linked list of autofs_pending_mount; 6604174294Sobrien added some support for autofs4 6605174294Sobrien 6606174294Sobrien * conf/autofs/autofs_linux.c: use a linked list for pending 6607174294Sobrien request, to allow for handling multiple simultaneous request; 6608174294Sobrien incipient non-functional support for autofs4; incipient 6609174294Sobrien non-functional support for bind-mounting 6610174294Sobrien 6611174294Sobrien * amd/amd.c (main): print a warning if PROCLOCK is requested but 6612174294Sobrien the O/S doesn't support it 6613174294Sobrien 661482794Sobrien * libamu/mount_fs.c (mnt_flags): allow the use of the "nolock" 661582794Sobrien option 661682794Sobrien 6617174294Sobrien * include/am_defs.h: don't include <linux/fs.h> on a glibc2 6618174294Sobrien system; include <linux/auto_fs4.h> if it exists, instead of 6619174294Sobrien <linux/auto_fs.h> 662082794Sobrien 662182794Sobrien * include/am_compat.h: define the "nolock" mnttab option if the 662282794Sobrien NONLM NFS mount option is defined 662382794Sobrien 6624174294Sobrien * acconfig.h: added MNT2_NFS_OPT_NONLM, MNT2_GEN_OPT_BIND 662582794Sobrien 662682794Sobrien * configure.in: added detection of the NONLM Linux NFS mount 662782794Sobrien option; added a clarification for the library versioning rules and 6628174294Sobrien increased the minor level; added detection of <linux/auto_fs4.h> 6629174294Sobrien and the MS_BIND generic mount option 663082794Sobrien 6631174294Sobrien2000-11-29 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 6632174294Sobrien 6633174294Sobrien * Enabled Solaris 2.7 autofs support (tested, works) 6634174294Sobrien 6635174294Sobrien * Updated NEWS, README.autofs 6636174294Sobrien 6637174294Sobrien * Updated Makefile's, make dist is now fixed 6638174294Sobrien 6639174294Sobrien * Fixed potential memory leak in map.c 6640174294Sobrien 6641174294Sobrien * Fixed autofs style detection for solaris 2.[67] 6642174294Sobrien 6643174294Sobrien * Added a few casts in autofs_solaris2.c, needed on Solaris 2.7 6644174294Sobrien 6645174294Sobrien2000-11-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 6646174294Sobrien 6647174294Sobrien More Solaris 2.[67] work in progress: 6648174294Sobrien 6649174294Sobrien * changed the API for the mount/umount methods: fmount/fumount are 6650174294Sobrien gone, and mount/umount now take two arguments (am_node and mntfs) 6651174294Sobrien 6652174294Sobrien * changed the semantics of the MFF_AUTOFS flag: MFF_AUTOFS now 6653174294Sobrien means the mntfs is a filesystem of type autofs, and AMF_AUTOFS 6654174294Sobrien means the am_node is a node on a filesystem of type autofs. 6655174294Sobrien 6656174294Sobrien * renamed nfs_program_2_transp to current_transp so it can be used 6657174294Sobrien with autofs 6658174294Sobrien 6659174294Sobrien * renamed quick_reply() to nfs_quick_reply() 6660174294Sobrien 6661174294Sobrien * added two more autofs methods: autofs_umount_failed() and 6662174294Sobrien autofs_compute_mount_flags() -- it turns out that on sol2.6 the 6663174294Sobrien autofs mounts MUST be overlay'ed 6664174294Sobrien 6665174294Sobrien * moved the autofs_mount_succeeded() into am_mounted() 6666174294Sobrien 6667174294Sobrien * made amd *not* timeout autofs mounts -- the kernel will do it 6668174294Sobrien for us 6669174294Sobrien 6670174294Sobrien * store dev and rdev of a mounted filesystem in the mntfs 6671174294Sobrien structure, to help autofs 6672174294Sobrien 6673174294Sobrien * moved the rmdirs() call from uninit_mntfs() to am_umounted(), to 6674174294Sobrien prevent deadlocking with autofs 6675174294Sobrien 6676174294Sobrien * amd/Makefile.am: shuffled things around to make 6677174294Sobrien update_build_version be the last thing that runs 6678174294Sobrien 667982794Sobrien2000-11-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 668082794Sobrien 6681174294Sobrien * split amd/ops_autofs.c into conf/autofs/autofs_<system>.c files 6682174294Sobrien and made configure create a symlink to the appropriate one 6683174294Sobrien 6684174294Sobrien * moved the xdr autofs functions from libamu/xdr_func.c into the 6685174294Sobrien system-specific conf/autofs/autofs*.c 6686174294Sobrien 6687174294Sobrien * added some more experimental code to the sol2.6 autofs support, 6688174294Sobrien but it's by no means functional 6689174294Sobrien 6690174294Sobrien2000-11-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 6691174294Sobrien 669282794Sobrien * libamu/wire.c (getwire_lookup): truncate the hostname to 669382794Sobrien MAXHOSTNAMELEN characters. 669482794Sobrien 669582794Sobrien2000-11-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 669682794Sobrien 669782794Sobrien * include/am_utils.h (MAXHOSTNAMELEN): if not defined, set this to 669882794Sobrien 256 bytes, not 64. Suggestion form Kris Kennaway 669982794Sobrien <kris@FreeBSD.org>. 670082794Sobrien 670182794Sobrien2000-11-26 Erez Zadok <ezk@dmath5.geometrie.tuwien.ac.at> 670282794Sobrien 670382794Sobrien * configure.in (AC_CHECK_MNT2_NFS_OPTS): check for NFS mount 670482794Sobrien options kerb, rdirplus, readdirsize, and xlatecookie 670582794Sobrien (NetBSD-1.5K). 670682794Sobrien 670782794Sobrien * acconfig.h: recognize NFS mount options rdirplus, readdirsize, 670882794Sobrien and xlatecookie (NetBSD-1.5K) 670982794Sobrien 671082794Sobrien2000-11-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 671182794Sobrien 671282794Sobrien * amd/srvr_nfs.c: comment on NFS proto search order. 671382794Sobrien 671482794Sobrien * libamu/xutil.c (real_plog): don't try to write the last byte of 6715174294Sobrien the fmt buf. security suggtion from NetBSD: Thomas Klausner 671682794Sobrien <wiz@danbala.ifoer.tuwien.ac.at> 671782794Sobrien 671882794Sobrien2000-11-22 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 671982794Sobrien 6720174294Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): removed the initialization of 672182794Sobrien fattr.na_fileid, it is now done in map.c when the map is initialized 672282794Sobrien 672382794Sobrien * amd/map.c (init_map): initialize fattr.na_fileid to am_gen, not 672482794Sobrien to 0, to avoid cache aliasing problems on Linux (and to follow the 672582794Sobrien NFS spec!) 672682794Sobrien 672782794Sobrien2000-11-22 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at> 672882794Sobrien 672982794Sobrien * libamu/mount_fs.c (mount_fs): avoid using extra limited-size buf 673082794Sobrien (security) 673182794Sobrien 673282794Sobrien * libamu/xutil.c, fsinfo/fsinfo.h, include/am_utils.h: use 673382794Sobrien __attribute__, __format__, and __printf__ for GCC string auditing. 673482794Sobrien 673582794Sobrien * wire-test/wire-test.8: this is not a section 8L man page. 673682794Sobrien 673782794Sobrien * libamu/xutil.c (expand_error): don't use sys_nerr on systems 673882794Sobrien that support strerror(). 673982794Sobrien (dplog): fmt is const 674082794Sobrien (plog): fmt is const 674182794Sobrien (real_plog): fmt is const. use new expand_error function with its 674282794Sobrien new return value. be more careful about running off the end of 674382794Sobrien char[] fixed size buffers. 674482794Sobrien 674582794Sobrien * libamu/wire.c (getwire): fix alignment error on alpha using an 674682794Sobrien extra automatic storage variable ifrpool. 674782794Sobrien 674882794Sobrien * hlfsd/hlfsd.c (fatal): use proper printf style to plog. 674982794Sobrien 675082794Sobrien * fsinfo/fsinfo.c (find_username): getlogin() returns a const. 675182794Sobrien 675282794Sobrien * fsinfo/fsi_util.c (error, lerror, lwarning, fatal, log): use 675382794Sobrien vfprintf. 675482794Sobrien 675582794Sobrien * fsinfo/fsi_lex.l (yyerror): use vfprintf. 675682794Sobrien 675782794Sobrien * fixmount/fixmount.8: this is not a section 8L man page. 675882794Sobrien 675982794Sobrien * doc/am-utils.texi (Hesiod maps): fixed typo. 676082794Sobrien 676182794Sobrien * amd/sched.c (do_task_notify): typo in comment. 676282794Sobrien 676382794Sobrien * amd/opts.c (expand_op): expand_error[] is a const char *. 676482794Sobrien 676582794Sobrien * amd/amd.c (main): use proper printf style to plog. 676682794Sobrien 676782794Sobrien2000-11-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 676882794Sobrien 676982794Sobrien * libamu/mount_fs.c (mnt_flags, compute_nfs_args): recognize 677082794Sobrien proplist mnttab flag. Bug fix from Wolfram Klaus 677182794Sobrien <klaus@physik.fu-berlin.de>. 677282794Sobrien 677382794Sobrien2000-11-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 677482794Sobrien 677582794Sobrien * updated config.guess, config.sub, and doc/texinfo.tex from 677682794Sobrien mirrors 677782794Sobrien 677882794Sobrien * Makefile.am (update): proper updating of config.* and texinfo 677982794Sobrien from mirrors. 678082794Sobrien 678182794Sobrien * aux/macros/check_nfs_prot_headers.m4: newer netbsd systems 678282794Sobrien reports their system name as "netbsdelf" in config.guess. 678382794Sobrien 678482794Sobrien2000-11-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 678582794Sobrien 678682794Sobrien * doc/am-utils.texi (opts Option): document new mount option 678782794Sobrien "proplist" 678882794Sobrien 678982794Sobrien * include/am_compat.h: define amd mount option "proplist" if the 679082794Sobrien system doesn't recognize it, but the NFS bit flag exists. 679182794Sobrien 679282794Sobrien * configure.in, acconfig.h: recognize/support "proplist" NFS mount 679382794Sobrien option in Amd, useful under DU-4.0 to process ACLs over NFS 679482794Sobrien mounts. 679582794Sobrien 6796174294Sobrien2000-11-10 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 679782794Sobrien 679882794Sobrien * conf/mount/mount_linux.c (mount_linux): removed unnecessary 679982794Sobrien rsize/wsize defaults -- performance killers on 2.2.18+ and 2.4.0+ 680082794Sobrien 6801174294Sobrien2000-10-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 6802174294Sobrien 6803174294Sobrien * scripts/am-eject.in: accept "cdrom" and "floppy" as arguments. 6804174294Sobrien 6805174294Sobrien2000-11-05 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 6806174294Sobrien 6807174294Sobrien Too many changes to list them here. Here's a high level 6808174294Sobrien description: 6809174294Sobrien 6810174294Sobrien * Forward-ported the Linux fixes from 6.0.5pre 6811174294Sobrien 6812174294Sobrien * Got rid of a mountain of #ifdef DEBUG, replaced with smart 6813174294Sobrien header-file #ifdef's 6814174294Sobrien 6815174294Sobrien * and, the grand finale: initial Solaris 2.6 autofs 6816174294Sobrien support. Compiles, mounts, gets requests; all the 6817174294Sobrien infrastructure is in place to actually implement the calls. Linux 6818174294Sobrien autofs might be a bit broken, but only compile-time so it'll be 6819174294Sobrien easy to fix. 6820174294Sobrien 682182794Sobrien2000-11-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 682282794Sobrien 682382794Sobrien * MIRRORS (Note): added a mirror at ufl.edu 682482794Sobrien 682582794Sobrien2000-10-11 Erez Zadok <ezk@lorien.dev.hydraweb.com> 682682794Sobrien 682782794Sobrien * amq/amq.8: synchronize Amq's options with reality 682882794Sobrien 682982794Sobrien * amq/amq.c (main): synchronize Amq's usage() string with reality 683082794Sobrien 683182794Sobrien2000-10-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 683282794Sobrien 683382794Sobrien * scripts/ctl-amd.in: add targets condrestart (redhat) and 683482794Sobrien reload. 683582794Sobrien 683682794Sobrien2000-10-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 683782794Sobrien 683882794Sobrien * scripts/lostaltmail.in (vrfy_user): ensure that MAILDIR is 683982794Sobrien defined. 684082794Sobrien 684182794Sobrien2000-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 684282794Sobrien 684382794Sobrien * amd/opts.c (backslash): Bell char (ASCII 007) should be \g, not 684482794Sobrien \a. 684582794Sobrien 684682794Sobrien2000-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 684782794Sobrien 684882794Sobrien * include/am_utils.h: removed unused field opt_autopref 684982794Sobrien 685082794Sobrien * amd/opts.c: removed unused variable $autopref 685182794Sobrien 685282794Sobrien2000-09-05 Erez Zadok <ezk@aladdin.dev.hydraweb.com> 685382794Sobrien 685482794Sobrien * conf/mtab/mtab_svr4.c (lockfile): function not needed unless 685582794Sobrien MOUNT_TABLE_ON_FILE is defined. 685682794Sobrien mtlckname static var is onlyneeded if MOUNT_TABLE_ON_FILE. 685782794Sobrien (update_mnttab_fields): only needed if MOUNT_TABLE_ON_FILE. 685882794Sobrien 685982794Sobrien2000-09-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 686082794Sobrien 686182794Sobrien * buildall (Usage): typo in usage string 686282794Sobrien 686382794Sobrien2000-08-25 Erez Zadok <ezk@lynn.soscorp.com> 686482794Sobrien 686582794Sobrien * conf/mount/mount_linux.c (mount_linux): MNT2_NFS_OPT_VER3 may 686682794Sobrien is no defined on older Linux systems (kernel 2.0.36) 686782794Sobrien 686882794Sobrien2000-08-19 Erez Zadok <ezk@earth.cs.columbia.edu> 686982794Sobrien 687082794Sobrien * scripts/amd.conf.5: correct swapped descriptions for ldap_base 687182794Sobrien and ldap_hostports. 687282794Sobrien 687382794Sobrien * doc/am-utils.texi: correct swapped descriptions for ldap_base 687482794Sobrien and ldap_hostports. 687582794Sobrien 687682794Sobrien * scripts/amd.conf-sample: swap examples for ldap_base and 687782794Sobrien ldap_hostports. 687882794Sobrien 687982794Sobrien2000-08-13 Erez Zadok <ezk@earth.cs.columbia.edu> 688082794Sobrien 688182794Sobrien * scripts/amd.conf-sample: -O is CLI equivalent to "os" 688282794Sobrien amd.conf parameter 688382794Sobrien 688482794Sobrien2000-07-30 Erez Zadok <ezk@earth.cs.columbia.edu> 688582794Sobrien 688682794Sobrien * scripts/amd.conf-sample (nfs_retransmit_counter): correct 688782794Sobrien meaning and use of parameter 688882794Sobrien 688982794Sobrien2000-07-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 689082794Sobrien 689182794Sobrien * doc/am-utils.texi: updated URLs to www.am-utils.org. 689282794Sobrien 689382794Sobrien2000-07-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 689482794Sobrien 689582794Sobrien * doc/am-utils.texi (Supported Platforms): document osf4.0f 689682794Sobrien 689782794Sobrien2000-06-19 Erez Zadok <ezk@vir.cs.columbia.edu> 689882794Sobrien 689982794Sobrien * doc/am-utils.texi (dollar Selector Variable): document 690082794Sobrien ${dollar}. 690182794Sobrien 690282794Sobrien * amd/opts.c: special new variable ${dollar} which expands into a 690382794Sobrien literal '$' sign. Otherwise there is no way to include a literal 690482794Sobrien dollar symbol in an amd map. 690582794Sobrien 6906174294Sobrien2000-06-11 Ion Badulescu <ib42@moisil.cs.columbia.edu> 6907174294Sobrien 6908174294Sobrien * amd/opts.c (eval_selectors): don't deref opt after it's been 6909174294Sobrien XFREE'd 6910174294Sobrien 691182794Sobrien2000-06-11 Erez Zadok <ezk@earth.cs.columbia.edu> 691282794Sobrien 6913174294Sobrien * amd/opts.c: move mount_type expansion until later in the list, 6914174294Sobrien so common variable are "hit" first. 691582794Sobrien 6916174294Sobrien2000-06-11 Ion Badulescu <ib42@moisil.cs.columbia.edu> 6917174294Sobrien 6918174294Sobrien * amd/opts.c (split_opts, eval_selectors): split old function 6919174294Sobrien eval_opts into two, one that only splits non-selectors and 6920174294Sobrien assigns the values to fs_static, and one that only evaluates 6921174294Sobrien selectors; also simplified the rather obfuscated logic inside 6922174294Sobrien these functions 6923174294Sobrien (expand_op): made it take a char * instead of a structure from 6924174294Sobrien which it was using only one field (a char *). Also now returns a 6925174294Sobrien char * instead of modifying said structure in place 6926174294Sobrien (expand_opts): deal with the change above 6927174294Sobrien (expand_selectors): renamed from expand_key 6928174294Sobrien (expand_options): new function, expands non-selectors; it's the 6929174294Sobrien complement of expand_selectors, both of which are just wrappers 6930174294Sobrien around expand_op() 6931174294Sobrien (eval_fs_opts): use the new split_opts, eval_selectors to allow 6932174294Sobrien using options (like ${rhost}) in selectors 6933174294Sobrien 693482794Sobrien2000-06-11 Ion Badulescu <ionut@moisil.cs.columbia.edu> 693582794Sobrien 693682794Sobrien * config.guess.long: munge config.guess' output so that intel 693782794Sobrien linux appears as i386-pc-linux 693882794Sobrien 693982794SobrienFri Jun 9 16:06:56 2000 Erez Zadok <ezk@defiant.dev.hydraweb.com> 694082794Sobrien 694182794Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: getifaddrs() on bsdi2 is broken. 694282794Sobrien Don't use it. 694382794Sobrien 694482794Sobrien2000-06-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 694582794Sobrien 694682794Sobrien * amd/mapc.c (maptypes): Change default allocation mode to 694782794Sobrien MAPC_INC where reload support is missing to avoid warning in 694882794Sobrien mapc_create(). 694982794Sobrien 695082794Sobrien2000-06-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 695182794Sobrien 695282794Sobrien * conf/nfs_prot/nfs_prot_sunos5_5.h: turn off autofs support for 695382794Sobrien solaris 2.5 until a full port can be done. 695482794Sobrien 695582794Sobrien2000-06-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 695682794Sobrien 695782794Sobrien * Makefile.am, aux/GNUmakefile: fix maintainer rules to update 695882794Sobrien config.* and texinfo.tex files. 695982794Sobrien 696082794Sobrien * amd/nfs_subr.c (nfsproc_getattr_2_svc): Don't conditionalize the 696182794Sobrien mtime update of the symlinks on the SYMTTL option, but rather 696282794Sobrien delay unmount of what was looked up using am_timeo_w. Patch from 696382794Sobrien Nick Williams <Nick.Williams@msdw.com>. As Nick says "Basically: 6964174294Sobrien during unmount, increment the parent dir's mtime (fixes 6965174294Sobrien people doing amq -u). During stat, increase the TTL (to fix bad-luck 696682794Sobrien timeouts), but leave the mtime alone." 696782794Sobrien 696882794Sobrien (nfsproc_lookup_2_svc, nfsproc_readlink_2_svc, unlink_or_rmdir, 696982794Sobrien nfsproc_readdir_2_svc): correctly update d_drops stats for amq -s. 697082794Sobrien Patch from Nick Williams <Nick.Williams@msdw.com>. 697182794Sobrien 697282794Sobrien * amd/map.c (unmount_mp): update mtime of amd symlink to further 697382794Sobrien reduce the chances of race conditions between unmounting and 697482794Sobrien looking up an entry again. Patch from Nick Williams 697582794Sobrien <Nick.Williams@msdw.com>. 697682794Sobrien 697782794Sobrien * README: updated instructions 697882794Sobrien 697982794Sobrien * bootstrap: remove log file before existing 698082794Sobrien 698182794Sobrien2000-06-06 Erez Zadok <ezk@aladdin.dev.hydraweb.com> 698282794Sobrien 698382794Sobrien * configure.in: no longer using aux/ subdir. don't force autoconf 698482794Sobrien 2.14. comment out (but leave explanation) everything that's needed 698582794Sobrien for autoconf 2.14, so for now it works with autoconf-2.13, but the 698682794Sobrien code is ready for 2.14 when it is released. Similar changes to 698782794Sobrien make code work with automake-1.4, until the next release comes 698882794Sobrien out. 698982794Sobrien 699082794Sobrien * libamu/Makefile.am: include definitions that are required in 699182794Sobrien automake 1.4, but won't be necessary when the next release of 699282794Sobrien automake comes out (see XXX comments). 699382794Sobrien 699482794Sobrien * cache_check_dynamic.m4, check_checkmount_style.m4, 699582794Sobrien check_mnttab_style.m4, check_mount_style.m4, 699682794Sobrien check_network_transport_type.m4, check_nfs_prot_headers.m4, 699782794Sobrien check_umount_style.m4: use symlink creation code that works for 699882794Sobrien both autoconf 2.13 and 2.14 (when the latter comes out). 699982794Sobrien 700082794Sobrien * bootstrap: new script for maintainers to run to update autoconf, 700182794Sobrien automake, and libtool related files. Has the same effect as 700282794Sobrien "buildall -K". 700382794Sobrien 700482794Sobrien * removed dependencies on CVS versions of autoconf, automake, and 700582794Sobrien libtool, especially the modified automake I had. This is so that 700682794Sobrien maintainers could built the auto* files out of the latest released 700782794Sobrien GNU autoconf, automake, and libtool. However, without my nice 700882794Sobrien patches to automake, many files that used to live in the aux/ 700982794Sobrien subdir now were moved to the top level source directory: acconfig.h, 701082794Sobrien acinclude.m4, aclocal.m4, aux_conf.h.in, config.guess, 701182794Sobrien config.guess.long, config.h.in, config.sub, configure.in, depcomp, 701282794Sobrien install-sh, ltconfig, ltmain.sh, missing, and mkinstalldirs. Also 701382794Sobrien texinfo.tex and mdate-sh moved from aux/ dir to doc/ dir. 701482794Sobrien 701582794Sobrien2000-06-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 701682794Sobrien 701782794Sobrien * cvs-server.txt: instructions for maintainers to access the CVS 701882794Sobrien server for am-utils. 701982794Sobrien 7020174294Sobrien2000-06-03 Ion Badulescu <ionut@moisil.cs.columbia.edu> 7021174294Sobrien 7022174294Sobrien * amd/restart.c (restart): grr.. passing around initialized 7023174294Sobrien structures is *really* bad habit. memset(mo, 0) so at least we can 7024174294Sobrien test for NULL pointers... 7025174294Sobrien 702682794Sobrien2000-06-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 702782794Sobrien 702882794Sobrien * amd/am_ops.c (ops_match): changed XLOG_USER messages about 702982794Sobrien merging addopts options to the more appropriate XLOG_INFO. Patch 703082794Sobrien submitted by Tom Schmidt <tschmidt@micron.com>. 703182794Sobrien 703282794Sobrien * config.{guess,sub}: make sure chmod'ed a+rx. Updated from 703382794Sobrien latest GNU copies. 703482794Sobrien 7035174294Sobrien2000-05-30 Ion Badulescu <ionut@moisil.cs.columbia.edu> 703682794Sobrien 7037174294Sobrien * aux/configure.in: bump up the version to 6.1a2 703882794Sobrien 703982794Sobrien2000-05-29 Ion Badulescu <ionut@moisil.cs.columbia.edu> 704082794Sobrien 7041174294Sobrien * released snapshot am-utils-6.1a1 7042174294Sobrien 7043174294Sobrien2000-05-29 Ion Badulescu <ionut@moisil.cs.columbia.edu> 7044174294Sobrien 7045174294Sobrien * amd/ops_autofs.c (autofs_mounted): retrieve the autofs protocol 7046174294Sobrien version and store it in the fh 7047174294Sobrien (autofs_get_opts): support protocol version 4 7048174294Sobrien 7049174294Sobrien * amd/mntfs.c (uninit_mntfs): clear the autofs fh pointer after 7050174294Sobrien releasing it 7051174294Sobrien 705282794Sobrien * conf/transp/transp_sockets.c (amu_svc_getcaller): cast result of 705382794Sobrien svc_getcaller() to sockaddr_in, to appease glibc 2.2 705482794Sobrien 7055174294Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): if the filesystem wants 7056174294Sobrien autofs handling and the parent is already handled by autofs, 7057174294Sobrien handle this filesystem as well 7058174294Sobrien (amfs_auto_mount): create the mountpoint for an autofs mount 7059174294Sobrien (amfs_auto_umount): do a real UMOUNT_FS() call for autofs mounts 7060174294Sobrien 7061174294Sobrien * include/am_utils.h (FS_AUTOFS): new flag signalling that the 7062174294Sobrien filesystem wants autofs handling; toplvl, auto, host and direct 7063174294Sobrien have this flag, at least for now 7064174294Sobrien 706582794Sobrien2000-05-28 Erez Zadok <ezk@mulberry.mcl.cs.columbia.edu> 706682794Sobrien 706782794Sobrien * doc/am-utils.texi (Network Filesystem Group): minor typos 706882794Sobrien 7069174294Sobrien2000-05-28 Ion Badulescu <ionut@moisil.cs.columbia.edu> 707082794Sobrien 7071174294Sobrien * amd/autil.c (am_unmounted): check mp->am_parent before dereferencing 707282794Sobrien 7073174294Sobrien * amd/srvr_nfs.c (find_nfs_srvr): if NFS_SCALEDOWN, force 7074174294Sobrien version=2 and proto=udp and try again 707582794Sobrien 7076174294Sobrien * amd/ops_nfs.c (prime_nfs_fhandle_cache): take an explicit mntfs 7077174294Sobrien instead of a voidp; handle the NFS_SCALEDOWN case by removing the 7078174294Sobrien cached server entry and re-querying the server 7079174294Sobrien 7080174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_mount): removed ugly if 7081174294Sobrien statement, assign mnttype from the fs-specific mf_ops->fs_type 7082174294Sobrien instead 7083174294Sobrien 7084174294Sobrien * amd/amfs_nfsx.c (amfs_nfsx_init): call fs_init() only if it's 7085174294Sobrien defined; 7086174294Sobrien (amfs_nfsx_remount): removed superfluous check for fmount_fs -- it 7087174294Sobrien always exists 7088174294Sobrien (amfs_nfsx_umount): removed the hacked am_node -- umounted() now 7089174294Sobrien takes an mntfs; call umounted() only if it's defined 7090174294Sobrien 7091174294Sobrien * amd/amfs_auto.c: removed amfs_auto_umounted and moved its 7092174294Sobrien functionality into am_umounted(). 7093174294Sobrien (amfs_auto_cont): Linux hack: if we got an EINVAL, mark the mntfs 7094174294Sobrien as needing an "NFS scaledown" and retry the operation 7095174294Sobrien 7096174294Sobrien * amd/amfs_*.c: changed all fmount/fumount functions to 7097174294Sobrien mount/umount and made them take an am_node instead of an 7098174294Sobrien mntfs. This is a first step towards an amfs/ops API separation. 7099174294Sobrien 7100174294Sobrien * amd/{amfs,ops}_*.c: changed the umounted() function to take an 7101174294Sobrien mntfs instead of an am_node 7102174294Sobrien 7103174294Sobrien2000-05-28 Ion Badulescu <ionut@moisil.cs.columbia.edu> 7104174294Sobrien 7105174294Sobrien * amd/amfs_toplvl.c (mount_amfs_toplvl): init error to 0 to shut 7106174294Sobrien up gcc 7107174294Sobrien 7108174294Sobrien * aux/macros/check_hide_mount_type.m4: revert to the 6.0 version 7109174294Sobrien which always defines HIDE_MOUNT_TYPE 7110174294Sobrien 7111174294Sobrien * amd/ops_autofs.c (autofs_mounted): remove MFF_AUTOFS 7112174294Sobrien initialization -- now done in init_mntfs() 7113174294Sobrien 7114174294Sobrien * amd/mntfs.c (init_mntfs): init mf_flags to MFF_AUTOFS if we are 7115174294Sobrien mounting an autofs-style map 7116174294Sobrien 7117174294Sobrien * amd/*.c: use the MFF_AUTOFS flag instead of doing a costly STREQ 7118174294Sobrien 7119174294Sobrien * amd/amfs_toplvl.c (mount_amfs_toplvl): MTYPE_TYPE is not 7120174294Sobrien necessarily a string type, so handle the nfs/autofs separation 7121174294Sobrien differently 7122174294Sobrien 7123174294Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): removed initialization of 7124174294Sobrien opt_mount_type (now done in ops_match()) 7125174294Sobrien 7126174294Sobrien * amd/am_ops.c (ops_match): need to initialize opt_mount_type if 7127174294Sobrien it's not initialized yet 7128174294Sobrien 7129174294Sobrien2000-05-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 7130174294Sobrien 713182794Sobrien * libamu/wire.c (getwire_lookup): handle calling irs_gen_acc with 713282794Sobrien one or two arguments (bsdi3 vs. bsdi4) 713382794Sobrien 7134174294Sobrien2000-05-27 Ion Badulescu <ib42@chestnut.mcl.cs.columbia.edu> 7135174294Sobrien 7136174294Sobrien * libamu/xutil.c (amu_release_controlling_tty): removed an unused 7137174294Sobrien variable from the previous patch 7138174294Sobrien 713982794Sobrien2000-05-26 Ion Badulescu <ionut@moisil.cs.columbia.edu> 714082794Sobrien 7141174294Sobrien * aux/macros/check_autofs_style.m4: fixed substitution for default 7142174294Sobrien case 7143174294Sobrien 714482794Sobrien * libamu/xutil.c (amu_release_controlling_tty): close standard 714582794Sobrien file descriptors, re-open them as /dev/null 714682794Sobrien 714782794Sobrien * include/am_defs.h: don't try to include both <ndbm.h> and 714882794Sobrien <db1/ndbm.h>, it really doesn't work 714982794Sobrien 715082794Sobrien2000-05-16 Ion Badulescu <ib42@earth.cs.columbia.edu> 715182794Sobrien 715282794Sobrien * hlfsd/stubs.c (nfsproc_lookup_2_svc): added code to update mtime 715382794Sobrien on lookup if MNT2_NFS_OPT_SYMTTL is not defined (copied from 715482794Sobrien getattr). This fixes the problem introduced by the Linux nfsv3 715582794Sobrien patches. 715682794Sobrien 7157174294Sobrien2000-05-12 Ion Badulescu <ionut@moisil.cs.columbia.edu> 7158174294Sobrien 7159174294Sobrien * Makefile.am (EXTRA_DIST_CONF): added conf/autofs/autofs_linux.h 7160174294Sobrien 7161174294Sobrien2000-05-10 Ion Badulescu <ib42@earth.cs.columbia.edu> 7162174294Sobrien 7163174294Sobrien * amd/ops_autofs.c (autofs_handle_fdset): call 7164174294Sobrien autofs_lookup_failed instead of autofs_mount_failed, if the name 7165174294Sobrien is not in the map 7166174294Sobrien (autofs_umount_{succeeded,failed}): pass the actual mount point, 7167174294Sobrien not its parent, as it's needed for clean-up; 7168174294Sobrien 7169174294Sobrien * amd/autil.c (am_unmounted): notify autofs that the umount 7170174294Sobrien succeeded 7171174294Sobrien 7172174294Sobrien * amd/amfs_link.c (amfs_link_[u]mount): autofs link notification 7173174294Sobrien moved elsewhere 7174174294Sobrien 7175174294Sobrien2000-05-09 Ion Badulescu <ionut@moisil.cs.columbia.edu> 7176174294Sobrien 7177174294Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): initialize opt_mount_type 7178174294Sobrien if necessary; 7179174294Sobrien (amfs_auto_mounted): test if opt_mount_type is NULL first 7180174294Sobrien (amfs_auto_mount): revert earlier change 7181174294Sobrien 7182174294Sobrien * amd/ops_autofs.c (autofs_mount_failed): remove autofs directory 7183174294Sobrien if mount failed 7184174294Sobrien 7185174294Sobrien2000-05-09 Ion Badulescu <ionut@moisil.cs.columbia.edu> 7186174294Sobrien 7187174294Sobrien * amd/ops_autofs.c (autofs_link_mount): use am_link as target 7188174294Sobrien 7189174294Sobrien * amd/map.c (unmount_mp): release file handle for autofs f/s about 7190174294Sobrien to be unmounted; this leak was preventing the unmount altogether 7191174294Sobrien 7192174294Sobrien * amd/amfs_auto.c (amfs_auto_umount): removed autofs-specific 7193174294Sobrien code, was broken 7194174294Sobrien (amfs_auto_bgmount): nfs mounts + sublinks is a valid combination, 7195174294Sobrien handle it 7196174294Sobrien 7197174294Sobrien2000-05-07 Ion Badulescu <ib42@moisil.cs.columbia.edu> 7198174294Sobrien 7199174294Sobrien * Merged changes from stable branch 7200174294Sobrien 720182794Sobrien2000-04-30 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 720282794Sobrien 720382794Sobrien * include/am_defs.h, aux/macros/mount_headers.m4, 720482794Sobrien aux/macros/try_compile_anyfs.m4: include linux/kdev_t.h and 720582794Sobrien linux/list.h before including linux/fs.h, and define __KERNEL__ 720682794Sobrien for those two headers. All of this to get a couple of definitions 720782794Sobrien that are needed in the new struct vfsmount. 720882794Sobrien 720982794Sobrien * aux/configure.in: look for <linux/kdev_t.h> and <linux/list.h>. 721082794Sobrien 721182794Sobrien * include/am_defs.h, aux/macros/mount_headers.m4: avoid conflicts 721282794Sobrien between linux/in.h. and netinet/in.h (linux-2.3.99-pre6), by 721382794Sobrien defining _LINUX_IN_H so it doesn't get included. 721482794Sobrien 721582794Sobrien2000-04-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 721682794Sobrien 721782794Sobrien * minor new ports: i686-pc-linux-gnu-rh6.2, 721882794Sobrien i386-unknown-freebsdelf3.4, i586-pc-linux-gnu-rh6.2. 721982794Sobrien 722082794Sobrien2000-04-03 Erez Zadok <ezk@vir.cs.columbia.edu> 722182794Sobrien 722282794Sobrien * aux/acconfig.h: move all #undef macros above @TOP@, so they can 722382794Sobrien be recognized by pickier autoconf. 722482794Sobrien 722582794Sobrien2000-04-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 722682794Sobrien 722782794Sobrien * aux/macros/cache_check_dynamic.m4 (ac_tmp): use correct echo -n 722882794Sobrien or \c. 722982794Sobrien 723082794Sobrien2000-03-25 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 723182794Sobrien 723282794Sobrien * include/am_defs.h: ditto 723382794Sobrien 723482794Sobrien * aux/macros/{mount_headers,try_compile_anyfs}.m4: force 723582794Sobrien non-inclusion of <linux/string.h>. Breaks build on newer 2.3 723682794Sobrien kernels. 723782794Sobrien 723882794Sobrien2000-02-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 723982794Sobrien 724082794Sobrien * doc/am-utils.texi (Amq -w option): document new amq -w option. 724182794Sobrien 724282794Sobrien * amq/amq.8: document new amq -w option. 724382794Sobrien 724482794Sobrien * amq/amq.c: disable last remains of insecure amq -M code. 724582794Sobrien (main): add amq -H option to show usage. 724682794Sobrien (main): new amq -w option, translates getpwd() into an amd path. 724782794Sobrien 7248174294Sobrien2000-02-25 Ion Badulescu <ionut@moisil.cs.columbia.edu> 7249174294Sobrien 7250174294Sobrien * libamu/util.c (get_server_pid): new function 7251174294Sobrien 7252174294Sobrien * hlfsd/hlfsd.c (main): make use of HIDE_MOUNT_TYPE 7253174294Sobrien 7254174294Sobrien * conf/transp/transp_sockets.c: removed create_autofs_service 7255174294Sobrien 7256174294Sobrien * conf/mount/mount_linux.c: added autofs mount options; split 7257174294Sobrien mount_linux into two functions, itself and do_mount_linux 7258174294Sobrien 7259174294Sobrien * aux/macros/check_hide_mount_type.m4: better failover 7260174294Sobrien 7261174294Sobrien * aux/configure.in: changed version to 6.1a1; added 7262174294Sobrien AC_CHECK_AUTOFS_STYLE 7263174294Sobrien 7264174294Sobrien * aux/aux_conf.h.in: added @am_utils_autofs_style@ 7265174294Sobrien 7266174294Sobrien * amd/opts.c: added "mount_type" option 7267174294Sobrien 7268174294Sobrien * amd/ops_autofs.c: ifdef-ed out solaris code; moved all autofs 7269174294Sobrien variables in here; split create_autofs_service into sun and linux 7270174294Sobrien specific functions 7271174294Sobrien 7272174294Sobrien * amd/nfs_start.c: removed autofs-specific variables 7273174294Sobrien 7274174294Sobrien * amd/map.c (get_root_nfs_fh): renamed root_fh to get_root_nfs_fh 7275174294Sobrien (get_root_ap): renamed root_ap to get_root_ap 7276174294Sobrien 7277174294Sobrien * amd/amfs_toplvl.c (amfs_toplvl_ops): replaced 7278174294Sobrien amfs_toplvl_mounted with amfs_auto_mounted 7279174294Sobrien (mount_amfs_toplvl): moved code around, added autofs handling 7280174294Sobrien (amfs_toplvl_mounted): removed 7281174294Sobrien 7282174294Sobrien * amd/amfs_nfsl.c (amfs_nfsl_ops): removed amfs_auto_fu?mount, 7283174294Sobrien replaced with amfs_nfsl_u?mount 7284174294Sobrien 7285174294Sobrien * amd/amfs_linkx.c (amfs_linkx_ops): removed amfs_auto_fumount, 7286174294Sobrien replaced with amfs_link_umount 7287174294Sobrien 7288174294Sobrien * amd/amfs_link.c (amfs_link_ops): removed amfs_auto_fu?mount, 7289174294Sobrien replaced with amfs_link_u?mount 7290174294Sobrien 7291174294Sobrien * amd/amfs_direct.c (amfs_direct_ops): changed "mounted" function 7292174294Sobrien from amfs_toplvl_mounted to amfs_auto_mounted 7293174294Sobrien 7294174294Sobrien * all: added autofs hooks throughout the code 7295174294Sobrien 7296174294Sobrien * amd/am_ops.c (vops): autofs_ops doesn't belong in here, removed 7297174294Sobrien 7298174294Sobrien * README.autofs: linux status update 7299174294Sobrien 730082794Sobrien2000-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 730182794Sobrien 730282794Sobrien * minor new port: alphaev6-dec-osf5.0 730382794Sobrien 730482794Sobrien * doc/am-utils.texi (Supported Platforms): hpux-11 supports NFSv3, 730582794Sobrien but only for UDP. 730682794Sobrien 730782794Sobrien * released snapshot am-utils-6.0.4s3 730882794Sobrien 730982794Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: support NFSv3 in hpux-11. Note 731082794Sobrien that hpux-11 NFSv3 supports UDP only, and trying TCP locks up the 731182794Sobrien kernel! Must set nfs_proto=udp in amd.conf [global]. 731282794Sobrien 731382794Sobrien * aux/config.guess.long: set and export PATH separately. DU5 731482794Sobrien /bin/sh doesn't like setting it on the command line in a 731582794Sobrien back-tick'ed `script`. 731682794Sobrien 731782794Sobrien2000-02-24 Ion Badulescu <ionut@moisil.cs.columbia.edu> 731882794Sobrien 731982794Sobrien * Makefile.am: removed struct_nfs_mount_data.m4 732082794Sobrien 732182794Sobrien * aux/macros/struct_nfs_mount_data.m4: deleted 7322174294Sobrien 732382794Sobrien * aux/acconfig.h: removed definition for HAVE_NFS_MOUNT_DATA 732482794Sobrien 732582794Sobrien * aux/configure.in: removed check for struct nfs_mount_data 732682794Sobrien 732782794Sobrien2000-02-24 Ion Badulescu <ib42@beetle.mcl.cs.columbia.edu> 732882794Sobrien 732982794Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): changed log message to 733082794Sobrien avoid having 'failed' in a message not indicating a failure 733182794Sobrien (amfs_auto_lookuppn): ditto 733282794Sobrien 733382794Sobrien * amd/ops_autofs.c (autofs_bgmount): ditto 733482794Sobrien (autofs_lookuppn): ditto 733582794Sobrien 733682794Sobrien2000-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 733782794Sobrien 733882794Sobrien * added .cvsignore files into the CVS repository. 733982794Sobrien 734082794Sobrien * remove files which can be regenerated: .in, configure, some 734182794Sobrien files in aux/, and more. 734282794Sobrien 734382794Sobrien2000-02-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 734482794Sobrien 734582794Sobrien * doc/am-utils.texi (nfs_vers/nfs_proto): description of two 734682794Sobrien parameters was reversed. Reported by Paul Jenner 734782794Sobrien <p.jenner@eim.surrey.ac.uk>. 734882794Sobrien 734982794Sobrien2000-02-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 735082794Sobrien 735182794Sobrien * released snapshot am-utils-6.0.4s2 735282794Sobrien 735382794Sobrien * amd/mntfs.c (realloc_mntfs): don't fallback on certain ops such 735482794Sobrien as inherit, error, and toplvl (failover code). 735582794Sobrien 735682794Sobrien * amd/conf.c (gopt_nfs_vers, gopt_nfs_proto): two new (documented) 735782794Sobrien global options in amd.conf: one to set the NFS version globally 735882794Sobrien (i.e., nfs_vers=2), and one to set the NFS protocol globally 735982794Sobrien (i.e., nfs_proto=udp). 736082794Sobrien 736182794Sobrien * amd/mntfs.c (realloc_mntfs): attempt to fix the failover code, 736282794Sobrien so when a matching mount entry failed, try the next one. 736382794Sobrien 736482794Sobrien2000-02-15 Erez Zadok <ezk@moisil.cs.columbia.edu> 736582794Sobrien 736682794Sobrien * amd/amfs_auto.c: a new debug option "readdir" to trace the 736782794Sobrien progress of the browsable_dirs code. 736882794Sobrien 736982794Sobrien * conf/mount/mount_linux.c (mount_linux): ensure that the new 737082794Sobrien linux NFSv3 code works for v2-only machines. 737182794Sobrien 737282794Sobrien2000-02-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 737382794Sobrien 737482794Sobrien * aux/configure.in: cleanup unused dnl entries. 737582794Sobrien 737682794Sobrien * conf/mount/mount_linux.c (parse_opts): typo: check for string 737782794Sobrien equality, not string inequality for pcfs and cdfs. 737882794Sobrien 737982794Sobrien * aux/acconfig.h: look for MNT2_NFS_OPT_INTR as well. 738082794Sobrien 738182794Sobrien * libamu/mount_fs.c (compute_mount_flags): check for INTR and 738282794Sobrien NOINTR options as well (intr was never passed to linux mount 738382794Sobrien syscall). 738482794Sobrien 738582794Sobrien2000-02-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 738682794Sobrien 738782794Sobrien * released snapshot am-utils-6.0.4s1 738882794Sobrien 738982794Sobrien * aux/GNUmakefile: buildall -k (for maintainers) temporarily now 739082794Sobrien ignores autoconf warnings: "The macro `AC_OUTPUT_COMMANDS' is 739182794Sobrien obsolete". It is harmless but annoying, and will be fixed when 739282794Sobrien autoconf and automake in their respective CVS trees are working 739382794Sobrien and in sync again. 739482794Sobrien 739582794Sobrien * scripts/amd.conf.5: document -D hrtime,xdrtrace 739682794Sobrien 739782794Sobrien * all man pages: update copyright to 2000. 739882794Sobrien 739982794Sobrien * doc/am-utils.texi: update copyright to 2000. 740082794Sobrien 740182794SobrienWed Feb 9 14:22:31 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 740282794Sobrien 740382794Sobrien * include/am_utils.h (D_XDRTRACE): Define. 740482794Sobrien (D_TEST): Disable here. 740582794Sobrien 740682794Sobrien * libamu/xutil.c (dbg_opt): Handle it. 740782794Sobrien 740882794Sobrien * doc/am-utils.texi (-D-Option): Document it. 740982794Sobrien 741082794Sobrien * libamu/xdr_func.c: Use it instead of D_TRACE. 741182794Sobrien 741282794Sobrien * include/am_utils.h (D_HRTIME): Define. 741382794Sobrien 741482794Sobrien * doc/am-utils.texi (-D-Option): Document it. 741582794Sobrien 741682794Sobrien * libamu/xutil.c (show_time_host_and_name): Print high-resolution 741782794Sobrien timestamp if available and activated. 741882794Sobrien 741982794Sobrien * aux/configure.in (clock_gettime): Check for it in -lrt and 742082794Sobrien -lposix4. 742182794Sobrien 742282794Sobrien * hlfsd/hlfsd.c (mnttab_file_name): Initialize to MNTTAB_FILE_NAME 742382794Sobrien if defined, even for some systems with in kernel mount tables. 742482794Sobrien 742582794Sobrien2000-02-08 Ion Badulescu <ionut@moisil.cs.columbia.edu> 742682794Sobrien 742782794Sobrien * aux/macros/mount_headers.m4: remove #if 0 around linux/nfs.h to 742882794Sobrien allow compiles against libc5 742982794Sobrien 743082794Sobrien * aux/macros/check_mnttab_type.m4: avoid detecting nfs3 under 743182794Sobrien linux when the kernel doesn't support it 743282794Sobrien 743382794Sobrien * include/am_compat.h: add workaround for linux efs 743482794Sobrien 743582794Sobrien2000-02-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 743682794Sobrien 743782794Sobrien * aux/configure.in: test for ANSI C compiler (before AC_C_CONST). 743882794Sobrien Comment out unused AC_STRUCT_ST_RDEV (which is obsolete anyway). 743982794Sobrien 744082794Sobrien2000-02-07 Ion Badulescu <ionut@moisil.cs.columbia.edu> 744182794Sobrien 744282794Sobrien * libamu/mount_fs.c (compute_nfs_args): turn on VER3 option for 744382794Sobrien nfs (linux NFSv3). 744482794Sobrien 744582794Sobrien * include/am_defs.h: avoid reinclusion of some header files under 744682794Sobrien linux. 744782794Sobrien 744882794Sobrien * conf/nfs_prot/nfs_prot_linux.h: support NFSv3. 744982794Sobrien 745082794Sobrien * conf/mount/mount_linux.c (mount_linux): support nfs mount 745182794Sobrien (implementation) version 4 for NFSv3. 745282794Sobrien 745382794Sobrien * aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS. 745482794Sobrien 745582794Sobrien * aux/macros/mount_headers.m4: don't include <linux/fs.h> (may 745682794Sobrien need to fix the code on other linux machines). 745782794Sobrien 745882794Sobrien * aux/macros/check_mnttab_type.m4 (ac_safe): ditto. 745982794Sobrien 746082794Sobrien * aux/macros/check_fs_mntent.m4 (ac_safe): check for nfs3 option 746182794Sobrien under linux (depends on ac_cv variable, is that a good idea?) 746282794Sobrien 746382794Sobrien * added NFSv3 support for linux 746482794Sobrien 746582794Sobrien * aux/{configure.in,acconfig.h}: new option ver3 746682794Sobrien 746782794Sobrien * aux/macros/mount_headers.m4: commented out inclusion of 746882794Sobrien linux/fs.h, it's not needed on rh61 (and actually generates 746982794Sobrien conflicts), we should see if it's still needed on libc5 systems 747082794Sobrien 747182794Sobrien * aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS rather than 747282794Sobrien try to have its own (out of date) list of headers and ifdef's and 747382794Sobrien ... 747482794Sobrien 747582794Sobrien2000-02-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 747682794Sobrien 747782794Sobrien ******************************************************************* 747882794Sobrien *** Released am-utils-6.0.3 *** 747982794Sobrien ******************************************************************* 748082794Sobrien 748182794Sobrien2000-02-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 748282794Sobrien 748382794Sobrien * conf/mount/mount_default.c: dummy empty file to work around a 748482794Sobrien limitation of automake (it looks for LIBBOBJS in aclocal.m4 and 748582794Sobrien processes them even if they are optional, enclosed in if/else). 748682794Sobrien 748782794Sobrien2000-01-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 748882794Sobrien 748982794Sobrien * released snapshot am-utils-6.0.3s5 749082794Sobrien 749182794Sobrien2000-01-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 749282794Sobrien 749382794Sobrien * update to use latest version of autoconf, automake, and libtool. 749482794Sobrien 749582794Sobrien * aux/GNUmakefile (depcomp): "make update" should also update the 749682794Sobrien depcomp script. 749782794Sobrien 749882794Sobrien * Makefile.am (EXTRA_DIST_AUX): include depcomp in distribution. 749982794Sobrien 750082794Sobrien * aux/configure.in: use renamed AC_CHECK_AMU_FS. 750182794Sobrien 750282794Sobrien * aux/macros/check_amu_fs.m4: renamed macro name and file name to 750382794Sobrien say AMU_FS, not AM_FS. 750482794Sobrien 750582794Sobrien * aux/acconfig.h: renamed HAVE_AM_FS_* to HAVE_AMU_FS_* because 750682794Sobrien latest version of autoconf doesn't handle it (bug in 2.14a) 750782794Sobrien 750882794Sobrien * aux/configure.in: require version 2.14 of autoconf. 750982794Sobrien 751082794Sobrien * amd/mapc.c (mapc_reload_map): more fixes from Nick Williams. 751182794Sobrien 751282794Sobrien * doc/am-utils.texi (Automount Filesystem): document type:=auto 751382794Sobrien map browsability option. 751482794Sobrien 751582794Sobrien * amd/mapc.c (make_entry_chain): patch from Steven Danz 751682794Sobrien <sdanz@awc.kc.noaa.gov> to allow browsable auto maps. 751782794Sobrien 751882794Sobrien2000-01-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 751982794Sobrien 752082794Sobrien * released snapshot am-utils-6.0.3s4 752182794Sobrien 752282794Sobrien * amd/mapc.c (mapc_reload_map): fixes to sync maps even if they 752382794Sobrien are set to mapcache:=sync. Fix from Nick Williams 752482794Sobrien <Nick.Williams@msdw.com>. 752582794Sobrien 752682794Sobrien2000-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 752782794Sobrien 752882794Sobrien * released snapshot am-utils-6.0.3s3 752982794Sobrien 753082794Sobrien * minor port to i386-unknown-netbsd1.4.1 753182794Sobrien 753282794Sobrien * amd/nfs_subr.c (nfsproc_getattr_2_svc): patch from Nick Williams 753382794Sobrien <Nick.Williams@msdw.com> to fix (or reduce the incidence of) stale 753482794Sobrien file handles when doing rapid mounts and umounts in succession 753582794Sobrien such as "ls /vol/foo ; amq -u /vol/foo ; ls /vol/foo" 753682794Sobrien 753782794Sobrien2000-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 753882794Sobrien 753982794Sobrien * minor port to i386-pc-bsdi4.1. 754082794Sobrien 754182794Sobrien2000-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 754282794Sobrien 754382794Sobrien * libamu/wire.c (getwire_lookup): pass NULL as conf_file (2nd) 754482794Sobrien argument to irs_gen_acc(), which was changed in bsdi 4.1. 754582794Sobrien 754682794Sobrien2000-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 754782794Sobrien 754882794Sobrien * amd/get_args.c (get_args): don't use MNTTAB_FILE_NAME for 754982794Sobrien systems with in-kernel mount tables unless this macro is defined 755082794Sobrien (Solaris 8). 755182794Sobrien 755282794Sobrien2000-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 755382794Sobrien 755482794Sobrien * ALL: bump copyright year to 2000. 755582794Sobrien 755682794Sobrien1999-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 755782794Sobrien 755882794Sobrien * conf/mount/mount_svr4.c (mount_svr4): optionstr exists on 755982794Sobrien solaris 7, but should not be used unless MAX_MNTOPT_STR also 756082794Sobrien exists (solaris 8). 756182794Sobrien 756282794Sobrien * doc/am-utils.texi (opts Option): document new mount option: 756382794Sobrien optionstr. 756482794Sobrien 756582794SobrienFri Dec 10 01:31:53 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 756682794Sobrien 756782794Sobrien * conf/trap/trap_svr4.h (MOUNT_TRAP): Pass mount option string to 756882794Sobrien mount_svr4(). 756982794Sobrien (mount_svr4): Adapt prototype. 757082794Sobrien * conf/mount/mount_svr4.c (mount_svr4): Pass them to kernel so 7571174294Sobrien they are evaluated and show up in Solaris 8 in-kernel mnttab. 757282794Sobrien 757382794Sobrien * aux/configure.in: Check for new Solaris 8 MS_OPTIONSTR mount(2) 7574174294Sobrien option. 757582794Sobrien * aux/acconfig.h (MNT2_GEN_OPT_OPTIONSTR): Provide template. 757682794Sobrien 757782794Sobrien1999-12-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 757882794Sobrien 757982794Sobrien * released snapshot am-utils-6.0.3s2 758082794Sobrien 758182794Sobrien1999-12-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 758282794Sobrien 758382794Sobrien * doc/am-utils.texi (opts Option): document noexec and nomnttab 758482794Sobrien (new to Solaris 8). 758582794Sobrien 758682794Sobrien * Makefile.am (EXTRA_DIST_CONF): include nfs_prot_sunos5_8.h in 758782794Sobrien distribution. 758882794Sobrien 7589119679Smbr * applied fixes from Rainer Orth for Solaris 8. 759082794Sobrien 759182794Sobrien * libamu/wire.c (getwire): increment the cp pointer in the loop 759282794Sobrien body, because the ioctl() inside the "for" loop will overwrite the 759382794Sobrien ifr structure, thus not detecting all of the interfaces. Bug 759482794Sobrien reported and fixed by Amitha Perera <perera@cs.rpi.edu>. 759582794Sobrien 759682794SobrienThu Dec 9 19:09:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 759782794Sobrien 759882794Sobrien * conf/mtab/mtab_svr4.c (unlockmnttab, lockmnttab): No-ops if 759982794Sobrien MOUNT_TABLE_ON_FILE. 760082794Sobrien 760182794Sobrien * amd/get_args.c (get_args): Initialize mnttab_file_name even for 760282794Sobrien in-kernel mount table. conf/mtab/mtab_svr4.c (read_mtab) depends 760382794Sobrien on a non-NULL value. 760482794Sobrien 760582794Sobrien * amd/info_ldap.c (get_ldap_timestamp): Don't peek into opaque 760682794Sobrien LDAP structure to get error code, but use it directly. 760782794Sobrien (amu_ldap_search): Likewise. 760882794Sobrien 760982794Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: Rip superfluous and wrong 761082794Sobrien ldap support. 761182794Sobrien * conf/nfs_prot/nfs_prot_sunos5_8.h: Likewise. 761282794Sobrien 761382794Sobrien * conf/nfs_prot/nfs_prot_sunos5_8.h: New file, doesn't typedef 761482794Sobrien nfsstat, already in <nfs/nfs.h>. 761582794Sobrien * aux/macros/check_nfs_prot_headers.m4: Use it for all Solaris 761682794Sobrien versions beyond 7. 761782794Sobrien Allow for micro versions of SunOS 5.[67]. 761882794Sobrien 761982794Sobrien * aux/configure.in: Check for new Solaris 8 Beta Refresh 762082794Sobrien MS_NOMNTTAB mount(2) option. 762182794Sobrien * aux/macros/check_mnttab_location.m4: Use it to test for 762282794Sobrien mntfs-based in-kernel mnttab. 762382794Sobrien 762482794Sobrien * aux/macros/os_cflags.m4: Treat Solaris 8 and higher like 2.6/7. 762582794Sobrien 762682794Sobrien * aux/macros/check_fs_headers.m4: Revert test for duplicate 7627174294Sobrien objects. 762882794Sobrien * aux/macros/check_fs_mntent.m4: Likewise 762982794Sobrien 763082794Sobrien * aux/macros/HEADER: Fixed typo. 763182794Sobrien 763282794Sobrien * include/am_defs.h: Likewise. 763382794Sobrien 763482794Sobrien1999-12-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 763582794Sobrien 763682794Sobrien * aux/macros/*.m4: prepare for hpux-12 (assume same as hpux-11) 763782794Sobrien 763882794Sobrien1999-11-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 763982794Sobrien 764082794Sobrien * BUGS: document glibc-2.1 nis file descriptor leak in yp_bind. 764182794Sobrien 764282794Sobrien * amd/info_ldap.c (string2he): updated function which does not 764382794Sobrien corrupt strings when called more than once. Patch from 764482794Sobrien JOHANN.PFEFFERL.JP@germany.agfa.com. 764582794Sobrien 764682794Sobrien1999-11-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 764782794Sobrien 764882794Sobrien * MIRRORS (Asia): two new mirrors in Japan. 764982794Sobrien 765082794Sobrien1999-11-10 Erez Zadok <ezk@kosh.cs.columbia.edu> 765182794Sobrien 765282794Sobrien * doc/am-utils.texi: document new variables for ${uid} and ${gid}. 765382794Sobrien 765482794Sobrien * amd/nfs_subr.c (nfsproc_lookup_2_svc): find the uid/gid of the 765582794Sobrien last lookup from the RPC credentials. 765682794Sobrien 765782794Sobrien * aux/configure.in: upped version-info to 4:0:2 because I've added 765882794Sobrien a new interface to libamu. 765982794Sobrien 766082794Sobrien * libamu/misc_rpc.c (getcreds): moved function from hlfsd to here, 766182794Sobrien so it can be used by amd. 766282794Sobrien 766382794Sobrien * amd/opts.c: new variables ${uid} and ${gid}. 766482794Sobrien 766582794Sobrien1999-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 766682794Sobrien 766782794Sobrien * scripts/ctl-amd.in: add "status" command that tells you if amd 766882794Sobrien is running on not (same output as RedHat scripts). 766982794Sobrien Added start_msg and stop_msg targets as they are used on HPUX. 767082794Sobrien reported by Jon Peatfield <J.S.Peatfield@damtp.cam.ac.uk>. 767182794Sobrien 767252894Sobrien1999-10-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 767352894Sobrien 767452894Sobrien * released snapshot am-utils-6.0.3s1 767552894Sobrien 767652894Sobrien1999-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 767752894Sobrien 767852894Sobrien * amd/amd.c (main): On AIX you must lower the stack size using 767952894Sobrien ulimit() before calling plock. Otherwise plock will reserve a lot 768052894Sobrien of memory space based on your maximum stack size limit. Since it 768152894Sobrien is not easily possible to tell what should the limit be, I print a 768252894Sobrien warning before calling plock(). See the manual pages for 768352894Sobrien ulimit(1,3,4) on your AIX system. 768452894Sobrien 768552894Sobrien * include/am_defs.h: define default extern for vsnprintf() 768652894Sobrien 768752894Sobrien * aux/configure.in: check for extern definition for vsnprintf() 768852894Sobrien 768952894Sobrien1999-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 769052894Sobrien 769152894Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): patch from Nick Williams 769252894Sobrien <njw@ms.com>. SYMPTOMS: 'occasionally' sublinks do not point to 769352894Sobrien the correct location, but to the top level of the mountpoint and 769452894Sobrien an (error-hook) is seen being mounted in the log file. This causes 769552894Sobrien things to Go Wrong(TM). 769652894Sobrien CAUSE: When evaluating two locations which are requested 769752894Sobrien 'practically simultaneously', and the two locations resolve to the 769852894Sobrien same NFS mountpoint (but different sublinks), the later request 769952894Sobrien will be "deferred" and retried after wakeup when the first mount 770052894Sobrien succeeds. To do this, it rewinds the options location string to 770152894Sobrien re-evaluate the location when the mount is retried. However, it 770252894Sobrien shouldn't rewind the options for two reasons: (a) the semantics of 770352894Sobrien the map language say you shouldn't and (b) the NFS mount reference 770452894Sobrien is not reset at the same time, meaning that on the retry it will 770552894Sobrien have an options structure out-of-sync with the mount 770652894Sobrien structure. The "shortcut" code when retrying the mount sees the 770752894Sobrien mount structure is already filled in and does not fully evaluate 770852894Sobrien the options structure.... so if the first location is not the one 770952894Sobrien which ties in with the mountpoint (see ordering in the 771052894Sobrien recreate-by), you're now well messed up. 771152894Sobrien 771252894Sobrien * BUGS: mention aix4.3 plock() bug (memory usage blows up and 771352894Sobrien plock fails) 771452894Sobrien 771552894Sobrien1999-10-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 771652894Sobrien 771752894Sobrien * aux/GNUmakefile: certain files should be copied if they are 771852894Sobrien newer, not also if they are bigger: install-sh, ltconfig, 771952894Sobrien ltmain.sh, mdate-sh, missing, mkinstalldirs, and texinfo.tex. 772052894Sobrien 772152894Sobrien * minor new port: i586-pc-linux-gnu-rh6.1 (RedHat Linux 6.1) 772252894Sobrien 772352894Sobrien1999-10-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 772452894Sobrien 772552894Sobrien * aux/macros/check_nfs_prot_headers.m4: prepare for OSF-5. 772652894Sobrien 772752894Sobrien * aux/macros/check_nfs_fh_dref.m4: prepare for Tru64, aka OSF-5. 772852894Sobrien 772952894Sobrien1999-09-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 773052894Sobrien 773152894Sobrien ******************************************************************* 773252894Sobrien *** Released am-utils-6.0.2 *** 773352894Sobrien ******************************************************************* 773452894Sobrien 773552894Sobrien1999-09-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 773652894Sobrien 773752894Sobrien * conf/mount/mount_linux.c (mount_linux): print the updated mount 773852894Sobrien flags. 773952894Sobrien 774052894Sobrien * doc/am-utils.texi: document $full_os and $vendor. 774152894Sobrien 774252894Sobrien * scripts/amd.conf-sample: examples of $full_os and $vendor. 774352894Sobrien 774452894Sobrien * scripts/amd.conf.5: document $full_os and $vendor. 774552894Sobrien 774652894Sobrien * amd/conf.c: add support for $full_os and $vendor. 774752894Sobrien 774852894Sobrien1999-09-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 774952894Sobrien 775052894Sobrien * doc/am-utils.texi (netgrp Selector Function): don't give 775152894Sobrien examples with old single '=' assignment variable. Use foo:=bar. 775252894Sobrien 775352894Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): corectly indent long 775452894Sobrien comment describing this complex function. 775552894Sobrien 775652894Sobrien * doc/Makefile.am (alldocs): do install-ps last (because distiller 775752894Sobrien is slow) and install-html next to last (because texi2html is also 775852894Sobrien slow). 775952894Sobrien 776052894Sobrien * amd/amd.8: Major fixes to the description of the option -t 776152894Sobrien timeout.retransmit. 776252894Sobrien 776352894Sobrien * doc/am-utils.texi: better description of "trace" debug option. 776452894Sobrien amd -H (not -v) shows log_options and debug_options. Major fixes 776552894Sobrien to the description of amd -t timeout.retransmit, and the amd.conf 776652894Sobrien parameters nfs_retransmit_counter and nfs_retry_interval. 776752894Sobrien 776852894Sobrien * scripts/amd.conf.5: better description of "trace" debug option. 776952894Sobrien amd -H (not -v) shows log_options and debug_options. Major fixes 777052894Sobrien to the description of the parameters nfs_retransmit_counter and 777152894Sobrien nfs_retry_interval. 777252894Sobrien 777352894Sobrien1999-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 777452894Sobrien 777552894Sobrien * doc/am-utils.texi (Automount Filesystem): cache:= is not a mount 777652894Sobrien option, but a mount map option. 777752894Sobrien 777852894Sobrien * libamu/xutil.c (switch_to_logfile): log the name of the log file 777952894Sobrien we switched into, after the log file had been [re]opened. 778052894Sobrien 778152894Sobrien1999-09-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 778252894Sobrien 778352894Sobrien * amd/mapc.c (mapc_reload_map): count and show the number of times 778452894Sobrien a map was reloaded. Only reload a map if its modify-time was 778552894Sobrien updated. But amq -f forced a reload no matter what. 778652894Sobrien 778752894Sobrien * amd/amd.h: new flag to struct mnt_map to count number of times a 778852894Sobrien map was reloaded. 778952894Sobrien 779052894Sobrien * amd/mapc.c (mapc_reload_map): attempt to reload the map without 779152894Sobrien losing current data by reloading into a temp copy, and switching 779252894Sobrien the hashes round only if the reload was successful. Patch from Jon 779352894Sobrien Peatfield <J.S.Peatfield@damtp.cam.ac.uk>. 779452894Sobrien (mapc_sync): mapc_reload_map() always succeeds. 779552894Sobrien 779651591Sobrien1999-09-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 779751591Sobrien 779852894Sobrien * amd/info_ldap.c (amu_ldap_rebind): don't busy-loop trying to 779952894Sobrien rebind to an LDAP server forever. Try up to 10 times. 780052894Sobrien 780152894Sobrien * fsinfo/fsi_lex.l (yyerror): rework code that will never happen 780252894Sobrien 780351591Sobrien * released snapshot am-utils-6.0.2s2 780451591Sobrien 780551591Sobrien * aux/configure.in: bumped library version-info to 3:2:1, since 780651591Sobrien some libamu code got changed. 780751591Sobrien 780851591Sobrien * libamu/xutil.c (real_plog): use vsnprintf, not vsprintf, which 780951591Sobrien is better and more secure. Fix from "David O'Brien" 781051591Sobrien <obrien@NUXI.com>. 781151591Sobrien 781251591Sobrien * aux/configure.in: check for vsnprintf. 781351591Sobrien 781451591Sobrien1999-09-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 781551591Sobrien 781651591Sobrien * aux/macros/linux_headers.m4: use AC_MSG_ERROR. 781751591Sobrien 781851591Sobrien * aux/macros/opt_{cppflags,ldflags,libs,amu_cflags}.m4: the ARG is 781951591Sobrien not optional. Make sure ARG is supplied else flag an error. 782051591Sobrien 782151591Sobrien1999-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 782251591Sobrien 782351591Sobrien * minor port i386-unknown-freebsdelf3.3 782451591Sobrien 782551591Sobrien * released snapshot am-utils-6.0.2s1 782651591Sobrien 782751591Sobrien1999-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 782851591Sobrien 782951591Sobrien * aux/configure.in (AC_CHECK_FUNCS): check for getitimer(). 783051591Sobrien 783151591Sobrien * include/am_defs.h: extern definition for getitimer(). 783251591Sobrien 783351591Sobrien * aux/configure.in: use AC_CHECK_EXTERNS. Look for getitimer() 783451591Sobrien extern. 783551591Sobrien 783651591Sobrien * aux/macros/check_extern.m4: define a simple AC_CHECK_EXTERNS 783751591Sobrien that calls AC_CHECK_EXTERN in a loop. This saves repeated code in 783851591Sobrien configure. 783951591Sobrien 784051591Sobrien * aux/macros/type_auth_create_gidlist.m4: AIX 4.x systems use 784151591Sobrien 'int' as the 5th arg to authunix_create(). 784251591Sobrien 784351591Sobrien * aux/macros/type_recvfrom_fromlen.m4: all AIX 4.x systems use a 784451591Sobrien size_t for the 6th arg of recvfrom(). 784551591Sobrien 784651591Sobrien * aux/macros/os_cflags.m4: define _XOPEN_EXTENDED_SOURCE for 784751591Sobrien aix4.x systems. 784851591Sobrien 784951591Sobrien * libamu/mount_fs.c (print_nfs_args): cast some values to int, to 785051591Sobrien avoid gcc -Wall errors. 785151591Sobrien 785251591Sobrien * scripts/expn.in: use sockaddr_in(), not pack() to correctly fill 785351591Sobrien in a struct sockaddr_in. On Solaris x86 hosts, using pack() 785451591Sobrien results in byte-misaligned values. Bug fix from Jeffrey C Honig 785551591Sobrien <jch@BSDI.COM>. 785651591Sobrien 785751591Sobrien * libamu/mount_fs.c (compute_automounter_mount_flags): turn on 785851591Sobrien automntfs (ignore on bsdi-4.1) flag. 785951591Sobrien (compute_automounter_nfs_args): ditto. 786051591Sobrien 786151591Sobrien * aux/acconfig.h: add new flag for automntfs (ignore) 786251591Sobrien 786351591Sobrien * aux/configure.in: check for new automntfs flag (bsdi-4.1). 786451591Sobrien 786551591Sobrien1999-09-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 786651591Sobrien 786751591Sobrien * MIRRORS: added new site in Germany. Updated status of umn.edu 786851591Sobrien and ferginc.com, who may no longer be mirroring am-utils. 786951591Sobrien 787051292Sobrien1999-09-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 787151292Sobrien 787251292Sobrien ******************************************************************* 787351292Sobrien *** Released am-utils-6.0.1 *** 787451292Sobrien ******************************************************************* 787551292Sobrien 787651292Sobrien1999-09-08 Erez Zadok <ezk@cs.columbia.edu> 787751292Sobrien 787851292Sobrien * aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct 787951292Sobrien netexport defined. 788051292Sobrien 788151292Sobrien * aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and 788251292Sobrien struct netexport defined. 788351292Sobrien 788451292Sobrien1999-09-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 788551292Sobrien 788651292Sobrien * aux/macros/check_field.m4 (ac_upcase_var_name): include 788751292Sobrien <ifaddrs.h> so we can detect fields within struct ifaddrs. 788851292Sobrien 788951292Sobrien * libamu/wire.c (getwire): bsdi-2.1 uses a second arg to 789051292Sobrien getifaddrs() and struct ifaddrs has no ifa_next field. 789151292Sobrien 789251292Sobrien * aux/configure.in: check if 'struct ifaddrs' has a field 789351292Sobrien ifa_next. 789451292Sobrien 789551292Sobrien * include/amq_defs.h (AMQ_STRLEN): double size of amq string 789651292Sobrien length to 2048 bytes. 789751292Sobrien 789851292Sobrien * conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs 789951292Sobrien header files and ufs/ufs/ufsmount.h. Bug reported by <Christos 790051292Sobrien Zoulas> christos@zoulas.com. 790151292Sobrien 790251292Sobrien * aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>. 790351292Sobrien Bug reported by <Christos Zoulas> christos@zoulas.com. 790451292Sobrien 790551292Sobrien * aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h> 790651292Sobrien 790751292Sobrien1999-09-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 790851292Sobrien 790951292Sobrien * libamu/xutil.c (expand_error): use strerror if available instead 791051292Sobrien of sys_errlist. Bug reported by <Christos Zoulas> 791151292Sobrien christos@zoulas.com. 791251292Sobrien 791351292Sobrien * hlfsd/hlfsd.c (fatal): use strerror if available instead of 791451292Sobrien sys_errlist. 791551292Sobrien 791651292Sobrien * amq/amq.c (show_mi): use strerror if available instead of 791751292Sobrien sys_errlist. 791851292Sobrien 791951292Sobrien * aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4 792051292Sobrien nfs_prot header is used for any future (1.5 etc.) netbsd systems. 792151292Sobrien 792251292Sobrien * amq/pawd.c (find_mt): check for type nfsl as well. Fix from 792351292Sobrien "Andrew J. Korty" <ajk@purdue.edu> 792451292Sobrien 792551292Sobrien1999-08-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 792651292Sobrien 792751292Sobrien * doc/am-utils.texi (Supported Platforms): updates for redhat 792851292Sobrien systems. 792951292Sobrien 793051292Sobrien * INSTALL: updates for redhat systems. 793151292Sobrien 793251292Sobrien * libamu/wire.c (getwire_lookup): spell "succeeded" correctly 793351292Sobrien 793451292Sobrien1999-08-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 793551292Sobrien 793651292Sobrien * scripts/ctl-amd.in: sleep 1 second between killing amd and 793751292Sobrien restarting it, because amq may respond that amd is down, where in 793851292Sobrien fact it is still trying to unmount itself after unmapping itself 793951292Sobrien from the portmapper. 794051292Sobrien 794151292Sobrien * aux/config.guess.long: new script to print long version of 794251292Sobrien config.guess output. 794351292Sobrien 794451292Sobrien * buildall (host_alias): use long version of config.guess. 794551292Sobrien 794651292Sobrien1999-08-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 794751292Sobrien 794851292Sobrien * scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop 794951292Sobrien scripts. 795051292Sobrien 795151292Sobrien1999-08-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 795251292Sobrien 795351292Sobrien * released snapshot am-utils-6.0.1s11 795451292Sobrien 795551292Sobrien * libamu/xutil.c (expand_error): make sure expanding the string 795651292Sobrien with textual version of errno doesn't overrun the 1024 bytes 795751292Sobrien buffer. 795851292Sobrien (real_plog): null terminate msg, just in case. 795951292Sobrien 796051292Sobrien * amq/amq.c (main): don't getopt -M option and don't process it 796151292Sobrien unless ENABLE_AMQ_MOUNT is on. 796251292Sobrien 796351292Sobrien * amd/amq_svc.c (amq_program_1): all code that relates to amq -M 796451292Sobrien is conditional on #ifdef ENABLE_AMQ_MOUNT. 796551292Sobrien 796651292Sobrien * amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked 796751292Sobrien when amq -M code is disabled. Not taking any chances. 796851292Sobrien 796951292Sobrien1999-08-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 797051292Sobrien 797151292Sobrien * released snapshot am-utils-6.0.1s10 797251292Sobrien 797351292SobrienSun Aug 22 16:18:59 1999 Erez Zadok <ezk@subzero.cs.columbia.edu> 797451292Sobrien 797551292Sobrien * libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on 797651292Sobrien 128.59.16.0), try to shift the network out of zeros (e.g., 797751292Sobrien 128.59.16) and try again. Irix 6.4 requires short network 797851292Sobrien numbers. 797951292Sobrien 798051292Sobrien1999-08-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 798151292Sobrien 798251292Sobrien * libamu/wire.c (getwire_lookup): correctly compute subnet using 798351292Sobrien netmask. 798451292Sobrien 798551292Sobrien * libamu/mount_fs.c (compute_automounter_nfs_args): require that 798651292Sobrien Amd's own NFS mounts use reserved ports (if possible). IP packet 798751292Sobrien security fix from Jeffrey C Honig <jch@BSDI.COM>. 798851292Sobrien 798951292Sobrien * conf/transp/transp_tli.c (create_autofs_service): use correct 799051292Sobrien autofs_port. IP packet security fix from Jeffrey C Honig 799151292Sobrien <jch@BSDI.COM>. 799251292Sobrien 799351292Sobrien * conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary 799451292Sobrien function. IP packet security fix from Jeffrey C Honig 799551292Sobrien <jch@BSDI.COM>. 799651292Sobrien (create_nfs_service): use bind_resv_port() directly. ensure that 799751292Sobrien privileged ports are used. IP packet security fix from Jeffrey C 799851292Sobrien Honig <jch@BSDI.COM>. 799951292Sobrien 800051292Sobrien * amd/nfs_prot_svc.c (nfs_program_2): verify that requests come 800151292Sobrien from reserved ports and from a local IP address. IP packet 800251292Sobrien security fix from Jeffrey C Honig <jch@BSDI.COM>. 800351292Sobrien 800451292Sobrien * amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of 800551292Sobrien hard-coded 1024. IP packet security fix from Jeffrey C Honig 800651292Sobrien <jch@BSDI.COM>. 800751292Sobrien (amqproc_mount_1_svc): provide information on the caller making an 800851292Sobrien amq -M request. IP packet security fix from Jeffrey C Honig 800951292Sobrien <jch@BSDI.COM>. 801051292Sobrien 801151292Sobrien * amd/map.c (free_map_if_success): If the program doing an unmount 801251292Sobrien of a program filesystem fails, amd tries to interpret the return 801351292Sobrien code as an errno. Fix from Jeffrey C Honig <jch@BSDI.COM>. 801451292Sobrien 801551292Sobrien * amd/info_nis.c (determine_nis_domain): don't always print 801651292Sobrien warning about NIS domain name not being set, even if NIS is not in 801751292Sobrien use. 801851292Sobrien 801951292Sobrien1999-08-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 802051292Sobrien 802151292Sobrien * amd/info_ldap.c (get_ldap_timestamp): initialize variable err. 802251292Sobrien (amu_ldap_search): initialize variable err. 802351292Sobrien 802451292Sobrien1999-08-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 802551292Sobrien 802651292Sobrien * libamu/wire.c: written using getifaddrs() for BSD systems, 802751292Sobrien contributed by BSDI, Jeffrey C Honig <jch@BSDI.COM>). 802851292Sobrien 802951292Sobrien1999-08-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 803051292Sobrien 803151292Sobrien * include/am_utils.h (SALLOC): a simple macro to allocate N bytes. 803251292Sobrien 803351292Sobrien * aux/configure.in: check for irs.h and ifaddrs.h. 803451292Sobrien Increase libamu.so --version-info to 3:1:1 since we've changed the 803551292Sobrien source code for the library. 803651292Sobrien Check for getifaddrs() function. 803751292Sobrien 803851292Sobrien1999-08-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 803951292Sobrien 804051292Sobrien * libamu/mount_fs.c (print_nfs_args): print fields namlen and 804151292Sobrien bsize if they exist. 804251292Sobrien 804351292Sobrien * conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen 804451292Sobrien and ->bsize fields correctly, if those fields exist. This is a 804551292Sobrien bug in that amd neglected to set these fields, but told the 804651292Sobrien kernel it is mounting the nfs_args_t structure using mount version 804751292Sobrien 3 (which requires both bsize and namlen fields). 804851292Sobrien 804951292Sobrien * aux/configure.in: test for two new nfs_args_t fields (used on 805051292Sobrien newer linux with mount versions 2 and 3): bsize and namlen. 805151292Sobrien 805251292Sobrien * doc/am-utils.texi (netgrpd Selector Function): document new 805351292Sobrien selector function. 805451292Sobrien 805551292Sobrien * amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to 805651292Sobrien test if the current host (fully-qualified name) is in the ARG host 805751292Sobrien netgroup. The netgrp() function uses the short form of a host 805851292Sobrien name. Patch from Christophe Kalt <Christophe-Kalt@deshaw.com>. 805951292Sobrien 806051292Sobrien * doc/am-utils.texi (automount2amd): document new script. 806151292Sobrien 806251292Sobrien * scripts/Makefile.am: create, install, and distribute 806351292Sobrien automount2amd perl script and its man page. 806451292Sobrien 806551292Sobrien * scripts/automount2amd.8: new man page for automount2amd. 806651292Sobrien 806751292Sobrien * scripts/automount2amd.in: new file, contributed a in 1993 by 806851292Sobrien Mike Walker <mike@tab00.larc.nasa.gov>. Fixed to use addopts for 806951292Sobrien any automount map options specified. 807051292Sobrien 807151292Sobrien1999-08-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 807251292Sobrien 807351292Sobrien * released snapshot am-utils-6.0.1s9 807451292Sobrien 807551292Sobrien1999-08-09 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 807651292Sobrien 807751292Sobrien * amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to 807851292Sobrien 1. 807951292Sobrien (amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0. 808051292Sobrien (amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of 808151292Sobrien (u_int)~0. 808251292Sobrien 808351292Sobrien * amd/mapc.c (make_entry_chain): NFS cookies should be 808451292Sobrien monotonically increasing, because Linux 2.3 expects that, even 808551292Sobrien though it is not in the spec (RFC-1094) for NFS V2. 808651292Sobrien 808751292Sobrien1999-08-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 808851292Sobrien 808951292Sobrien * aux/macros/check_lib_funcs.m4: removed unused macro. 809051292Sobrien 809151292Sobrien * aux/macros/linux_headers.m4: new macro to ensure that linux 809251292Sobrien kernel headers match running kernel version. 809351292Sobrien 809451292Sobrien * aux/acconfig.h: define HOST_HEADER_VERSION so we can check if 809551292Sobrien amd is configured on linux hosts that run one kernel but have 809651292Sobrien headers for a different version. 809751292Sobrien 809851292Sobrien * amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the 809951292Sobrien logic which uses nis_isup and has_yp_order. Make sure it is used 810051292Sobrien correctly , esp. for NIS+ in NIS-compatibility mode. Bug fix from 810151292Sobrien Peter Breitenlohner <peb@mppmu.mpg.de>. 810251292Sobrien 810351292Sobrien * include/am_defs.h: fix conflicts on linux 2.2 systems with older 810451292Sobrien libc5. Bug fix from Peter Breitenlohner <peb@mppmu.mpg.de>. 810551292Sobrien 810651292Sobrien * scripts/lostaltmail.in: use sockaddr_in(), not pack() to 810751292Sobrien correctly fill in a struct sockaddr_in. On Solaris x86 hosts, 810851292Sobrien using pack() results in byte-misaligned values. 810951292Sobrien 811051292Sobrien1999-08-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 811151292Sobrien 811251292Sobrien * conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3 811351292Sobrien mounting, as per Dale Talcott <aeh@quest.cc.purdue.edu>. Also use 811451292Sobrien better macros for case statement. 811551292Sobrien 811651292Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures 811751292Sobrien unless ldap is actually available. 811851292Sobrien 811951292Sobrien * use updated config.guess and config.sub. Use newer automake 812051292Sobrien that fixes problems with distributing optional libamu files 812151292Sobrien (clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c, 812251292Sobrien and ualarm.c) 812351292Sobrien 812451292Sobrien1999-07-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 812551292Sobrien 812651292Sobrien * minor port i386-unknown-openbsd2.5 812751292Sobrien 812851292Sobrien1999-07-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 812951292Sobrien 813051292Sobrien * minor ports to freebsdelf 3.[0-2] and 4.0 completed 813151292Sobrien 813251292Sobrien * aux/macros/check_nfs_prot_headers.m4: support freebsdelf 813351292Sobrien 813451292Sobrien * aux/macros/check_nfs_socket_connection.m4: support freebsdelf 813551292Sobrien 813651292Sobrien1999-06-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 813751292Sobrien 813851292Sobrien * released snapshot am-utils-6.0.1s8 813951292Sobrien 814051292Sobrien1999-06-23 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 814151292Sobrien 814251292Sobrien * include/am_defs.h: avoid various header conflicts on 814351292Sobrien RedHat/Linux 6.0 and kernels 2.2.10 or newer. 814451292Sobrien 814551292Sobrien * aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and 814651292Sobrien kernel 2.2.10) 814751292Sobrien 814851292Sobrien * amd/amfs_program.c (amfs_program_exec): make sure logfp is 814951292Sobrien initialized dynamically to stderr if needed. 815051292Sobrien 815151292Sobrien * libamu/xutil.c (dplog): make sure logfp is initialized 815251292Sobrien dynamically to stderr if needed. 815351292Sobrien (plog): ditto. 815451292Sobrien 815551292Sobrien * amd/amfs_program.c (amfs_program_exec): set logfp to stderr if 815651292Sobrien not initialized. 815751292Sobrien 815851292Sobrien * libamu/xutil.c: don't initialize logfp statically to stderr, 815951292Sobrien because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer 816051292Sobrien be manipulated like a variable. 816151292Sobrien 816251292Sobrien * include/am_defs.h: avoid more conflicts between <linux/fs.h> and 816351292Sobrien <sys/mount.h> on 2.2 linux kernels. 816451292Sobrien include <db1/ndbm.h> as needed (RedHat/Linux 6.0) 816551292Sobrien 816651292Sobrien1999-04-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 816751292Sobrien 816851292Sobrien * all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS) 816951292Sobrien 817051292Sobrien * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER): 817151292Sobrien renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake 817251292Sobrien won't attempt to add it to the header files to distribute. 817351292Sobrien 817451292Sobrien1999-04-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 817551292Sobrien 817651292Sobrien * aux/GNUmakefile: invoke aclocal with new --altdir flag. 817751292Sobrien 817851292Sobrien1999-04-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 817951292Sobrien 818051292Sobrien * minor new port: i386-unknown-netbsd1.4 (ALPHA) 818151292Sobrien 818251292Sobrien * aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h> 818351292Sobrien and <isofs/cd9660/cd9660_mount.h> because they are also included 818451292Sobrien from MOUNT_HEADERS. Causes multiple inclusion of unprotected 818551292Sobrien headers on netbsd-1.4_ALPHA. 818651292Sobrien 818751292Sobrien1999-04-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 818851292Sobrien 818951292Sobrien * aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's 819051292Sobrien sys_errlist extern doesn't end with []. 819151292Sobrien 819251292Sobrien * aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support. 819351292Sobrien 819451292Sobrien1999-04-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 819551292Sobrien 819651292Sobrien * newer automake wants texinfo.tex to be in aux/ not doc/ 819751292Sobrien 819851292Sobrien1999-03-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 819951292Sobrien 820051292Sobrien * amd/conf_parse.y: alloca support. 820151292Sobrien 820251292Sobrien * fsinfo/fsi_gram.y: alloca support. 820351292Sobrien 820451292Sobrien * libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if 820551292Sobrien needed. 820651292Sobrien 820751292Sobrien * aux/configure.in: test for alloca support. Needed because bison 820851292Sobrien generates parsers that use alloca, and hpux9 does have alloca and 820951292Sobrien its /bin/cc doesn't support it builtin (the way gcc does). 821051292Sobrien 821151292Sobrien * libamu/alloca.c: new file, needed on hpux9 with /bin/cc. Taken 821251292Sobrien verbatim from bison-1.25. 821351292Sobrien 821451292Sobrien * include/am_defs.h: fixed typo #errir -> #error 821551292Sobrien 821651292Sobrien * released snapshot am-utils-6.0.1s7 821751292Sobrien 821851292Sobrien * README.y2k: more information about am-utils' compatibility, from 821951292Sobrien Paul Balyoz <pbalyoz@sedona.ch.intel.com>. 822051292Sobrien 822151292Sobrien * scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K 822251292Sobrien compliant format. Patch from Paul Balyoz 822351292Sobrien <pbalyoz@sedona.ch.intel.com> 822451292Sobrien 822551292Sobrien * doc/am-utils.texi (Supported Platforms): hpux10.20 could have 822651292Sobrien nfs v.3 support (with some vendor patches), but it is turned off. 822751292Sobrien 822851292Sobrien * aux/macros/os_cflags.m4: use ansi compiler options on hpux. 822951292Sobrien 823051292Sobrien * conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid 823151292Sobrien confusing am-utils. 10.20 with some patches has incomplete 823251292Sobrien support. Patch from Jon Peatfield 823351292Sobrien <J.S.Peatfield@damtp.cam.ac.uk>. 823451292Sobrien 823551292Sobrien1999-03-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 823651292Sobrien 823751292Sobrien * minor port i386-pc-bsdi4.0.1 823851292Sobrien 823951292Sobrien1999-03-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 824051292Sobrien 824151292Sobrien * doc/am-utils.texi (Supported Platforms): add forgotten listing 824251292Sobrien for powerpc-linux. 824351292Sobrien 824451292Sobrien1999-03-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 824551292Sobrien 824651292Sobrien * scripts/amd.conf.5: fix typo. From Jeffrey C Honig 824751292Sobrien <jch@BSDI.COM>. 824851292Sobrien 824951292Sobrien * doc/am-utils.texi: document iso9660 options norrip, gens, and 825051292Sobrien extatt. 825151292Sobrien (opts Option): documented dumbtimr and noauto options. From 825251292Sobrien Jeffrey C Honig <jch@BSDI.COM>. 825351292Sobrien 825451292Sobrien * include/am_compat.h: define default strings for options norrip, 825551292Sobrien gens, and extatt. 825651292Sobrien 825751292Sobrien * amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and 825851292Sobrien extatt. 825951292Sobrien 826051292Sobrien * aux/macros/mount_headers.m4: also include 826151292Sobrien <isofs/cd9660/cd9660_mount.h> as needed. 826251292Sobrien 826351292Sobrien * aux/configure.in: check for isofs mount options for bsdi4: 826451292Sobrien norrip, gens, and extatt. Reported by Jeffrey C Honig 826551292Sobrien <jch@BSDI.COM>. 826651292Sobrien 826751292Sobrien * aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags 826851292Sobrien (bsdi4). 826951292Sobrien 827051292Sobrien1999-03-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 827151292Sobrien 827251292Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: ditto. 827351292Sobrien 827451292Sobrien * conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>, 827551292Sobrien for bsdi4, as per Jeffrey C Honig <jch@BSDI.COM>. 827651292Sobrien 827751292Sobrien1999-03-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 827851292Sobrien 827951292Sobrien * get latest copies of config.guess, config.sub, ltconfig, and 828051292Sobrien ltmain.sh from libtool-1.2f. 828151292Sobrien 828251292Sobrien * all Makefile.am: don't use continuation lines (using \) for 828351292Sobrien short lists of files. 828451292Sobrien 828551292Sobrien * libamu/Makefile.am (DISTCLEANFILES): make distclean should 828651292Sobrien remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c. 828751292Sobrien Reported by Jeffrey C Honig <jch@BSDI.COM>. 828851292Sobrien 828951292Sobrien * fixmount/Makefile.am (DISTCLEANFILES): make distclean should 829051292Sobrien remove checkmount.c. Reported by Jeffrey C Honig <jch@BSDI.COM>. 829151292Sobrien 829251292Sobrien * Makefile.am (DISTCLEANFILES): make distclean should remove 829351292Sobrien amu_nfs_prot.h, config.cache.old, and dbgcf.h. Reported by 829451292Sobrien Jeffrey C Honig <jch@BSDI.COM>. 829551292Sobrien 829651292Sobrien1999-03-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 829751292Sobrien 829851292Sobrien * released snapshot am-utils-6.0.1s6 829951292Sobrien 830051292Sobrien1999-03-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 830151292Sobrien 830251292Sobrien * INSTALL: document freebsdelf. 830351292Sobrien 830451292Sobrien * doc/am-utils.texi (Supported Platforms): document freebsdelf. 830551292Sobrien 830651292Sobrien1999-03-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 830751292Sobrien 830851292Sobrien * minor new ports: i386-unknown-freebsdelf3.1 and 830951292Sobrien i386-unknown-freebsdelf4.0 831051292Sobrien 831151292Sobrien * aux/macros/check_nfs_prot_headers.m4: freebsd4 support. 831251292Sobrien 831351292Sobrien * aux/macros/check_nfs_socket_connection.m4: freebsd4 support. 831451292Sobrien 831551292Sobrien * aux/macros/check_nfs_fh_dref.m4: freebsd4 support. 831651292Sobrien 831751292Sobrien * amd/opts.c (eval_opts): changed log level of "executing 831851292Sobrien negated..." message from USER to INFO, as per Guntram Wolski 831951292Sobrien <gwolsk@sei.com>. 832051292Sobrien 832151292Sobrien1999-02-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 832251292Sobrien 832351292Sobrien * */Makefile.am (LDADD): force linking against an installed 832451292Sobrien libamu.{a,so}. 832551292Sobrien 832651292Sobrien * doc/am-utils.texi (addopts Option): document remopts interaction 832751292Sobrien with addopts. 832851292Sobrien 832951292Sobrien * amd/am_ops.c (ops_match): if addopts are specified, apply them 833051292Sobrien to the value of remopts as well as opts. 833151292Sobrien 833251292Sobrien * amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used. 833351292Sobrien 833451292Sobrien1999-02-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 833551292Sobrien 833651292Sobrien * released snapshot am-utils-6.0.1s5 833751292Sobrien 833851292Sobrien * conf/mount/mount_linux.c (mount_linux): set default nfs_args 833951292Sobrien options for ac{reg,dir}{min,man} as per the mount-2.8a package, 834051292Sobrien but only if noac option was not used. 834151292Sobrien 834251292Sobrien1999-02-05 Erez Zadok <ezk@retro.cs.columbia.edu> 834351292Sobrien 834451292Sobrien * conf/mount/mount_linux.c (mount_linux): print nfs_args again 834551292Sobrien since it was updated. 834651292Sobrien (mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels 834751292Sobrien and newer. Bug was found by Neil Conway 834851292Sobrien <nconway.list@ukaea.org.uk> 834951292Sobrien 835051292Sobrien1999-02-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 835151292Sobrien 835251292Sobrien * released snapshot am-utils-6.0.1s4 835351292Sobrien 835451292Sobrien1999-02-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 835551292Sobrien 835651292Sobrien * amq/amq.c (main): don't list -M as a valid amq option unless 835751292Sobrien configure'd with --enable-amq-mount. 835851292Sobrien 835951292SobrienWed Feb 3 18:11:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 836051292Sobrien 836151292Sobrien * amd/nfs_start.c (amd_use_autofs): Define. 836251292Sobrien (mount_automounter): Create autofs service listener only if 836351292Sobrien necessary to avoid unnecessary clashes with e.g. automountd. 836451292Sobrien 836551292Sobrien * amd/amd.h (amd_use_autofs): Declare. 836651292Sobrien 836751292Sobrien * amd/conf.c (gopt_mount_type): Set amd_use_autofs. 836851292Sobrien (ropt_mount_type): Likewise. 836951292Sobrien 837051292Sobrien1999-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 837151292Sobrien 837251292Sobrien * aux/macros/check_mnt2_nfs_opt.m4:: ditto 837351292Sobrien 837451292Sobrien * aux/macros/check_mnt2_cdfs_opt.m4: ditto 837551292Sobrien 837651292Sobrien * aux/macros/check_mnt2_gen_opt.m4: ditto 837751292Sobrien 837851292Sobrien * aux/macros/check_mnttab_opt.m4: new macro in this file to loop 837951292Sobrien over AC_CHECK_MNTTAB_OPT. Reduces size of configure script a lot. 838051292Sobrien 838151292Sobrien * conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h, 838251292Sobrien nfs/nfs.h and nfs/nfsmount.h if they exist. Patch from 838351292Sobrien christos@zoulas.com (Christos Zoulas). 838451292Sobrien 838551292Sobrien * amd/info_hesiod.c: some forward declarations. Patch from 838651292Sobrien christos@zoulas.com (Christos Zoulas). 838751292Sobrien 838851292Sobrien1999-01-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 838951292Sobrien 839051292Sobrien * libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn 839151292Sobrien option if it was already in that state. Patch from David 839251292Sobrien Wolfskill <dhw@whistle.com>. 839351292Sobrien 839451292Sobrien1999-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 839551292Sobrien 839651292Sobrien * aux/configure.in: automake nowadays supports LTLIBOBJS (but not 839751292Sobrien LTALLOCA yet). Substitute value of LIBTOOL_DEPS for libtool 839851292Sobrien rebuild make rules. 839951292Sobrien 840051292Sobrien * Makefile.am: new rules to remake libtool (maintainers only) 840151292Sobrien 840251292Sobrien * amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags 840351292Sobrien if -D trace was used. 840451292Sobrien 840551292Sobrien1999-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 840651292Sobrien 840751292Sobrien * buildall: all if statements should have an else clause because 840851292Sobrien of Ultrix's /bin/sh. 840951292Sobrien 841051292Sobrien1999-01-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 841151292Sobrien 841251292Sobrien * amq/amq.c: removed dummy variables. 841351292Sobrien 841451292Sobrien * amq/pawd.c: removed dummy variable.s 841551292Sobrien 841651292Sobrien * fixmount/fixmount.c (usage): removed dummy variables. 841751292Sobrien 841851292Sobrien * fsinfo/fsinfo.c: removed dummy variables. 841951292Sobrien 842051292Sobrien * hlfsd/hlfsd.c: removed dummy variables. 842151292Sobrien 842251292Sobrien * wire-test/wire-test.c: removed dummy variables. 842351292Sobrien 842451292Sobrien * mk-amd-map/mk-amd-map.c: removed dummy variables. 842551292Sobrien 842651292Sobrien * doc/texinfo.tex: updates from GNU mirror. 842751292Sobrien 842851292Sobrien * aux/GNUmakefile (../doc/texinfo.tex): new rule to update 842951292Sobrien doc/texinfo.tex from GNU mirror. 843051292Sobrien 843151292Sobrien * released snapshot am-utils-6.0.1s3 843251292Sobrien 843351292Sobrien * Makefile.am (install-snapshot): better snapshot and new 843451292Sobrien install-snapshot and test-snapshot rules (maintainer). 843551292Sobrien 843651292Sobrien * amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the 843751292Sobrien args may be NULL. 843851292Sobrien Some dlog() entries were not enclosed in #ifdef DEBUG. Fix from 843951292Sobrien Bill Paul <wpaul@ctr.columbia.edu> 844051292Sobrien 844151292Sobrien1999-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 844251292Sobrien 844351292Sobrien * check for experimental generic 'ignore' mount flag on freebsd3. 844451292Sobrien 844551292Sobrien * Update library -version-info to 3:0:1 (will result in 2.1.0 .so 844651292Sobrien version, which is backwards compatible with older versions.) Only 844751292Sobrien one new interface was added to libamu. 844851292Sobrien 844951292Sobrien * amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags 845051292Sobrien that are specific to automounter mounts. 845151292Sobrien 845251292Sobrien * aux/configure.in: update libamu.so age and revision since a new 845351292Sobrien interface was added to libamu/mount_fs.c 845451292Sobrien (compute_automounter_mount_flags). 845551292Sobrien 845651292Sobrien * libamu/mount_fs.c (compute_automounter_mount_flags): new 845751292Sobrien function to compute generic mount flags that are specific to mount 845851292Sobrien points only. 845951292Sobrien 846051292Sobrien * aux/{configure.in,acconfig.h}: add support for generic mount 846151292Sobrien entry ignore option. 846251292Sobrien 846351292Sobrien * released snapshot am-utils-6.0.1s2 846451292Sobrien 846551292Sobrien * amd/info_ldap.c (get_ldap_timestamp): dlog format fixes. 846651292Sobrien 846751292Sobrien * libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format 846851292Sobrien of knc_semantics from u_long to u_int. 846951292Sobrien 847051292Sobrien * aux/macros/check_mount_style.m4: freebsd3 no longer needs a 847151292Sobrien special mount helper. 847251292Sobrien 847351292Sobrien1999-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 847451292Sobrien 847551292Sobrien * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS): 847651292Sobrien amu_nfs_conf.h should always be found in $top_builddir. 847751292Sobrien 847851292SobrienTue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 847951292Sobrien 848051292Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine 848151292Sobrien to avoid wrong reports from show_fstypes. 848251292Sobrien 848351292Sobrien * conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise. 848451292Sobrien 848551292Sobrien * conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise. 848651292Sobrien 848751292SobrienTue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 848851292Sobrien 848951292Sobrien * BUGS (mips-dec-ultrix4.3): Update Ultrix caveats. 849051292Sobrien 849151292SobrienTue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 849251292Sobrien 849351292Sobrien * hlfsd/homedir.c (delay): Cast child to long, adapt format. 849451292Sobrien (hlfsd_getpwent): Likewise for pw_uid. 849551292Sobrien 849651292Sobrien * amd/info_nis.c (nis_init): Cast order to unsigned long, adapt 8497174294Sobrien format. 849851292Sobrien 849951292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast 850051292Sobrien tv_sec to int to match format. 850151292Sobrien (get_nfs_version): Cast nfs_version, NFS_VERSION to int to match 8502174294Sobrien formats. 850351292Sobrien 850451292Sobrien * amd/amfs_program.c (amfs_program_exec): Cast ptr difference to 850551292Sobrien long, adapt format. 850651292Sobrien 850751292Sobrien * include/am_defs.h: Handle __attribute__ if available. From 850851292Sobrien GNU fileutils 4.0 lib/errors.h. 850951292Sobrien 851051292SobrienMon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 851151292Sobrien 851251292Sobrien * libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to 851351292Sobrien match format. 851451292Sobrien 851551292Sobrien * hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long, 851651292Sobrien adapt format. 851751292Sobrien (nfsproc_lookup_2_svc): Likewise. 851851292Sobrien (nfsproc_readlink_2_svc): Likewise for userid, groupid. 851951292Sobrien 852051292Sobrien * hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match 852151292Sobrien format. 852251292Sobrien 852351292Sobrien * hlfsd/homedir.c (homedir): Cast uid, child to long, adapt 8524174294Sobrien format. 852551292Sobrien 852651292Sobrien * amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned 852751292Sobrien long, adapt format. 852851292Sobrien 852951292Sobrien * amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to 853051292Sobrien unsigned long, adapt format. 853151292Sobrien (got_nfs_fh): Likewise. 853251292Sobrien (prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match 8533174294Sobrien format. 853451292Sobrien (call_mountd): Likewise, mnt_version also. 853551292Sobrien (mount_nfs_fh): Likewise. 853651292Sobrien 853751292Sobrien * amd/ops_autofs.c (autofs_program_1): Cast args to int to match 853851292Sobrien format. 853951292Sobrien (autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to 854051292Sobrien unsigned long, adapt formats. 854151292Sobrien (autofs_bgmount): Cast opt_fs to unsigned to, adapt format. 854251292Sobrien (autofs_bgmount): Use long format to match arg. 854351292Sobrien (autofs_lookuppn): Removed superfluous arg. 854451292Sobrien 854551292Sobrien * amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match 8546174294Sobrien format. 854751292Sobrien (got_portmap): Likewise for port. 854851292Sobrien (recompute_portmap): Likewise for fs->fs_version, mnt_version. 854951292Sobrien (find_nfs_srvr): Likewise for nfs_version. 855051292Sobrien 855151292Sobrien * amd/sched.c (sched_task): Cast wchan to unsigned long, adapt 8552174294Sobrien format. 855351292Sobrien 855451292Sobrien * amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem 855551292Sobrien to unsigned long, adapt format. 855651292Sobrien Cast tvv.tv_sec to int to match format. 855751292Sobrien 855851292Sobrien * amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match 855951292Sobrien format. 856051292Sobrien 856151292Sobrien * amd/map.c (root_fh): Cast pid to long, adapt format. 856251292Sobrien (timeout_mp): Cast time_t to long, adapt format. 856351292Sobrien 856451292Sobrien * amd/clock.c (reschedule_timeouts): Use long format, cast time_t 856551292Sobrien arg. 856651292Sobrien 856751292Sobrien * amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to 856851292Sobrien match format. 856951292Sobrien (amfs_host_fmount): Likewise. 857051292Sobrien (amfs_host_umounted): Likewise. Removed superfluous arg. 857151292Sobrien 857251292Sobrien * amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned 857351292Sobrien long, adapt format. 857451292Sobrien (amfs_auto_bgmount): Use long format, cast time_t arg. 857551292Sobrien (amfs_auto_lookuppn): Removed superfluous arg. 857651292Sobrien 857751292Sobrien * amd/amd.c (main): Cast geteuid() result to long, adapt format. 857851292Sobrien 857951292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version 858051292Sobrien to int to match format. 858151292Sobrien 858251292Sobrien * include/am_utils.h: Declare plog, dplog as printf-like. 858351292Sobrien 858451292Sobrien * conf/mount/mount_irix6.c (mount_irix): Print type as char *. 858551292Sobrien 858651292SobrienMon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 858751292Sobrien 858851292Sobrien * amd/info_hesiod.c (hesiod_isup): New function. 858951292Sobrien * amd/mapc.c (maptypes): Add it. 859051292Sobrien 859151292Sobrien1999-01-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 859251292Sobrien 859351292Sobrien * released snapshot am-utils-6.0.1s1 859451292Sobrien 859551292Sobrien1999-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 859651292Sobrien 859751292Sobrien * ALL: bump copyright year to 1999. 859851292Sobrien 859951292SobrienFri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 860051292Sobrien 860151292Sobrien * aux/macros/check_mtype_type.m4: Ultrix uses an int mount type, 8602174294Sobrien too. 860351292Sobrien 860451292Sobrien * aux/macros/check_mtype_printf_type.m4: Adapt corresponding 860551292Sobrien printf type. 860651292Sobrien 860751292SobrienFri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 860851292Sobrien 860951292Sobrien * aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused. 861051292Sobrien 861151292Sobrien * conf/nfs_prot/nfs_prot_irix6.h: Likewise. 861251292Sobrien 861351292Sobrien * conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise. 861451292Sobrien 861551292Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise. 861651292Sobrien 861751292Sobrien * Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current 861851292Sobrien automake. 861951292Sobrien 862051292SobrienThu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 862151292Sobrien 862251292Sobrien * aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not 862351292Sobrien in current automake. 862451292Sobrien 862551292SobrienThu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 862651292Sobrien 862751292Sobrien * doc/am-utils.texi: Added some missing inter-punctation after 862851292Sobrien @xref, or use @pxref/@ref as appropriate. Spotted by makeinfo 862951292Sobrien from texinfo 3.12b. 863051292Sobrien 863151292Sobrien1999-01-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 863251292Sobrien 863351292Sobrien * doc/texinfo.tex: updated off of latest GNU mirror. 863451292Sobrien 863551292Sobrien1999-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 863651292Sobrien 863751292Sobrien * doc/am-utils.texi (Supported Platforms): update platforms that 863851292Sobrien support NFS v.3. Nicer postscript printing on double-sided pages. 863951292Sobrien 864051292Sobrien * amd/info_hesiod.c: add extern definition for hesiod_init() 864151292Sobrien 864242629Sobrien1999-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 864342629Sobrien 864442629Sobrien ******************************************************************* 864542629Sobrien *** Released am-utils-6.0 *** 864642629Sobrien ******************************************************************* 864742629Sobrien 864842629Sobrien1998-12-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 864942629Sobrien 865042629Sobrien * conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7. 865142629Sobrien 865242629Sobrien1998-12-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 865342629Sobrien 865442629Sobrien * conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on 865542629Sobrien bsdi4 for NFS V3/nfs mounts. 865642629Sobrien 865742629Sobrien1998-12-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 865842629Sobrien 865942629Sobrien * using latest libtool (1.2e + patches), now supporting shared 866042629Sobrien libraries on many more systems. Also using latest autoconf and 866142629Sobrien automake (unreleased GNU CVS'd versions.) 866242629Sobrien 866342629Sobrien * minor new ports: hppa2.0w-hp-hpux11.00, 866442629Sobrien i386-unknown-netbsd1.3.3, mips-sgi-irix6.5. 866542629Sobrien 866642629Sobrien * fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that 866742629Sobrien have /usr/bin/flex but not libfl. 866842629Sobrien 866942629Sobrien1998-12-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 867042629Sobrien 867142629Sobrien * lots of code cleanup, to make sure libamu.so does not use 867242629Sobrien undefined symbols. Some system's shared libraries cannot handle 867342629Sobrien that. 867442629Sobrien 867542629Sobrien1998-12-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 867642629Sobrien 867742629Sobrien * include/am_defs.h: only defined seteuid extern if function also 867842629Sobrien exists and is not superceded by setresuid (hpux). 867942629Sobrien 868042629Sobrien * amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit 868142629Sobrien braces to avoid confusion with nested if-then-else clauses. 868242629Sobrien 868342629Sobrien * aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs: 868442629Sobrien updated from latest versions. 868542629Sobrien 868642629Sobrien1998-12-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 868742629Sobrien 868842629Sobrien * minor new port: i386-pc-bsdi4.0 868942629Sobrien 869042629Sobrien * conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header 869142629Sobrien definitions for bsdi4. 869242629Sobrien 869342629Sobrien * {amd,fsinfo}/Makefile.am: force path to .y/.l files, because 869442629Sobrien some make programs (bsdi4) do not support VPATH correctly. 869542629Sobrien 869642629Sobrien1998-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 869742629Sobrien 869842629Sobrien * conf/mount/mount_aix.c: minor code cleanup 869942629Sobrien 870042629Sobrien * aux/configure.in: check for extern definition to xdr_groups. 870142629Sobrien 870242629Sobrien1998-12-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 870342629Sobrien 870442629Sobrien * minor new port: powerpc-ibm-aix4.3.1.0 870542629Sobrien 870642629Sobrien * aux/macros/*.m4: updates for aix 4.3 870742629Sobrien 870842629Sobrien1998-12-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 870942629Sobrien 871042629Sobrien * minor new port: i386-unknown-openbsd2.4 871142629Sobrien 871242629Sobrien * aux/configure.in: don't check for xfs on openbsd because 871342629Sobrien openbsd-2.4 introduces a new file system named xfs, but different 871442629Sobrien than Irix's XFS. Sigh. 871542629Sobrien 871642629Sobrien * minor new port: i386-unknown-freebsd2.2.8 871742629Sobrien 871842629Sobrien1998-12-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 871942629Sobrien 872042629Sobrien * amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host 872142629Sobrien name match. Bug fix from Douglas K. Rand" <rand@aero.und.edu>. 872242629Sobrien 872342629Sobrien1998-11-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 872442629Sobrien 872542629Sobrien * scripts/ctl-amd.in: wait4amd2die runs in the stop action, to 872642629Sobrien avoid race conditions when shutting down systems running amd. 872742629Sobrien 872842629Sobrien * Makefile.am: add a dist-hook to change modes of the directories 872942629Sobrien in the tar file so they are not world writable. 873042629Sobrien 873142629Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support, 873242629Sobrien since it is now finally defined in the header files and 873342629Sobrien (hopefully) stable. 873442629Sobrien 873542629Sobrien * amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option 873642629Sobrien is specified in mount options. freebsd patches from David 873742629Sobrien O'Brien. 873842629Sobrien 873942629Sobrien * amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c 874042629Sobrien (main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main), 874142629Sobrien amd/get_args.c (get_args): posix: use -1 to check for return from 874242629Sobrien getopt() (not EOF), as per posix. 874342629Sobrien 874442629Sobrien * amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David 874542629Sobrien O'Brien" <obrien@NUXI.com>, from the FreeBSD source tree. Use 874642629Sobrien real variable whose pointer is on the stack for decoding a long 874742629Sobrien int. 874842629Sobrien 874942629Sobrien1998-11-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 875042629Sobrien 875142629Sobrien * scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's 875242629Sobrien chkconfig utility. 875342629Sobrien 875442629Sobrien1998-11-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 875542629Sobrien 875642629Sobrien * released snapshot am-utils-6.0b2s3 875742629Sobrien 875842629Sobrien * conf/transp/transp_sockets.c (create_nfs_service): remove C++ 875942629Sobrien style comments. 876042629Sobrien 876142629Sobrien1998-11-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 876242629Sobrien 876342629Sobrien * released snapshot am-utils-6.0b2s2 876442629Sobrien 876542629Sobrien * created CVS package 876642629Sobrien 876742629Sobrien * amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race 876842629Sobrien condition between unmounting and re-mounting an entry, by 876942629Sobrien increasing the ttl of a looked up entry before unmounting it. 877042629Sobrien Patch from Mike Mitchell <mcm@unx.sas.com>. 877142629Sobrien 877242629Sobrien * All files: spell comments and strings. 877342629Sobrien 877442629Sobrien1998-11-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 877542629Sobrien 877642629Sobrien * aux/configure.in: look for yp_all in libnsl only if yp_all not 877742629Sobrien already found elsewhere (in libc or other default libraries). 877842629Sobrien This is so RedHat 5.1 systems could find yp functions in libnsl, 877942629Sobrien but also so AIX 4.2.1 will NOT include libnsl, because the latter 878042629Sobrien has broken nis functionality that also exists and works ok in libc. 878142629Sobrien 878242629Sobrien1998-10-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 878342629Sobrien 878442629Sobrien * amd/amd.c (main): bug fix: swapped arguments to kill(2). Fix 878542629Sobrien from Danny Rathjens <dkr@cs.fiu.edu>. 878642629Sobrien 878742629Sobrien1998-10-28 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu> 878842629Sobrien 878942629Sobrien * released snapshot am-utils-6.0b2s1 879042629Sobrien 879142629Sobrien1998-10-27 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu> 879242629Sobrien 879342629Sobrien * aux/macros/*.m4: support bsdi4 as bsdi3. 879442629Sobrien 879542629Sobrien * aux/macros/os_ldflags.m4: enable detection of LDAP on solaris 879642629Sobrien 2.7 (libraries located in /usr/lib/fn). This is off until Sun 879742629Sobrien includes LDAP header information. 879842629Sobrien 879941142Sobrien1998-10-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 880041142Sobrien 880141142Sobrien ******************************************************************* 880241142Sobrien *** Released am-utils-6.0b1 *** 880341142Sobrien ******************************************************************* 880441142Sobrien 880541142Sobrien1998-10-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 880641142Sobrien 880741142Sobrien * mk-amd-map/mk-amd-map.c (main): use perror not strerror. 880841142Sobrien (main): set return type to int if no ndbm maps. 880941142Sobrien 881041142Sobrien * include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1 881141142Sobrien kernels. 881241142Sobrien 881341142Sobrien1998-10-18 Erez Zadok <ezk@london.mcl.cs.columbia.edu> 881441142Sobrien 881541142Sobrien * A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup 881641142Sobrien for netbsd 1.3.2. 881741142Sobrien 881841142Sobrien1998-10-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 881941142Sobrien 882041142Sobrien * aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1 882141142Sobrien systems put NIS functions there. 882241142Sobrien 882341142Sobrien * mk-amd-map/mk-amd-map.c: patch from "David O'Brien" 882441142Sobrien <obrien@NUXI.com> merged in. Use POSIX -1 return code from 882541142Sobrien getopt(), not EOF. Use .db extentions for systems that use it, 882641142Sobrien instead of .{pag,dir}. 882741142Sobrien 882841142Sobrien1998-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 882941142Sobrien 883041142Sobrien * wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c, 883141142Sobrien amd/amd.c (main): avoid overrunning hostname buffer. Bug fix from 883241142Sobrien "David O'Brien" <obrien@NUXI.com>. 883341142Sobrien 883441142Sobrien * scripts/amd.conf.5: minor typo reported by "David O'Brien" 883541142Sobrien <obrien@NUXI.com> in .TH section of man page. 883641142Sobrien 883741142Sobrien * amd/info_nis.c (am_yp_all): don't leak key-val entries. Patch 883841142Sobrien from Thomas Richter <richter@chemie.fu-berlin.de>. 883941142Sobrien 884041142Sobrien1998-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 884141142Sobrien 884241142Sobrien * doc/am-utils.texi (Program Filesystem): minor typo fixed as per 884341142Sobrien Andreas Stolcke <stolcke@speech.sri.com>. 884441142Sobrien 884541142Sobrien * minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7, 884641142Sobrien and sparc-sun-solaris2.7. 884741142Sobrien 884841142Sobrien * conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now 884941142Sobrien a 4.4lite kernel, and somethings were removed, such as 885041142Sobrien INITMOUNTNAMES. 885141142Sobrien 885241142Sobrien * amd/ops_autofs.c (autofs_lookuppn): don't leak memory while 885341142Sobrien processing /defaults. Free temporary opts. Patch from 885441142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) 885541142Sobrien 885641142Sobrien * amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while 885741142Sobrien processing /defaults. Free temporary opts. Patch from 885841142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) 885941142Sobrien 886041142Sobrien * conf/mtab/mtab_osf.c (read_mtab): patch from 886141142Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access 886241142Sobrien uninitialized memory on Digital Unix. 886341142Sobrien 886441142Sobrien1998-10-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 886541142Sobrien 886641142Sobrien * aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most 886741142Sobrien systems now use "char *" as their mount type. 886841142Sobrien 886941142Sobrien1998-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 887041142Sobrien 887141142Sobrien * amd/conf.c (gopt_map_type, ropt_map_type): check if map type 887241142Sobrien exists. 887341142Sobrien 887441142Sobrien * amd/mapc.c (mapc_type_exists): function to test if a map of 887541142Sobrien certain type exists. 887641142Sobrien 887741142Sobrien1998-10-08 Erez Zadok <ezk@horatio.mcl.cs.columbia.edu> 887841142Sobrien 887941142Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 888041142Sobrien include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl 888141142Sobrien in RH-5.1 sparc64 between <netinet/in.h> and 888241142Sobrien <linux/byteorder/generic.h> (2.1 kernels). 888341142Sobrien 888441142Sobrien1998-09-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 888541142Sobrien 888641142Sobrien * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat 888741142Sobrien 5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket 888841142Sobrien from yp_all(). 888941142Sobrien 889041142Sobrien1998-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 889141142Sobrien 889241142Sobrien * conf/mount/mount_linux.c (parse_opts): check for pcfs support 889341142Sobrien only if autoconfigured. 889441142Sobrien 889541142Sobrien1998-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 889641142Sobrien 889741142Sobrien * Makefile.am (EXTRA_DIST): distribute README.yk2 file. 889841142Sobrien 889941142Sobrien * README.y2k: explain y2k compliance status of am-utils. 890041142Sobrien 890141142Sobrien1998-09-16 Erez Zadok <ezk@iguana.mcl.cs.columbia.edu> 890241142Sobrien 890341142Sobrien * amd/amfs_host.c (fetch_fhandle, amfs_host_fmount, 890441142Sobrien amfs_host_umounted): clnt_sperrno() may return a const. 890541142Sobrien 890641142SobrienSat Aug 8 23:28:32 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 890741142Sobrien 890841142Sobrien * aux/configure.in: check for <nfs/nfsmount.h>, as per Christos 890941142Sobrien Zoulas. Turned on checking for mount options: async, synchronous, 891041142Sobrien deadthresh, leasterm, nqnfs, and readahead. 891141142Sobrien 891241142Sobrien * amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas) 891341142Sobrien to include prototype definition for nis_isup(). 891441142Sobrien 891541142SobrienSun Jul 19 18:50:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 891641142Sobrien 891741142Sobrien * hlfsd/stubs.c (getcreds): force sscanf arg to u_long. 891841142Sobrien 891941142SobrienTue Jul 14 20:34:25 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 892041142Sobrien 892141142Sobrien * released snapshot am-utils-6.0a17s1 892241142Sobrien 892341142SobrienWed Jul 8 21:49:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 892441142Sobrien 892541142Sobrien * aux/macros/host_macros.m4: all x86 hosts should have $arch be 892641142Sobrien i386, not i[456]86. 892741142Sobrien 892841142SobrienTue Jul 7 18:55:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 892941142Sobrien 893041142Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 893141142Sobrien include/am_defs.h: include <linux/posix_types.h> before 893241142Sobrien <linux/fs.h> because on redhat 5.1, there is a bug (misuse) of 893341142Sobrien headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of 893441142Sobrien __KERNEL_STRICT_NAMES). 893541142Sobrien 893641142Sobrien * aux/configure.in: check for <linux/posix_types.h> because it is 893741142Sobrien need for RedHat 5.1. 893841142Sobrien 893941142SobrienWed Jun 17 00:05:33 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 894041142Sobrien 894141142Sobrien * scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from 894241142Sobrien .in as well, so it doesn't get removed by make clean. 894341142Sobrien 894441142SobrienTue Jun 16 22:00:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 894541142Sobrien 894641142Sobrien * aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4, 894741142Sobrien check_mount_type.m4}: redhat 5.1 puts some modules in 894841142Sobrien /lib/modules/preferred/. 894941142Sobrien 895041142SobrienWed May 13 16:33:57 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 895141142Sobrien 895241142Sobrien * amd/ops_autofs.c (mount_autofs): cast pid to long. 895341142Sobrien 895451292SobrienTue Apr 28 15:12:36 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 895551292Sobrien 895651292Sobrien * conf/nfs_prot/nfs_prot/nfs_prot_irix6.h, 895751292Sobrien conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to 895851292Sobrien avoid amd/am_ops.c (show_fstypes) from erroneously claiming 895951292Sobrien support. 896051292Sobrien 896151292SobrienFri Apr 24 23:02:11 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 8962174294Sobrien 896351292Sobrien * libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON 896451292Sobrien unconditionally, may be missing on Ultrix V4.3. 896551292Sobrien 896651292SobrienThu Apr 23 20:24:33 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 896751292Sobrien 896851292Sobrien * conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define, 896951292Sobrien missing from <sys/mntent.h>. 8970174294Sobrien 897151292Sobrien * conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h> 897251292Sobrien without KERNEL defined here. 897351292Sobrien 897451292Sobrien * aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>, 897551292Sobrien <cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of 897651292Sobrien ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed. 897751292Sobrien 897851292Sobrien * amd/ops_ufs.c (mount_ufs): Removed obsolete comment. 897951292Sobrien 898051292Sobrien * ChangeLog: Fixed confusing linebreaks from ChangeLog imports. 898151292Sobrien Removed purely local (and obsolete) entry. 898251292Sobrien 898338494SobrienThu Apr 23 00:22:17 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 898438494Sobrien 898538494Sobrien ******************************************************************* 898638494Sobrien *** Released am-utils-6.0a16 *** 898738494Sobrien ******************************************************************* 898838494Sobrien 898938494SobrienWed Apr 22 01:20:39 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 899038494Sobrien 899138494Sobrien * aux/macros/check_mount_style.m4: define freebsd3 mount style. 899238494Sobrien 899338494Sobrien * aux/macros/check_mount_trap.m4: new mount trap for freebsd3. 899438494Sobrien 899538494Sobrien * aux/macros/check_mtype_printf_type.m4, 899638494Sobrien aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as 899738494Sobrien of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not 899838494Sobrien integers, but I'll keep them as integers and do the mapping in 899938494Sobrien conf/mount/mount_freebsd3.c 900038494Sobrien 900138494Sobrien * minor new port to i386-pc-bsdi3.1. 900238494Sobrien 900338494Sobrien * minor new port to i386-unknown-netbsd1.3.1. 900438494Sobrien 900538494Sobrien * amd/opts.c: new option addopts:=ARG, which smartly merges ARG 900638494Sobrien options with whatever the /default ones for a key are. This 900738494Sobrien allows adding or overriding /default options individual keys. 900838494Sobrien 900938494Sobrien * amd/am_ops.c (ops_match): strdup/malloc string assigned to 901038494Sobrien opt_opts because it'll get free()'d upon next use. 901138494Sobrien (merge_opts): new function to merge two sets of options. 901238494Sobrien (ops_match): if addopts option exist, append and merge it to the 901338494Sobrien current default options. 901438494Sobrien 901538494SobrienTue Apr 21 12:54:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 901638494Sobrien 901738494Sobrien * wire-test/wire-test.c (main): use dynamically allocated returned 901838494Sobrien string with list of interfaces. 901938494Sobrien 902038494Sobrien * amd/get_args.c (get_version_string): allocate enough space for 902138494Sobrien header version string and a list of network interfaces of any 902238494Sobrien length. 902338494Sobrien 902438494Sobrien * libamu/wire.c (print_wires): return dynamically allocated string 902538494Sobrien containing list of networks. Must be dynamic because some sites 902638494Sobrien had potentially dozens of network interfaces. Patch from Matthew 902738494Sobrien Crosby <mcrosby@ms.com> slightly modified. 902838494Sobrien 902938494SobrienMon Apr 20 00:37:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 903038494Sobrien 903138494Sobrien * conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because 903238494Sobrien irix 5.3 does not have full header definitions for it. 903338494Sobrien 903438494Sobrien * fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and 903538494Sobrien undefined it when not needed (similar to amd/conf_tok.l) 903638494Sobrien 903738494Sobrien * hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size 903838494Sobrien of these to unsigned short (because uid_t on some linux systems is 903938494Sobrien small). 904038494Sobrien 904138494Sobrien * released snapshot am-utils-6.0a16s10 904238494Sobrien 904338494Sobrien * doc/am-utils.texi (opts Option): documented resvport mount 904438494Sobrien option. 904538494Sobrien 904638494SobrienSun Apr 19 18:17:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 904738494Sobrien 904838494Sobrien * doc/am-utils.texi (-D-Option): document behavior of -D info and 904938494Sobrien especially what it does to hesiod (turn on RES_DEBUG). 905038494Sobrien 905138494Sobrien * scripts/amd.conf.5: document info debugging option. 905238494Sobrien 905338494Sobrien * libamu/xutil.c (dbg_opt): parse info debugging option. 905438494Sobrien 905538494Sobrien * include/am_utils.h (D_INFO): define new trace option. 905638494Sobrien 905738494Sobrien * Makefile.am (EXTRA_DIST): include list of official mirrors in 905838494Sobrien distribution. 905938494Sobrien 906038494Sobrien * libamu/wire.c (SIZE): in the simple case, just compute 906138494Sobrien sizeof(struct ifreq). 906238494Sobrien 906338494SobrienSun Apr 19 16:30:35 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 906438494Sobrien 906538494Sobrien * amd/amd.c (daemon_mode): set a temporary secure umask(0022) 906638494Sobrien before writing log file and restore it afterwards. Patch from 906738494Sobrien Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 906838494Sobrien 9069174294Sobrien * amd/get_args.c (get_args): 907038494Sobrien 907138494Sobrien * doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf 907238494Sobrien file specified by -F is always processed last. 907338494Sobrien 907438494Sobrien * amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd 907538494Sobrien won't be reused. Allows startup script to redirect stdout. Patch 907638494Sobrien from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 907738494Sobrien 907838494Sobrien * libamu/xutil.c (switch_to_logfile): compare logfile name and 907938494Sobrien syslog string with correct length. Patch from Donald Buczek 908038494Sobrien <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 908138494Sobrien 908238494Sobrien * amd/restart.c (restart): correctly inherit existing NFS V.3 908338494Sobrien mounts upon restart. Patch from Donald Buczek 908438494Sobrien <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 908538494Sobrien 908638494SobrienSat Apr 18 19:01:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 908738494Sobrien 908838494Sobrien * using libtool 1.2 and automake 1.3 (with my patches). 908938494Sobrien 909038494Sobrien * aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to 909138494Sobrien AMU_CFLAGS to avoid conflicts with automake-1.3. 909238494Sobrien 909338494SobrienSun Apr 5 23:09:08 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 909438494Sobrien 909538494Sobrien * converted to using libtool-1.2. 909638494Sobrien 909738494SobrienTue Mar 10 16:52:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 909838494Sobrien 909938494Sobrien * fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly 910038494Sobrien for loop (ITER) which used to run only to initialize the variable 910138494Sobrien dd once and then break; with a simple assignment. 910238494Sobrien 910338494Sobrien * hlfsd/hlfsd.h: cleanup so it compiles with Solaris 910438494Sobrien /opt/SUNWspro/bin/cc, and use gid_t not int. 910538494Sobrien 910638494Sobrien * amd/mapc.c (mapc_sync): don't dereference pointer (so it 910738494Sobrien compiles with Solaris /opt/SUNWspro/bin/cc) 910838494Sobrien 910938494SobrienSun Mar 8 15:54:22 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 911038494Sobrien 911138494Sobrien * aux/config.{guess,sub}: used from gcc-2.8.1. 911238494Sobrien 911338494SobrienSat Mar 7 15:33:27 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 911438494Sobrien 911538494Sobrien * released snapshot am-utils-6.0a16s9 911638494Sobrien 911738494Sobrien * INSTALL, doc/am-utils.texi (Supported Platforms): updated names 911838494Sobrien based on new output of new config.guess. 911938494Sobrien 912038494Sobrien * aux/config.{sub,guess}: used newer versions from gcc-2.8.0. 912138494Sobrien 912238494Sobrien * amd/amd.8,doc/am-utils.texi: document correct usage of default 912338494Sobrien /etc/amd.conf file. 912438494Sobrien 912538494Sobrien * fixmount/fixmount.c (inetresport,privsock): use some more 912638494Sobrien portable code from amq/amq.c. 912738494Sobrien 912838494Sobrien * amd/get_args.c (get_args): use default /etc/amd.conf file only 912938494Sobrien if no arguments had been passed to amd. 913038494Sobrien 913138494Sobrien * fixmount/fixmount.c (clnt_create_timeout): use tli/socket code 913238494Sobrien ala amq/amq.c so that fixmount will work on both types of systems. 913338494Sobrien 913438494Sobrien * amq/amq.c (main): do no close tcp socket before running udp try, 913538494Sobrien because we're not sure if it was opened at all. 913638494Sobrien 913738494Sobrien * mips-dec-ultrix* port merged in and cleaned up. 913838494Sobrien 913938494Sobrien * aux/configure.in: up minor shared library revision number, since 914038494Sobrien it has changed enough. 914138494Sobrien 914238494Sobrien * hlfsd/hlfsd.c (main): don't check for overlay mount option here, 914338494Sobrien as it is now done in compute_nfs_args(). Remove ultrix specific 914438494Sobrien code also because it was moved to compute_nfs_args(). 914538494Sobrien 914638494Sobrien * conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that 914738494Sobrien we have more generic code in print_nfs_args(). 914838494Sobrien 914938494Sobrien * libamu/mount_fs.c (print_nfs_args): print maxlen of 915038494Sobrien nfs_args.addr, and also syncaddr (which is mostly NULL). Print 915138494Sobrien struct knetconfig from nfs_args->knconf. 915238494Sobrien 915338494Sobrien * aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs 915438494Sobrien headers here, but in try_compile_anyfs.m4. 915538494Sobrien 915638494Sobrien * aux/macros/type_ufs_args.m4: move test for struct ufs_specific 915738494Sobrien (for ultrix) here from its own macro. 915838494Sobrien 915938494Sobrien * aux/macros/type_cdfs_args.m4: move test for struct iso_specific 916038494Sobrien (for ultrix) here from its own macro. 916138494Sobrien 916238494Sobrien * amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking 916338494Sobrien for overlay mount option. Remove code which checks for overlay 916438494Sobrien option, as it is now done in compute_nfs_args(). 916538494Sobrien 916638494Sobrien * libamu/mount_fs.c (compute_mount_flags): move here code which 916738494Sobrien checks for overlay mount option which was in amd/amfs_toplvl.c: 916838494Sobrien mount_amfs_toplvl(). 916938494Sobrien 917038494SobrienWed Feb 7 15:35:51 1998 Rainer Orth <ro@xayide.TechFak.Uni-Bielefeld.DE> 917138494Sobrien 917238494Sobrien * The following are Rainer's ChangeLog entries for his ultrix 917338494Sobrien port, added manually. -Erez. 917438494Sobrien 917538494Sobrien * merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c 917638494Sobrien (mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl) 917738494Sobrien 917851292Sobrien * include/am_defs.h: include cdfs specific mount headers 917951292Sobrien avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix) 918038494Sobrien 918138494Sobrien * include/am_compat.h: define several mount options corresponding 918238494Sobrien to mount flags: pgthresh, hard (nfs), defperm, nodefperm, 918338494Sobrien noversion, rrip (cdfs), nocache, quota, sync (generic) removed 918438494Sobrien duplicate MNTTAB_OPT_RO definition 918538494Sobrien 918638494Sobrien * aux/macros/try_compile_anyfs.m4: include Ultrix specific 918738494Sobrien ufs/cdfs mount headers 918838494Sobrien 918938494Sobrien * aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX 919038494Sobrien specific mount headers 919138494Sobrien 919238494Sobrien * aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_* 919338494Sobrien mount types in mount headers (Ultrix) 919438494Sobrien 919538494Sobrien * aux/configure.in: Ultrix/Digital UNIX specific checks: new 919638494Sobrien headers, mount structures and fields, filesystem and mount types, 919738494Sobrien mount flags 919838494Sobrien 919938494Sobrien * aux/acconfig.h: placeholders for new mount options: quota 920038494Sobrien (generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs) 920138494Sobrien cdfs, nfs, ufs mount structure fields new ufs, cdfs mount 920238494Sobrien structures 920338494Sobrien 920438494Sobrien * amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in 920538494Sobrien ufs_args.ufs_flags and has ufs specific pgthresh option 920638494Sobrien 920738494Sobrien * amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific 920838494Sobrien CDFS mount flags and options 920938494Sobrien 921038494Sobrien * amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh), 921138494Sobrien hlfsd/hlfsd.c (main): store generic mount flags in 921238494Sobrien nfs_args.gfs_flags, handle separate NFS ro flag 921338494Sobrien 921438494Sobrien * aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific, 921538494Sobrien struct_ufs_specific}.m4: new files; check for Ultrix specific 921638494Sobrien mount structures 921738494Sobrien 921838494Sobrien * conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag 921938494Sobrien 922038494Sobrien * aux/macros/type_auth_create_gidlist.m4 (ultrix*): 922138494Sobrien AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a 922238494Sobrien comment in <rpc/auth.h> 922338494Sobrien 922438494Sobrien * include/am_defs.h: #define KERNEL to avoid definition of 922582794Sobrien gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before 922682794Sobrien <config.h> to force single definition here 922738494Sobrien 922838494Sobrien * libamu/mount_fs.c (compute_nfs_args): Ultrix support for 922982794Sobrien nfs_args.gfs_flags moved to callers store mount options in 923082794Sobrien nap->optstr 923138494Sobrien 923238494Sobrien * include/am_defs.h: fix _am_mntent mnt_{type, opts} field 923338494Sobrien descriptions 923438494Sobrien 923538494Sobrien * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4: 923638494Sobrien include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req 923738494Sobrien definition in prototypes 923838494Sobrien 923938494Sobrien * aux/macros/mount_headers.m4: include <sys/errno.h> before 924038494Sobrien AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_* 924138494Sobrien definitions 924238494Sobrien 924338494Sobrien * conf/nfs_prot/nfs_prot_ultrix.h: new file 924438494Sobrien 924551292Sobrien * aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h 924638494Sobrien 924738494Sobrien * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4, 924838494Sobrien aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple 924938494Sobrien inclusion of <rpc/xdr.h> 925038494Sobrien 925138494SobrienSat Mar 7 13:56:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 925238494Sobrien 925338494Sobrien * aux/configure.in: save state of config.cache and confdefs.h 925438494Sobrien (as dbgcf.h) at various points of the configure. 925538494Sobrien 925638494Sobrien * aux/macros/save_state.m4: new macro to save state of configure, 925738494Sobrien esp. useful in long ones. Saves confdefs.h and write $ac_cv_* 925838494Sobrien cache variables that are known so far. 925938494Sobrien 926038494Sobrien * released snapshot am-utils-6.0a16s8 926138494Sobrien 926238494Sobrien1998-03-06 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 926338494Sobrien 926438494Sobrien * fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining 926538494Sobrien it, but only for flex. 926638494Sobrien 926738494SobrienFri Mar 6 17:23:17 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 926838494Sobrien 926938494Sobrien * hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file 927038494Sobrien to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible) 927138494Sobrien to write the dump file. 927238494Sobrien 927338494Sobrien * doc/am-utils.texi,amd/opts.c: rename all references to nomadic 927438494Sobrien functions to boolean functions, which is what they really are. 927538494Sobrien 927638494Sobrien * aux/configure.in: don't look for strcasecmp in libucb at all, 927738494Sobrien but rather complete it from libamu/strcasecmp.c as needed. 927838494Sobrien 927938494SobrienFri Mar 6 03:29:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 928038494Sobrien 928138494Sobrien * conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS. 928238494Sobrien 928338494Sobrien * libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X 928438494Sobrien which defines IFF_ROUTE instead of IFF_LOOPBACK. Patch from Tom 928538494Sobrien Schmidt <tschmidt@micron.com>. 928638494Sobrien 928738494Sobrien * released snapshot am-utils-6.0a16s7 928838494Sobrien 928938494Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to 929038494Sobrien hppa1.0-hp-hpux11.00.tgz. 929138494Sobrien 929238494SobrienThu Mar 5 21:59:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 929338494Sobrien 929438494Sobrien * converted all sources to use mntent field names, and map mnttab 929538494Sobrien field names to mntent's. 929638494Sobrien 929738494Sobrien * include/am_defs.h (mnt_special): map struct mnttab field names 929838494Sobrien to struct mntent field names. 929938494Sobrien 930038494Sobrien * aux/macros/check_mount_trap.m4: hpux11's mount trap style is 930138494Sobrien identical to svr4/solaris2. 930238494Sobrien 930338494Sobrien * aux/macros/check_mount_style.m4: hpux11's mount style is 930438494Sobrien identical to svr4/solaris2. 930538494Sobrien 930638494Sobrien * aux/macros/check_network_transport_type.m4: hpux11 is a TLI 930738494Sobrien system! 930838494Sobrien 930938494Sobrien * aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address 931038494Sobrien dereferencing style is same as svr4. 931138494Sobrien 931238494Sobrien * aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh 931338494Sobrien dereferencing style is same as svr4. 931438494Sobrien 931538494Sobrien * conf/transp/transp_tli.c (create_nfs_service): if failed to 931638494Sobrien getnetconfigent() of ticlts, then try udp (hpux11). 931738494Sobrien 931838494Sobrien * conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for 931938494Sobrien struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris 932038494Sobrien 2.5.1 (HP used them). 932138494Sobrien 932238494Sobrien * amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open() 932338494Sobrien because hpux11 doesn't like it. if t_open failed, print error 932438494Sobrien based on t_errlist, not sys_errlist. 932538494Sobrien 932638494SobrienWed Mar 4 22:01:55 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 932738494Sobrien 932838494Sobrien * doc/am-utils.texi: lots of documentation fixes from Rainer Orth 932938494Sobrien <ro@TechFak.Uni-Bielefeld.DE>. 933038494Sobrien 933138494SobrienSat Feb 28 22:16:35 1998 Erez Zadok <ezk@kosh.cs.columbia.edu> 933238494Sobrien 933338494Sobrien * fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used 933438494Sobrien later. 933538494Sobrien 933638494Sobrien * include/am_defs.h: defined the extern for ualarm() if it isn't 933738494Sobrien found, regardless if the function isn't found in standard 933838494Sobrien libraries, because otherwise libamu will include it. 933938494Sobrien 934038494Sobrien1998-02-28 Erez Zadok (per Ron Snyder) <ezk@short.cvo.roguewave.com> 934138494Sobrien 934238494Sobrien * initial port to hpux-11 completed. Compiles cleanly, but 934338494Sobrien probably does not work, because of missing NFS V.2/3 headers. 934438494Sobrien 934538494Sobrien * amd/conf_tok.l: cast yytext to char* when passed to strlen and 934638494Sobrien strdup, for hpux-11's ansi-cc compiler. 934738494Sobrien 934838494Sobrien * include/am_utils.h: renamed all xfree() to XFREE() to avoid 934938494Sobrien conflict with hpux-11's system headers. Also move (voidp) cast 935038494Sobrien from sources to inside the macro itself. 935138494Sobrien 935238494SobrienSat Feb 28 13:44:21 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 935338494Sobrien 935438494Sobrien * released snapshot am-utils-6.0a16s6 935538494Sobrien 935638494Sobrien * amd/info_nis.c (nis_isup): new function to test if NIS is up 935738494Sobrien without hanging amd. Used to ensure that amd does not clear the 935838494Sobrien maps when the expiration period arrived, if the service is down. 935938494Sobrien Otherwise it would be left with empty maps. It is better to stay 936038494Sobrien with possibly old information than none at all. 936138494Sobrien 936238494Sobrien * amd/mapc.c (mapc_sync): check to see if map service is up. 936338494Sobrien 936438494SobrienTue Feb 24 02:19:42 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 936538494Sobrien 936638494Sobrien * aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it 936738494Sobrien includes auxiliary library only if needed. 936838494Sobrien 936938494Sobrien1998-02-22 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 937038494Sobrien 937138494Sobrien * amd/conf_tok.l: undefine ECHO again, so it doesn't get used 937238494Sobrien later. 937338494Sobrien 937438494SobrienSun Feb 22 01:41:08 1998 Erez Zadok <ezk@zen.cs.columbia.edu> 937538494Sobrien 937638494Sobrien * conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1 937738494Sobrien completed. 937838494Sobrien 937938494Sobrien * conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3. 938038494Sobrien 938138494SobrienSat Feb 21 19:45:48 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 938238494Sobrien 938338494Sobrien * doc/am-utils.texi (Network Host Filesystem): correct example for 938438494Sobrien type:=host map. 938538494Sobrien 938638494Sobrien * aux/macros/os_cflags.m4: only osf4 should compile with 938738494Sobrien -D_SOCKADDR_LEN. 938838494Sobrien 938938494Sobrien * aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2 939038494Sobrien and OSF4. 939138494Sobrien 939238494Sobrien * BUGS: include a new file listing known bugs. 939338494Sobrien 939438494SobrienSat Feb 21 03:50:48 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 939538494Sobrien 939638494Sobrien * conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux 939738494Sobrien versions. 939838494Sobrien 939938494Sobrien * aux/macros/type_recvfrom_fromlen.m4: linux alpha should use 940038494Sobrien size_t for recvfrom fromlen arg. 940138494Sobrien 940238494SobrienSat Feb 21 03:33:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 940338494Sobrien 940438494Sobrien * scripts/ctl-hlfsd.in: turn -D fork so primary process never 940538494Sobrien hangs. 940638494Sobrien 940738494SobrienSat Feb 21 02:45:51 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 940838494Sobrien 940938494Sobrien * include/am_defs.h: don't include <sys/stat.h> and 941038494Sobrien <linux/stat.h>, just remaining definitions in <statbuf.h> 941138494Sobrien 941238494SobrienThu Jan 29 00:44:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 941338494Sobrien 941438494Sobrien * released snapshot am-utils-6.0a16s5 941538494Sobrien 941638494Sobrien * conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to 941738494Sobrien mount(2). 941838494Sobrien 941938494Sobrien * check for <sys/fs/xfs_clnt.h> and include it when needed. 942038494Sobrien 942138494Sobrien * conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize 942238494Sobrien efs and xfs separately from "ufs". 942338494Sobrien 942438494Sobrien * amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs. 942538494Sobrien 942638494Sobrien * aux/configure.in: look for irix efs and xfs file systems. 942738494Sobrien 942838494Sobrien * scripts/amd.conf.5: new unmount_on_exit option documented. 942938494Sobrien 943038494Sobrien * doc/am-utils.texi (unmount_on_exit): new option documented. 943138494Sobrien 943238494Sobrien * amd/conf.c (gopt_unmount_on_exit): new function to handle new 943338494Sobrien amd.conf option. 943438494Sobrien 943538494Sobrien * amd/map.c (umount_exported): if global amd.conf flag 943638494Sobrien unmount_on_exit is on, then try to unmount all mounted (or 943738494Sobrien restartable) file systems. 943838494Sobrien 943938494Sobrien * amd/amd.c: if print_pid option is on, then normally print it to 944038494Sobrien stdout. If also pid_file is specified, then print the process ID 944138494Sobrien into that file. 944238494Sobrien 944338494Sobrien * amd/get_args.c (get_args): print correct -l option depending if 9444174294Sobrien system supports syslog and/or syslog facilities. Patch from 944538494Sobrien Tom Schmidt <tschmidt@micron.com>. 944638494Sobrien 944738494Sobrien * doc/am-utils.texi (opts Option): updates for documentation for 944838494Sobrien new cdfs options defperm, nodefperm, noversion, rrip. 944938494Sobrien 945038494Sobrien * amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm, 945138494Sobrien nodefperm, noversion, rrip. 945238494Sobrien 945338494Sobrien * conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h> 945438494Sobrien on osf. 945538494Sobrien 945638494Sobrien * aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4, 945738494Sobrien expand_cpp_string.m4}: use #error to make failed compilations 945838494Sobrien fail faster, rather than have the program fail during a run. 945938494Sobrien 946038494Sobrien * include/am_compat.h: added a few new cdfs options: rrip, 946138494Sobrien noversion, defperm, and nodefperm (used in OSF). 946238494Sobrien 946338494SobrienWed Jan 28 20:24:09 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 946438494Sobrien 946538494Sobrien * released snapshot am-utils-6.0a16s4 946638494Sobrien 946738494Sobrien * doc/am-utils.texi (Global Parameters): update manual for new 946838494Sobrien amd.conf global variable hesiod_base. 946938494Sobrien 947038494Sobrien * scripts/amd.conf.5: update man page for new amd.conf global 947138494Sobrien variable hesiod_base. 947238494Sobrien 947338494Sobrien * amd/get_args.c (get_args): use /etc/amd.conf file if exists by 947438494Sobrien default, else try command line options. Patch from Randall 947538494Sobrien S. Winchester <rsw@Glue.umd.edu>. 947638494Sobrien 947738494SobrienWed Jan 28 12:20:56 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 947838494Sobrien 947938494Sobrien * amd/info_hesiod.c (hesiod_search), amd/conf.c 948038494Sobrien (gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options): 948138494Sobrien included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to 948238494Sobrien support a hesiod base name in the amd.conf file. 948338494Sobrien 948438494Sobrien * doc/am-utils.texi (pid_file Parameter): document new global 948538494Sobrien amd.conf parameter. 948638494Sobrien 948738494Sobrien * scripts/amd.conf.5: document new global option pid_file. 948838494Sobrien 948938494Sobrien * amd/amd.c (daemon_mode): if cannot open pid_file, continue to 949038494Sobrien run, but print error message. 949138494Sobrien 949238494Sobrien * amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode, 949338494Sobrien init_global_options): Included patch from Randall S. Winchester 949438494Sobrien <rsw@Glue.umd.edu>, to support pid files in the amd.conf file. 949538494Sobrien 949638494Sobrien * amd/get_args.c (get_args): correct usage info on amd -t. 949738494Sobrien 949838494Sobrien * amd/*.c: massive file name and symbol name changes. All amd 949938494Sobrien file systems files and symbols are prefix with amfs_*. Now using 950038494Sobrien real name of file system: amfs_auto instead of afs, amfs_inherit 950138494Sobrien instead of ifs, amfs_linkx instead of sfsx, etc. This will enable 950238494Sobrien clear distinction between amd file system and generic ones like 950338494Sobrien nfs/ufs/pcfs/hsfs. Also, now we can implement true afs (Andrew 950438494Sobrien f/s) and DFS (Distributed f/s). 950538494Sobrien 950638494Sobrien * amd/amfs_union.c: unionfs for amd is always defined, no need to 950738494Sobrien #ifdef it. 950838494Sobrien 950938494SobrienMon Jan 26 16:51:38 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 951038494Sobrien 951138494Sobrien * libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on 951238494Sobrien or off, based on the particular quirks of the OS in question. 951338494Sobrien 951438494Sobrien * aux/macros/check_nfs_socket_connection.m4: new macro to set the 951538494Sobrien correct wait of handling un/connected NFS sockets. 951638494Sobrien 951738494Sobrien * scripts/wait4amd.in: use rlogin instead of rsh. 951838494Sobrien 951938494Sobrien * amd/am_ops.c (ops_showfstypes): when showing F/S types in amd 952038494Sobrien -v, always show "nfs3" for NFS V.3. 952138494Sobrien 952238494Sobrien1998-01-25 Erez Zadok <ezk@snoopy.cs.columbia.edu> 952338494Sobrien 952438494Sobrien * lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets 952538494Sobrien more picky than 2.7.2.3 did. 952638494Sobrien 952738494Sobrien1998-01-24 Erez Zadok <ezk@snoopy.cs.columbia.edu> 952838494Sobrien 952938494Sobrien * include/am_utils.h (dlog): amuDebug macros reduced to shorter 953038494Sobrien forms. 953138494Sobrien 953238494SobrienFri Jan 23 18:38:30 1998 Erez Zadok <ezk@goat.mcl.cs.columbia.edu> 953338494Sobrien 953438494Sobrien * released snapshot am-utils-6.0a16s3 953538494Sobrien 953638494Sobrien * include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included 953738494Sobrien in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h 953838494Sobrien must not, fake a definition for varargs. 953938494Sobrien 954038494SobrienFri Jan 16 10:16:40 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 954138494Sobrien 954238494Sobrien * README: show how to configure in additional support such as 954338494Sobrien hesiod using various --enable-* flags. 954438494Sobrien 954538494SobrienWed Jan 14 15:13:02 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 954638494Sobrien 954738494Sobrien * aux/configure.in: look for strcasecmp(), and replace it if not 954838494Sobrien available. 954938494Sobrien 955038494Sobrien * amd/ops_nfsl.c (nfsl_match): host names should be compared using 955138494Sobrien case insensitive. 955238494Sobrien 955338494Sobrien * amd/opts.c: for each map variable, define if the comparison 955438494Sobrien needs to be done case insensitive. 955538494Sobrien 955638494Sobrien * include/am_utils.h (STRCEQ): a new macro to use strcasecmp(). 955738494Sobrien Patch from Thomas Richter <richter@chemie.fu-berlin.de> 955838494Sobrien 955938494Sobrien1998-01-14 Erez Zadok <ezk@irt.cs.columbia.edu> 956038494Sobrien 956138494Sobrien * aux/configure.in: look for "isofs" as a possible mount type for 956238494Sobrien cdfs (RedHat Linux). 956338494Sobrien 956438494SobrienWed Jan 14 02:07:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 956538494Sobrien 956638494Sobrien * conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount 956738494Sobrien type if not defined. 956838494Sobrien 956938494Sobrien * conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if 957038494Sobrien already defined. 957138494Sobrien 957238494Sobrien * aux/configure.in: look for ext2fs before ufs, b/c some linux 957338494Sobrien have both. 957438494Sobrien 957538494SobrienMon Jan 12 15:43:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 957638494Sobrien 957738494Sobrien * Makefile.am (snapshot): allow me to install snapshots into the 957838494Sobrien ftp directory. 957938494Sobrien 958038494Sobrien * scripts/ctl-hlfsd.in: don't turn on -D mem by default. 958138494Sobrien 958238494Sobrien * amd/get_args.c (get_args): minor bug in output of amd -H. 958338494Sobrien 958438494SobrienMon Jan 12 03:05:06 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 958538494Sobrien 958638494Sobrien ******************************************************************* 958738494Sobrien *** Released am-utils-6.0a15 *** 958838494Sobrien ******************************************************************* 958938494Sobrien 959038494SobrienSun Jan 11 15:06:34 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 959138494Sobrien 959238494Sobrien * amd/conf.c (*_browsable_dirs): allow specifying 959338494Sobrien browsable_dirs=full, which will print *all* entries (other than 959438494Sobrien /default), including those with '*' and '/' characters. 959538494Sobrien 959638494Sobrien * amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length 959738494Sobrien to 1500. 959838494Sobrien 959938494Sobrien * doc/am-utils.texi: fixed reversed documentation for NFS mount 960038494Sobrien options vers and proto. 960138494Sobrien 960238494Sobrien * doc/Makefile.am (install-html): separate target just for 960338494Sobrien installing html files. Another new target "alldocs" is just for 960438494Sobrien installing all files needed for the am-utils home page. 960538494Sobrien 960638494Sobrien * scripts/amd.conf-sample: updated example for log_file. 960738494Sobrien 960838494Sobrien * scripts/amd.conf.5: updated for new way to declare new syslog 960938494Sobrien facility in the log_file option. 961038494Sobrien 961138494Sobrien * amd/amd.8: updated for new way to declare new syslog facility in 961238494Sobrien the -l option. 961338494Sobrien 961438494Sobrien * libamu/xutil.c (get_syslog_facility): allow users to specify the 961538494Sobrien syslog facility as an appended string to the log device. Ex. amd 961638494Sobrien -l syslog:local7 will use LOG_LOCAL7, while the older -l syslog 961738494Sobrien will use the default LOG_DAEMON facility. 961838494Sobrien 961938494Sobrien * amd/get_args.c (get_args): updated new syntax for amd -l 962038494Sobrien syslog:facility. 962138494Sobrien 962238494SobrienThu Jan 8 04:05:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 962338494Sobrien 962438494Sobrien * aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3 962538494Sobrien (intel). 962638494Sobrien 962738494Sobrien * libamu/wire.c (print_wires): bug fix. Nullify output buffer 962838494Sobrien before appending to it, on systems with two or more network 962938494Sobrien interfaces. 963038494Sobrien 963138494Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for 963238494Sobrien the mntent for cachefs. 963338494Sobrien 963438494Sobrien * include/am_defs.h: external definition for strstr() should use 963538494Sobrien const for both arguments. 963638494Sobrien 963738494Sobrien * aux/configure.in: add extern definitions for getwd() if missing. 963838494Sobrien 963938494Sobrien * include/am_defs.h: define the extern for strdup() even if the 964038494Sobrien function does not exist, for it will be filled in by 964138494Sobrien libamu/strdup.c 964238494Sobrien 964338494Sobrien * amq/pawd.c (cluster_server): don't use getccent() if the extern 964438494Sobrien for it isn't there. On hpux 10.20, the function is in libc, but 964538494Sobrien <cluster.h> and struct cct_entry do not exist. 964638494Sobrien 964738494Sobrien * aux/configure.in: check for an extern for getccent() b/c some 964838494Sobrien hpux systems don't have it (hpux 10.20). 964938494Sobrien 965038494SobrienWed Jan 7 00:09:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 965138494Sobrien 965238494Sobrien * doc/am-utils.texi (Amq -T option): manual documentation updates 965338494Sobrien for new amq options -T/-U. 965438494Sobrien 965538494Sobrien * amq/amq.8: updated man page for new amq options -T/-U. 965638494Sobrien 965738494Sobrien * amq/amq.c: two new switches to amq. -U will contact amd using 965838494Sobrien UDP only. -T will use TCP only. Normally amq will try TCP and 965938494Sobrien if that failed, will try UDP. 966038494Sobrien 966138494Sobrien * doc/am-utils.texi (pawd): manual documentation for pawd. 966238494Sobrien 966338494Sobrien * amq/pawd.1: new man page for pawd. 966438494Sobrien 966538494SobrienTue Jan 6 04:21:59 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 966638494Sobrien 966738494Sobrien * amq/pawd.c: a new program, Print Automounter Working Directory, 966838494Sobrien to print the proper pathname of the cwd or any other pathname, 966938494Sobrien adjusted for automounter paths, while avoiding mount points. 967038494Sobrien 967138494Sobrien * aux/macros/localconfig.m4: trivial support for am-utils 967238494Sobrien maintainers to adjust some of the configuration of am-utils after 967338494Sobrien it has been auto-configured by putting whatever definitions you 967438494Sobrien wish in a file called localconfig.h, located in the top build 967538494Sobrien directory (the same one where config.h is created for you). 967638494Sobrien 967738494Sobrien * doc/am-utils.texi (Caching Filesystem): updated documents for 967838494Sobrien cachefs file system. 967938494Sobrien 968038494Sobrien * amd/ops_cachefs.c: initial cachefs support, for solaris. 968138494Sobrien type:=cachefs, requires cachedir:=/cache/dir/name to be defined 968238494Sobrien and initialized with cfsadmin -c. $rfs is backdir to be cached 968338494Sobrien from, and $fs is the local mount point of the cachefs. 968438494Sobrien 968538494Sobrien * conf/mount/mount_svr4.c (mount_svr4): support mounting of 968638494Sobrien cachefs file systems. 968738494Sobrien 968838494Sobrien * amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the 968938494Sobrien mnttab type is. 969038494Sobrien 969138494SobrienMon Jan 5 23:22:49 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 969238494Sobrien 969338494Sobrien * amd/opts.c: added support for new variable $cachedir. 969438494Sobrien 969538494Sobrien * include/am_utils.h: added opt_cachedir field to struct am_opts. 969638494Sobrien 969738494SobrienSat Jan 3 01:43:57 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 969838494Sobrien 969938494Sobrien * amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the 970038494Sobrien local hostname does not match $rhost, and if so, also assume 970138494Sobrien type:=nfs. 970238494Sobrien 970338494SobrienFri Jan 2 01:00:40 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 970438494Sobrien 970538494Sobrien * updated all source files to add 1998 as a copyright year. 970638494Sobrien 970738494Sobrien * amd/ops_nfsl.c: new amd meta file system "type:=nfsl". Behaves 970838494Sobrien like type:=linkx if the pathname denoted by $fs exists, and like 970938494Sobrien type:=nfs if it does not. A convenient shortcut for the most 971038494Sobrien popular amd map entry. 971138494Sobrien 971238494Sobrien * amd/amd.c (main): amd should chdir to / before starting, to 971338494Sobrien avoid hanging on other NFS server if started elsewhere. 971438494Sobrien 971538494Sobrien * amd/ops_TEMPLATE.c: added an empty template file for developers 971638494Sobrien who wish to write new amd pseudo file systems. 971738494Sobrien 971838494SobrienThu Jan 1 00:27:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 971938494Sobrien 972038494Sobrien * hlfsd/homedir.c (plt_init): make function exported, to save on 972138494Sobrien the unnecessary init_homedir() function which was removed. 972238494Sobrien (table_add): don't use xmalloc() when you can use strdup() 972338494Sobrien instead. 972438494Sobrien 972538494SobrienThu Jan 1 00:15:58 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 972638494Sobrien 972738494Sobrien * hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this 972838494Sobrien because we will be making more passwd calls afterwards. On 972938494Sobrien Solaris 2.5.1, making getpwent() calls after calling endpwent() 973038494Sobrien results in a memory leak! (and no, even Purify didn't detect 973138494Sobrien it...) 973238494Sobrien 973338494SobrienTue Dec 23 18:23:47 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 973438494Sobrien 973538494Sobrien * hlfsd/hlfsd.c (main): Bug fix. Don't try to free() an 973638494Sobrien automatically allocated address. 973738494Sobrien 973838494Sobrien * amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an 973938494Sobrien automatically allocated address. 974038494Sobrien 974138494Sobrien * ALL SOURCES: change every direct call to free() to xfree(), so 974238494Sobrien it can be mapped to the right debugging function as needed. 974338494Sobrien 974438494Sobrien * include/am_utils.h: new free() policy. If debugging memory, 974538494Sobrien call dxfree(), which will print the file name and line number 974638494Sobrien where the free occurred and the pointer address. if only regular 974738494Sobrien debugging, then free() and reset the pointer to NULL so it cannot 974838494Sobrien be used afterwards inadvertently. If not DEBUG at all, then just 974938494Sobrien run free(). Three different #define macros set the right mapping. 975038494Sobrien 975138494Sobrien * libamu/xutil.c (dxfree): renamed function to dxfree(), so it can 975238494Sobrien be called only when debugging the memory. 975338494Sobrien 975438494SobrienTue Dec 23 04:24:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 975538494Sobrien 975638494Sobrien * wire-test/wire-test.c (main): use xmalloc() not malloc(). 975738494Sobrien 975838494Sobrien * conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not 975938494Sobrien calloc(). 976038494Sobrien 976138494Sobrien * conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc(). 976238494Sobrien 976338494Sobrien * conf/mount/mount_linux.c (parse_opts): use xmalloc() not 976438494Sobrien malloc(). 976538494Sobrien 976638494Sobrien * amd/info_ldap.c: use xmalloc() not malloc(). 976738494Sobrien 976838494Sobrien * libamu/xutil.c (xzalloc): new function to allocate memory and 976938494Sobrien zero its bytes. 977038494Sobrien 977138494Sobrien * amq/amq.c: amq does not need its own definition of xfree(). 977238494Sobrien 977338494Sobrien * aux/macros/opt_debug.m4: if used --enable-debug=mem, then also 977438494Sobrien look for function malloc_verify() in libmapmalloc.a, and function 977538494Sobrien mallinfo() in libmalloc. 977638494Sobrien 977738494Sobrien * libamu/xutil.c (checkup_mem): do not use mallinfo field 977838494Sobrien uordbytes, because it does not always exist. Rather, compute it 977938494Sobrien from other fields.. 978038494Sobrien 978138494Sobrien * include/am_utils.h: add external definition to xfree() function 978238494Sobrien used when debugging memory references. 978338494Sobrien 978438494SobrienMon Dec 22 03:01:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 978538494Sobrien 978638494Sobrien * amd/ops_afs.c (afs_readdir_browsable): reduce the number of 978738494Sobrien bytes heuristically computed to be returned to the kernel. 978838494Sobrien Otherwise browsable_dirs fails on OpenBSD 2.2. 978938494Sobrien 979038494Sobrien * amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of 979138494Sobrien mf_private field to AFTER it gets used. 979238494Sobrien 979338494SobrienSat Dec 20 00:51:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 979438494Sobrien 979538494Sobrien * amd/ops_host.c (host_umounted): don't use clnt_spcreateerror() 979638494Sobrien on systems that don't support it. 979738494Sobrien 979838494Sobrien * include/am_defs.h: add missing extern definition for free(). 979938494Sobrien 980038494Sobrien * aux/configure.in: check for external definition for free(). 980138494Sobrien 980238494Sobrien * libamu/Makefile.am: add to comment a mention of strstr as an 980338494Sobrien optional function. 980438494Sobrien 980538494Sobrien * libamu/xutil.c (switch_to_logfile): use openlog() options only 980638494Sobrien if they exist. 980738494Sobrien 980838494Sobrien * conf/transp/transp_sockets.c (get_nfs_version): don't use 980938494Sobrien clnt_spcreateerror if it does not exist. 981038494Sobrien 981138494Sobrien * aux/configure.in: check for missing functions clnt_create and 981238494Sobrien clnt_spcreateerror. Check for missing strstr, and complete 981338494Sobrien its code. Check for missing external definition for strstr. 981438494Sobrien 981538494Sobrien * aux/macros/host_macros.m4: normalize sun3* names. 981638494Sobrien 981738494Sobrien * Makefile.am: updates for new sunos3 files distributed. 981838494Sobrien 981938494Sobrien * conf/nfs_prot/nfs_prot_sunos3.h: new file. 982038494Sobrien 982138494Sobrien * conf/fh_dref/fh_dref_sunos3.h: new file. 982238494Sobrien 982338494Sobrien * aux/macros/check_nfs_prot_headers.m4: added sunos3 case. 982438494Sobrien 982538494Sobrien * aux/macros/check_nfs_fh_dref.m4: added sunos3 case. 982638494Sobrien 982738494Sobrien * doc/am-utils.texi (wire Selector Variable): updated manual for 982838494Sobrien adjusted variables wire, network, and netnumber, all using the 982938494Sobrien in_network() function. 983038494Sobrien 983138494SobrienFri Dec 19 04:37:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 983238494Sobrien 983338494Sobrien * amd/opts.c: allow options to be processed by executing arbitrary 983438494Sobrien functions. Converted wire, network, and netnumber all to use the 983538494Sobrien nomadic function in_network. So from now on they perform a match 983638494Sobrien against all networks, not just primary. 983738494Sobrien 983838494Sobrien * initial port to alpha-unknown-linux-gnu, probably works, but 983938494Sobrien untested yet. 984038494Sobrien 984138494Sobrien * conf/nfs_prot/nfs_prot_linux.h: add special definitions for 984238494Sobrien __FD_* macros which for som strange reason do not get included 984338494Sobrien from <selectbits.h> on redhat alpha linux. Also turn off usage of 984438494Sobrien <rpc/des_auth.h> because it is incomplete on the same systems. 984538494Sobrien 984638494Sobrien * hlfsd/homedir.c (table_add): cast uid field to int, for 984738494Sobrien comparison. 984838494Sobrien 984938494Sobrien * include/am_defs.h: more coflicts with redhat alpha linux 985038494Sobrien "resolved". 985138494Sobrien 985238494Sobrien * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4: 985338494Sobrien There's a conflict of definitions on redhat alpha linux between 985438494Sobrien <netinet/in.h> and <linux/fs.h> which must be avoided. 985538494Sobrien 985638494Sobrien * aux/configure.in: check for <socketbits.h>, which is in use on 985738494Sobrien redhat alpha linux. 985838494Sobrien 985938494Sobrien * doc/am-utils.texi (Selectors): added documentation to describe 986038494Sobrien the new "!" (negated) nomadic functions. 986138494Sobrien 986238494Sobrien * amd/opts.c (f_in_network): print debugging info that is correct, 986338494Sobrien rather than saying that any ARG is on a local network. 986438494Sobrien (eval_opts): added support for negating nomadic functions, by 986538494Sobrien prepending "!" to their name. Example, !exists(/foo/bar). 986638494Sobrien 986738494SobrienThu Dec 18 20:57:19 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 986838494Sobrien 986938494Sobrien * include/am_compat.h: ensure that all NFS3 systems have the mount 987038494Sobrien table entries (and amd opts switches) "proto" and "vers". 987138494Sobrien 987238494Sobrien * hlfsd/homedir.c (table_add): added some debugging info to try 987338494Sobrien and track down a serious memory leak in hlfsd. 987438494Sobrien 987538494Sobrien1997-12-18 Erez Zadok <ezk@t-rex.mcl.cs.columbia.edu> 987638494Sobrien 987738494Sobrien * libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that 987838494Sobrien you do NOT set the noconn option, and use connected sockets 987938494Sobrien always. So I'm now forced not to set it at all, and have the user 988038494Sobrien specify it as "conn" or "noconn" in their /default entry. Argh... 988138494Sobrien Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be 988238494Sobrien buggy (TCP hangs with "short receive" kernel errors). I'd better 988338494Sobrien wait until they get it working in their version of the automounter 988438494Sobrien first. So I'm putting the "noconn" option back. 988538494Sobrien 988638494SobrienThu Dec 18 02:39:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 988738494Sobrien 988838494Sobrien * libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set 988938494Sobrien nfs_args field maxgrouplist accordingly. 989038494Sobrien 989138494Sobrien * include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition 989238494Sobrien for mount table entry for maxgroups based on NFS mount option 989338494Sobrien maxgrp. 989438494Sobrien 989538494Sobrien * aux/configure.in: put back testing for NFS mount option 989638494Sobrien "maxgrps". Added test for mount table entry "maxgroups". 989738494Sobrien 989838494Sobrien * libamu/mount_fs.c (compute_nfs_args): perform more careful tests 989938494Sobrien on nfs_proto, because it could be NULL. 990038494Sobrien 990138494Sobrien * doc/am-utils.texi (Selectors): added example of in_network() 990238494Sobrien selector. 990338494Sobrien 990438494Sobrien * aux/macros/check_hide_mount_type.m4: all hpux versions, 990538494Sobrien including 9.x, should use "ignore" as the mount type to hide from 990638494Sobrien amd. 990738494Sobrien 990838494SobrienWed Dec 17 13:09:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 990938494Sobrien 991038494Sobrien * include/am_utils.h (NSTREQ): use new macro instead of strncmp() 991138494Sobrien every where in the sources. 991238494Sobrien 991338494SobrienWed Dec 17 01:15:01 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 991438494Sobrien 991538494Sobrien * libamu/mount_fs.c (print_nfs_args): if -D trace is on, will 991638494Sobrien print as much info that is given in struct nfs_args as possible. 991738494Sobrien useful for detecting internal flags and options, as well as the 991838494Sobrien file handle used. 991938494Sobrien 992038494Sobrien * scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc 992138494Sobrien after /etc and before /etc/local. 992238494Sobrien 992338494SobrienTue Dec 16 18:51:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 992438494Sobrien 992538494Sobrien * aux/configure.in, libamu/Makefile.am: added support for linking 992638494Sobrien with specific versions of libamu. Upped shared library version of 992738494Sobrien libamu to 1 (libamu.so.1.0.0) 992838494Sobrien 992938494Sobrien * include/am_defs.h: added external definition for mkstemp() as 993038494Sobrien needed. 993138494Sobrien 993238494Sobrien * minor new port to i386-unknown-netbsd1.3 (BETA version of 993338494Sobrien netbsd). 993438494Sobrien 993538494Sobrien * aux/config.guess: don't leave a trailing '.' on the system name 993638494Sobrien for NetBSD-1.3_BETA and similarly for OpenBSD. 993738494Sobrien 993838494Sobrien * conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight 993938494Sobrien differences in ypall calling conventions. 994038494Sobrien 994138494Sobrien * mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible 994238494Sobrien in preference over mktemp(), b/c it is more secure. 994338494Sobrien 994438494Sobrien * aux/configure.in: check for mkstemp(), a more secure version of 994538494Sobrien mktemp(). 994638494Sobrien 994738494SobrienMon Dec 15 02:32:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 994838494Sobrien 994938494Sobrien * amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount 995038494Sobrien table "vers" option generally do not set the mnttab entry to 995138494Sobrien "nfs3", but to "nfs" and then they set "vers=3". Setting it to 995238494Sobrien "nfs3" works, but it may break some things like "df -t nfs" and 995338494Sobrien the "quota" program (esp. on Solaris and Irix). So on those 995438494Sobrien systems, set it to "nfs". 995538494Sobrien 995638494SobrienSat Dec 13 01:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 995738494Sobrien 995838494Sobrien * doc/am-utils.texi (Distrib): updates for new ports, location of 995938494Sobrien am-utils' home page, and URL cross references (now supported by my 996038494Sobrien version of texi2html). 996138494Sobrien 996238494Sobrien * aux/macros/check_mtype_type.m4: also use string type for file 996338494Sobrien system mount types under nextstep for mount(2). 996438494Sobrien 996538494Sobrien * aux/macros/check_mtype_printf_type.m4}: nextstep can handle both 996638494Sobrien integer and string types for file system mount types in mount(2), 996738494Sobrien but it is better to use string types. 996838494Sobrien 996938494Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to 997038494Sobrien 0, not 1! Otherwise, all NFS calls (esp. mount) return errno 1 997138494Sobrien (EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now 997238494Sobrien works. 997338494Sobrien 997438494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0, 997538494Sobrien not 1! Otherwise, all NFS calls (esp. mount) return errno 1 997638494Sobrien (EPERM) instead of 0 (OK). 997738494Sobrien 997838494Sobrien * libamu/xdr_func.c (xdr_*): add debugging calls that are optioned 997938494Sobrien by -D trace (protocol trace). 998038494Sobrien 998138494Sobrien1997-12-11 Erez Zadok <ezk@bach.cs.columbia.edu> 998238494Sobrien 998338494Sobrien * A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR 998438494Sobrien macro based on existence on others, and include <sys/stat.h>. 998538494Sobrien 998638494SobrienThu Dec 11 14:14:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 998738494Sobrien 998838494Sobrien * aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off 998938494Sobrien inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on 999038494Sobrien which this header is broken (it tries to include non-existing 999138494Sobrien headers). 999238494Sobrien 999338494SobrienWed Dec 10 16:09:07 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 999438494Sobrien 999538494Sobrien * libamu/mount_fs.c (mnt_flags): support either nfs or generic 999638494Sobrien mount option for grpid. 999738494Sobrien 999838494Sobrien * aux/configure.in: turn back on NFS mount option grpid. 999938494Sobrien 1000038494SobrienSat Dec 6 04:36:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1000138494Sobrien 1000238494Sobrien * doc/Makefile.am (install-ps): added target to install postscript 1000338494Sobrien file in the am-utils' home page, as well as a few other useful 1000438494Sobrien files for the new am-utils Web page. 1000538494Sobrien 1000638494SobrienMon Nov 17 05:22:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1000738494Sobrien 1000838494Sobrien ******************************************************************* 1000938494Sobrien *** Released am-utils-6.0a14 *** 1001038494Sobrien ******************************************************************* 1001138494Sobrien 1001238494SobrienSun Nov 16 21:56:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1001338494Sobrien 1001438494Sobrien * doc/am-utils.texi (Supported Platforms): updated table of new 1001538494Sobrien ports. 1001638494Sobrien 1001738494SobrienSat Nov 15 06:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1001838494Sobrien 1001938494Sobrien * libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab 1002038494Sobrien options so that they can be printed in logs as needed. 1002138494Sobrien 1002238494Sobrien * doc/am-utils.texi (osver Parameter): updated for the correct 1002338494Sobrien usage of the -o/-O options. 1002438494Sobrien 1002538494Sobrien * scripts/amd.conf.5: corrected info for -o/-O options. 1002638494Sobrien 1002738494Sobrien * amd/amd.8: updated man page for new -O op_sys_name option, and 1002838494Sobrien corrected the usage of the -o op_sys_ver option 1002938494Sobrien 1003038494Sobrien * amd/get_args.c (get_args): added new amd option -O to override 1003138494Sobrien OS name. 1003238494Sobrien (get_args): updated usage string. Removed old -m option. Added 1003338494Sobrien -o and -O options. 1003438494Sobrien 1003538494Sobrien * conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case 1003638494Sobrien it is not there. Reportedly, irix 5.2 does not define it. 1003738494Sobrien 1003838494Sobrien * scripts/lostaltmail.in: removed references to unused $hack 1003938494Sobrien variable. 1004038494Sobrien 1004138494Sobrien * aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf 1004238494Sobrien <metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers 1004338494Sobrien for solaris2.5. 1004438494Sobrien 1004538494Sobrien * doc/am-utils.texi (Distrib): typo in the subscription 1004638494Sobrien instructions to amd-dev. Patch from Stefan Vogel 1004738494Sobrien <vogel@physik-rzu.unizh.ch>. 1004838494Sobrien 1004938494Sobrien1997-11-15 Erez Zadok <ezk@amtrak.cs.columbia.edu> 1005038494Sobrien 1005138494Sobrien * NFS3 works on powerpc-ibm-aix4.2.1.0. 1005238494Sobrien 1005338494Sobrien * libamu/mount_fs.c (compute_nfs_args): set fh3 variable to 1005438494Sobrien static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the 1005538494Sobrien stack of an automatic variable when pointer to it is passed around 1005638494Sobrien several times. 1005738494Sobrien 1005838494SobrienFri Nov 14 20:09:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1005938494Sobrien 1006038494Sobrien * libamu/xutil.c (real_plog): syslog like behavior for normal 1006138494Sobrien logging. Will not print repeated strings, only a count "last 1006238494Sobrien message repeated N times", but will always print something if 1006338494Sobrien message is repeated more than 100 times. 1006438494Sobrien 1006538494Sobrien * scripts/lostaltmail.in: look for lostaltmail.conf files also in 1006638494Sobrien /etc/global, /etc/os, and /etc/local (in that order). 1006738494Sobrien 1006838494SobrienMon Nov 10 03:03:17 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1006938494Sobrien 1007038494Sobrien * conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3 1007138494Sobrien mounts. 1007238494Sobrien 1007338494Sobrien * aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for 1007438494Sobrien aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h 1007538494Sobrien 1007638494Sobrien * conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the 1007738494Sobrien NFS_SA_DREF macro is a pointer to the structure that used to be 1007838494Sobrien passed to it before. So now I have to dereference the pointer 1007938494Sobrien before accessing its values. 1008038494Sobrien 1008138494Sobrien * hlfsd/hlfsd.c (main): use the new and cleaner 1008238494Sobrien compute_nfs_args() and compute_automounter_nfs_args() functions. 1008338494Sobrien 1008438494Sobrien * amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner 1008538494Sobrien compute_nfs_args() and compute_automounter_nfs_args() functions. 1008638494Sobrien 1008738494Sobrien * amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION. Use the new 1008838494Sobrien and cleaner compute_nfs_args() and compute_automounter_nfs_args() 1008938494Sobrien functions. 1009038494Sobrien 1009138494Sobrien * libamu/mount_fs.c (compute_nfs_args): major code cleanup that 1009238494Sobrien relates for struct nfs_args. A new function sets the numerous 1009338494Sobrien possible flags and fields of nfs_args_t in an orderly fashion. 1009438494Sobrien Code cleaned up, organized, and moved from amd/hlfsd into 1009538494Sobrien libamu. This saves on overall size of code. 1009638494Sobrien (compute_automounter_nfs_args): A variant of compute_nfs_args() 1009738494Sobrien which sets special options/flags that need to be used when NFS 1009838494Sobrien mounting an automounter's mount point. Used by hlfsd and amd. 1009938494Sobrien 1010038494Sobrien * amq/amq.c (get_secure_amd_client): don't print any more 1010138494Sobrien "get_secure_amd_client: using TCP, port 12345". It's more 1010238494Sobrien annoying than useful a message, even when assumed to be compiled 1010338494Sobrien under DEBUG only. 1010438494Sobrien 1010538494SobrienThu Oct 30 14:33:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1010638494Sobrien 1010738494Sobrien * aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs 1010838494Sobrien mount table entries. The code used to define the /etc/mnttab name 1010938494Sobrien for file systems based on physical media (disk, cdrom, floppy) to 1011038494Sobrien the generic name, rather than the OS specific name. For example 1011138494Sobrien autoconf searches for all these types of mount table entries for a 1011238494Sobrien floppy based file system: vfat pcfs pc msdos msdosfs fat. But if 1011338494Sobrien it found any, it hard-coded the mnttab name to "pcfs" rather than 1011438494Sobrien the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs, 1011538494Sobrien nullfs, unionfs, and umapfs. 1011638494Sobrien 1011738494Sobrien * aux/configure.in: also test for xfs (for newer Irix) when 1011838494Sobrien looking for mount type names, numbers, etc of a disk-based ufs. 1011938494Sobrien 1012038494SobrienSun Oct 26 19:32:57 1997 Erez Zadok <ezk@defiant.soscorp.com> 1012138494Sobrien 1012238494Sobrien * amq/amq.c (main): use pmap_ping() to test if remote host is up. 1012338494Sobrien This works better on bsdi2 and bsdi3, because their portmapper 1012438494Sobrien does not appear to like forwarding operations (it is generaly 1012538494Sobrien insecure). 1012638494Sobrien 1012738494SobrienSat Oct 25 04:55:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1012838494Sobrien 1012938494Sobrien ******************************************************************* 1013038494Sobrien *** Released am-utils-6.0a13 *** 1013138494Sobrien ******************************************************************* 1013238494Sobrien 1013338494SobrienFri Oct 24 05:04:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1013438494Sobrien 1013538494Sobrien * conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for 1013638494Sobrien struct datum typedef. 1013738494Sobrien 1013838494Sobrien * conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for 1013938494Sobrien ypall_callback_fxn_t for netbsd. 1014038494Sobrien 1014138494Sobrien * aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for 1014238494Sobrien the 5th arg to authunix_create(), while before and after they used 1014338494Sobrien gid_t. 1014438494Sobrien 1014538494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use 1014638494Sobrien clnt_create_timed() on older Solaris 2.3 systems that did not have 1014738494Sobrien it. 1014838494Sobrien 1014938494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for 1015038494Sobrien kernel only on bsdi2, so do not include it. 1015138494Sobrien 1015238494SobrienFri Oct 24 00:29:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1015338494Sobrien 1015438494Sobrien * hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated 1015538494Sobrien messages about resolution of mailboxes based on uid/gid. 1015638494Sobrien 1015738494Sobrien * scripts/ctl-hlfsd.in: check for alternate password file in 1015838494Sobrien ${prefix}/etc/passwd and use it in hlfsd's startup. 1015938494Sobrien 1016038494SobrienThu Oct 23 22:48:50 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1016138494Sobrien 1016238494Sobrien * hlfsd/homedir.c (hlfsd_getpwent): added support for -P 1016338494Sobrien passwdfile option. If hlfsd is started with -P passwdfile, then 1016438494Sobrien the passwdfile is read and parsed just as a standard unix 1016538494Sobrien passwd(4) file. Only the username, uid, and homedir fields are 1016638494Sobrien read and checked. All the rest are ignored. No NIS/netgroup 1016738494Sobrien support! 1016838494Sobrien 1016938494Sobrien * hlfsd/hlfsd.c (main): check if hlfsd is run as root after 1017038494Sobrien parsing command line options, so that usage() can be printed when 1017138494Sobrien -h is invoked. 1017238494Sobrien 1017338494SobrienWed Oct 22 00:16:39 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1017438494Sobrien 1017538494Sobrien * amd/nfs_start.c (mount_automounter): if autofs service listener 1017638494Sobrien fails to initialize it is OK if using a test amd. 1017738494Sobrien 1017838494Sobrien * amd/opts.c (f_in_network): new nomadic function in_network(arg), 1017938494Sobrien which returns TRUE if 'arg' is any one of this host's networks. 1018038494Sobrien 1018138494Sobrien * libamu/wire.c (getwire): rewritten parts of function, to store 1018238494Sobrien all networks names and numbers in the order of the interface (not 1018338494Sobrien in reverse). 1018438494Sobrien 1018538494SobrienMon Oct 20 01:59:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1018638494Sobrien 1018738494Sobrien * aux/configure.in: don't add ops_ufs.o on AIX twice. My code 1018838494Sobrien would have worked had it not been due to AIX's buggy /bin/sh. 1018938494Sobrien 1019038494Sobrien * doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and 1019138494Sobrien am-utils.ps in the distribution sources. 1019238494Sobrien (html): generate html documentation for 1019382794Sobrien http://www.am-utils.org 1019438494Sobrien 1019538494SobrienSun Oct 19 12:35:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1019638494Sobrien 1019738494Sobrien * conf/nfs_prot/nfs_prot_netbsd.h: override the definition of 1019838494Sobrien ypall_callback_fxn_t. The NetBSD team compiles all sources with 1019938494Sobrien gcc -Wall -Wmissing-prototypes -Wstrict-prototypes. 1020038494Sobrien 1020138494Sobrien * amd/info_nis.c: allow for override of ypall_callback_fxn_t 1020238494Sobrien function typedef. 1020338494Sobrien 1020438494Sobrien * libamu/xutil.c (amu_release_controlling_tty): new function to 1020538494Sobrien release the controlling tty in a clean and sane manner. No longer 1020638494Sobrien using setpgid() b/c it may not work. Uses setsid(), 1020738494Sobrien and ioctl() (in order). This new function is used in amd/amd.c 1020838494Sobrien and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some 1020938494Sobrien systems, but on others it is the same as setpgid(). 1021038494Sobrien 1021138494SobrienSat Oct 18 23:42:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1021238494Sobrien 1021338494Sobrien * aux/acconfig.h: check for nfs mount option 'fsname'. Code for 1021438494Sobrien it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but 1021538494Sobrien never used, because the configure test for fsname flag wasn't 1021638494Sobrien used. This fixed a bug in HPUX 10, where syncer and manual mounts 1021738494Sobrien left blank lines in /etc/mnttab. 1021838494Sobrien 1021938494Sobrien * aux/configure.in: check for nfs mount option 'fsname'. 1022038494Sobrien 1022138494SobrienFri Oct 17 13:30:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1022238494Sobrien 1022338494Sobrien * amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs 1022438494Sobrien mount flags of toplvl mounts. Important esp. for HPUX 10. Now 1022538494Sobrien hpux-10 will mount amd's mounts points as 'ignore' (by df). 1022638494Sobrien 1022738494Sobrien * aux/configure.in: check for NFS mount option 'ignore', useful in 1022838494Sobrien HPUX 10. 1022938494Sobrien 1023038494SobrienThu Oct 16 03:28:33 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1023138494Sobrien 1023238494Sobrien * aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore" 1023338494Sobrien mount type and not NFS, for the amd mount points. 1023438494Sobrien 1023538494Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log 1023638494Sobrien an RPC timeout as an error, but just an info message. From 1023738494Sobrien Andreas Stolcke <stolcke@speech.sri.com> 1023838494Sobrien 1023938494Sobrien * If the NFS server is down or does not support the portmapper 1024038494Sobrien call (such as certain Novell NFS servers) we mark it as version 2 1024138494Sobrien and we let the nfs code deal with the case that is down. If when 1024238494Sobrien the server comes back up, it can support NFS V.3 and/or TCP, it 1024338494Sobrien will use those. From christos@deshaw.com (Christos Zoulas). 1024438494Sobrien 1024538494Sobrien * hlfsd/homedir.c (plt_print): various compile time cleanups to 1024638494Sobrien printfs that take a long, but pass an int to print. From 1024738494Sobrien christos@deshaw.com (Christos Zoulas). 1024838494Sobrien 1024938494Sobrien * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new 1025038494Sobrien macro to determine if the OS has a bad yp_all(), based on the host 1025138494Sobrien OS name. So far only irix (all versions) have a bad yp_all, so 1025238494Sobrien they will use am_yp_all() instead (which is slower as it 1025338494Sobrien enumerates manually all of the map's entries). 1025438494Sobrien 1025538494SobrienThu Oct 16 03:14:37 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 1025638494Sobrien 1025738494Sobrien * amd/info_nis.c (am_yp_all): code for a replacement yp_all that 1025838494Sobrien avoids using a file-descriptor leaking yp_all() on some systems 1025938494Sobrien like irix. 1026038494Sobrien 1026138494SobrienWed Oct 15 21:52:35 1997 Erez Zadok <ezk> 1026238494Sobrien 1026338494Sobrien * fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x 1026438494Sobrien systems using /usr/bin/flex. 1026538494Sobrien 1026638494Sobrien * amd/conf_tok.l (yywrap): avoid redefining yywrap for systems 1026738494Sobrien that have a modified GNU flex which does define yywrap (DU-4.x). 1026838494Sobrien 1026938494SobrienFri Sep 26 14:25:29 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1027038494Sobrien 1027138494Sobrien * conf/checkmount/checkmount_bsd44.c: include prototype. 1027251292Sobrien 1027351292SobrienFri Sep 26 01:26:24 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1027451292Sobrien 1027551292Sobrien ******************************************************************* 1027651292Sobrien *** Released am-utils-6.0a12 *** 1027751292Sobrien ******************************************************************* 1027851292Sobrien 1027951292SobrienFri Sep 26 00:13:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1028051292Sobrien 1028151292Sobrien * conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs 1028251292Sobrien code in irix6 until it can be tested correctly 1028351292Sobrien 1028451292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out 1028551292Sobrien on clnt_create for 3 seconds, rather than wait for the much longer 1028651292Sobrien default. 1028751292Sobrien 1028851292Sobrien * conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0. 1028951292Sobrien Includes NFS3, untested. 1029051292Sobrien 1029151292SobrienThu Sep 25 11:03:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1029251292Sobrien 1029351292Sobrien * amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of 1029451292Sobrien pcfs_args_t if they exist. 1029551292Sobrien 1029651292Sobrien * amd/ops_cdfs.c (mount_cdfs): fill in ssector field of 1029751292Sobrien cdfs_args_t if it exists. 1029851292Sobrien 1029951292Sobrien * new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05, 1030051292Sobrien hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4. 1030151292Sobrien 1030251292SobrienWed Sep 24 00:48:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1030351292Sobrien 1030451292Sobrien * doc/am-utils.texi (wire-test): updated documentation for the new 1030551292Sobrien option. 1030651292Sobrien 1030751292Sobrien * wire-test/wire-test.8: updated man page for new option. 1030851292Sobrien 1030951292Sobrien * wire-test/wire-test.c (main): added a test for various 1031051292Sobrien combinations of NFS proto/vers to a remote/local host. 1031151292Sobrien 1031251292Sobrien * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 1031351292Sobrien <isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that 1031451292Sobrien freebsd will correctly set mount options for pcfs and cdfs. 1031551292Sobrien 1031651292Sobrien * amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to 1031751292Sobrien 0777 (if field exists). 1031851292Sobrien 1031951292Sobrien * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 1032051292Sobrien <msdosfs/msdosfsmount.h> if available. 1032151292Sobrien 1032251292Sobrien * minor new port: rs6000-ibm-aix4.1.4.0. 1032351292Sobrien 1032451292Sobrien * libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to 1032551292Sobrien write the "time" field in /etc/mnttab. 1032651292Sobrien 1032751292Sobrien * conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for 1032851292Sobrien detecting mnt_time field of mntent_t. 1032951292Sobrien 1033051292Sobrien * libamu/mtab.c (mnt_free): fixed typo in macro names for 1033151292Sobrien detecting mnt_time field of mntent_t. 1033251292Sobrien 1033351292SobrienTue Sep 23 15:30:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1033451292Sobrien 1033551292Sobrien * conf/mtab/mtab_file.c (lock): Use flock() in preference over 1033651292Sobrien fcntl() to lock the mtab file. 1033751292Sobrien 1033851292SobrienMon Sep 22 23:04:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1033951292Sobrien 1034051292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): define 1034151292Sobrien the try_again goto label only for NFS3. 1034251292Sobrien (pmap_ping): assume timeout failure of clnt_stat. 1034351292Sobrien 1034451292Sobrien * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to 1034551292Sobrien "groups *". 1034651292Sobrien 1034751292SobrienMon Sep 22 20:34:33 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1034851292Sobrien 1034951292Sobrien * conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley 1035051292Sobrien <dsr@mail.lns.cornell.edu> to make sure that amd works with more 1035151292Sobrien secure portmappers that do not allow forwarding of RPC messages to 1035251292Sobrien other services. 1035351292Sobrien 1035451292Sobrien * */Makefile.am: all source files should also depend on the new 1035551292Sobrien include/am_xdr_func.h header. 1035651292Sobrien 1035751292Sobrien * include/am_xdr_func.h: new file as part of the code cleanup from 1035851292Sobrien Christos Zoulas <christos@deshaw.com>. 1035951292Sobrien 1036051292Sobrien * Lots of fixes from Christos Zoulas <christos@deshaw.com> that 1036151292Sobrien involved missing prototypes, cleaned up ones, and removal of 1036251292Sobrien unused variables. 1036351292Sobrien 1036451292Sobrien * libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch 1036551292Sobrien statement with only one case is unclean. 1036651292Sobrien 1036751292SobrienMon Sep 22 17:26:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1036851292Sobrien 1036951292Sobrien * amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to 1037051292Sobrien 0 so that all fields are initialized to zero at first. This way 1037151292Sobrien SunOS 4.x and other systems don't get /etc/mtab entries with 1037251292Sobrien random integers for the fsck/freq fields. Patch from Andreas 1037351292Sobrien Stolcke <stolcke@speech.sri.com>. 1037451292Sobrien 1037551292SobrienMon Sep 22 00:34:19 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 1037651292Sobrien 1037751292Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so 1037851292Sobrien that the important definition for HOSTNAMESZ will be found. 1037951292Sobrien 1038051292Sobrien * amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ 1038151292Sobrien (inside the nfs_args structure) if the system uses that macro. 1038251292Sobrien Otherwise systems like SunOS refuse to NFS mount long pathnames 1038351292Sobrien and result in ENAMETOOLONG errno's. 1038451292Sobrien 1038551292SobrienWed Sep 17 04:56:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1038651292Sobrien 1038751292Sobrien * doc/am-utils.texi (Supported Platforms): specify new support for 1038851292Sobrien solaris 2.6, and hlfsd running on 2.5.1 too. 1038951292Sobrien 1039051292SobrienWed Sep 17 03:55:02 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 1039151292Sobrien 1039251292Sobrien * conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs 1039351292Sobrien mount if it is not supported or was turned off. 1039451292Sobrien 1039551292SobrienWed Sep 17 03:19:36 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 1039651292Sobrien 1039751292Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount 1039851292Sobrien again. Apparently at some previous release SunOS 4 supported was 1039951292Sobrien broken and all nfs mounts resulted in ESTALE. 1040051292Sobrien 1040151292SobrienWed Sep 17 00:26:25 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 1040251292Sobrien 1040351292Sobrien * conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for 1040451292Sobrien solaris 2.6. 1040551292Sobrien 1040651292Sobrien * aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs 1040751292Sobrien protocol header selection. 1040851292Sobrien 1040951292SobrienSat Sep 13 14:31:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1041051292Sobrien 1041151292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid 1041251292Sobrien infinite loop. 1041351292Sobrien 1041451292SobrienSun Sep 7 18:23:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1041551292Sobrien 1041651292Sobrien ******************************************************************* 1041751292Sobrien *** Released am-utils-6.0a11 *** 1041851292Sobrien ******************************************************************* 1041951292Sobrien 1042051292SobrienFri Sep 5 11:55:10 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1042151292Sobrien 1042251292Sobrien * amd/amd.c (main): if plock() succeeded, don't try to display 1042351292Sobrien errno message. Patch from Chris Metcalf 1042451292Sobrien <metcalf@catfish.lcs.mit.edu. 1042551292Sobrien 1042651292SobrienThu Sep 4 19:17:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1042751292Sobrien 1042851292Sobrien * hlfsd/homedir.c (table_add): make sure duplicate passwd entries 1042951292Sobrien are ignored. Only the first entry should ever be used, because 1043051292Sobrien that's how lookup in passwd database works. 1043151292Sobrien 1043251292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): when determining 1043351292Sobrien if a remote host is up or down, use NFS v.2. Fix suggested by 1043451292Sobrien Enami Tsugutomo <enami@cv.sony.co.jp>. 1043551292Sobrien 1043651292Sobrien * conf/transp/transp_tli.c (amu_clnt_create_best_vers): new 1043751292Sobrien function to get the best possible NFS version, but also timeout 1043851292Sobrien faster than normal defaults, so remote hosts which are down can be 1043951292Sobrien detected in a reasonable time. 1044051292Sobrien (get_nfs_version): use the new "best" function. 1044151292Sobrien 1044251292SobrienTue Sep 2 00:41:00 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1044351292Sobrien 1044451292Sobrien ******************************************************************* 1044551292Sobrien *** Released am-utils-6.0a10 *** 1044651292Sobrien ******************************************************************* 1044751292Sobrien 1044851292SobrienMon Sep 1 15:39:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1044951292Sobrien 1045051292Sobrien * conf/transp/transp_tli.c (get_nfs_version): don't use 1045151292Sobrien clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4 1045251292Sobrien and earlier). 1045351292Sobrien 1045451292Sobrien * aux/configure.in: test for existence of clnt_tp_create_timed(), 1045551292Sobrien since Solaris 2.4 (and possibly earlier) do not have it. 1045651292Sobrien 1045751292SobrienMon Sep 1 15:23:18 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 1045851292Sobrien 1045951292Sobrien * amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid 1046051292Sobrien field if it exists (solaris 2.4's autofs does not have it). 1046151292Sobrien 1046251292SobrienMon Sep 1 14:45:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1046351292Sobrien 1046451292Sobrien * aux/macros/type_auth_create_gidlist.m4: a new test to determine 1046551292Sobrien the correct type to the 5th argument of authunix_create(). 1046651292Sobrien 1046751292SobrienMon Sep 1 03:44:32 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 1046851292Sobrien 1046951292Sobrien * libamu/xdr_func.c (xdr_umntrequest): add test for autofs 1047051292Sobrien structure umntrequest, if it has the field rdevid. Seems Solaris 1047151292Sobrien 2.4 and earlier didn't have it. 1047251292Sobrien 1047351292SobrienMon Sep 1 01:10:53 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1047451292Sobrien 1047551292Sobrien * hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it 1047651292Sobrien can be done before primary process forks. 1047751292Sobrien (main): bug fix: wait a bit to give child a chance to initialize. 1047851292Sobrien Without this, hlfsd got into a busy infinite loop while, never 1047951292Sobrien completing the mount. 1048051292Sobrien 1048151292Sobrien * amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov> 1048251292Sobrien to make amd works when talking to NIS+ servers in NIS 1048351292Sobrien compatibility mode. 1048451292Sobrien 1048551292SobrienMon Sep 1 00:46:56 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1048651292Sobrien 1048751292Sobrien * amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024. 1048851292Sobrien 1048951292SobrienSun Aug 31 20:20:40 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1049051292Sobrien 1049151292Sobrien * amd/conf.c (gopt_fully_qualified_hosts): a new function to 1049251292Sobrien process another new global variable. 1049351292Sobrien 1049451292Sobrien * amd/ops_nfs.c (make_nfs_auth): if a new global variable 1049551292Sobrien fully_qualified_hosts is on, use FQHN in RPC/NFS authentications. 1049651292Sobrien Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>. 1049751292Sobrien 1049851292Sobrien * amd/conf.c (process_last_regular_map): If the amd.conf file only 1049951292Sobrien has a [global] section (pretty useless IMHO), do not try to 1050051292Sobrien process a map that does not exist. 1050151292Sobrien 1050251292Sobrien * scripts/amd.conf.5: fixed typos (repeated 'as' word). 1050351292Sobrien 1050451292Sobrien * doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!! 1050551292Sobrien 1050651292Sobrien * amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm 1050751292Sobrien structure, so it does not carry over from map entry to another. 1050851292Sobrien 1050951292SobrienSat Aug 30 18:39:21 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1051051292Sobrien 1051151292Sobrien * amd/amd.c (main): fixed the meaning of the plock option. A bug 1051251292Sobrien caused it to be reversed. 1051351292Sobrien 1051451292SobrienSat Aug 30 15:13:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1051551292Sobrien 1051651292Sobrien * hlfsd/stubs.c: don't initialize some statics here. They are 1051751292Sobrien better initialized in hlfsd_init_filehandles(). 1051851292Sobrien 1051951292SobrienFri Aug 22 14:47:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1052051292Sobrien 1052151292Sobrien * amd/conf.c (gopt_show_statfs_entries): new function and a global 1052251292Sobrien amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes', 1052351292Sobrien then all maps flagged as browsable will also show a count of the 1052451292Sobrien number of entries (keys) in that map. 1052551292Sobrien 1052651292Sobrien * amd/nfs_subr.c (count_map_entries): new function to count number 1052751292Sobrien of entries in a map. Now used if browsable is turned on in a map, 1052851292Sobrien to return a count of available keys in a given map. 1052951292Sobrien 1053051292Sobrien * hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd 1053151292Sobrien confused the file handles for ".", "..", and the symlink, causing 1053251292Sobrien mess. 1053351292Sobrien 1053451292Sobrien * aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12, 1053551292Sobrien but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts 1053651292Sobrien with bad memcmp() in libc's (nextstep3). 1053751292Sobrien 1053851292SobrienThu Aug 21 17:38:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1053951292Sobrien 1054051292Sobrien * aux/configure.in: check if autofs_args_t has a field named 1054151292Sobrien addr. Solaris has it for specifying the address of the daemon, 1054251292Sobrien but Irix does not. So how does irix tell the kernel the daemon's 1054351292Sobrien address? I suspect that it is hardcoded to "localhost" using a 1054451292Sobrien "private well-known port" (#define AUTOFS_PORT 2048). 1054551292Sobrien 1054651292Sobrien * conf/nfs_prot/nfs_prot_linux.h: added missing autofs 1054751292Sobrien definitions. 1054851292Sobrien 1054951292Sobrien * README.autofs: new file listing autofs support notes 1055051292Sobrien 1055151292Sobrien * very preliminary autofs code working. Call it pre-alpha 1055251292Sobrien quality. 1055351292Sobrien 1055451292SobrienSun Aug 17 02:25:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1055551292Sobrien 1055651292Sobrien * amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept 1055751292Sobrien "autofs" if system does not support it. 1055851292Sobrien 1055951292Sobrien * amd/amd.c (main): log am-utils version string (same as amd -v) 1056051292Sobrien at start of run. 1056151292Sobrien 1056251292Sobrien * conf/transp/transp_sockets.c (get_nfs_version): in order to tell 1056351292Sobrien if a remote host is available, try to contact its portmapper and 1056451292Sobrien timeout if no answer is received in 3 seconds. 1056551292Sobrien 1056651292SobrienThu Aug 14 16:12:04 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1056751292Sobrien 1056851292Sobrien * aux/macros/check_extern.m4 (pattern): use a simpler pattern for 1056951292Sobrien match for external function definitions. The function could span 1057051292Sobrien multiple lines, so only match the opening parenthesis, not the 1057151292Sobrien closing one too. 1057251292Sobrien 1057351292Sobrien * aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on 1057451292Sobrien posix mode for nextstep3. It is broken. 1057551292Sobrien 1057651292Sobrien * amd/amd.c (init_global_options): run uname() only if 1057751292Sobrien <sys/utsname.h> and uname(2) exist. 1057851292Sobrien 1057951292Sobrien * amd/rpc_fwd.c (fwd_packet): if remote host is down, the 1058051292Sobrien forwarding socket is null, so declare this an error. 1058151292Sobrien 1058251292Sobrien * include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set 1058351292Sobrien for when a remote host is down. Try, in order, "host down", "host 1058451292Sobrien unreachable", "invalid argument". 1058551292Sobrien 1058651292Sobrien * amd/ops_nfs.c (discard_fh): don't dereference a null pointer 1058751292Sobrien (happens when remote host is down, and fp->fh_fs is NULL). 1058851292Sobrien (prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID 1058951292Sobrien and FSF_DOWN. 1059051292Sobrien 1059151292Sobrien * amd/sched.c: nobody uses "union wait" any more, or so it 1059251292Sobrien appears, so clean up that code. 1059351292Sobrien 1059451292Sobrien * conf/transp/transp_tli.c (get_nfs_version): if remote host is 1059551292Sobrien down, time it out faster than default (3 seconds). 1059651292Sobrien (get_mount_client): free netconfig entry when done with it. 1059751292Sobrien 1059851292Sobrien * conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly) 1059951292Sobrien port to nextstep3 (m68k-next-nextstep3). 1060051292Sobrien 1060151292Sobrien * fsinfo/Makefile.am (LDADD): needs to link with libamu in case 1060251292Sobrien system does not have strdup(). 1060351292Sobrien 1060451292Sobrien * include/am_defs.h: complete external definition for getlogin() 1060551292Sobrien if needed. 1060651292Sobrien 1060751292Sobrien * conf/transp/transp_tli.c (get_nfs_version): no need to keep 1060851292Sobrien static versout variable. 1060951292Sobrien 1061051292Sobrien * amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote 1061151292Sobrien server is probably down. Don't use sendto() in that case. 1061251292Sobrien 1061351292Sobrien * buildall (default): run gmake if found, before trying plain 1061451292Sobrien make. GNU make is always preferable. 1061551292Sobrien 1061651292SobrienTue Aug 12 21:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1061751292Sobrien 1061851292Sobrien * aux/macros/host_macros.m4: cleanup of os_version and os 1061951292Sobrien overrides. Solaris 2.5.1 for example will come up as solaris2 and 1062051292Sobrien 2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in 1062151292Sobrien the amd.conf file. 1062251292Sobrien 1062351292SobrienFri Aug 8 14:37:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1062451292Sobrien 1062551292Sobrien ******************************************************************* 1062651292Sobrien *** Released am-utils-6.0a9 *** 1062751292Sobrien ******************************************************************* 1062851292Sobrien 1062951292SobrienThu Aug 7 00:52:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1063051292Sobrien 1063151292Sobrien * conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2 1063251292Sobrien (i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff 1063351292Sobrien from <ndbm.h> and <sys/resource.h>. 1063451292Sobrien 1063551292Sobrien * scripts/amd.conf.5: new map page. 1063651292Sobrien 1063751292Sobrien * amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3 1063851292Sobrien does not. 1063951292Sobrien 1064051292Sobrien * amd/amd.8: updated man page. 1064151292Sobrien 1064251292Sobrien * amd/get_args.c (get_args): removed defunct -h option to amd. 1064351292Sobrien 1064451292Sobrien * amq/amq.8: updated man page. 1064551292Sobrien 1064651292Sobrien * amd/info_nisplus.c (nisplus_search): prototype fixes so Sun 1064751292Sobrien SparcCompiler CC won't complain. 1064851292Sobrien 1064951292Sobrien * amd/info_hesiod.c (hesiod_search): small fixes to compile with 1065051292Sobrien hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>. 1065151292Sobrien 1065251292Sobrien * aux/macros/opt_ldflags.m4: new option added to configure 1065351292Sobrien --enable-ldflags, to specify -L option for configuring/compiling. 1065451292Sobrien The older one --enable-libs is now to be used only for -l options. 1065551292Sobrien 1065651292Sobrien * amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize 1065751292Sobrien nc_protoname from nfs_proto if available for all TLI systems, not 1065851292Sobrien just those that have NFS V3. 1065951292Sobrien 1066051292Sobrien * amd/info_ldap.c: ldap patches from Leif Johansson 1066151292Sobrien <leifj@matematik.su.se>, adding two new amd.conf ldap variables: 1066251292Sobrien ldap_cache_seconds and ldap_cache_maxmem. 1066351292Sobrien 1066451292Sobrien * hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in 1066551292Sobrien htons(). 1066651292Sobrien 1066751292SobrienSun Aug 3 17:20:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1066851292Sobrien 1066951292Sobrien * amd/nfs_start.c (mount_automounter): register amd with the rpc 1067051292Sobrien program number that may have been overridden by amd.conf. 1067151292Sobrien 1067251292Sobrien * libamu/xutil.c (set_amd_program_number, get_amd_program_number): 1067351292Sobrien allow storing and retrieving alternate amd program numbers. 1067451292Sobrien 1067551292Sobrien * amd/conf.c (gopt_portmap_program): new function to parse 1067651292Sobrien amd.conf entry portmap_program=1234. 1067751292Sobrien 1067851292Sobrien * amq/amq.c (main): allow specifying an alternate rpc program 1067951292Sobrien number for amd via -P prognum. 1068051292Sobrien 1068151292Sobrien * new amq RPC to get the process id of the running amd. This is 1068251292Sobrien used in ctl-amd to quickly find the pid of the amd that is to be 1068351292Sobrien killed. 1068451292Sobrien 1068551292Sobrien * expanded shared libraries support. Using GNU libtool-1.0, 1068651292Sobrien am-utils now builds shared libraries on many platforms that have 1068751292Sobrien support for it and proper compilers/linkers. See "INSTALL" file 1068851292Sobrien for compatibility chart. 1068951292Sobrien 1069051292SobrienThu Jul 31 13:07:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1069151292Sobrien 1069251292Sobrien * fsinfo/fsi_lex.l: removed code that was in support of very old 1069351292Sobrien versions of flex. No longer needed. 1069451292Sobrien 1069551292SobrienTue Jul 29 12:00:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1069651292Sobrien 1069751292Sobrien * amd/amd.c (init_global_options): find the kernel architecture 1069851292Sobrien from uname() if possible. 1069951292Sobrien 1070051292SobrienMon Jul 28 03:53:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1070151292Sobrien 1070251292Sobrien * new working port: i386-unknown-openbsd2.1 1070351292Sobrien 1070451292SobrienFri Jul 25 03:16:31 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 1070551292Sobrien 1070651292Sobrien * working port: sparc-sun-solaris2.4. Had to fix fhandle_t from 1070751292Sobrien structure to actual char[], because the structure was passed to 1070851292Sobrien xdr_fhandle as data and not a pointer. Surprisingly, gcc 1070951292Sobrien -fpcc-struct-return did not help. 10710174294Sobrien 1071151292Sobrien * conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol 1071251292Sobrien definitions for solaris 2.4 have to be different from 2.3, and 1071351292Sobrien different from 2.5. 1071451292Sobrien 1071551292Sobrien * libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup. 1071651292Sobrien 1071751292SobrienThu Jul 24 16:22:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1071851292Sobrien 1071951292Sobrien * conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount 1072051292Sobrien types, not ==. Fix from Christos Zoulas <christos@deshaw.com>. 1072151292Sobrien 1072251292Sobrien * mk-amd-map/mk-amd-map.8: man page taken from bsd44. 1072351292Sobrien 1072451292SobrienThu Jul 24 00:01:55 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 1072551292Sobrien 1072651292Sobrien * conf/mount/mount_linux.c: made the nfs error mapping code into a 1072751292Sobrien small function. 1072851292Sobrien 1072951292SobrienWed Jul 23 16:11:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1073051292Sobrien 1073151292Sobrien * conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special 1073251292Sobrien error mappings from errno numbers to NFS errors. From Debian 1073351292Sobrien Linux. 1073451292Sobrien 1073551292Sobrien * scripts/am-eject.in (fs): new script (taken from Debian Linux 1073651292Sobrien folks) to auto-unmount floppy/cd devices before ejecting them. 1073751292Sobrien 1073851292Sobrien * fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass 1073951292Sobrien '5' as second arg to show_area_being_processed. I'm not sure why. 1074051292Sobrien 1074151292Sobrien * fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as 1074251292Sobrien second arg to show_area_being_processed. I'm not sure why. 1074351292Sobrien 1074451292Sobrien * conf/mount/mount_linux.c (parse_opts): as per Debian Linux, 1074551292Sobrien ensure that you have a buffer in *xopts to strcat onto. 1074651292Sobrien (mount_linux): fixed from Debian folks to ensure that NFS mount 1074751292Sobrien sockets are connected only for kernels prior to 1.3.10 (avoids 1074851292Sobrien hangs for multi-homed hosts). 1074951292Sobrien 1075051292Sobrien * amd/mapc.c (make_entry_chain): from Debian folks: don't skip 1075151292Sobrien over amd map keys that have a prefix, and include the prefix in 1075251292Sobrien the returned readdir(). 1075351292Sobrien 1075451292Sobrien * amd/info_passwd.c (passwd_init, passwd_search): format 1075551292Sobrien enhancements from the Debian Linux folks. They added 1075651292Sobrien - var0:=pw-prefix:=anydir 1075751292Sobrien - var1:=pw-rhost:=dom3.dom2.dom1 1075851292Sobrien - var2:=pw-user:=user 1075951292Sobrien - var3:=pw-home:=/anydir/dom1/dom2/dom3/user 1076051292Sobrien 1076151292Sobrien * new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1. 1076251292Sobrien 1076351292Sobrien * amd/ops_afs.c (afs_retry): patches from Debian Linux. If 1076451292Sobrien afs_mount timed out, then explicitly forbid further retries after 10765174294Sobrien the timeout. (afs_bgmount): bug fix from Debian Linux. Timeout 1076651292Sobrien values (17 and 5) were mistakenly swapped. 1076751292Sobrien 1076851292SobrienWed Jul 23 15:53:25 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 1076951292Sobrien 1077051292Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3 1077151292Sobrien support for Solaris 2.4 (the header files incorrectly define parts 1077251292Sobrien of the NFS V.3 protocol, but the kernel does not support it). 1077351292Sobrien 1077451292SobrienWed Jul 23 00:07:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1077551292Sobrien 1077651292Sobrien * amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init 1077751292Sobrien for determining if using old or new hesiod libraries, 1077851292Sobrien respectively. 1077951292Sobrien 1078051292Sobrien * amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS 1078151292Sobrien V.3 then use non-connected sockets (both TCP and UDP). Otherwise 1078251292Sobrien they cause hangs of mounts from multi-homed hosts when the return 1078351292Sobrien route is not the same as the outgoing route (esp. on NetBSD 1078451292Sobrien 1.2.1). If "conn" option was supplied, then don't turn on the 1078551292Sobrien "noconn" mount option. Otherwise default to "noconn" mount 1078651292Sobrien option. 1078751292Sobrien 1078851292Sobrien * aux/configure.in: better check for systems that need libgdbm and 1078951292Sobrien <ndbm.h> 1079051292Sobrien 1079151292SobrienTue Jul 22 04:02:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1079251292Sobrien 1079351292Sobrien * hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that 1079451292Sobrien mounts are hidden from df(1) on systems that keep mount tables in 1079551292Sobrien kernel, such as osf1. 1079651292Sobrien 1079751292SobrienTue Jul 22 02:26:55 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1079851292Sobrien 1079951292Sobrien ******************************************************************* 1080051292Sobrien *** Released am-utils-6.0a8 *** 1080151292Sobrien ******************************************************************* 1080251292Sobrien 1080351292SobrienMon Jul 21 21:33:19 1997 Erez Zadok <ezk@stone.mcl.cs.columbia.edu> 1080451292Sobrien 1080551292Sobrien * hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to 1080651292Sobrien AF_INET when hlfsd mounts itself, thus getting an errno "protocol 1080751292Sobrien family not supported". 1080851292Sobrien 1080951292SobrienMon Jul 21 20:46:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1081051292Sobrien 1081151292Sobrien * verified that amd on NetBSD 1.2.1 (i386) works, but the OS 1081251292Sobrien itself is flaky. 1081351292Sobrien 1081451292Sobrien * verified that amd AIX 3 works w/ the new readdir() code. 1081551292Sobrien 1081651292SobrienMon Jul 21 18:59:30 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 1081751292Sobrien 1081851292Sobrien * amd/mapc.c (maptypes): changed the default map caching type for 1081951292Sobrien nis and ndbm maps to "MAPC_ALL", so that all possible entries will 1082051292Sobrien be available to amd for browsable_dirs=yes. 1082151292Sobrien 1082251292SobrienMon Jul 21 18:04:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1082351292Sobrien 1082451292Sobrien * amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split 1082551292Sobrien afs_readdir into a browsable version and a non-browsable one. 1082651292Sobrien Fixed bugs that resulted in an infinite nfs_readdir loop on the 1082751292Sobrien localhost for some operating systems. 1082851292Sobrien 1082951292SobrienSat Jul 19 19:38:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1083051292Sobrien 1083151292Sobrien * amd/ops_afs.c (afs_readdir): fixed up the browsable code to 1083251292Sobrien comply with nfs_readdir specs. It was returning all entries at 1083351292Sobrien once, even if there was not enough space in the RPC packet. Now, 1083451292Sobrien it sends a reasonably sized chunk, and sets static state to resume 1083551292Sobrien it for the next continuation RPC of readdir. 1083651292Sobrien 1083751292Sobrien * amd/conf.c (set_conf_kv): fixed bug that resulted in the first 1083851292Sobrien regular map not getting all of the [global] options defaulted from. 1083951292Sobrien 1084051292SobrienFri Jul 18 00:45:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1084151292Sobrien 1084251292Sobrien * amq/amq.c (main): fixed so that portmapper "ping" will only fail 1084351292Sobrien upon an RPC timeout 1084451292Sobrien 1084551292Sobrien * scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the 1084651292Sobrien amd/hlfsd process to kill. 1084751292Sobrien 1084851292Sobrien * amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to 1084951292Sobrien determine how to avoid df from seeing amd's toplvl mounts. Moved 1085051292Sobrien from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd 1085151292Sobrien is hidden from df. 1085251292Sobrien (mount_toplvl): fixed df types for irix. 1085351292Sobrien 1085451292SobrienThu Jul 17 21:59:45 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 1085551292Sobrien 1085651292Sobrien * amq/amq.c (main): fixed bug that caused the 5 second timeout for 1085751292Sobrien TLI amq using udp to be ignored. 1085851292Sobrien (main): if amq cannot contact remote host's portmapper within 5 1085951292Sobrien seconds, timeout and fail faster than the default longer timeout 1086051292Sobrien (this is for non-TLI systems). 1086151292Sobrien 1086251292SobrienThu Jul 17 17:08:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1086351292Sobrien 1086451292Sobrien * amq/amq.c (get_secure_amd_client): if amq cannot contact 1086551292Sobrien remote host's portmapper within 5 seconds, timeout and fail faster 1086651292Sobrien than the default TLI timeout of over 4 minutes. 1086751292Sobrien 1086851292Sobrien * amd/am_ops.c (ops_showfstypes): added styles for new bsd44 1086951292Sobrien file systems nullfs, unionfs, and umapfs. 1087051292Sobrien (ops_show1): cleanup code and and reuse this function. 1087151292Sobrien (vops): empty placeholders for nullfs, unionfs, and umapfs. 1087251292Sobrien 1087351292Sobrien * amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for 1087451292Sobrien bsd44 style file systems. 1087551292Sobrien 1087651292Sobrien * fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44 1087751292Sobrien sources. 1087851292Sobrien 1087951292Sobrien * amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid 1088051292Sobrien conflict with systems that define it in <sys/ioctl.h> and also 1088151292Sobrien define a conflicting one via lex. Newer versions of f/lex are ok. 1088251292Sobrien 1088351292SobrienWed Jul 16 00:17:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1088451292Sobrien 1088551292Sobrien * amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields 1088651292Sobrien acdirmin/max and acregmin/max only if they exist. 1088751292Sobrien 1088851292Sobrien * aux/configure.in: test for nfs_args fields acdirmin and 1088951292Sobrien acregmin. 1089051292Sobrien 1089151292SobrienTue Jul 15 17:24:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1089251292Sobrien 1089351292Sobrien * aux/configure.in: commented out checking for MNT2_GEN_OPT_* for 1089451292Sobrien "nondev" and commented back in checking for "nodev". This was a 1089551292Sobrien typo. 1089651292Sobrien 1089751292Sobrien * include/am_compat.h: more compatibility options: define "ro" 1089851292Sobrien mnttab option all the time. Define "overlay" as needed. Added 1089951292Sobrien more fillers of mnttab options (as per Daniel S. Riley 1090051292Sobrien <dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax, 1090151292Sobrien acregmin, noac, grpid, nosuid, and actimo. 1090251292Sobrien 1090351292Sobrien * libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as 1090451292Sobrien per dsr@mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up 1090551292Sobrien the same code for other options in struct opt_tab. 1090651292Sobrien 1090751292SobrienMon Jul 14 22:36:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1090851292Sobrien 1090951292Sobrien * amd/get_args.c (get_args): moved amd.conf file parsing to before 1091051292Sobrien the switching the default log/debug options. Suggested by 1091151292Sobrien dsr@mail.lns.cornell.edu (Daniel S. Riley). 1091251292Sobrien 1091351292Sobrien * aux/update_build_version: new script to record the build version 1091451292Sobrien of amd, along with the rest of the info thet comes up with amd -v. 1091551292Sobrien 1091651292SobrienSun Jul 13 00:30:24 1997 Erez Zadok <ezk@decca.damtp.cam.ac.uk> 1091751292Sobrien 1091851292Sobrien * aux/macros/os_cflags.m4: new macro, to add additional 1091951292Sobrien compilation options (also used during configuration), based on the 1092051292Sobrien OS and the compiler. Used for solaris-2.6, osf, and irix6. 1092151292Sobrien 1092251292SobrienFri Jul 11 10:15:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1092351292Sobrien 1092451292Sobrien * amd/conf_tok.l, conf_parse.y: allow values of keys to include 1092551292Sobrien white spaces, if they are double-quoted (key="some value") 1092651292Sobrien 1092751292Sobrien * amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes 1092851292Sobrien of hesiod from Danny Braniss <danny@cs.huji.ac.il>. 1092951292Sobrien 1093051292SobrienFri Jul 11 02:16:06 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1093151292Sobrien 1093251292Sobrien ******************************************************************* 1093351292Sobrien *** Released am-utils-6.0a7 *** 1093451292Sobrien ******************************************************************* 1093551292Sobrien 1093651292SobrienThu Jul 10 12:19:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1093751292Sobrien 1093851292Sobrien * include/am_defs.h: fill in extern definition of innetgr() in 1093951292Sobrien case system headers don't. 1094051292Sobrien 1094151292Sobrien * aux/macros/path_prog_lex.m4 aux/configure.in: using macros that 1094251292Sobrien will show the full pathname to yacc/bison and f/lex. Some systems 1094351292Sobrien have older or bad versions of those and this way the user will 1094451292Sobrien know for sure what is being invoked. 1094551292Sobrien 1094651292Sobrien * tasks: file populated with todo items. 1094751292Sobrien 1094851292Sobrien * scripts/amd2ldif.in: Script to convert amd maps to plain text 1094951292Sobrien LDAP object files. Contributed by Leif Johansson 1095051292Sobrien <leifj@matematik.su.se>. 1095151292Sobrien 1095251292Sobrien * aux/config.guess: added recognition for sun3's running 4.2bsd, 1095351292Sobrien from Tom Schmidt <tschmidt@micron.com>. Fixed one small typo. 1095451292Sobrien 1095551292Sobrien * amd/conf.c: several variables that were local to a map, were 1095651292Sobrien also added to [global], where they apply to all maps. Each map 1095751292Sobrien can then individually override those defaults. Flags 1095851292Sobrien affected: browsable_dirs and mount_type. Options affected: 1095951292Sobrien map_type, map_options, and search_path. 1096051292Sobrien 1096151292Sobrien * amd/amd.h: eliminated several global flags each of which took an 1096251292Sobrien int, in favor of one global flags variable used as a bit field. 1096351292Sobrien 1096451292Sobrien * amd/amd.c (init_global_options): moved all global variables into 1096551292Sobrien a single struct amu_global_options, so it is easier to add new 1096651292Sobrien ones and/or identify existing ones. 1096751292Sobrien 1096851292Sobrien * amd/get_args.c (get_args): removed unused amd -m option. 1096951292Sobrien 1097051292Sobrien * amd/conf.c (gopt_cluster): added new amd.conf option for cluster 1097151292Sobrien name, same as amd -C. 1097251292Sobrien 1097351292Sobrien * amd/info_ldap.c: LDAP info map functions from Leif Johansson 1097451292Sobrien <leifj@matematik.su.se>. 1097551292Sobrien 1097651292Sobrien * amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global 1097751292Sobrien amd.conf options for ldap_base and ldap_hostports. 1097851292Sobrien 1097951292Sobrien * amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test 1098051292Sobrien if the current host is in the ARG host netgroup. 1098151292Sobrien 1098251292Sobrien * aux/configure.in: some systems replaced dbm in libc with GNU's 1098351292Sobrien libgdbm, so check for libgdbm, but only if dbm_open is not in 1098451292Sobrien libc already. This was a recommendation from Tom Schmidt 1098551292Sobrien <tschmidt@micron.com>. 1098651292Sobrien 1098751292Sobrien * conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3 1098851292Sobrien completed. 1098951292Sobrien 1099051292SobrienWed Jul 9 18:14:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1099151292Sobrien 1099251292Sobrien * port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS 1099351292Sobrien V.3. 1099451292Sobrien 1099551292SobrienTue Jul 8 17:35:07 1997 Erez Zadok <ezk@elk.mcl.cs.columbia.edu> 1099651292Sobrien 1099751292Sobrien * port to i386-unknown-freebsd3.0 done and working. Includes NFS 1099851292Sobrien V.3. 1099951292Sobrien 1100051292Sobrien * aux/macros/check_nfs_fh_dref.m4: freebsd3 should use 1100151292Sobrien file handle dereferencing style similar to freebsd22. 1100251292Sobrien 1100351292Sobrien * include/am_defs.h: need to include <net/if_var.h> before 1100451292Sobrien <netinet/if_ether.h> on freebsd3. 1100551292Sobrien 1100651292Sobrien * conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions 1100751292Sobrien for freeBSD 3.0. 1100851292Sobrien 1100951292SobrienTue Jul 8 16:53:41 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 1101051292Sobrien 1101151292Sobrien * amd/info_nis.c (nis_reload): cast nis' callback function so 1101251292Sobrien picky compilers won't complain. 1101351292Sobrien 1101451292Sobrien * libamu/xdr_mountres3.c (xdr_mountres3): make sure this function 1101551292Sobrien gets compiled only if the system has NFS V3 and does not have 1101651292Sobrien xdr_mountres3. 1101751292Sobrien 1101851292SobrienTue Jul 8 12:42:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1101951292Sobrien 1102051292Sobrien * COPYING: put in some legal stuff in this file. 1102151292Sobrien 1102251292SobrienMon Jul 7 19:10:44 1997 Erez Zadok <ezk@prometheus.soscorp.com> 1102351292Sobrien 11024174294Sobrien * NFS V3 now works under Irix5, thanks to patches from 1102551292Sobrien Andreas Stolcke <stolcke@speech.sri.com>. 1102651292Sobrien 1102751292Sobrien * conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5 1102851292Sobrien version and an irix6 version, since irix5's NFS V3 code is broken 1102951292Sobrien and hacky. 1103051292Sobrien 1103151292Sobrien * amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer 1103251292Sobrien sizes for some hesiod queries. Patch from Danny Braniss 1103351292Sobrien <danny@cs.huji.ac.il>. 1103451292Sobrien 1103551292SobrienMon Jul 7 19:04:14 1997 Erez Zadok <ezk@glory.soscorp.com> 1103651292Sobrien 1103751292Sobrien * amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3. 1103851292Sobrien 1103951292SobrienSun Jul 6 14:22:24 1997 Erez Zadok <ezk@glory.soscorp.com> 1104051292Sobrien 1104151292Sobrien * aux/{configure.in,acconfig.h}: added checks for struct 1104251292Sobrien nfs_args's fields proto and sotype (bsdi3). 11043174294Sobrien 1104451292Sobrien * amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to 1104551292Sobrien nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field 1104651292Sobrien to SOCK_STREAM or SOCK_DGRAM. 1104751292Sobrien 1104851292Sobrien * aux/macros/check_mount_style.m4: add case for bsdi3. 1104951292Sobrien 1105051292Sobrien * amd/info_hesiod.c: got hesiod support for bsdi3. 1105151292Sobrien 1105251292SobrienSun Jul 6 11:14:47 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1105351292Sobrien 1105451292Sobrien * aux/configure.in: look for hesiod on libc (bsdi3) 1105551292Sobrien 1105651292Sobrien * amd/get_args.c (get_args): reformat usage so it fits in 80 1105751292Sobrien columns. 1105851292Sobrien 1105951292Sobrien * scripts/ctl-amd.in: changed directory name for optional tftpboot 1106051292Sobrien map to /tftpboot/.amd. 1106151292Sobrien 1106251292SobrienSat Jul 5 17:46:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1106351292Sobrien 1106451292Sobrien ******************************************************************* 1106551292Sobrien *** Released am-utils-6.0a6 *** 1106651292Sobrien ******************************************************************* 1106751292Sobrien 1106851292SobrienSat Jul 5 03:17:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1106951292Sobrien 1107051292Sobrien * scripts/ctl-amd.in: include -T tag for tftpboot. 1107151292Sobrien 1107251292Sobrien * new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code 1107351292Sobrien is broken and needs work on the specific nfs_args that irix5 uses 1107451292Sobrien for V3 mounts. 1107551292Sobrien 1107651292SobrienSat Jul 5 01:44:25 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1107751292Sobrien 1107851292Sobrien * amd/get_args.c (get_args): new options amd -T tag. A map with 1107951292Sobrien tag=foo matching the -T tag will be processed. All untagged maps 1108051292Sobrien get processed all the time. 1108151292Sobrien 1108251292SobrienFri Jul 4 16:19:26 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1108351292Sobrien 1108451292Sobrien * aux/configure.in: need to check for strcasecmp in libucb (ncr2) 1108551292Sobrien 1108651292Sobrien * aux/macros/check_os_libs.m4: a new macro to set the usage of 1108751292Sobrien libnsl and libsocket based on the OS. 1108851292Sobrien 1108951292Sobrien * libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is 1109051292Sobrien defined (problem on osf4). 1109151292Sobrien 1109251292Sobrien * conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers. 1109351292Sobrien 1109451292Sobrien * include/am_defs.h, aux/macros/try_compile_nfs.m4, 1109551292Sobrien aux/macros/mount_headers.m4: do include <sys/proc.h> because it 1109651292Sobrien failes on irix5. Rather, put in the individual 1109751292Sobrien conf/nfs_prot/nfs_prot_*.h headers. 1109851292Sobrien 1109951292Sobrien * amd/conf.c: AIX3 doesn't like strdup() being passed a constant 1110051292Sobrien char*, so cast all strdup()'s args to a non-const char*. 1110151292Sobrien 1110251292Sobrien * amd/mapc.c (root_newmap): don't try to strdup only a "const 1110351292Sobrien char *". 1110451292Sobrien 1110551292SobrienFri Jul 4 15:47:10 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 1110651292Sobrien 1110751292Sobrien * conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and 1110851292Sobrien sys/errno.h. 1110951292Sobrien 1111051292SobrienThu Jul 3 17:49:00 1997 Erez Zadok <ezk@prometheus.soscorp.com> 1111151292Sobrien 1111251292Sobrien * made sure am-utils compiles, links, and runs properly on Irix 1111351292Sobrien 6.2 using "cc -32 -Wl,-woff," 1111451292Sobrien 1111551292Sobrien * aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12 1111651292Sobrien AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add 1111751292Sobrien them to $LIBS. 1111851292Sobrien 1111951292Sobrien * aux/configure.in: some cleanup of which libraries are needed. 1112051292Sobrien Espectially ensure that libnsl is included only on Solaris, where 1112151292Sobrien so far it is the only system on which it is absolutely necessary. 11122174294Sobrien Also no longer need to include libc explicitly. 1112351292Sobrien 1112451292Sobrien * amd/amd.c,wire-test/wire-test.c (main): convert IP address to 1112551292Sobrien network-long order before printing it. 1112651292Sobrien 1112751292Sobrien * wire-test/wire-test.c (main): also check and report on the IP 1112851292Sobrien address of the local host, since some systems have bad versions of 1112951292Sobrien get_myaddress, or ones that conflict with other versions in 1113051292Sobrien multiple libraries (SunOS 4 and Irix especially). 1113151292Sobrien 1113251292SobrienWed Jul 2 18:19:02 1997 Erez Zadok <ezk@starblazers.soscorp.com> 1113351292Sobrien 1113451292Sobrien * scripts/ctl-amd.in: don't use full pathname so killproc() works 11135174294Sobrien better. Also run bsd44 and irix style ps programs. 1113651292Sobrien 1113751292Sobrien * aux/macros/check_lib_funcs.m4: bug fixed: used to define usage 1113851292Sobrien of library no matter if it was found or not. 1113951292Sobrien 1114051292SobrienWed Jul 2 02:11:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1114151292Sobrien 1114251292Sobrien * aux/macros/check_mnt2_gen_opt.m4: turned back on the checking 1114351292Sobrien for M_* macros, but ensure that <sys/stream.h> is not included at 1114451292Sobrien all so it won't conflict with other M_* macros. 1114551292Sobrien 1114651292SobrienTue Jul 1 21:16:51 1997 Erez Zadok <ezk@mako.cs.columbia.edu> 1114751292Sobrien 1114851292Sobrien * conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on 1114951292Sobrien irix should be "spec" (host:/path), not the dir of the mnt point. 1115051292Sobrien 1115151292Sobrien * amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors 1115251292Sobrien fixed. If on, it essentially ignored the setting in a 1115351292Sobrien selector-controlled /defaults if there were 2 or more entries in it. 1115451292Sobrien 1115551292SobrienTue Jul 1 12:23:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1115651292Sobrien 1115751292Sobrien * scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process 1115851292Sobrien using BSD style ps, then try SVR4 style ps. 1115951292Sobrien 1116051292Sobrien * include/am_utils.h (amuDebug): renamed Debug macro to amuDebug 1116151292Sobrien etc., to avoid conflicts with similar named macros in <ldap.h>. 1116251292Sobrien 1116351292Sobrien * aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf 1116451292Sobrien support needed for LDAP. Now the code has to be written mostly in 1116551292Sobrien amd/info_ldap.c. 1116651292Sobrien 1116751292Sobrien * Included additional patches from Andreas Stolcke 1116851292Sobrien <stolcke@speech.sri.com> to support using the best possible 1116951292Sobrien combination of NFS version (2,3) and protocol (udp,tcp) for any 1117051292Sobrien given host, since it appears that some Irix versions have NFS V3, 1117151292Sobrien but do not support TCP. 1117251292Sobrien 1117351292Sobrien * scripts/ctl-amd.in: updated amd control script to look for and 1117451292Sobrien use amd.conf file. 1117551292Sobrien 1117651292SobrienTue Jul 1 00:28:23 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1117751292Sobrien 1117851292Sobrien * amd/mapc.c (mapc_create): now, each map in the amd.conf can be 1117951292Sobrien initialized off of a different type, or default to cycling through 1118051292Sobrien all maps until one of them matches. 1118151292Sobrien 1118251292SobrienMon Jun 30 20:49:13 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1118351292Sobrien 1118451292Sobrien * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done. 1118551292Sobrien if browsable_dirs=yes is set in the map section in amd.conf, that 1118651292Sobrien map will return all entries back to a readdir(2). 1118751292Sobrien 1118851292SobrienSun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1118951292Sobrien 1119051292Sobrien * rudimentary amd.conf file support included. You may even 1119151292Sobrien override things like os=sos5, to get "backwards" compatibility with 1119251292Sobrien upl102. 1119351292Sobrien 1119451292SobrienSat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1119551292Sobrien 1119651292Sobrien * amd/conf.c: new file to process amd.conf file. 1119751292Sobrien 1119851292Sobrien * amd/get_args.c (get_args): new options -H to print help. 1119951292Sobrien 1120051292Sobrien * moved enable_default_selectors to be amd.conf controlled, and 1120151292Sobrien not compiler controlled. 1120251292Sobrien 1120351292Sobrien * amd/get_args.c (get_args): new options -F <conf-file> to parse an 1120451292Sobrien amd configuration file. 1120551292Sobrien 1120651292SobrienWed Jun 25 23:15:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1120751292Sobrien 1120851292Sobrien * converted all files that used strcmp() == 0 or != 0 to using 1120951292Sobrien the STREQ() macro. 1121051292Sobrien 1121151292SobrienMon Jun 23 22:31:14 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1121251292Sobrien 1121351292Sobrien * aux/macros/check_lib_funcs.m4: new M4 macro that can be used to 1121451292Sobrien search for any number of functions in any given library. 1121551292Sobrien 1121651292SobrienMon Jun 23 01:04:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1121751292Sobrien 1121851292Sobrien * amd/mapc.c: Included patch from Leif Johansson 1121951292Sobrien <leifj@matematik.su.se> to ensure that systems without an RE 1122051292Sobrien library can compile. 1122151292Sobrien 1122251292Sobrien * libamu/mount_fs.c (mount_fs): Included patch from Andreas 1122351292Sobrien Stolcke <stolcke@speech.sri.com>, to ensure that mount options on 1122451292Sobrien table are properly delimited by a comma. 1122551292Sobrien 1122651292Sobrien * amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas 1122751292Sobrien Stolcke <stolcke@speech.sri.com>, to allow users to override the 1122851292Sobrien proto= and vers= mount options. 1122951292Sobrien 1123051292SobrienSun Jun 22 01:00:11 1997 Eric Dana (edana@ncr2.bgs.com) 1123151292Sobrien 1123251292Sobrien * conf/nfs_prot/nfs_prot_svr4.h: port completed to 1123351292Sobrien i486-ncr-sysv4.3.03. Assorted source cleanups done. 1123451292Sobrien 1123551292Sobrien * include/am_defs.h, aux/macros/mount_headers.m4: don't include 1123651292Sobrien mnttab.h if sys/mnttab.h was already included, because on ncr2, 1123751292Sobrien they contain conflicting entries for struct mnttab. 1123851292Sobrien 1123951292SobrienSat Jun 21 23:52:15 1997 Eric Dana (edana@ncr2.bgs.com) 1124051292Sobrien 1124151292Sobrien * aux/macros/check_nfs_prot_headers.m4: added support for ncr2. 1124251292Sobrien 1124351292SobrienFri Jun 20 06:14:17 1997 Erez Zadok <ezk> 1124451292Sobrien 1124551292Sobrien * amd/*.c: lots of 64-bit "ugly" ports like casts to long ints. 1124651292Sobrien 1124751292Sobrien * aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because 1124851292Sobrien on DU-4.0 it is better than the next one to be picked (nfsv2fh_t). 1124951292Sobrien 1125051292SobrienWed Jun 18 18:59:49 1997 Erez Zadok <ezk@defiant.soscorp.com> 1125151292Sobrien 1125251292Sobrien * aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for 1125351292Sobrien nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is 1125451292Sobrien better. 1125551292Sobrien 1125651292SobrienTue Jun 10 17:06:58 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1125751292Sobrien 1125851292Sobrien * amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is 1125951292Sobrien NULL, set the maxlen and len fields in netbuf to zero. 1126051292Sobrien 1126151292SobrienWed May 28 22:52:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1126251292Sobrien 1126351292Sobrien * scripts/fix-amd-map.in (name): replace all matching patterns on 1126451292Sobrien line. 1126551292Sobrien 1126651292SobrienSun May 25 19:33:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1126751292Sobrien 1126851292Sobrien ******************************************************************* 1126951292Sobrien *** Released am-utils-6.0a5 *** 1127051292Sobrien ******************************************************************* 1127151292Sobrien 1127251292SobrienSun May 25 13:37:24 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1127351292Sobrien 1127451292Sobrien * amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service 1127551292Sobrien procedure now returns the full string that amd -v returns. 1127651292Sobrien 1127751292Sobrien * amd/get_args.c (get_version_string): new function to return 1127851292Sobrien complete version/info string so it could be used more flexibly. 1127951292Sobrien 1128051292Sobrien * amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list 1128151292Sobrien of Fs types into a string buffer, rather than a FILE*. 1128251292Sobrien 1128351292Sobrien * amd/mapc.c (mapc_showtypes): put the list of map types into a 1128451292Sobrien string buffer, rather than a FILE*. 1128551292Sobrien 1128651292SobrienSun May 25 01:25:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1128751292Sobrien 1128851292Sobrien * amd/get_args.c (get_args): amd -v also prints user who built 1128951292Sobrien amd, hostname built on, and date of configuration. 1129051292Sobrien 1129151292SobrienSat May 24 13:40:50 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1129251292Sobrien 1129351292Sobrien * scripts/lostaltmail.conf-sample: sample lostaltmail 1129451292Sobrien configuration file. 1129551292Sobrien 1129651292Sobrien * scripts/lostaltmail.in: new script lostaltmail used to redeliver 1129751292Sobrien "lost" mail that hlfsd redirected to a temp location because the 1129851292Sobrien primary home file system of the user was full. 1129951292Sobrien 1130051292Sobrien * scripts/amd2sun.in: new script amd2sun. Used to convert Sub 1130151292Sobrien automount maps to amd maps. 1130251292Sobrien 1130351292Sobrien * scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start, 1130451292Sobrien stop, or restart hlfsd. 11305174294Sobrien 1130651292Sobrien * scripts/expn.1: man page for expn command. 1130751292Sobrien 1130851292Sobrien * scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or 1130951292Sobrien restart amd. 1131051292Sobrien 1131151292Sobrien * scripts/expn.in: new script expn. Actually taken from David 1131251292Sobrien Muir Sharnoff <muir@idiom.com>. Used by hlfsd's mail re-delivery 1131351292Sobrien script. 1131451292Sobrien 1131551292Sobrien * scripts/wait4amd.in: new script wait4amd added. Waits for amd 1131651292Sobrien to come up on a host, and then runs a command (rsh $hostname by 1131751292Sobrien default). 1131851292Sobrien 1131951292Sobrien * scripts/Makefile.am: new directory now holds all shell/perl 1132051292Sobrien scripts that belong to am-utils. 1132151292Sobrien 1132251292Sobrien * conf/mount/mount_linux.c (parse_opts): new parser for 1132351292Sobrien linux-specific mounts. Handles fs-type specific mount-options 1132451292Sobrien correctly. Currently implemented: msdos, iso9660. 1132551292Sobrien 11326174294Sobrien * amd/ops_pcfs.c (pcfs_ops): don't timeout pcfs mounts by default 1132751292Sobrien (fix for linux). 1132851292Sobrien 1132951292Sobrien * amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default 1133051292Sobrien (fix for linux). 1133151292Sobrien 1133251292Sobrien * amd/mapc.c (make_entry_chain): fixed bug that resulted in amd 1133351292Sobrien core dumps upon "ls" of a mount point; an invalid pointer was 1133451292Sobrien being returned and dereferenced. 1133551292Sobrien 1133651292Sobrien * port to Linux sparc working! 1133751292Sobrien 1133851292Sobrien * hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if 1133951292Sobrien failed to write test file, or else the fd will leak. 1134051292Sobrien 1134151292SobrienSun May 18 00:42:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1134251292Sobrien 1134351292Sobrien * amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp() 1134451292Sobrien instead of strcmp(). 1134551292Sobrien 1134651292Sobrien * Port to Digital Unix 4.0 (OSF) done. 1134751292Sobrien 1134851292Sobrien * hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts 1134951292Sobrien with dirname() function in <string.h> on OSF systems. 1135051292Sobrien 1135151292Sobrien * fsinfo/fsi_util.c (set_ether_if): take out extern definition of 1135251292Sobrien inet_addr(). It should come from <arpa/inet.h> instead. 1135351292Sobrien 1135451292Sobrien * conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs. 1135551292Sobrien 1135651292Sobrien * include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to 1135751292Sobrien avoid conflicts with DU 4.0 system header. 1135851292Sobrien 1135951292SobrienThu May 15 22:49:12 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 1136051292Sobrien 1136151292Sobrien * libamu/mount_fs.c (mount_fs): pass along NFS version so I can 1136251292Sobrien determine if to include additional options in the mount table file 1136351292Sobrien entry (such as proto=tcp, and vers=3). 1136451292Sobrien 1136551292SobrienThu May 15 00:42:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1136651292Sobrien 1136751292Sobrien * libamu/mount_fs.c (mount_fs): include NFS version number in the 1136851292Sobrien mount table options, as well as proto={tcp,udp}. 1136951292Sobrien 1137051292SobrienWed May 14 14:30:19 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1137151292Sobrien 1137251292Sobrien * NFS V3 code ported to most other systems, so it compiles for V2 1137351292Sobrien and V3 NFS systems. 1137451292Sobrien 1137551292Sobrien * NFS VERSION 3 support, first pass. Working for Solaris and 1137651292Sobrien using TCP. 1137751292Sobrien 1137851292SobrienSun May 11 01:14:29 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1137951292Sobrien 1138051292Sobrien * amq/amq.c: many newline characters were missing from various 1138151292Sobrien stderr printfs. 1138251292Sobrien 1138351292SobrienSat May 10 13:09:06 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1138451292Sobrien 1138551292Sobrien * conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for 1138651292Sobrien Solaris, which include NFS V3 support. 1138751292Sobrien 1138851292Sobrien * conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers. 1138951292Sobrien 1139038494Sobrien * conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS 1139138494Sobrien protocol version while getting a mount client. 1139238494Sobrien 1139338494Sobrien * amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types, 1139438494Sobrien file handle size, and proper file handle based on the correct NFS 1139538494Sobrien version number. 1139638494Sobrien 1139738494Sobrien * conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under 1139838494Sobrien Solaris and other SVR4 systems. 1139938494Sobrien 1140038494Sobrien * amd/ops_nfs.c: store NFS file handle version and version 1140138494Sobrien specific handle in struct fh_cache. 1140238494Sobrien (got_nfs_fh): pick the correct RPC reply based on the NFS version 1140338494Sobrien of the server. 1140438494Sobrien (prime_nfs_fhandle_cache): figure out the right NFS file handle 1140538494Sobrien for a node, but now include NFS protocol version information. 1140638494Sobrien (call_mountd): set the correct version for the mount protocol, 1140738494Sobrien based on the NFS protocol version. 1140838494Sobrien (nfs_init): use the NFS protocol generic structure 1140938494Sobrien am_nfs_handle_t. 1141038494Sobrien 1141138494Sobrien * include/am_utils.h: new structure am_nfs_handle_t to contain all 1141238494Sobrien possible versions of NFS file handles. 1141338494Sobrien 1141438494Sobrien * amd/srvr_nfs.c (start_ping): ping program performs NFS version 1141538494Sobrien specific pings. 1141638494Sobrien (recompute_portmap): figure out the correct portmap version mount. 1141738494Sobrien (nfs_keepalive): call start_ping() with the correct NFS version. 1141838494Sobrien (find_nfs_srvr): if mount option "vers=" is given, use it. Get 1141938494Sobrien the NFS server version and verify that it is up. 1142038494Sobrien 1142138494Sobrien * conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new 1142238494Sobrien function to find the best NFS version for a particular host. 1142338494Sobrien 1142438494Sobrien * libamu/amu.h: determine what is the highest version of NFS we 1142538494Sobrien should try. 1142638494Sobrien 1142738494Sobrien * include/am_utils.h (NFS_VERSION3): added definition for NFS V3 1142838494Sobrien protocol number. 1142938494Sobrien Added field fs_version to struct fserver, so we can now store the 1143038494Sobrien server protocol version. 1143138494Sobrien 1143238494SobrienFri May 9 01:09:45 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1143338494Sobrien 1143438494Sobrien * aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into 1143538494Sobrien underscores too, so I can test for sub-fields. 1143638494Sobrien 1143738494Sobrien * libamu/wire.c: use test that checks for sub-fields of struct 1143838494Sobrien ifreq. 1143938494Sobrien 1144038494SobrienSat May 6 10:20:17 2000 Erez Zadok <ezk@glory.soscorp.com> 1144138494Sobrien 1144238494Sobrien * port to BSD/OS 3.0 completed! Many xdr_ functions were broken 1144338494Sobrien into smaller files. M4 macros fixed to test for existence of 1144438494Sobrien file systems using getvfsbyname(). 1144538494Sobrien 1144638494Sobrien * amd/sched.c (sigchld): signal handler must waitpid() for all 1144738494Sobrien possible children. 1144838494Sobrien 1144938494Sobrien * hlfsd/homedir.c: signal handler must waitpid() for all possible 11450174294Sobrien children. 1145138494Sobrien 1145238494Sobrien * aux/macros/check_restartable_signals.m4: new macro to determine 1145338494Sobrien if need to reinstall signal handlers per OS is better than trying 1145438494Sobrien to figure these out based on system macros. 1145538494Sobrien 1145638494SobrienFri May 5 19:23:28 2000 Erez Zadok <ezk@glory.soscorp.com> 1145738494Sobrien 1145838494Sobrien * amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number. 1145938494Sobrien 1146038494Sobrien * amd/ops_afs.c (mount_toplvl): set nfs_args_t version number. 1146138494Sobrien 1146238494Sobrien * amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport 1146338494Sobrien (must be supplied for bsdi 3.0) 1146438494Sobrien 1146538494Sobrien * libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and 1146638494Sobrien associated new macro) for determining the right way to compute the 1146738494Sobrien size of the interface structure. 1146838494Sobrien 1146938494SobrienFri Apr 11 15:56:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1147038494Sobrien 1147138494Sobrien * aux/configure.in: need to include libc before libnsl if 1147238494Sobrien get_myaddress() is available because on irix libnsl has a buggy 1147338494Sobrien get_myaddress(). 1147438494Sobrien 1147538494Sobrien * include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined 1147638494Sobrien on Irix 6 (an SVR4 variant) 1147738494Sobrien 1147838494SobrienThu Mar 27 02:28:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1147938494Sobrien 1148038494Sobrien ******************************************************************* 1148138494Sobrien *** Released am-utils-6.0a4 *** 1148238494Sobrien ******************************************************************* 1148338494Sobrien 1148438494SobrienWed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1148538494Sobrien 1148638494Sobrien * amd/amq_subr.c (ok_security): turned off insecure code unless 1148738494Sobrien user explicitly runs configure --enable-amq-mount. 1148838494Sobrien 1148938494Sobrien * hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service(). 1149038494Sobrien 1149138494Sobrien * amd/nfs_start.c (mount_automounter): use code that separately 1149238494Sobrien creates the NFS and the amq service. Register tcp and udp 1149338494Sobrien services for amd. 1149438494Sobrien 1149538494Sobrien * conf/transp/transp_*.c (create_amq_service): new function to 1149638494Sobrien separately create the amq service for amd. Simplified prototypes 1149738494Sobrien for create_nfs_service(). 1149838494Sobrien 1149938494SobrienWed Mar 19 20:40:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1150038494Sobrien 1150138494Sobrien ******************************************************************* 1150238494Sobrien *** Released am-utils-6.0a3 *** 1150338494Sobrien ******************************************************************* 1150438494Sobrien 1150538494SobrienWed Mar 19 17:49:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1150638494Sobrien 1150738494Sobrien * new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots 1150838494Sobrien of small changes to support these two. 1150938494Sobrien 1151038494SobrienWed Mar 19 14:33:30 1997 Erez Zadok <ezk@grande.cs.columbia.edu> 1151138494Sobrien 1151238494Sobrien * conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist() 1151338494Sobrien should run if MOUNT_TABLE_ON_FILE, not otherwise. 1151438494Sobrien 1151538494SobrienMon Mar 17 22:02:43 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1151638494Sobrien 1151738494Sobrien * hlfsd/hlfsd.c (main): fill in fhsize field if exists 1151838494Sobrien (freebsd-2.2). 1151938494Sobrien 1152038494Sobrien * amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if 1152138494Sobrien exists (freebsd-2.2). 1152238494Sobrien 1152338494SobrienSat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1152438494Sobrien 1152538494Sobrien * new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher 1152638494Sobrien changed the filehandle type in struct nfs_args from nfsv2fh_t to 1152738494Sobrien u_char. 1152838494Sobrien 1152938494SobrienSat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1153038494Sobrien 11531174294Sobrien * SHARED LIBRARIES: too many changes to list individually. Now, 1153238494Sobrien libamu can be built as a shared library, and other programs link 1153338494Sobrien with it. 1153438494Sobrien 1153538494SobrienTue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1153638494Sobrien 1153738494Sobrien * aux/macros/opt_shared.m4: new macro for setting options for 1153838494Sobrien building shared am-utils libraries. 1153938494Sobrien 1154038494SobrienSun Mar 9 19:17:46 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1154138494Sobrien 1154238494Sobrien * fixmount/fixrmtab: cleaned up the script. 1154338494Sobrien 1154438494Sobrien * fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that 1154538494Sobrien fixrmtab gets distributed too. 1154638494Sobrien 1154738494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP. 1154838494Sobrien Added extern for xdr_mountlist(). 1154938494Sobrien 1155038494Sobrien * aux/configure.in: trimmed down many tests for MNT2_GEN_OPT, 1155138494Sobrien MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in 1155238494Sobrien the sources. 1155338494Sobrien 1155438494SobrienSat Mar 8 00:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1155538494Sobrien 1155638494Sobrien * fixmount/hlfsd ported to bsd44, hpux, and linux systems. 1155738494Sobrien 1155838494Sobrien * aux/macros/check_fixmount_style.m4: add check for bsd44 systems. 1155938494Sobrien 1156038494Sobrien * conf/fixmount/fixmount_default.c: use lockf() if flock() is 1156138494Sobrien unavailable. 1156238494Sobrien 1156338494Sobrien * include/am_defs.h: include <string.h> even if don't have 1156438494Sobrien STDC_HEADERS defined (sunos4). 1156538494Sobrien (seteuid): define seteuid() to be setresuid() for systems that 1156638494Sobrien have but not the other (hpux). 1156738494Sobrien 1156838494Sobrien * aux/macros/check_extern.m4: test should include <strings.h>. 1156938494Sobrien 1157038494SobrienTue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1157138494Sobrien 1157238494Sobrien * lib/xutil.c (debug_option): moved from amd/getargs.c to this 1157338494Sobrien more proper file. 1157438494Sobrien 1157538494Sobrien * include/am_utils.h: put in structure for debug options, for all 1157638494Sobrien progams to use. 1157738494Sobrien 1157838494Sobrien * amd/get_args.c: moved structure for debug options out. 1157938494Sobrien 1158038494SobrienSun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1158138494Sobrien 1158238494Sobrien * ported fixmount. 1158338494Sobrien 1158438494Sobrien * lib/ualarm.c: replacement function for systems that don't have a 1158538494Sobrien ualarm(). 1158638494Sobrien 1158738494Sobrien * ported fsinfo. 1158838494Sobrien 1158938494SobrienSun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1159038494Sobrien 1159138494Sobrien * ported mk-amd-map. 1159238494Sobrien 1159338494Sobrien * buildall: added -K option to buildall, to run mkconf. 1159438494Sobrien 1159538494SobrienFri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1159638494Sobrien 1159738494Sobrien ******************************************************************* 1159838494Sobrien *** Released am-utils-6.0a2 *** 1159938494Sobrien ******************************************************************* 1160038494Sobrien 1160138494SobrienThu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1160238494Sobrien 1160338494Sobrien * all *.[hcyl] files: add copyright line. 1160438494Sobrien 1160538494Sobrien * aux/macros/check_mount_type.m4: test for mount type for 1160638494Sobrien linux-like systems, by checking for loadable or statically linked 1160738494Sobrien kernel filesystem modules. 1160838494Sobrien 1160938494Sobrien * aux/macros/check_mnttab_type.m4: test for mount table entry 1161038494Sobrien for linux-like systems, by checking for loadable or statically 1161138494Sobrien linked kernel filesystem modules. 1161238494Sobrien 1161338494Sobrien * aux/configure.in: pcfs filesystems can use vfat type (linux) 1161438494Sobrien 1161538494Sobrien * aux/macros/check_fs_mntent.m4: test for filesystem existence for 1161638494Sobrien linux-like systems, by checking for loadable or statically linked 1161738494Sobrien kernel filesystem modules. 1161838494Sobrien 1161938494Sobrien * conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX 1162038494Sobrien 9.0 header files. This should be removed when HPUX 9.0 is deemed 1162138494Sobrien defunct. 1162238494Sobrien 1162338494Sobrien * aux/acconfig.h: set an undefined variable for having an extern 1162438494Sobrien to clnt_sperrno(). 1162538494Sobrien 1162638494Sobrien * include/am_defs.h: define extern for clnt_sperrno() if needed. 1162738494Sobrien 1162838494Sobrien * aux/configure.in: test for extern clnt_sperrno(). 1162938494Sobrien 1163038494Sobrien * aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is 1163138494Sobrien similar to irix. 1163238494Sobrien 1163338494Sobrien * aux/macros/check_mount_style.m4: use mount helper on HPUX. 1163438494Sobrien 1163538494Sobrien * aux/macros/check_mtype_type.m4: hpux's mount type is a char*, 1163638494Sobrien not integer (but may be mapped to one later). 1163738494Sobrien 1163838494Sobrien * conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header 1163938494Sobrien files. They have mount(2) and vfsmount(2) which don't take same 1164038494Sobrien arguments, and they have string mount types MNTTYPE_* as well as 1164138494Sobrien integer types MOUNT_*. So I need this new mount function to map 1164238494Sobrien from string types to integer types for the vfsmount() function. 1164338494Sobrien 1164438494Sobrien * conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling 1164538494Sobrien vfsmount(), call mount_hpux(). 1164638494Sobrien 1164738494SobrienThu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 1164838494Sobrien 1164938494Sobrien * lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if 1165038494Sobrien both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined. 1165138494Sobrien 1165238494SobrienThu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1165338494Sobrien 1165438494Sobrien * conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for 1165538494Sobrien hpux. 1165638494Sobrien 1165738494Sobrien * include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h. 1165838494Sobrien 1165938494Sobrien * aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h. 1166038494Sobrien 1166138494Sobrien * buildall: added ability to configure using other shells than 1166238494Sobrien /bin/sh, on those systems where /bin/sh is buggy or limited 1166338494Sobrien (HPUX). 1166438494Sobrien 1166538494Sobrien * aux/macros/struct_nfs_fh.m4: reinstated the macro but have it 1166638494Sobrien defined am_nfs_fh, and also test for plain typedef "nfs_fh". 1166738494Sobrien 1166838494Sobrien * aux/acconfig.h: #undef am_nfs_fh, which is being defined by a 1166938494Sobrien reinstated macro. 1167038494Sobrien 1167138494Sobrien * aux/configure.in: check for <nfs/export.h> 1167238494Sobrien 1167338494Sobrien * include/am_defs.h: include <nfs/export.h> (HPUX) if exists. 1167438494Sobrien 1167538494Sobrien * aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if 1167638494Sobrien exists. 1167738494Sobrien 1167838494Sobrien * aux/macros/mount_headers.m4 (define): removed some non-working 1167938494Sobrien (on HPUX) code that attempts to recreate the fhandle_t rather than 1168038494Sobrien load it up from system headers. Also added some NFS protocol 1168138494Sobrien header inclusion. include <nfs/export.h> (HPUX) if exists. 1168238494Sobrien 1168338494SobrienWed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 1168438494Sobrien 1168538494Sobrien * aux/macros/mount_headers.m4 (define): Use M4 changequote to 1168638494Sobrien ensure [] brackets are correctly used. 1168738494Sobrien 1168838494Sobrien * aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate 1168938494Sobrien multi-line M4 inclusions in []. 1169038494Sobrien 1169138494SobrienTue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1169238494Sobrien 1169338494Sobrien * conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if 1169438494Sobrien it exists. 1169538494Sobrien 1169638494Sobrien * aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new 1169738494Sobrien config.h macro for field f_fstypename of struct statfs. 1169838494Sobrien 1169938494Sobrien * aux/configure.in: testing for field f_fstypename field of struct 1170038494Sobrien statfs (NetBSD). 1170138494Sobrien 1170238494Sobrien * aux/acconfig.h: moved all of the "static" definitions out to a 1170338494Sobrien fixed file called include/am_defs.h. Added to all */Makefile.am 1170438494Sobrien files a dependency on am_defs.h. Created am_defs.h of course, and 1170538494Sobrien then added #include <amd_defs.h> to all of the source and header 1170638494Sobrien files that required it. 1170738494Sobrien 1170838494SobrienMon Feb 24 01:27:02 1997 Erez Zadok <ezk@defiant.soscorp.com> 1170938494Sobrien 1171038494Sobrien * aux/acconfig.h: two more externals for xdr functions that may be 1171138494Sobrien implemented by libamu. 1171238494Sobrien 1171338494Sobrien * conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR 1171438494Sobrien definitions. 1171538494Sobrien 1171638494SobrienSun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1171738494Sobrien 1171838494Sobrien * buildall (default): added -D option for turning on even stricker 1171938494Sobrien developer options. 1172038494Sobrien 1172138494Sobrien * */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to 1172238494Sobrien determine dependencies on optional NFS protocol headers. 1172338494Sobrien 1172438494Sobrien * aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed. 1172538494Sobrien 1172638494Sobrien * aux/macros/check_nfs_prot_header.m4: new test to determine what 11727174294Sobrien NFS protocol headers to use. 1172838494Sobrien 1172938494Sobrien * conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to 1173038494Sobrien complete missing system headers for NFS protocol definitions. 1173138494Sobrien 1173238494SobrienSun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 1173338494Sobrien 1173438494Sobrien * amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in 1173538494Sobrien #ifdef's as needed. 1173638494Sobrien 1173738494Sobrien * amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is 1173838494Sobrien suitable #ifdef'ed. 1173938494Sobrien 1174038494Sobrien * include/am_compat.h: a couple more mnttab options 1174138494Sobrien (timeo/retrans) setting just in case. 1174238494Sobrien 1174338494Sobrien * amd/autil.c (host_normalize): make sure hostent->h_name is 1174438494Sobrien passed a non-const char *. 1174538494Sobrien 1174638494Sobrien * conf/mount/mount_linux.c (mount_linux): cleaned up a block of code. 1174738494Sobrien 1174838494Sobrien * {lib,amq,amd}/*.c (many functions): cast xdr_entry to 1174938494Sobrien XDRPROC_T_TYPE. 1175038494Sobrien 1175138494Sobrien * lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to 1175238494Sobrien XDRPROC_T_TYPE. 1175338494Sobrien 1175438494Sobrien * lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to 1175538494Sobrien XDRPROC_T_TYPE. 1175638494Sobrien 1175738494Sobrien * lib/wire.c (getwire): Make sure safe assignment from const to 1175838494Sobrien none is done. 1175938494Sobrien 1176038494SobrienSat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 1176138494Sobrien 1176238494Sobrien * aux/macros/expand_cpp_int.m4: new macro for expanding integers. 1176338494Sobrien 1176438494Sobrien * aux/configure.in: added linux/fs.h support in configure and 1176538494Sobrien several M4 macros. 1176638494Sobrien 1176738494Sobrien * conf/mount/mount_linux.c (mount_linux): use macro instead of 1176838494Sobrien "ugly" fixed hex number for mount() arguments. 1176938494Sobrien 1177038494SobrienSat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1177138494Sobrien 1177238494Sobrien * amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and 1177338494Sobrien turned all of its code always on. That code always seems to 1177438494Sobrien compile, as long as you have hesiod and libresolv. 1177538494Sobrien 1177638494Sobrien * amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all 1177738494Sobrien of its code always on. 1177838494Sobrien 1177938494Sobrien * aux/configure.in: removed superfluous test for hs_zone_transfer 1178038494Sobrien function (will never find it because it is an amd-internal 1178138494Sobrien function). 1178238494Sobrien 1178338494Sobrien * amd/mapc.c (maptypes): must used correct new name for am-utils' 1178438494Sobrien hesiod initialization function: hesiod_am_init. 1178538494Sobrien 1178638494Sobrien * amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to 1178738494Sobrien hesiod_am_init so as not to conflict with libhesiod's 1178838494Sobrien hesiod_init() function. 1178938494Sobrien 1179038494Sobrien * aux/configure.in: added test and explicit inclusion of 1179138494Sobrien libresolv.a for later resolution of library references with 1179238494Sobrien libhesiod. 1179338494Sobrien 1179438494Sobrien * aux/macros/opt_cppflags.m4: new file. configure/compile C 1179538494Sobrien preprocessor flags. 1179638494Sobrien 1179738494Sobrien * aux/macros/opt_libs.m4: new file. configure/compile library 1179838494Sobrien flags. 1179938494Sobrien 1180038494Sobrien * Makefile.am (EXTRA_DIST_AUX): include two new macros 1180138494Sobrien opt_cppflags.m4 and opt_libs.m4. 1180238494Sobrien 1180338494Sobrien * aux/configure.in: test for libhesiod needs to additional 1180438494Sobrien libresolv to link completely. Additional configuration time 1180538494Sobrien options added for setting initial CPPFLAGS and LIBS. 1180638494Sobrien 1180738494SobrienTue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1180838494Sobrien 1180938494Sobrien ******************************************************************* 1181038494Sobrien *** Released am-utils-6.0a1 *** 1181138494Sobrien ******************************************************************* 1181238494Sobrien 1181338494SobrienThu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1181438494Sobrien 1181538494Sobrien * amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that 1181638494Sobrien it works on freebsd, where they map dbm_pagfno a non-existing 1181738494Sobrien macro on purpose, to force you to port the code to Berkeley DB. 1181838494Sobrien 1181938494SobrienFri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1182038494Sobrien 1182138494Sobrien * amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the 1182238494Sobrien actual mount_toplvl, to avoid some possible race conditions. 1182338494Sobrien 1182438494SobrienThu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1182538494Sobrien 1182638494Sobrien * amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code. 1182738494Sobrien 1182838494SobrienWed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1182938494Sobrien 1183038494Sobrien * lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code) 1183138494Sobrien 1183238494Sobrien * amd/amd.c (main): fix local address using htonl(). Free up 1183338494Sobrien buffers allocated by netdir_*() functions. 1183438494Sobrien 1183538494SobrienWed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1183638494Sobrien 1183738494Sobrien * amd/fix-amd-map.in: new script that will convert old-style amd 1183838494Sobrien maps to new one. 1183938494Sobrien 1184038494SobrienTue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1184138494Sobrien 1184238494Sobrien * FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl, 1184338494Sobrien and replies back to simple nfs/link type mount queries). 1184438494Sobrien 1184538494Sobrien * conf/mtab/mtab_svr4.c: reorganized the code in this file to be 1184638494Sobrien easier to read, and fixed a few bugs with un/setting the lock file 1184738494Sobrien descriptor. 1184838494Sobrien 1184938494SobrienWed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1185038494Sobrien 1185138494Sobrien * amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older 1185238494Sobrien signals in Svr3 systems. Only stellix ever used this. 1185338494Sobrien 1185438494Sobrien * amd/rpc_fwd.c (fwd_reply): removed all code that was triggered 1185538494Sobrien by DYNAMIC_BUFFERS, since it was not in use. 1185638494Sobrien 1185738494SobrienTue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1185838494Sobrien 1185938494Sobrien * amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer 1186038494Sobrien takes '=' sign as old selector. Fix your maps. 1186138494Sobrien (deslashify): removed APOLLO code that treated two '//' as one. 1186238494Sobrien 1186338494SobrienSun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1186438494Sobrien 1186538494Sobrien * amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which 1186638494Sobrien was not used. It made any submount error fail the whole group. 1186738494Sobrien 1186838494Sobrien * amd/ops_nfs.c (make_nfs_auth): removed code dependent on 1186938494Sobrien HAS_NFS_QUALIFIED_NAMES. 1187038494Sobrien (mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it 1187138494Sobrien is never on. So code that was triggered by #ifndef 1187238494Sobrien NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to 1187338494Sobrien be fixed later. 1187438494Sobrien Removed all ULTRIX_HACK code. Ultrix is DEAD! 1187538494Sobrien removed all PRESET_AC code, which was only on for Linux to preset 1187638494Sobrien the attribute cache values (otherwise they default to zero). 1187738494Sobrien (nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will 1187838494Sobrien have to fixed up later. 1187938494Sobrien (mount_nfs_fh): removed code that was never included, which 1188038494Sobrien attempted to set the port on which amd's nfs mounts on. This 1188138494Sobrien isn't supported by the ping algorithm yet. In any case, it is all 1188238494Sobrien done in nfs_init(). 1188338494Sobrien 1188438494Sobrien * amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh): 1188538494Sobrien removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or 1188638494Sobrien specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will 1188738494Sobrien have to be addressed later. 1188838494Sobrien 1188938494Sobrien * amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent 1189038494Sobrien on PRECISE_SYMLINKS. 1189138494Sobrien 1189238494Sobrien * amd/mapc.c (mapc_meta_search): removed code that depended on 1189338494Sobrien HAS_DEPOT. It is known buggy code. The whole DEPOT support needs 1189438494Sobrien to be rethought. 1189538494Sobrien (mapc_add_kv): ported code to use standard regular expression 1189638494Sobrien (regexp) library. 1189738494Sobrien 1189838494Sobrien * amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on 1189938494Sobrien FLUSH_KERNEL_NAME_CACHE and the macro itself. 1190038494Sobrien 1190138494SobrienSat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1190238494Sobrien 1190338494Sobrien * amd/map.c (exported_ap_alloc): removed all code triggered by 1190438494Sobrien SHRINK_EXPORTED_AP and the macro itself. 1190538494Sobrien 1190638494Sobrien * amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code 1190738494Sobrien in all the time. Assuming that there is always NIS realod 1190838494Sobrien available. 1190938494Sobrien (yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all() 1191038494Sobrien function is broken such that it does not release filedescriptors 1191138494Sobrien it created, then you are hosed. Get a fix for yp_all from your 1191238494Sobrien vendor or switch operating systems. 1191338494Sobrien 1191438494SobrienTue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1191538494Sobrien 1191638494Sobrien * amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to 1191738494Sobrien HAVE_HS_ZONE_TRANSFER. 1191838494Sobrien 1191938494SobrienMon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1192038494Sobrien 1192138494Sobrien * amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is 1192238494Sobrien always included. We should always try to inform the remove mount 1192338494Sobrien daemon of mounts we performed. If we want an option for this, it 1192438494Sobrien should be a run-time option. 1192538494Sobrien 1192638494Sobrien * amd/host_ops.c: removed all that optionally did not make the 1192738494Sobrien directory mount points for amd. 1192838494Sobrien 1192938494Sobrien * HOST_EXEC code removed from everywhere. There is no indication 1193038494Sobrien that it was used anywhere. If it needs to be used, then a 1193138494Sobrien run-time switch should control it. 1193238494Sobrien 1193338494SobrienThu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1193438494Sobrien 1193538494Sobrien * amd/*_ops.c: removed all references to mntent_t's fields 1193638494Sobrien mnt_freq and mnt_passno, since they are no longe rused (and never 1193738494Sobrien have been). 1193838494Sobrien 1193938494Sobrien * amd/am_ops.c: removed function sunos4_match, which was off 1194038494Sobrien anyway. This was one of the places where an '=' sign was allowed 1194138494Sobrien as an assignment operator (which is now ':='). 1194238494Sobrien 1194338494Sobrien * amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which 1194438494Sobrien was off anyway. This was one of the places where an '=' sign was 1194538494Sobrien allowed as an assignment operator (which is now ':='). 1194638494Sobrien 1194738494SobrienTue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1194838494Sobrien 1194938494Sobrien * amq/amq.c: ported to am-utils. Working. 1195038494Sobrien 1195138494Sobrien * conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4 1195238494Sobrien to be string, as it should be (rather than a string mapped to int 1195338494Sobrien and back mapped to string). 1195438494Sobrien 1195538494SobrienSun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1195638494Sobrien 1195738494Sobrien * lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code. 1195838494Sobrien 1195938494Sobrien * lib/umount_fs.c: split this into three files: default, osf, and 1196038494Sobrien bsd44, that are in conf/umount/umount_*.c. 1196138494Sobrien 1196238494SobrienThu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 1196338494Sobrien 1196438494Sobrien * aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new 1196538494Sobrien macro to automatically figure out if an external definition for 1196638494Sobrien sys_errlist[] exists. 1196738494Sobrien 1196838494Sobrien * lib/xutil.c (xfree): removed "#undef free" because it's not 1196938494Sobrien needed there. Any system that redefines free() needs help. 1197038494Sobrien 1197138494Sobrien * conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that 1197238494Sobrien was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be 1197338494Sobrien in active use anywhere. If added later, it should be a run-time 1197438494Sobrien configuration option. 1197538494Sobrien 1197638494Sobrien * conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to 1197738494Sobrien be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables 1197838494Sobrien in a file in /etc. 1197938494Sobrien 1198038494Sobrien * lib/util.c (str3cat): removed _AIX code. AIX should have a 1198138494Sobrien working realloc, or else find a cleaner solution to this. 1198238494Sobrien (mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync() 1198338494Sobrien after immediately making directories so that fsck will be able to 1198438494Sobrien fix the filesystem in the event of an immediate crash. This was 1198538494Sobrien because a bug in UFS which is fixed by now. 1198638494Sobrien 1198738494Sobrien * lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered 1198838494Sobrien code. Does not appear to be on and used anywhere. 1198938494Sobrien (dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now. 1199038494Sobrien 1199138494Sobrien * lib/resvport.c: split the binding of reserved ports code to a 1199238494Sobrien separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4) 1199338494Sobrien from the BSD code. 1199438494Sobrien 1199538494SobrienThu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1199638494Sobrien 1199738494Sobrien * lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled 1199838494Sobrien in by automake and configure, for optional sources that need to be 1199938494Sobrien built as part of libamu.a. 1200038494Sobrien 1200138494Sobrien * aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o 1200238494Sobrien to LIBOBJS. 1200338494Sobrien 1200438494Sobrien * lib/memcmp.c (memcmp): new file added to replace a possible bad 1200538494Sobrien implementation of memcmp. 1200638494Sobrien 1200738494SobrienWed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1200838494Sobrien 1200938494Sobrien * converted the sources to use memset/memmove/memcmp instead of 1201082794Sobrien bzero/bcopy/bcmp. 1201138494Sobrien 1201238494Sobrien * ran all sources through gnu Indent w/ options specified in 1201338494Sobrien aux/amindent. 1201438494Sobrien 1201538494SobrienWed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1201638494Sobrien 12017174294Sobrien * At this point the initial generation of config.h via autoconf and 1201838494Sobrien some preliminary makefiles via automake is done. I will not begin 1201938494Sobrien modifying sources, so it's a good time to document from here. 1202082794Sobrien 1202182794SobrienWed Dec 10 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 1202282794Sobrien 1202382794Sobrien ******************************************************************* 1202482794Sobrien *** Initial ChangeLog Entry *** 1202582794Sobrien ******************************************************************* 12026