ChangeLog revision 41142
11998-10-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2 3 ******************************************************************* 4 *** Released am-utils-6.0b1 *** 5 ******************************************************************* 6 71998-10-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 8 9 * mk-amd-map/mk-amd-map.c (main): use perror not strerror. 10 (main): set return type to int if no ndbm maps. 11 12 * include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1 13 kernels. 14 151998-10-18 Erez Zadok <ezk@london.mcl.cs.columbia.edu> 16 17 * A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup 18 for netbsd 1.3.2. 19 201998-10-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 21 22 * aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1 23 systems put NIS functions there. 24 25 * mk-amd-map/mk-amd-map.c: patch from "David O'Brien" 26 <obrien@NUXI.com> merged in. Use POSIX -1 return code from 27 getopt(), not EOF. Use .db extentions for systems that use it, 28 instead of .{pag,dir}. 29 301998-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 31 32 * wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c, 33 amd/amd.c (main): avoid overrunning hostname buffer. Bug fix from 34 "David O'Brien" <obrien@NUXI.com>. 35 36 * scripts/amd.conf.5: minor typo reported by "David O'Brien" 37 <obrien@NUXI.com> in .TH section of man page. 38 39 * amd/info_nis.c (am_yp_all): don't leak key-val entries. Patch 40 from Thomas Richter <richter@chemie.fu-berlin.de>. 41 421998-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 43 44 * doc/am-utils.texi (Program Filesystem): minor typo fixed as per 45 Andreas Stolcke <stolcke@speech.sri.com>. 46 47 * minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7, 48 and sparc-sun-solaris2.7. 49 50 * conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now 51 a 4.4lite kernel, and somethings were removed, such as 52 INITMOUNTNAMES. 53 54 * amd/ops_autofs.c (autofs_lookuppn): don't leak memory while 55 processing /defaults. Free temporary opts. Patch from 56 dsr@mail.lns.cornell.edu (Daniel S. Riley) 57 58 * amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while 59 processing /defaults. Free temporary opts. Patch from 60 dsr@mail.lns.cornell.edu (Daniel S. Riley) 61 62 * conf/mtab/mtab_osf.c (read_mtab): patch from 63 dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access 64 uninitialized memory on Digital Unix. 65 661998-10-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 67 68 * aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most 69 systems now use "char *" as their mount type. 70 711998-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 72 73 * amd/conf.c (gopt_map_type, ropt_map_type): check if map type 74 exists. 75 76 * amd/mapc.c (mapc_type_exists): function to test if a map of 77 certain type exists. 78 791998-10-08 Erez Zadok <ezk@horatio.mcl.cs.columbia.edu> 80 81 * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 82 include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl 83 in RH-5.1 sparc64 between <netinet/in.h> and 84 <linux/byteorder/generic.h> (2.1 kernels). 85 861998-09-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 87 88 * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat 89 5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket 90 from yp_all(). 91 921998-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 93 94 * conf/mount/mount_linux.c (parse_opts): check for pcfs support 95 only if autoconfigured. 96 971998-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 98 99 * Makefile.am (EXTRA_DIST): distribute README.yk2 file. 100 101 * README.y2k: explain y2k compliance status of am-utils. 102 1031998-09-16 Erez Zadok <ezk@iguana.mcl.cs.columbia.edu> 104 105 * amd/amfs_host.c (fetch_fhandle, amfs_host_fmount, 106 amfs_host_umounted): clnt_sperrno() may return a const. 107 108Sat Aug 8 23:28:32 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 109 110 * aux/configure.in: check for <nfs/nfsmount.h>, as per Christos 111 Zoulas. Turned on checking for mount options: async, synchronous, 112 deadthresh, leasterm, nqnfs, and readahead. 113 114 * amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas) 115 to include prototype definition for nis_isup(). 116 117Sun Jul 19 18:50:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 118 119 * hlfsd/stubs.c (getcreds): force sscanf arg to u_long. 120 121Tue Jul 14 20:34:25 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 122 123 * released snapshot am-utils-6.0a17s1 124 125Wed Jul 8 21:49:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 126 127 * aux/macros/host_macros.m4: all x86 hosts should have $arch be 128 i386, not i[456]86. 129 130Tue Jul 7 18:55:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 131 132 * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 133 include/am_defs.h: include <linux/posix_types.h> before 134 <linux/fs.h> because on redhat 5.1, there is a bug (misuse) of 135 headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of 136 __KERNEL_STRICT_NAMES). 137 138 * aux/configure.in: check for <linux/posix_types.h> because it is 139 need for RedHat 5.1. 140 141Wed Jun 17 00:05:33 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 142 143 * scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from 144 .in as well, so it doesn't get removed by make clean. 145 146Tue Jun 16 22:00:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 147 148 * aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4, 149 check_mount_type.m4}: redhat 5.1 puts some modules in 150 /lib/modules/preferred/. 151 152Wed May 13 16:33:57 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 153 154 * amd/ops_autofs.c (mount_autofs): cast pid to long. 155 156Thu Apr 23 00:22:17 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 157 158 ******************************************************************* 159 *** Released am-utils-6.0a16 *** 160 ******************************************************************* 161 162Wed Apr 22 01:20:39 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 163 164 * aux/macros/check_mount_style.m4: define freebsd3 mount style. 165 166 * aux/macros/check_mount_trap.m4: new mount trap for freebsd3. 167 168 * aux/macros/check_mtype_printf_type.m4, 169 aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as 170 of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not 171 integers, but I'll keep them as integers and do the mapping in 172 conf/mount/mount_freebsd3.c 173 174 * minor new port to i386-pc-bsdi3.1. 175 176 * minor new port to i386-unknown-netbsd1.3.1. 177 178 * amd/opts.c: new option addopts:=ARG, which smartly merges ARG 179 options with whatever the /default ones for a key are. This 180 allows adding or overriding /default options individual keys. 181 182 * amd/am_ops.c (ops_match): strdup/malloc string assigned to 183 opt_opts because it'll get free()'d upon next use. 184 (merge_opts): new function to merge two sets of options. 185 (ops_match): if addopts option exist, append and merge it to the 186 current default options. 187 188Tue Apr 21 12:54:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 189 190 * wire-test/wire-test.c (main): use dynamically allocated returned 191 string with list of interfaces. 192 193 * amd/get_args.c (get_version_string): allocate enough space for 194 header version string and a list of network interfaces of any 195 length. 196 197 * libamu/wire.c (print_wires): return dynamically allocated string 198 containing list of networks. Must be dynamic because some sites 199 had potentially dozens of network interfaces. Patch from Matthew 200 Crosby <mcrosby@ms.com> slightly modified. 201 202Mon Apr 20 00:37:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 203 204 * conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because 205 irix 5.3 does not have full header definitions for it. 206 207 * fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and 208 undefined it when not needed (similar to amd/conf_tok.l) 209 210 * hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size 211 of these to unsigned short (because uid_t on some linux systems is 212 small). 213 214 * released snapshot am-utils-6.0a16s10 215 216 * doc/am-utils.texi (opts Option): documented resvport mount 217 option. 218 219Sun Apr 19 18:17:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 220 221 * doc/am-utils.texi (-D-Option): document behavior of -D info and 222 especially what it does to hesiod (turn on RES_DEBUG). 223 224 * scripts/amd.conf.5: document info debugging option. 225 226 * libamu/xutil.c (dbg_opt): parse info debugging option. 227 228 * include/am_utils.h (D_INFO): define new trace option. 229 230 * Makefile.am (EXTRA_DIST): include list of official mirrors in 231 distribution. 232 233 * libamu/wire.c (SIZE): in the simple case, just compute 234 sizeof(struct ifreq). 235 236Sun Apr 19 16:30:35 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 237 238 * amd/amd.c (daemon_mode): set a temporary secure umask(0022) 239 before writing log file and restore it afterwards. Patch from 240 Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 241 242 * amd/get_args.c (get_args): 243 244 * doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf 245 file specified by -F is always processed last. 246 247 * amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd 248 won't be reused. Allows startup script to redirect stdout. Patch 249 from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 250 251 * libamu/xutil.c (switch_to_logfile): compare logfile name and 252 syslog string with correct length. Patch from Donald Buczek 253 <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 254 255 * amd/restart.c (restart): correctly inherit existing NFS V.3 256 mounts upon restart. Patch from Donald Buczek 257 <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 258 259Sat Apr 18 19:01:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 260 261 * using libtool 1.2 and automake 1.3 (with my patches). 262 263 * aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to 264 AMU_CFLAGS to avoid conflicts with automake-1.3. 265 266Sun Apr 5 23:09:08 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 267 268 * converted to using libtool-1.2. 269 270Tue Mar 10 16:52:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 271 272 * fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly 273 for loop (ITER) which used to run only to initialize the variable 274 dd once and then break; with a simple assignment. 275 276 * hlfsd/hlfsd.h: cleanup so it compiles with Solaris 277 /opt/SUNWspro/bin/cc, and use gid_t not int. 278 279 * amd/mapc.c (mapc_sync): don't dereference pointer (so it 280 compiles with Solaris /opt/SUNWspro/bin/cc) 281 282Sun Mar 8 15:54:22 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 283 284 * aux/config.{guess,sub}: used from gcc-2.8.1. 285 286Sat Mar 7 15:33:27 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 287 288 * released snapshot am-utils-6.0a16s9 289 290 * INSTALL, doc/am-utils.texi (Supported Platforms): updated names 291 based on new output of new config.guess. 292 293 * aux/config.{sub,guess}: used newer versions from gcc-2.8.0. 294 295 * amd/amd.8,doc/am-utils.texi: document correct usage of default 296 /etc/amd.conf file. 297 298 * fixmount/fixmount.c (inetresport,privsock): use some more 299 portable code from amq/amq.c. 300 301 * amd/get_args.c (get_args): use default /etc/amd.conf file only 302 if no arguments had been passed to amd. 303 304 * fixmount/fixmount.c (clnt_create_timeout): use tli/socket code 305 ala amq/amq.c so that fixmount will work on both types of systems. 306 307 * amq/amq.c (main): do no close tcp socket before running udp try, 308 because we're not sure if it was opened at all. 309 310 * mips-dec-ultrix* port merged in and cleaned up. 311 312 * aux/configure.in: up minor shared library revision number, since 313 it has changed enough. 314 315 * hlfsd/hlfsd.c (main): don't check for overlay mount option here, 316 as it is now done in compute_nfs_args(). Remove ultrix specific 317 code also because it was moved to compute_nfs_args(). 318 319 * conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that 320 we have more generic code in print_nfs_args(). 321 322 * libamu/mount_fs.c (print_nfs_args): print maxlen of 323 nfs_args.addr, and also syncaddr (which is mostly NULL). Print 324 struct knetconfig from nfs_args->knconf. 325 326 * aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs 327 headers here, but in try_compile_anyfs.m4. 328 329 * aux/macros/type_ufs_args.m4: move test for struct ufs_specific 330 (for ultrix) here from its own macro. 331 332 * aux/macros/type_cdfs_args.m4: move test for struct iso_specific 333 (for ultrix) here from its own macro. 334 335 * amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking 336 for overlay mount option. Remove code which checks for overlay 337 option, as it is now done in compute_nfs_args(). 338 339 * libamu/mount_fs.c (compute_mount_flags): move here code which 340 checks for overlay mount option which was in amd/amfs_toplvl.c: 341 mount_amfs_toplvl(). 342 343Wed Feb 7 15:35:51 1998 Rainer Orth <ro@xayide.TechFak.Uni-Bielefeld.DE> 344 345 * The following are Rainer's ChangeLog entries for his ultrix 346 port, added manually. -Erez. 347 348 * merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c 349 (mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl) 350 351 * include/am_defs.h: include cdfs specific mount headers avoid 352 duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix) 353 354 * include/am_compat.h: define several mount options corresponding 355 to mount flags: pgthresh, hard (nfs), defperm, nodefperm, 356 noversion, rrip (cdfs), nocache, quota, sync (generic) removed 357 duplicate MNTTAB_OPT_RO definition 358 359 * aux/macros/try_compile_anyfs.m4: include Ultrix specific 360 ufs/cdfs mount headers 361 362 * aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX 363 specific mount headers 364 365 * aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_* 366 mount types in mount headers (Ultrix) 367 368 * aux/configure.in: Ultrix/Digital UNIX specific checks: new 369 headers, mount structures and fields, filesystem and mount types, 370 mount flags 371 372 * aux/acconfig.h: placeholders for new mount options: quota 373 (generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs) 374 cdfs, nfs, ufs mount structure fields new ufs, cdfs mount 375 structures 376 377 * amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in 378 ufs_args.ufs_flags and has ufs specific pgthresh option 379 380 * amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific 381 CDFS mount flags and options 382 383 * amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh), 384 hlfsd/hlfsd.c (main): store generic mount flags in 385 nfs_args.gfs_flags, handle separate NFS ro flag 386 387 * aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific, 388 struct_ufs_specific}.m4: new files; check for Ultrix specific 389 mount structures 390 391 * conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag 392 393 * aux/macros/type_auth_create_gidlist.m4 (ultrix*): 394 AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a 395 comment in <rpc/auth.h> 396 397 * include/am_defs.h: #define KERNEL to avoid definition of 398 gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before 399 <config.h> to force single definition here 400 401 * libamu/mount_fs.c (compute_nfs_args): Ultrix support for 402 nfs_args.gfs_flags moved to callers store mount options in 403 nap->optstr 404 405 * include/am_defs.h: fix _am_mntent mnt_{type, opts} field 406 descriptions 407 408 * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4: 409 include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req 410 definition in prototypes 411 412 * aux/macros/mount_headers.m4: include <sys/errno.h> before 413 AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_* 414 definitions 415 416 * aux/aclocal: adapt for local perl path and $prefix 417 418 * conf/nfs_prot/nfs_prot_ultrix.h: new file 419 420 * aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h 421 422 * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4, 423 aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple 424 inclusion of <rpc/xdr.h> 425 426Sat Mar 7 13:56:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 427 428 * aux/configure.in: save state of config.cache and confdefs.h 429 (as dbgcf.h) at various points of the configure. 430 431 * aux/macros/save_state.m4: new macro to save state of configure, 432 esp. useful in long ones. Saves confdefs.h and write $ac_cv_* 433 cache variables that are known so far. 434 435 * released snapshot am-utils-6.0a16s8 436 4371998-03-06 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 438 439 * fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining 440 it, but only for flex. 441 442Fri Mar 6 17:23:17 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 443 444 * hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file 445 to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible) 446 to write the dump file. 447 448 * doc/am-utils.texi,amd/opts.c: rename all references to nomadic 449 functions to boolean functions, which is what they really are. 450 451 * aux/configure.in: don't look for strcasecmp in libucb at all, 452 but rather complete it from libamu/strcasecmp.c as needed. 453 454Fri Mar 6 03:29:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 455 456 * conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS. 457 458 * libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X 459 which defines IFF_ROUTE instead of IFF_LOOPBACK. Patch from Tom 460 Schmidt <tschmidt@micron.com>. 461 462 * released snapshot am-utils-6.0a16s7 463 464 * conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to 465 hppa1.0-hp-hpux11.00.tgz. 466 467Thu Mar 5 21:59:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 468 469 * converted all sources to use mntent field names, and map mnttab 470 field names to mntent's. 471 472 * include/am_defs.h (mnt_special): map struct mnttab field names 473 to struct mntent field names. 474 475 * aux/macros/check_mount_trap.m4: hpux11's mount trap style is 476 identical to svr4/solaris2. 477 478 * aux/macros/check_mount_style.m4: hpux11's mount style is 479 identical to svr4/solaris2. 480 481 * aux/macros/check_network_transport_type.m4: hpux11 is a TLI 482 system! 483 484 * aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address 485 dereferencing style is same as svr4. 486 487 * aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh 488 dereferencing style is same as svr4. 489 490 * conf/transp/transp_tli.c (create_nfs_service): if failed to 491 getnetconfigent() of ticlts, then try udp (hpux11). 492 493 * conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for 494 struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris 495 2.5.1 (HP used them). 496 497 * amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open() 498 because hpux11 doesn't like it. if t_open failed, print error 499 based on t_errlist, not sys_errlist. 500 501Wed Mar 4 22:01:55 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 502 503 * doc/am-utils.texi: lots of documentation fixes from Rainer Orth 504 <ro@TechFak.Uni-Bielefeld.DE>. 505 506Sat Feb 28 22:16:35 1998 Erez Zadok <ezk@kosh.cs.columbia.edu> 507 508 * fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used 509 later. 510 511 * include/am_defs.h: defined the extern for ualarm() if it isn't 512 found, regardless if the function isn't found in standard 513 libraries, because otherwise libamu will include it. 514 5151998-02-28 Erez Zadok (per Ron Snyder) <ezk@short.cvo.roguewave.com> 516 517 * initial port to hpux-11 completed. Compiles cleanly, but 518 probably does not work, because of missing NFS V.2/3 headers. 519 520 * amd/conf_tok.l: cast yytext to char* when passed to strlen and 521 strdup, for hpux-11's ansi-cc compiler. 522 523 * include/am_utils.h: renamed all xfree() to XFREE() to avoid 524 conflict with hpux-11's system headers. Also move (voidp) cast 525 from sources to inside the macro itself. 526 527Sat Feb 28 13:44:21 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 528 529 * released snapshot am-utils-6.0a16s6 530 531 * amd/info_nis.c (nis_isup): new function to test if NIS is up 532 without hanging amd. Used to ensure that amd does not clear the 533 maps when the expiration period arrived, if the service is down. 534 Otherwise it would be left with empty maps. It is better to stay 535 with possibly old information than none at all. 536 537 * amd/mapc.c (mapc_sync): check to see if map service is up. 538 539Tue Feb 24 02:19:42 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 540 541 * aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it 542 includes auxiliary library only if needed. 543 5441998-02-22 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 545 546 * amd/conf_tok.l: undefine ECHO again, so it doesn't get used 547 later. 548 549Sun Feb 22 01:41:08 1998 Erez Zadok <ezk@zen.cs.columbia.edu> 550 551 * conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1 552 completed. 553 554 * conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3. 555 556Sat Feb 21 19:45:48 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 557 558 * doc/am-utils.texi (Network Host Filesystem): correct example for 559 type:=host map. 560 561 * aux/macros/os_cflags.m4: only osf4 should compile with 562 -D_SOCKADDR_LEN. 563 564 * aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2 565 and OSF4. 566 567 * BUGS: include a new file listing known bugs. 568 569Sat Feb 21 03:50:48 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 570 571 * conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux 572 versions. 573 574 * aux/macros/type_recvfrom_fromlen.m4: linux alpha should use 575 size_t for recvfrom fromlen arg. 576 577Sat Feb 21 03:33:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 578 579 * scripts/ctl-hlfsd.in: turn -D fork so primary process never 580 hangs. 581 582Sat Feb 21 02:45:51 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 583 584 * include/am_defs.h: don't include <sys/stat.h> and 585 <linux/stat.h>, just remaining definitions in <statbuf.h> 586 587Thu Jan 29 00:44:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 588 589 * released snapshot am-utils-6.0a16s5 590 591 * conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to 592 mount(2). 593 594 * check for <sys/fs/xfs_clnt.h> and include it when needed. 595 596 * conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize 597 efs and xfs separately from "ufs". 598 599 * amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs. 600 601 * aux/configure.in: look for irix efs and xfs file systems. 602 603 * scripts/amd.conf.5: new unmount_on_exit option documented. 604 605 * doc/am-utils.texi (unmount_on_exit): new option documented. 606 607 * amd/conf.c (gopt_unmount_on_exit): new function to handle new 608 amd.conf option. 609 610 * amd/map.c (umount_exported): if global amd.conf flag 611 unmount_on_exit is on, then try to unmount all mounted (or 612 restartable) file systems. 613 614 * amd/amd.c: if print_pid option is on, then normally print it to 615 stdout. If also pid_file is specified, then print the process ID 616 into that file. 617 618 * amd/get_args.c (get_args): print correct -l option depending if 619 system supports syslog and/or syslog facilities. Patch from 620 Tom Schmidt <tschmidt@micron.com>. 621 622 * doc/am-utils.texi (opts Option): updates for documentation for 623 new cdfs options defperm, nodefperm, noversion, rrip. 624 625 * amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm, 626 nodefperm, noversion, rrip. 627 628 * conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h> 629 on osf. 630 631 * aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4, 632 expand_cpp_string.m4}: use #error to make failed compilations 633 fail faster, rather than have the program fail during a run. 634 635 * include/am_compat.h: added a few new cdfs options: rrip, 636 noversion, defperm, and nodefperm (used in OSF). 637 638Wed Jan 28 20:24:09 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 639 640 * released snapshot am-utils-6.0a16s4 641 642 * doc/am-utils.texi (Global Parameters): update manual for new 643 amd.conf global variable hesiod_base. 644 645 * scripts/amd.conf.5: update man page for new amd.conf global 646 variable hesiod_base. 647 648 * amd/get_args.c (get_args): use /etc/amd.conf file if exists by 649 default, else try command line options. Patch from Randall 650 S. Winchester <rsw@Glue.umd.edu>. 651 652Wed Jan 28 12:20:56 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 653 654 * amd/info_hesiod.c (hesiod_search), amd/conf.c 655 (gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options): 656 included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to 657 support a hesiod base name in the amd.conf file. 658 659 * doc/am-utils.texi (pid_file Parameter): document new global 660 amd.conf parameter. 661 662 * scripts/amd.conf.5: document new global option pid_file. 663 664 * amd/amd.c (daemon_mode): if cannot open pid_file, continue to 665 run, but print error message. 666 667 * amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode, 668 init_global_options): Included patch from Randall S. Winchester 669 <rsw@Glue.umd.edu>, to support pid files in the amd.conf file. 670 671 * amd/get_args.c (get_args): correct usage info on amd -t. 672 673 * amd/*.c: massive file name and symbol name changes. All amd 674 file systems files and symbols are prefix with amfs_*. Now using 675 real name of file system: amfs_auto instead of afs, amfs_inherit 676 instead of ifs, amfs_linkx instead of sfsx, etc. This will enable 677 clear distinction between amd file system and generic ones like 678 nfs/ufs/pcfs/hsfs. Also, now we can implement true afs (Andrew 679 f/s) and DFS (Distributed f/s). 680 681 * amd/amfs_union.c: unionfs for amd is always defined, no need to 682 #ifdef it. 683 684Mon Jan 26 16:51:38 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 685 686 * libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on 687 or off, based on the particular quirks of the OS in question. 688 689 * aux/macros/check_nfs_socket_connection.m4: new macro to set the 690 correct wait of handling un/connected NFS sockets. 691 692 * scripts/wait4amd.in: use rlogin instead of rsh. 693 694 * amd/am_ops.c (ops_showfstypes): when showing F/S types in amd 695 -v, always show "nfs3" for NFS V.3. 696 6971998-01-25 Erez Zadok <ezk@snoopy.cs.columbia.edu> 698 699 * lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets 700 more picky than 2.7.2.3 did. 701 7021998-01-24 Erez Zadok <ezk@snoopy.cs.columbia.edu> 703 704 * include/am_utils.h (dlog): amuDebug macros reduced to shorter 705 forms. 706 707Fri Jan 23 18:38:30 1998 Erez Zadok <ezk@goat.mcl.cs.columbia.edu> 708 709 * released snapshot am-utils-6.0a16s3 710 711 * include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included 712 in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h 713 must not, fake a definition for varargs. 714 715Fri Jan 16 10:16:40 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 716 717 * README: show how to configure in additional support such as 718 hesiod using various --enable-* flags. 719 720Wed Jan 14 15:13:02 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 721 722 * aux/configure.in: look for strcasecmp(), and replace it if not 723 available. 724 725 * amd/ops_nfsl.c (nfsl_match): host names should be compared using 726 case insensitive. 727 728 * amd/opts.c: for each map variable, define if the comparison 729 needs to be done case insensitive. 730 731 * include/am_utils.h (STRCEQ): a new macro to use strcasecmp(). 732 Patch from Thomas Richter <richter@chemie.fu-berlin.de> 733 7341998-01-14 Erez Zadok <ezk@irt.cs.columbia.edu> 735 736 * aux/configure.in: look for "isofs" as a possible mount type for 737 cdfs (RedHat Linux). 738 739Wed Jan 14 02:07:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 740 741 * conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount 742 type if not defined. 743 744 * conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if 745 already defined. 746 747 * aux/configure.in: look for ext2fs before ufs, b/c some linux 748 have both. 749 750Mon Jan 12 15:43:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 751 752 * Makefile.am (snapshot): allow me to install snapshots into the 753 ftp directory. 754 755 * scripts/ctl-hlfsd.in: don't turn on -D mem by default. 756 757 * amd/get_args.c (get_args): minor bug in output of amd -H. 758 759Mon Jan 12 03:05:06 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 760 761 ******************************************************************* 762 *** Released am-utils-6.0a15 *** 763 ******************************************************************* 764 765Sun Jan 11 15:06:34 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 766 767 * amd/conf.c (*_browsable_dirs): allow specifying 768 browsable_dirs=full, which will print *all* entries (other than 769 /default), including those with '*' and '/' characters. 770 771 * amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length 772 to 1500. 773 774 * doc/am-utils.texi: fixed reversed documentation for NFS mount 775 options vers and proto. 776 777 * doc/Makefile.am (install-html): separate target just for 778 installing html files. Another new target "alldocs" is just for 779 installing all files needed for the am-utils home page. 780 781 * scripts/amd.conf-sample: updated example for log_file. 782 783 * scripts/amd.conf.5: updated for new way to declare new syslog 784 facility in the log_file option. 785 786 * amd/amd.8: updated for new way to declare new syslog facility in 787 the -l option. 788 789 * libamu/xutil.c (get_syslog_facility): allow users to specify the 790 syslog facility as an appended string to the log device. Ex. amd 791 -l syslog:local7 will use LOG_LOCAL7, while the older -l syslog 792 will use the default LOG_DAEMON facility. 793 794 * amd/get_args.c (get_args): updated new syntax for amd -l 795 syslog:facility. 796 797Thu Jan 8 04:05:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 798 799 * aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3 800 (intel). 801 802 * libamu/wire.c (print_wires): bug fix. Nullify output buffer 803 before appending to it, on systems with two or more network 804 interfaces. 805 806 * conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for 807 the mntent for cachefs. 808 809 * include/am_defs.h: external definition for strstr() should use 810 const for both arguments. 811 812 * aux/configure.in: add extern definitions for getwd() if missing. 813 814 * include/am_defs.h: define the extern for strdup() even if the 815 function does not exist, for it will be filled in by 816 libamu/strdup.c 817 818 * amq/pawd.c (cluster_server): don't use getccent() if the extern 819 for it isn't there. On hpux 10.20, the function is in libc, but 820 <cluster.h> and struct cct_entry do not exist. 821 822 * aux/configure.in: check for an extern for getccent() b/c some 823 hpux systems don't have it (hpux 10.20). 824 825Wed Jan 7 00:09:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 826 827 * doc/am-utils.texi (Amq -T option): manual documentation updates 828 for new amq options -T/-U. 829 830 * amq/amq.8: updated man page for new amq options -T/-U. 831 832 * amq/amq.c: two new switches to amq. -U will contact amd using 833 UDP only. -T will use TCP only. Normally amq will try TCP and 834 if that failed, will try UDP. 835 836 * doc/am-utils.texi (pawd): manual documentation for pawd. 837 838 * amq/pawd.1: new man page for pawd. 839 840Tue Jan 6 04:21:59 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 841 842 * amq/pawd.c: a new program, Print Automounter Working Directory, 843 to print the proper pathname of the cwd or any other pathname, 844 adjusted for automounter paths, while avoiding mount points. 845 846 * aux/macros/localconfig.m4: trivial support for am-utils 847 maintainers to adjust some of the configuration of am-utils after 848 it has been auto-configured by putting whatever definitions you 849 wish in a file called localconfig.h, located in the top build 850 directory (the same one where config.h is created for you). 851 852 * doc/am-utils.texi (Caching Filesystem): updated documents for 853 cachefs file system. 854 855 * amd/ops_cachefs.c: initial cachefs support, for solaris. 856 type:=cachefs, requires cachedir:=/cache/dir/name to be defined 857 and initialized with cfsadmin -c. $rfs is backdir to be cached 858 from, and $fs is the local mount point of the cachefs. 859 860 * conf/mount/mount_svr4.c (mount_svr4): support mounting of 861 cachefs file systems. 862 863 * amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the 864 mnttab type is. 865 866Mon Jan 5 23:22:49 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 867 868 * amd/opts.c: added support for new variable $cachedir. 869 870 * include/am_utils.h: added opt_cachedir field to struct am_opts. 871 872Sat Jan 3 01:43:57 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 873 874 * amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the 875 local hostname does not match $rhost, and if so, also assume 876 type:=nfs. 877 878Fri Jan 2 01:00:40 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 879 880 * updated all source files to add 1998 as a copyright year. 881 882 * amd/ops_nfsl.c: new amd meta file system "type:=nfsl". Behaves 883 like type:=linkx if the pathname denoted by $fs exists, and like 884 type:=nfs if it does not. A convenient shortcut for the most 885 popular amd map entry. 886 887 * amd/amd.c (main): amd should chdir to / before starting, to 888 avoid hanging on other NFS server if started elsewhere. 889 890 * amd/ops_TEMPLATE.c: added an empty template file for developers 891 who wish to write new amd pseudo file systems. 892 893Thu Jan 1 00:27:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 894 895 * hlfsd/homedir.c (plt_init): make function exported, to save on 896 the unnecessary init_homedir() function which was removed. 897 (table_add): don't use xmalloc() when you can use strdup() 898 instead. 899 900Thu Jan 1 00:15:58 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 901 902 * hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this 903 because we will be making more passwd calls afterwards. On 904 Solaris 2.5.1, making getpwent() calls after calling endpwent() 905 results in a memory leak! (and no, even Purify didn't detect 906 it...) 907 908Tue Dec 23 18:23:47 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 909 910 * hlfsd/hlfsd.c (main): Bug fix. Don't try to free() an 911 automatically allocated address. 912 913 * amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an 914 automatically allocated address. 915 916 * ALL SOURCES: change every direct call to free() to xfree(), so 917 it can be mapped to the right debugging function as needed. 918 919 * include/am_utils.h: new free() policy. If debugging memory, 920 call dxfree(), which will print the file name and line number 921 where the free occurred and the pointer address. if only regular 922 debugging, then free() and reset the pointer to NULL so it cannot 923 be used afterwards inadvertently. If not DEBUG at all, then just 924 run free(). Three different #define macros set the right mapping. 925 926 * libamu/xutil.c (dxfree): renamed function to dxfree(), so it can 927 be called only when debugging the memory. 928 929Tue Dec 23 04:24:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 930 931 * wire-test/wire-test.c (main): use xmalloc() not malloc(). 932 933 * conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not 934 calloc(). 935 936 * conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc(). 937 938 * conf/mount/mount_linux.c (parse_opts): use xmalloc() not 939 malloc(). 940 941 * amd/info_ldap.c: use xmalloc() not malloc(). 942 943 * libamu/xutil.c (xzalloc): new function to allocate memory and 944 zero its bytes. 945 946 * amq/amq.c: amq does not need its own definition of xfree(). 947 948 * aux/macros/opt_debug.m4: if used --enable-debug=mem, then also 949 look for function malloc_verify() in libmapmalloc.a, and function 950 mallinfo() in libmalloc. 951 952 * libamu/xutil.c (checkup_mem): do not use mallinfo field 953 uordbytes, because it does not always exist. Rather, compute it 954 from other fields.. 955 956 * include/am_utils.h: add external definition to xfree() function 957 used when debugging memory references. 958 959Mon Dec 22 03:01:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 960 961 * amd/ops_afs.c (afs_readdir_browsable): reduce the number of 962 bytes heuristically computed to be returned to the kernel. 963 Otherwise browsable_dirs fails on OpenBSD 2.2. 964 965 * amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of 966 mf_private field to AFTER it gets used. 967 968Sat Dec 20 00:51:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 969 970 * amd/ops_host.c (host_umounted): don't use clnt_spcreateerror() 971 on systems that don't support it. 972 973 * include/am_defs.h: add missing extern definition for free(). 974 975 * aux/configure.in: check for external definition for free(). 976 977 * libamu/Makefile.am: add to comment a mention of strstr as an 978 optional function. 979 980 * libamu/xutil.c (switch_to_logfile): use openlog() options only 981 if they exist. 982 983 * conf/transp/transp_sockets.c (get_nfs_version): don't use 984 clnt_spcreateerror if it does not exist. 985 986 * aux/configure.in: check for missing functions clnt_create and 987 clnt_spcreateerror. Check for missing strstr, and complete 988 its code. Check for missing external definition for strstr. 989 990 * aux/macros/host_macros.m4: normalize sun3* names. 991 992 * Makefile.am: updates for new sunos3 files distributed. 993 994 * conf/nfs_prot/nfs_prot_sunos3.h: new file. 995 996 * conf/fh_dref/fh_dref_sunos3.h: new file. 997 998 * aux/macros/check_nfs_prot_headers.m4: added sunos3 case. 999 1000 * aux/macros/check_nfs_fh_dref.m4: added sunos3 case. 1001 1002 * doc/am-utils.texi (wire Selector Variable): updated manual for 1003 adjusted variables wire, network, and netnumber, all using the 1004 in_network() function. 1005 1006Fri Dec 19 04:37:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1007 1008 * amd/opts.c: allow options to be processed by executing arbitrary 1009 functions. Converted wire, network, and netnumber all to use the 1010 nomadic function in_network. So from now on they perform a match 1011 against all networks, not just primary. 1012 1013 * initial port to alpha-unknown-linux-gnu, probably works, but 1014 untested yet. 1015 1016 * conf/nfs_prot/nfs_prot_linux.h: add special definitions for 1017 __FD_* macros which for som strange reason do not get included 1018 from <selectbits.h> on redhat alpha linux. Also turn off usage of 1019 <rpc/des_auth.h> because it is incomplete on the same systems. 1020 1021 * hlfsd/homedir.c (table_add): cast uid field to int, for 1022 comparison. 1023 1024 * include/am_defs.h: more coflicts with redhat alpha linux 1025 "resolved". 1026 1027 * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4: 1028 There's a conflict of definitions on redhat alpha linux between 1029 <netinet/in.h> and <linux/fs.h> which must be avoided. 1030 1031 * aux/configure.in: check for <socketbits.h>, which is in use on 1032 redhat alpha linux. 1033 1034 * doc/am-utils.texi (Selectors): added documentation to describe 1035 the new "!" (negated) nomadic functions. 1036 1037 * amd/opts.c (f_in_network): print debugging info that is correct, 1038 rather than saying that any ARG is on a local network. 1039 (eval_opts): added support for negating nomadic functions, by 1040 prepending "!" to their name. Example, !exists(/foo/bar). 1041 1042Thu Dec 18 20:57:19 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1043 1044 * include/am_compat.h: ensure that all NFS3 systems have the mount 1045 table entries (and amd opts switches) "proto" and "vers". 1046 1047 * hlfsd/homedir.c (table_add): added some debugging info to try 1048 and track down a serious memory leak in hlfsd. 1049 10501997-12-18 Erez Zadok <ezk@t-rex.mcl.cs.columbia.edu> 1051 1052 * libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that 1053 you do NOT set the noconn option, and use connected sockets 1054 always. So I'm now forced not to set it at all, and have the user 1055 specify it as "conn" or "noconn" in their /default entry. Argh... 1056 Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be 1057 buggy (TCP hangs with "short receive" kernel errors). I'd better 1058 wait until they get it working in their version of the automounter 1059 first. So I'm putting the "noconn" option back. 1060 1061Thu Dec 18 02:39:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1062 1063 * libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set 1064 nfs_args field maxgrouplist accordingly. 1065 1066 * include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition 1067 for mount table entry for maxgroups based on NFS mount option 1068 maxgrp. 1069 1070 * aux/configure.in: put back testing for NFS mount option 1071 "maxgrps". Added test for mount table entry "maxgroups". 1072 1073 * libamu/mount_fs.c (compute_nfs_args): perform more careful tests 1074 on nfs_proto, because it could be NULL. 1075 1076 * doc/am-utils.texi (Selectors): added example of in_network() 1077 selector. 1078 1079 * aux/macros/check_hide_mount_type.m4: all hpux versions, 1080 including 9.x, should use "ignore" as the mount type to hide from 1081 amd. 1082 1083Wed Dec 17 13:09:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1084 1085 * include/am_utils.h (NSTREQ): use new macro instead of strncmp() 1086 every where in the sources. 1087 1088Wed Dec 17 01:15:01 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1089 1090 * libamu/mount_fs.c (print_nfs_args): if -D trace is on, will 1091 print as much info that is given in struct nfs_args as possible. 1092 useful for detecting internal flags and options, as well as the 1093 file handle used. 1094 1095 * scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc 1096 after /etc and before /etc/local. 1097 1098Tue Dec 16 18:51:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1099 1100 * aux/configure.in, libamu/Makefile.am: added support for linking 1101 with specific versions of libamu. Upped shared library version of 1102 libamu to 1 (libamu.so.1.0.0) 1103 1104 * include/am_defs.h: added external definition for mkstemp() as 1105 needed. 1106 1107 * minor new port to i386-unknown-netbsd1.3 (BETA version of 1108 netbsd). 1109 1110 * aux/config.guess: don't leave a trailing '.' on the system name 1111 for NetBSD-1.3_BETA and similarly for OpenBSD. 1112 1113 * conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight 1114 differences in ypall calling conventions. 1115 1116 * mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible 1117 in preference over mktemp(), b/c it is more secure. 1118 1119 * aux/configure.in: check for mkstemp(), a more secure version of 1120 mktemp(). 1121 1122Mon Dec 15 02:32:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1123 1124 * amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount 1125 table "vers" option generally do not set the mnttab entry to 1126 "nfs3", but to "nfs" and then they set "vers=3". Setting it to 1127 "nfs3" works, but it may break some things like "df -t nfs" and 1128 the "quota" program (esp. on Solaris and Irix). So on those 1129 systems, set it to "nfs". 1130 1131Sat Dec 13 01:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1132 1133 * doc/am-utils.texi (Distrib): updates for new ports, location of 1134 am-utils' home page, and URL cross references (now supported by my 1135 version of texi2html). 1136 1137 * aux/macros/check_mtype_type.m4: also use string type for file 1138 system mount types under nextstep for mount(2). 1139 1140 * aux/macros/check_mtype_printf_type.m4}: nextstep can handle both 1141 integer and string types for file system mount types in mount(2), 1142 but it is better to use string types. 1143 1144 * conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to 1145 0, not 1! Otherwise, all NFS calls (esp. mount) return errno 1 1146 (EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now 1147 works. 1148 1149 * conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0, 1150 not 1! Otherwise, all NFS calls (esp. mount) return errno 1 1151 (EPERM) instead of 0 (OK). 1152 1153 * libamu/xdr_func.c (xdr_*): add debugging calls that are optioned 1154 by -D trace (protocol trace). 1155 11561997-12-11 Erez Zadok <ezk@bach.cs.columbia.edu> 1157 1158 * A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR 1159 macro based on existence on others, and include <sys/stat.h>. 1160 1161Thu Dec 11 14:14:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1162 1163 * aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off 1164 inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on 1165 which this header is broken (it tries to include non-existing 1166 headers). 1167 1168Wed Dec 10 16:09:07 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1169 1170 * libamu/mount_fs.c (mnt_flags): support either nfs or generic 1171 mount option for grpid. 1172 1173 * aux/configure.in: turn back on NFS mount option grpid. 1174 1175Sat Dec 6 04:36:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1176 1177 * doc/Makefile.am (install-ps): added target to install postscript 1178 file in the am-utils' home page, as well as a few other useful 1179 files for the new am-utils Web page. 1180 1181Mon Nov 17 05:22:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1182 1183 ******************************************************************* 1184 *** Released am-utils-6.0a14 *** 1185 ******************************************************************* 1186 1187Sun Nov 16 21:56:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1188 1189 * doc/am-utils.texi (Supported Platforms): updated table of new 1190 ports. 1191 1192Sat Nov 15 06:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1193 1194 * libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab 1195 options so that they can be printed in logs as needed. 1196 1197 * doc/am-utils.texi (osver Parameter): updated for the correct 1198 usage of the -o/-O options. 1199 1200 * scripts/amd.conf.5: corrected info for -o/-O options. 1201 1202 * amd/amd.8: updated man page for new -O op_sys_name option, and 1203 corrected the usage of the -o op_sys_ver option 1204 1205 * amd/get_args.c (get_args): added new amd option -O to override 1206 OS name. 1207 (get_args): updated usage string. Removed old -m option. Added 1208 -o and -O options. 1209 1210 * conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case 1211 it is not there. Reportedly, irix 5.2 does not define it. 1212 1213 * scripts/lostaltmail.in: removed references to unused $hack 1214 variable. 1215 1216 * aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf 1217 <metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers 1218 for solaris2.5. 1219 1220 * doc/am-utils.texi (Distrib): typo in the subscription 1221 instructions to amd-dev. Patch from Stefan Vogel 1222 <vogel@physik-rzu.unizh.ch>. 1223 12241997-11-15 Erez Zadok <ezk@amtrak.cs.columbia.edu> 1225 1226 * NFS3 works on powerpc-ibm-aix4.2.1.0. 1227 1228 * libamu/mount_fs.c (compute_nfs_args): set fh3 variable to 1229 static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the 1230 stack of an automatic variable when pointer to it is passed around 1231 several times. 1232 1233Fri Nov 14 20:09:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1234 1235 * libamu/xutil.c (real_plog): syslog like behavior for normal 1236 logging. Will not print repeated strings, only a count "last 1237 message repeated N times", but will always print something if 1238 message is repeated more than 100 times. 1239 1240 * scripts/lostaltmail.in: look for lostaltmail.conf files also in 1241 /etc/global, /etc/os, and /etc/local (in that order). 1242 1243Mon Nov 10 03:03:17 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1244 1245 * conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3 1246 mounts. 1247 1248 * aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for 1249 aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h 1250 1251 * conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the 1252 NFS_SA_DREF macro is a pointer to the structure that used to be 1253 passed to it before. So now I have to dereference the pointer 1254 before accessing its values. 1255 1256 * hlfsd/hlfsd.c (main): use the new and cleaner 1257 compute_nfs_args() and compute_automounter_nfs_args() functions. 1258 1259 * amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner 1260 compute_nfs_args() and compute_automounter_nfs_args() functions. 1261 1262 * amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION. Use the new 1263 and cleaner compute_nfs_args() and compute_automounter_nfs_args() 1264 functions. 1265 1266 * libamu/mount_fs.c (compute_nfs_args): major code cleanup that 1267 relates for struct nfs_args. A new function sets the numerous 1268 possible flags and fields of nfs_args_t in an orderly fashion. 1269 Code cleaned up, organized, and moved from amd/hlfsd into 1270 libamu. This saves on overall size of code. 1271 (compute_automounter_nfs_args): A variant of compute_nfs_args() 1272 which sets special options/flags that need to be used when NFS 1273 mounting an automounter's mount point. Used by hlfsd and amd. 1274 1275 * amq/amq.c (get_secure_amd_client): don't print any more 1276 "get_secure_amd_client: using TCP, port 12345". It's more 1277 annoying than useful a message, even when assumed to be compiled 1278 under DEBUG only. 1279 1280Thu Oct 30 14:33:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1281 1282 * aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs 1283 mount table entries. The code used to define the /etc/mnttab name 1284 for file systems based on physical media (disk, cdrom, floppy) to 1285 the generic name, rather than the OS specific name. For example 1286 autoconf searches for all these types of mount table entries for a 1287 floppy based file system: vfat pcfs pc msdos msdosfs fat. But if 1288 it found any, it hard-coded the mnttab name to "pcfs" rather than 1289 the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs, 1290 nullfs, unionfs, and umapfs. 1291 1292 * aux/configure.in: also test for xfs (for newer Irix) when 1293 looking for mount type names, numbers, etc of a disk-based ufs. 1294 1295Sun Oct 26 19:32:57 1997 Erez Zadok <ezk@defiant.soscorp.com> 1296 1297 * amq/amq.c (main): use pmap_ping() to test if remote host is up. 1298 This works better on bsdi2 and bsdi3, because their portmapper 1299 does not appear to like forwarding operations (it is generaly 1300 insecure). 1301 1302Sat Oct 25 04:55:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1303 1304 ******************************************************************* 1305 *** Released am-utils-6.0a13 *** 1306 ******************************************************************* 1307 1308Fri Oct 24 05:04:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1309 1310 * conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for 1311 struct datum typedef. 1312 1313 * conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for 1314 ypall_callback_fxn_t for netbsd. 1315 1316 * aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for 1317 the 5th arg to authunix_create(), while before and after they used 1318 gid_t. 1319 1320 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use 1321 clnt_create_timed() on older Solaris 2.3 systems that did not have 1322 it. 1323 1324 * conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for 1325 kernel only on bsdi2, so do not include it. 1326 1327Fri Oct 24 00:29:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1328 1329 * hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated 1330 messages about resolution of mailboxes based on uid/gid. 1331 1332 * scripts/ctl-hlfsd.in: check for alternate password file in 1333 ${prefix}/etc/passwd and use it in hlfsd's startup. 1334 1335Thu Oct 23 22:48:50 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1336 1337 * hlfsd/homedir.c (hlfsd_getpwent): added support for -P 1338 passwdfile option. If hlfsd is started with -P passwdfile, then 1339 the passwdfile is read and parsed just as a standard unix 1340 passwd(4) file. Only the username, uid, and homedir fields are 1341 read and checked. All the rest are ignored. No NIS/netgroup 1342 support! 1343 1344 * hlfsd/hlfsd.c (main): check if hlfsd is run as root after 1345 parsing command line options, so that usage() can be printed when 1346 -h is invoked. 1347 1348Wed Oct 22 00:16:39 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1349 1350 * amd/nfs_start.c (mount_automounter): if autofs service listener 1351 fails to initialize it is OK if using a test amd. 1352 1353 * amd/opts.c (f_in_network): new nomadic function in_network(arg), 1354 which returns TRUE if 'arg' is any one of this host's networks. 1355 1356 * libamu/wire.c (getwire): rewritten parts of function, to store 1357 all networks names and numbers in the order of the interface (not 1358 in reverse). 1359 1360Mon Oct 20 01:59:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1361 1362 * aux/configure.in: don't add ops_ufs.o on AIX twice. My code 1363 would have worked had it not been due to AIX's buggy /bin/sh. 1364 1365 * doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and 1366 am-utils.ps in the distribution sources. 1367 (html): generate html documentation for 1368 http://www.cs.columbia.edu/~ezk/am-utils/ 1369 1370Sun Oct 19 12:35:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1371 1372 * conf/nfs_prot/nfs_prot_netbsd.h: override the definition of 1373 ypall_callback_fxn_t. The NetBSD team compiles all sources with 1374 gcc -Wall -Wmissing-prototypes -Wstrict-prototypes. 1375 1376 * amd/info_nis.c: allow for override of ypall_callback_fxn_t 1377 function typedef. 1378 1379 * libamu/xutil.c (amu_release_controlling_tty): new function to 1380 release the controlling tty in a clean and sane manner. No longer 1381 using setpgid() b/c it may not work. Uses setsid(), 1382 and ioctl() (in order). This new function is used in amd/amd.c 1383 and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some 1384 systems, but on others it is the same as setpgid(). 1385 1386Sat Oct 18 23:42:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1387 1388 * aux/acconfig.h: check for nfs mount option 'fsname'. Code for 1389 it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but 1390 never used, because the configure test for fsname flag wasn't 1391 used. This fixed a bug in HPUX 10, where syncer and manual mounts 1392 left blank lines in /etc/mnttab. 1393 1394 * aux/configure.in: check for nfs mount option 'fsname'. 1395 1396Fri Oct 17 13:30:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1397 1398 * amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs 1399 mount flags of toplvl mounts. Important esp. for HPUX 10. Now 1400 hpux-10 will mount amd's mounts points as 'ignore' (by df). 1401 1402 * aux/configure.in: check for NFS mount option 'ignore', useful in 1403 HPUX 10. 1404 1405Thu Oct 16 03:28:33 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1406 1407 * aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore" 1408 mount type and not NFS, for the amd mount points. 1409 1410 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log 1411 an RPC timeout as an error, but just an info message. From 1412 Andreas Stolcke <stolcke@speech.sri.com> 1413 1414 * If the NFS server is down or does not support the portmapper 1415 call (such as certain Novell NFS servers) we mark it as version 2 1416 and we let the nfs code deal with the case that is down. If when 1417 the server comes back up, it can support NFS V.3 and/or TCP, it 1418 will use those. From christos@deshaw.com (Christos Zoulas). 1419 1420 * hlfsd/homedir.c (plt_print): various compile time cleanups to 1421 printfs that take a long, but pass an int to print. From 1422 christos@deshaw.com (Christos Zoulas). 1423 1424 * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new 1425 macro to determine if the OS has a bad yp_all(), based on the host 1426 OS name. So far only irix (all versions) have a bad yp_all, so 1427 they will use am_yp_all() instead (which is slower as it 1428 enumerates manually all of the map's entries). 1429 1430Thu Oct 16 03:14:37 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 1431 1432 * amd/info_nis.c (am_yp_all): code for a replacement yp_all that 1433 avoids using a file-descriptor leaking yp_all() on some systems 1434 like irix. 1435 1436Wed Oct 15 21:52:35 1997 Erez Zadok <ezk> 1437 1438 * fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x 1439 systems using /usr/bin/flex. 1440 1441 * amd/conf_tok.l (yywrap): avoid redefining yywrap for systems 1442 that have a modified GNU flex which does define yywrap (DU-4.x). 1443 1444Fri Sep 26 14:25:29 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1445 1446 * conf/checkmount/checkmount_bsd44.c: include prototype. 1447 1448Fri Sep 26 01:26:24 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1449 1450 ******************************************************************* 1451 *** Released am-utils-6.0a12 *** 1452 ******************************************************************* 1453 1454Fri Sep 26 00:13:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1455 1456 * conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs 1457 code in irix6 until it can be tested correctly 1458 1459 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out 1460 on clnt_create for 3 seconds, rather than wait for the much longer 1461 default. 1462 1463 * conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0. 1464 Includes NFS3, untested. 1465 1466Thu Sep 25 11:03:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1467 1468 * amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of 1469 pcfs_args_t if they exist. 1470 1471 * amd/ops_cdfs.c (mount_cdfs): fill in ssector field of 1472 cdfs_args_t if it exists. 1473 1474 * new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05, 1475 hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4. 1476 1477Wed Sep 24 00:48:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1478 1479 * doc/am-utils.texi (wire-test): updated documentation for the new 1480 option. 1481 1482 * wire-test/wire-test.8: updated man page for new option. 1483 1484 * wire-test/wire-test.c (main): added a test for various 1485 combinations of NFS proto/vers to a remote/local host. 1486 1487 * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 1488 <isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that 1489 freebsd will correctly set mount options for pcfs and cdfs. 1490 1491 * amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to 1492 0777 (if field exists). 1493 1494 * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 1495 <msdosfs/msdosfsmount.h> if available. 1496 1497 * minor new port: rs6000-ibm-aix4.1.4.0. 1498 1499 * libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to 1500 write the "time" field in /etc/mnttab. 1501 1502 * conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for 1503 detecting mnt_time field of mntent_t. 1504 1505 * libamu/mtab.c (mnt_free): fixed typo in macro names for 1506 detecting mnt_time field of mntent_t. 1507 1508Tue Sep 23 15:30:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1509 1510 * conf/mtab/mtab_file.c (lock): Use flock() in preference over 1511 fcntl() to lock the mtab file. 1512 1513Mon Sep 22 23:04:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1514 1515 * conf/transp/transp_sockets.c (get_nfs_version): define 1516 the try_again goto label only for NFS3. 1517 (pmap_ping): assume timeout failure of clnt_stat. 1518 1519 * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to 1520 "groups *". 1521 1522Mon Sep 22 20:34:33 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1523 1524 * conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley 1525 <dsr@mail.lns.cornell.edu> to make sure that amd works with more 1526 secure portmappers that do not allow forwarding of RPC messages to 1527 other services. 1528 1529 * */Makefile.am: all source files should also depend on the new 1530 include/am_xdr_func.h header. 1531 1532 * include/am_xdr_func.h: new file as part of the code cleanup from 1533 Christos Zoulas <christos@deshaw.com>. 1534 1535 * Lots of fixes from Christos Zoulas <christos@deshaw.com> that 1536 involved missing prototypes, cleaned up ones, and removal of 1537 unused variables. 1538 1539 * libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch 1540 statement with only one case is unclean. 1541 1542Mon Sep 22 17:26:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1543 1544 * amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to 1545 0 so that all fields are initialized to zero at first. This way 1546 SunOS 4.x and other systems don't get /etc/mtab entries with 1547 random integers for the fsck/freq fields. Patch from Andreas 1548 Stolcke <stolcke@speech.sri.com>. 1549 1550Mon Sep 22 00:34:19 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 1551 1552 * conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so 1553 that the important definition for HOSTNAMESZ will be found. 1554 1555 * amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ 1556 (inside the nfs_args structure) if the system uses that macro. 1557 Otherwise systems like SunOS refuse to NFS mount long pathnames 1558 and result in ENAMETOOLONG errno's. 1559 1560Wed Sep 17 04:56:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1561 1562 * doc/am-utils.texi (Supported Platforms): specify new support for 1563 solaris 2.6, and hlfsd running on 2.5.1 too. 1564 1565Wed Sep 17 03:55:02 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 1566 1567 * conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs 1568 mount if it is not supported or was turned off. 1569 1570Wed Sep 17 03:19:36 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 1571 1572 * conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount 1573 again. Apparently at some previous release SunOS 4 supported was 1574 broken and all nfs mounts resulted in ESTALE. 1575 1576Wed Sep 17 00:26:25 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 1577 1578 * conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for 1579 solaris 2.6. 1580 1581 * aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs 1582 protocol header selection. 1583 1584Sat Sep 13 14:31:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1585 1586 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid 1587 infinite loop. 1588 1589Sun Sep 7 18:23:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1590 1591 ******************************************************************* 1592 *** Released am-utils-6.0a11 *** 1593 ******************************************************************* 1594 1595Fri Sep 5 11:55:10 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1596 1597 * amd/amd.c (main): if plock() succeeded, don't try to display 1598 errno message. Patch from Chris Metcalf 1599 <metcalf@catfish.lcs.mit.edu. 1600 1601Thu Sep 4 19:17:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1602 1603 * hlfsd/homedir.c (table_add): make sure duplicate passwd entries 1604 are ignored. Only the first entry should ever be used, because 1605 that's how lookup in passwd database works. 1606 1607 * conf/transp/transp_sockets.c (get_nfs_version): when determining 1608 if a remote host is up or down, use NFS v.2. Fix suggested by 1609 Enami Tsugutomo <enami@cv.sony.co.jp>. 1610 1611 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): new 1612 function to get the best possible NFS version, but also timeout 1613 faster than normal defaults, so remote hosts which are down can be 1614 detected in a reasonable time. 1615 (get_nfs_version): use the new "best" function. 1616 1617Tue Sep 2 00:41:00 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1618 1619 ******************************************************************* 1620 *** Released am-utils-6.0a10 *** 1621 ******************************************************************* 1622 1623Mon Sep 1 15:39:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1624 1625 * conf/transp/transp_tli.c (get_nfs_version): don't use 1626 clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4 1627 and earlier). 1628 1629 * aux/configure.in: test for existence of clnt_tp_create_timed(), 1630 since Solaris 2.4 (and possibly earlier) do not have it. 1631 1632Mon Sep 1 15:23:18 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 1633 1634 * amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid 1635 field if it exists (solaris 2.4's autofs does not have it). 1636 1637Mon Sep 1 14:45:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1638 1639 * aux/macros/type_auth_create_gidlist.m4: a new test to determine 1640 the correct type to the 5th argument of authunix_create(). 1641 1642Mon Sep 1 03:44:32 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 1643 1644 * libamu/xdr_func.c (xdr_umntrequest): add test for autofs 1645 structure umntrequest, if it has the field rdevid. Seems Solaris 1646 2.4 and earlier didn't have it. 1647 1648Mon Sep 1 01:10:53 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1649 1650 * hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it 1651 can be done before primary process forks. 1652 (main): bug fix: wait a bit to give child a chance to initialize. 1653 Without this, hlfsd got into a busy infinite loop while, never 1654 completing the mount. 1655 1656 * amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov> 1657 to make amd works when talking to NIS+ servers in NIS 1658 compatibility mode. 1659 1660Mon Sep 1 00:46:56 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1661 1662 * amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024. 1663 1664Sun Aug 31 20:20:40 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1665 1666 * amd/conf.c (gopt_fully_qualified_hosts): a new function to 1667 process another new global variable. 1668 1669 * amd/ops_nfs.c (make_nfs_auth): if a new global variable 1670 fully_qualified_hosts is on, use FQHN in RPC/NFS authentications. 1671 Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>. 1672 1673 * amd/conf.c (process_last_regular_map): If the amd.conf file only 1674 has a [global] section (pretty useless IMHO), do not try to 1675 process a map that does not exist. 1676 1677 * scripts/amd.conf.5: fixed typos (repeated 'as' word). 1678 1679 * doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!! 1680 1681 * amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm 1682 structure, so it does not carry over from map entry to another. 1683 1684Sat Aug 30 18:39:21 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 1685 1686 * amd/amd.c (main): fixed the meaning of the plock option. A bug 1687 caused it to be reversed. 1688 1689Sat Aug 30 15:13:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1690 1691 * hlfsd/stubs.c: don't initialize some statics here. They are 1692 better initialized in hlfsd_init_filehandles(). 1693 1694Fri Aug 22 14:47:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1695 1696 * amd/conf.c (gopt_show_statfs_entries): new function and a global 1697 amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes', 1698 then all maps flagged as browsable will also show a count of the 1699 number of entries (keys) in that map. 1700 1701 * amd/nfs_subr.c (count_map_entries): new function to count number 1702 of entries in a map. Now used if browsable is turned on in a map, 1703 to return a count of available keys in a given map. 1704 1705 * hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd 1706 confused the file handles for ".", "..", and the symlink, causing 1707 mess. 1708 1709 * aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12, 1710 but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts 1711 with bad memcmp() in libc's (nextstep3). 1712 1713Thu Aug 21 17:38:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1714 1715 * aux/configure.in: check if autofs_args_t has a field named 1716 addr. Solaris has it for specifying the address of the daemon, 1717 but Irix does not. So how does irix tell the kernel the daemon's 1718 address? I suspect that it is hardcoded to "localhost" using a 1719 "private well-known port" (#define AUTOFS_PORT 2048). 1720 1721 * conf/nfs_prot/nfs_prot_linux.h: added missing autofs 1722 definitions. 1723 1724 * README.autofs: new file listing autofs support notes 1725 1726 * very preliminary autofs code working. Call it pre-alpha 1727 quality. 1728 1729Sun Aug 17 02:25:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1730 1731 * amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept 1732 "autofs" if system does not support it. 1733 1734 * amd/amd.c (main): log am-utils version string (same as amd -v) 1735 at start of run. 1736 1737 * conf/transp/transp_sockets.c (get_nfs_version): in order to tell 1738 if a remote host is available, try to contact its portmapper and 1739 timeout if no answer is received in 3 seconds. 1740 1741Thu Aug 14 16:12:04 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1742 1743 * aux/macros/check_extern.m4 (pattern): use a simpler pattern for 1744 match for external function definitions. The function could span 1745 multiple lines, so only match the opening parenthesis, not the 1746 closing one too. 1747 1748 * aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on 1749 posix mode for nextstep3. It is broken. 1750 1751 * amd/amd.c (init_global_options): run uname() only if 1752 <sys/utsname.h> and uname(2) exist. 1753 1754 * amd/rpc_fwd.c (fwd_packet): if remote host is down, the 1755 forwarding socket is null, so declare this an error. 1756 1757 * include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set 1758 for when a remote host is down. Try, in order, "host down", "host 1759 unreachable", "invalid argument". 1760 1761 * amd/ops_nfs.c (discard_fh): don't dereference a null pointer 1762 (happens when remote host is down, and fp->fh_fs is NULL). 1763 (prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID 1764 and FSF_DOWN. 1765 1766 * amd/sched.c: nobody uses "union wait" any more, or so it 1767 appears, so clean up that code. 1768 1769 * conf/transp/transp_tli.c (get_nfs_version): if remote host is 1770 down, time it out faster than default (3 seconds). 1771 (get_mount_client): free netconfig entry when done with it. 1772 1773 * conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly) 1774 port to nextstep3 (m68k-next-nextstep3). 1775 1776 * fsinfo/Makefile.am (LDADD): needs to link with libamu in case 1777 system does not have strdup(). 1778 1779 * include/am_defs.h: complete external definition for getlogin() 1780 if needed. 1781 1782 * conf/transp/transp_tli.c (get_nfs_version): no need to keep 1783 static versout variable. 1784 1785 * amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote 1786 server is probably down. Don't use sendto() in that case. 1787 1788 * buildall (default): run gmake if found, before trying plain 1789 make. GNU make is always preferable. 1790 1791Tue Aug 12 21:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1792 1793 * aux/macros/host_macros.m4: cleanup of os_version and os 1794 overrides. Solaris 2.5.1 for example will come up as solaris2 and 1795 2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in 1796 the amd.conf file. 1797 1798Fri Aug 8 14:37:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1799 1800 ******************************************************************* 1801 *** Released am-utils-6.0a9 *** 1802 ******************************************************************* 1803 1804Thu Aug 7 00:52:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1805 1806 * conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2 1807 (i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff 1808 from <ndbm.h> and <sys/resource.h>. 1809 1810 * scripts/amd.conf.5: new map page. 1811 1812 * amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3 1813 does not. 1814 1815 * amd/amd.8: updated man page. 1816 1817 * amd/get_args.c (get_args): removed defunct -h option to amd. 1818 1819 * amq/amq.8: updated man page. 1820 1821 * amd/info_nisplus.c (nisplus_search): prototype fixes so Sun 1822 SparcCompiler CC won't complain. 1823 1824 * amd/info_hesiod.c (hesiod_search): small fixes to compile with 1825 hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>. 1826 1827 * aux/macros/opt_ldflags.m4: new option added to configure 1828 --enable-ldflags, to specify -L option for configuring/compiling. 1829 The older one --enable-libs is now to be used only for -l options. 1830 1831 * amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize 1832 nc_protoname from nfs_proto if available for all TLI systems, not 1833 just those that have NFS V3. 1834 1835 * amd/info_ldap.c: ldap patches from Leif Johansson 1836 <leifj@matematik.su.se>, adding two new amd.conf ldap variables: 1837 ldap_cache_seconds and ldap_cache_maxmem. 1838 1839 * hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in 1840 htons(). 1841 1842Sun Aug 3 17:20:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1843 1844 * amd/nfs_start.c (mount_automounter): register amd with the rpc 1845 program number that may have been overridden by amd.conf. 1846 1847 * libamu/xutil.c (set_amd_program_number, get_amd_program_number): 1848 allow storing and retrieving alternate amd program numbers. 1849 1850 * amd/conf.c (gopt_portmap_program): new function to parse 1851 amd.conf entry portmap_program=1234. 1852 1853 * amq/amq.c (main): allow specifying an alternate rpc program 1854 number for amd via -P prognum. 1855 1856 * new amq RPC to get the process id of the running amd. This is 1857 used in ctl-amd to quickly find the pid of the amd that is to be 1858 killed. 1859 1860 * expanded shared libraries support. Using GNU libtool-1.0, 1861 am-utils now builds shared libraries on many platforms that have 1862 support for it and proper compilers/linkers. See "INSTALL" file 1863 for compatibility chart. 1864 1865Thu Jul 31 13:07:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1866 1867 * fsinfo/fsi_lex.l: removed code that was in support of very old 1868 versions of flex. No longer needed. 1869 1870Tue Jul 29 12:00:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1871 1872 * amd/amd.c (init_global_options): find the kernel architecture 1873 from uname() if possible. 1874 1875Mon Jul 28 03:53:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1876 1877 * new working port: i386-unknown-openbsd2.1 1878 1879Fri Jul 25 03:16:31 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 1880 1881 * working port: sparc-sun-solaris2.4. Had to fix fhandle_t from 1882 structure to actual char[], because the structure was passed to 1883 xdr_fhandle as data and not a pointer. Surprisingly, gcc 1884 -fpcc-struct-return did not help. 1885 1886 * conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol 1887 definitions for solaris 2.4 have to be different from 2.3, and 1888 different from 2.5. 1889 1890 * libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup. 1891 1892Thu Jul 24 16:22:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1893 1894 * conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount 1895 types, not ==. Fix from Christos Zoulas <christos@deshaw.com>. 1896 1897 * mk-amd-map/mk-amd-map.8: man page taken from bsd44. 1898 1899Thu Jul 24 00:01:55 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 1900 1901 * conf/mount/mount_linux.c: made the nfs error mapping code into a 1902 small function. 1903 1904Wed Jul 23 16:11:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1905 1906 * conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special 1907 error mappings from errno numbers to NFS errors. From Debian 1908 Linux. 1909 1910 * scripts/am-eject.in (fs): new script (taken from Debian Linux 1911 folks) to auto-unmount floppy/cd devices before ejecting them. 1912 1913 * fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass 1914 '5' as second arg to show_area_being_processed. I'm not sure why. 1915 1916 * fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as 1917 second arg to show_area_being_processed. I'm not sure why. 1918 1919 * conf/mount/mount_linux.c (parse_opts): as per Debian Linux, 1920 ensure that you have a buffer in *xopts to strcat onto. 1921 (mount_linux): fixed from Debian folks to ensure that NFS mount 1922 sockets are connected only for kernels prior to 1.3.10 (avoids 1923 hangs for multi-homed hosts). 1924 1925 * amd/mapc.c (make_entry_chain): from Debian folks: don't skip 1926 over amd map keys that have a prefix, and include the prefix in 1927 the returned readdir(). 1928 1929 * amd/info_passwd.c (passwd_init, passwd_search): format 1930 enhancements from the Debian Linux folks. They added 1931 - var0:=pw-prefix:=anydir 1932 - var1:=pw-rhost:=dom3.dom2.dom1 1933 - var2:=pw-user:=user 1934 - var3:=pw-home:=/anydir/dom1/dom2/dom3/user 1935 1936 * new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1. 1937 1938 * amd/ops_afs.c (afs_retry): patches from Debian Linux. If 1939 afs_mount timed out, then explicitly forbid further retries after 1940 the timeout. (afs_bgmount): buf fix from Debian Linux. Timeout 1941 values (17 and 5) were mistakenly swapped. 1942 1943Wed Jul 23 15:53:25 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 1944 1945 * conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3 1946 support for Solaris 2.4 (the header files incorrectly define parts 1947 of the NFS V.3 protocol, but the kernel does not support it). 1948 1949Wed Jul 23 00:07:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1950 1951 * amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init 1952 for determining if using old or new hesiod libraries, 1953 respectively. 1954 1955 * amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS 1956 V.3 then use non-connected sockets (both TCP and UDP). Otherwise 1957 they cause hangs of mounts from multi-homed hosts when the return 1958 route is not the same as the outgoing route (esp. on NetBSD 1959 1.2.1). If "conn" option was supplied, then don't turn on the 1960 "noconn" mount option. Otherwise default to "noconn" mount 1961 option. 1962 1963 * aux/configure.in: better check for systems that need libgdbm and 1964 <ndbm.h> 1965 1966Tue Jul 22 04:02:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1967 1968 * hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that 1969 mounts are hidden from df(1) on systems that keep mount tables in 1970 kernel, such as osf1. 1971 1972Tue Jul 22 02:26:55 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1973 1974 ******************************************************************* 1975 *** Released am-utils-6.0a8 *** 1976 ******************************************************************* 1977 1978Mon Jul 21 21:33:19 1997 Erez Zadok <ezk@stone.mcl.cs.columbia.edu> 1979 1980 * hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to 1981 AF_INET when hlfsd mounts itself, thus getting an errno "protocol 1982 family not supported". 1983 1984Mon Jul 21 20:46:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1985 1986 * verified that amd on NetBSD 1.2.1 (i386) works, but the OS 1987 itself is flaky. 1988 1989 * verified that amd AIX 3 works w/ the new readdir() code. 1990 1991Mon Jul 21 18:59:30 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 1992 1993 * amd/mapc.c (maptypes): changed the default map caching type for 1994 nis and ndbm maps to "MAPC_ALL", so that all possible entries will 1995 be available to amd for browsable_dirs=yes. 1996 1997Mon Jul 21 18:04:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1998 1999 * amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split 2000 afs_readdir into a browsable version and a non-browsable one. 2001 Fixed bugs that resulted in an infinite nfs_readdir loop on the 2002 localhost for some operating systems. 2003 2004Sat Jul 19 19:38:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2005 2006 * amd/ops_afs.c (afs_readdir): fixed up the browsable code to 2007 comply with nfs_readdir specs. It was returning all entries at 2008 once, even if there was not enough space in the RPC packet. Now, 2009 it sends a reasonably sized chunk, and sets static state to resume 2010 it for the next continuation RPC of readdir. 2011 2012 * amd/conf.c (set_conf_kv): fixed bug that resulted in the first 2013 regular map not getting all of the [global] options defaulted from. 2014 2015Fri Jul 18 00:45:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2016 2017 * amq/amq.c (main): fixed so that portmapper "ping" will only fail 2018 upon an RPC timeout 2019 2020 * scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the 2021 amd/hlfsd process to kill. 2022 2023 * amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to 2024 determine how to avoid df from seeing amd's toplvl mounts. Moved 2025 from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd 2026 is hidden from df. 2027 (mount_toplvl): fixed df types for irix. 2028 2029Thu Jul 17 21:59:45 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 2030 2031 * amq/amq.c (main): fixed bug that caused the 5 second timeout for 2032 TLI amq using udp to be ignored. 2033 (main): if amq cannot contact remote host's portmapper within 5 2034 seconds, timeout and fail faster than the default longer timeout 2035 (this is for non-TLI systems). 2036 2037Thu Jul 17 17:08:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2038 2039 * amq/amq.c (get_secure_amd_client): if amq cannot contact 2040 remote host's portmapper within 5 seconds, timeout and fail faster 2041 than the default TLI timeout of over 4 minutes. 2042 2043 * amd/am_ops.c (ops_showfstypes): added styles for new bsd44 2044 file systems nullfs, unionfs, and umapfs. 2045 (ops_show1): cleanup code and and reuse this function. 2046 (vops): empty placeholders for nullfs, unionfs, and umapfs. 2047 2048 * amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for 2049 bsd44 style file systems. 2050 2051 * fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44 2052 sources. 2053 2054 * amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid 2055 conflict with systems that define it in <sys/ioctl.h> and also 2056 define a conflicting one via lex. Newer versions of f/lex are ok. 2057 2058Wed Jul 16 00:17:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2059 2060 * amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields 2061 acdirmin/max and acregmin/max only if they exist. 2062 2063 * aux/configure.in: test for nfs_args fields acdirmin and 2064 acregmin. 2065 2066Tue Jul 15 17:24:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2067 2068 * aux/configure.in: commented out checking for MNT2_GEN_OPT_* for 2069 "nondev" and commented back in checking for "nodev". This was a 2070 typo. 2071 2072 * include/am_compat.h: more compatibility options: define "ro" 2073 mnttab option all the time. Define "overlay" as needed. Added 2074 more fillers of mnttab options (as per Daniel S. Riley 2075 <dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax, 2076 acregmin, noac, grpid, nosuid, and actimo. 2077 2078 * libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as 2079 per dsr@mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up 2080 the same code for other options in struct opt_tab. 2081 2082Mon Jul 14 22:36:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2083 2084 * amd/get_args.c (get_args): moved amd.conf file parsing to before 2085 the switching the default log/debug options. Suggested by 2086 dsr@mail.lns.cornell.edu (Daniel S. Riley). 2087 2088 * aux/update_build_version: new script to record the build version 2089 of amd, along with the rest of the info thet comes up with amd -v. 2090 2091Sun Jul 13 00:30:24 1997 Erez Zadok <ezk@decca.damtp.cam.ac.uk> 2092 2093 * aux/macros/os_cflags.m4: new macro, to add additional 2094 compilation options (also used during configuration), based on the 2095 OS and the compiler. Used for solaris-2.6, osf, and irix6. 2096 2097Fri Jul 11 10:15:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2098 2099 * amd/conf_tok.l, conf_parse.y: allow values of keys to include 2100 white spaces, if they are double-quoted (key="some value") 2101 2102 * amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes 2103 of hesiod from Danny Braniss <danny@cs.huji.ac.il>. 2104 2105Fri Jul 11 02:16:06 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2106 2107 ******************************************************************* 2108 *** Released am-utils-6.0a7 *** 2109 ******************************************************************* 2110 2111Thu Jul 10 12:19:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2112 2113 * include/am_defs.h: fill in extern definition of innetgr() in 2114 case system headers don't. 2115 2116 * aux/macros/path_prog_lex.m4 aux/configure.in: using macros that 2117 will show the full pathname to yacc/bison and f/lex. Some systems 2118 have older or bad versions of those and this way the user will 2119 know for sure what is being invoked. 2120 2121 * tasks: file populated with todo items. 2122 2123 * scripts/amd2ldif.in: Script to convert amd maps to plain text 2124 LDAP object files. Contributed by Leif Johansson 2125 <leifj@matematik.su.se>. 2126 2127 * aux/config.guess: added recognition for sun3's running 4.2bsd, 2128 from Tom Schmidt <tschmidt@micron.com>. Fixed one small typo. 2129 2130 * amd/conf.c: several variables that were local to a map, were 2131 also added to [global], where they apply to all maps. Each map 2132 can then individually override those defaults. Flags 2133 affected: browsable_dirs and mount_type. Options affected: 2134 map_type, map_options, and search_path. 2135 2136 * amd/amd.h: eliminated several global flags each of which took an 2137 int, in favor of one global flags variable used as a bit field. 2138 2139 * amd/amd.c (init_global_options): moved all global variables into 2140 a single struct amu_global_options, so it is easier to add new 2141 ones and/or identify existing ones. 2142 2143 * amd/get_args.c (get_args): removed unused amd -m option. 2144 2145 * amd/conf.c (gopt_cluster): added new amd.conf option for cluster 2146 name, same as amd -C. 2147 2148 * amd/info_ldap.c: LDAP info map functions from Leif Johansson 2149 <leifj@matematik.su.se>. 2150 2151 * amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global 2152 amd.conf options for ldap_base and ldap_hostports. 2153 2154 * amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test 2155 if the current host is in the ARG host netgroup. 2156 2157 * aux/configure.in: some systems replaced dbm in libc with GNU's 2158 libgdbm, so check for libgdbm, but only if dbm_open is not in 2159 libc already. This was a recommendation from Tom Schmidt 2160 <tschmidt@micron.com>. 2161 2162 * conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3 2163 completed. 2164 2165Wed Jul 9 18:14:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2166 2167 * port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS 2168 V.3. 2169 2170Tue Jul 8 17:35:07 1997 Erez Zadok <ezk@elk.mcl.cs.columbia.edu> 2171 2172 * port to i386-unknown-freebsd3.0 done and working. Includes NFS 2173 V.3. 2174 2175 * aux/macros/check_nfs_fh_dref.m4: freebsd3 should use 2176 file handle dereferencing style similar to freebsd22. 2177 2178 * include/am_defs.h: need to include <net/if_var.h> before 2179 <netinet/if_ether.h> on freebsd3. 2180 2181 * conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions 2182 for freeBSD 3.0. 2183 2184Tue Jul 8 16:53:41 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 2185 2186 * amd/info_nis.c (nis_reload): cast nis' callback function so 2187 picky compilers won't complain. 2188 2189 * libamu/xdr_mountres3.c (xdr_mountres3): make sure this function 2190 gets compiled only if the system has NFS V3 and does not have 2191 xdr_mountres3. 2192 2193Tue Jul 8 12:42:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2194 2195 * COPYING: put in some legal stuff in this file. 2196 2197Mon Jul 7 19:10:44 1997 Erez Zadok <ezk@prometheus.soscorp.com> 2198 2199 * NFS V3 now works under Irix5, thanks to patches from 2200 Andreas Stolcke <stolcke@speech.sri.com>. 2201 2202 * conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5 2203 version and an irix6 version, since irix5's NFS V3 code is broken 2204 and hacky. 2205 2206 * amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer 2207 sizes for some hesiod queries. Patch from Danny Braniss 2208 <danny@cs.huji.ac.il>. 2209 2210Mon Jul 7 19:04:14 1997 Erez Zadok <ezk@glory.soscorp.com> 2211 2212 * amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3. 2213 2214Sun Jul 6 14:22:24 1997 Erez Zadok <ezk@glory.soscorp.com> 2215 2216 * aux/{configure.in,acconfig.h}: added checks for struct 2217 nfs_args's fields proto and sotype (bsdi3). 2218 2219 * amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to 2220 nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field 2221 to SOCK_STREAM or SOCK_DGRAM. 2222 2223 * aux/macros/check_mount_style.m4: add case for bsdi3. 2224 2225 * amd/info_hesiod.c: got hesiod support for bsdi3. 2226 2227Sun Jul 6 11:14:47 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2228 2229 * aux/configure.in: look for hesiod on libc (bsdi3) 2230 2231 * amd/get_args.c (get_args): reformat usage so it fits in 80 2232 columns. 2233 2234 * scripts/ctl-amd.in: changed directory name for optional tftpboot 2235 map to /tftpboot/.amd. 2236 2237Sat Jul 5 17:46:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2238 2239 ******************************************************************* 2240 *** Released am-utils-6.0a6 *** 2241 ******************************************************************* 2242 2243Sat Jul 5 03:17:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2244 2245 * scripts/ctl-amd.in: include -T tag for tftpboot. 2246 2247 * new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code 2248 is broken and needs work on the specific nfs_args that irix5 uses 2249 for V3 mounts. 2250 2251Sat Jul 5 01:44:25 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2252 2253 * amd/get_args.c (get_args): new options amd -T tag. A map with 2254 tag=foo matching the -T tag will be processed. All untagged maps 2255 get processed all the time. 2256 2257Fri Jul 4 16:19:26 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2258 2259 * aux/configure.in: need to check for strcasecmp in libucb (ncr2) 2260 2261 * aux/macros/check_os_libs.m4: a new macro to set the usage of 2262 libnsl and libsocket based on the OS. 2263 2264 * libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is 2265 defined (problem on osf4). 2266 2267 * conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers. 2268 2269 * include/am_defs.h, aux/macros/try_compile_nfs.m4, 2270 aux/macros/mount_headers.m4: do include <sys/proc.h> because it 2271 failes on irix5. Rather, put in the individual 2272 conf/nfs_prot/nfs_prot_*.h headers. 2273 2274 * amd/conf.c: AIX3 doesn't like strdup() being passed a constant 2275 char*, so cast all strdup()'s args to a non-const char*. 2276 2277 * amd/mapc.c (root_newmap): don't try to strdup only a "const 2278 char *". 2279 2280Fri Jul 4 15:47:10 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 2281 2282 * conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and 2283 sys/errno.h. 2284 2285Thu Jul 3 17:49:00 1997 Erez Zadok <ezk@prometheus.soscorp.com> 2286 2287 * made sure am-utils compiles, links, and runs properly on Irix 2288 6.2 using "cc -32 -Wl,-woff," 2289 2290 * aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12 2291 AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add 2292 them to $LIBS. 2293 2294 * aux/configure.in: some cleanup of which libraries are needed. 2295 Espectially ensure that libnsl is included only on Solaris, where 2296 so far it is the only system on which it is absolutely necessary. 2297 Also no longer need to include libc explicitly. 2298 2299 * amd/amd.c,wire-test/wire-test.c (main): convert IP address to 2300 network-long order before printing it. 2301 2302 * wire-test/wire-test.c (main): also check and report on the IP 2303 address of the local host, since some systems have bad versions of 2304 get_myaddress, or ones that conflict with other versions in 2305 multiple libraries (SunOS 4 and Irix especially). 2306 2307Wed Jul 2 18:19:02 1997 Erez Zadok <ezk@starblazers.soscorp.com> 2308 2309 * scripts/ctl-amd.in: don't use full pathname so killproc() works 2310 better. Also run bsd44 and irix style ps programs. 2311 2312 * aux/macros/check_lib_funcs.m4: bug fixed: used to define usage 2313 of library no matter if it was found or not. 2314 2315Wed Jul 2 02:11:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2316 2317 * aux/macros/check_mnt2_gen_opt.m4: turned back on the checking 2318 for M_* macros, but ensure that <sys/stream.h> is not included at 2319 all so it won't conflict with other M_* macros. 2320 2321Tue Jul 1 21:16:51 1997 Erez Zadok <ezk@mako.cs.columbia.edu> 2322 2323 * conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on 2324 irix should be "spec" (host:/path), not the dir of the mnt point. 2325 2326 * amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors 2327 fixed. If on, it essentially ignored the setting in a 2328 selector-controlled /defaults if there were 2 or more entries in it. 2329 2330Tue Jul 1 12:23:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2331 2332 * scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process 2333 using BSD style ps, then try SVR4 style ps. 2334 2335 * include/am_utils.h (amuDebug): renamed Debug macro to amuDebug 2336 etc., to avoid conflicts with similar named macros in <ldap.h>. 2337 2338 * aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf 2339 support needed for LDAP. Now the code has to be written mostly in 2340 amd/info_ldap.c. 2341 2342 * Included additional patches from Andreas Stolcke 2343 <stolcke@speech.sri.com> to support using the best possible 2344 combination of NFS version (2,3) and protocol (udp,tcp) for any 2345 given host, since it appears that some Irix versions have NFS V3, 2346 but do not support TCP. 2347 2348 * scripts/ctl-amd.in: updated amd control script to look for and 2349 use amd.conf file. 2350 2351Tue Jul 1 00:28:23 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2352 2353 * amd/mapc.c (mapc_create): now, each map in the amd.conf can be 2354 initialized off of a different type, or default to cycling through 2355 all maps until one of them matches. 2356 2357Mon Jun 30 20:49:13 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2358 2359 * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done. 2360 if browsable_dirs=yes is set in the map section in amd.conf, that 2361 map will return all entries back to a readdir(2). 2362 2363Sun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2364 2365 * rudimentary amd.conf file support included. You may even 2366 override things like os=sos5, to get "backwards" compatibilty with 2367 upl102. 2368 2369Sat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2370 2371 * amd/conf.c: new file to process amd.conf file. 2372 2373 * amd/get_args.c (get_args): new options -H to print help. 2374 2375 * moved enable_default_selectors to be amd.conf controlled, and 2376 not compiler controlled. 2377 2378 * amd/get_args.c (get_args): new options -F <conf-file> to parse an 2379 amd configuration file. 2380 2381Wed Jun 25 23:15:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2382 2383 * converted all files that used strcmp() == 0 or != 0 to using 2384 the STREQ() macro. 2385 2386Mon Jun 23 22:31:14 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2387 2388 * aux/macros/check_lib_funcs.m4: new M4 macro that can be used to 2389 search for any number of functions in any given library. 2390 2391Mon Jun 23 01:04:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2392 2393 * amd/mapc.c: Included patch from Leif Johansson 2394 <leifj@matematik.su.se> to ensure that systems without an RE 2395 library can compile. 2396 2397 * libamu/mount_fs.c (mount_fs): Included patch from Andreas 2398 Stolcke <stolcke@speech.sri.com>, to ensure that mount options on 2399 table are properly delimited by a comma. 2400 2401 * amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas 2402 Stolcke <stolcke@speech.sri.com>, to allow users to override the 2403 proto= and vers= mount options. 2404 2405Sun Jun 22 01:00:11 1997 Eric Dana (edana@ncr2.bgs.com) 2406 2407 * conf/nfs_prot/nfs_prot_svr4.h: port completed to 2408 i486-ncr-sysv4.3.03. Assorted source cleanups done. 2409 2410 * include/am_defs.h, aux/macros/mount_headers.m4: don't include 2411 mnttab.h if sys/mnttab.h was already included, because on ncr2, 2412 they contain conflicting entries for struct mnttab. 2413 2414Sat Jun 21 23:52:15 1997 Eric Dana (edana@ncr2.bgs.com) 2415 2416 * aux/macros/check_nfs_prot_headers.m4: added support for ncr2. 2417 2418Fri Jun 20 06:14:17 1997 Erez Zadok <ezk> 2419 2420 * amd/*.c: lots of 64-bit "ugly" ports like casts to long ints. 2421 2422 * aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because 2423 on DU-4.0 it is better than the next one to be picked (nfsv2fh_t). 2424 2425Wed Jun 18 18:59:49 1997 Erez Zadok <ezk@defiant.soscorp.com> 2426 2427 * aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for 2428 nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is 2429 better. 2430 2431Tue Jun 10 17:06:58 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2432 2433 * amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is 2434 NULL, set the maxlen and len fields in netbuf to zero. 2435 2436Wed May 28 22:52:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2437 2438 * scripts/fix-amd-map.in (name): replace all matching patterns on 2439 line. 2440 2441Sun May 25 19:33:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2442 2443 ******************************************************************* 2444 *** Released am-utils-6.0a5 *** 2445 ******************************************************************* 2446 2447Sun May 25 13:37:24 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2448 2449 * amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service 2450 procedure now returns the full string that amd -v returns. 2451 2452 * amd/get_args.c (get_version_string): new function to return 2453 complete version/info string so it could be used more flexibly. 2454 2455 * amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list 2456 of Fs types into a string buffer, rather than a FILE*. 2457 2458 * amd/mapc.c (mapc_showtypes): put the list of map types into a 2459 string buffer, rather than a FILE*. 2460 2461Sun May 25 01:25:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2462 2463 * amd/get_args.c (get_args): amd -v also prints user who built 2464 amd, hostname built on, and date of configuration. 2465 2466Sat May 24 13:40:50 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2467 2468 * scripts/lostaltmail.conf-sample: sample lostaltmail 2469 configuration file. 2470 2471 * scripts/lostaltmail.in: new script lostaltmail used to redeliver 2472 "lost" mail that hlfsd redirected to a temp location because the 2473 primary home file system of the user was full. 2474 2475 * scripts/amd2sun.in: new script amd2sun. Used to convert Sub 2476 automount maps to amd maps. 2477 2478 * scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start, 2479 stop, or restart hlfsd. 2480 2481 * scripts/expn.1: man page for expn command. 2482 2483 * scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or 2484 restart amd. 2485 2486 * scripts/expn.in: new script expn. Actually taken from David 2487 Muir Sharnoff <muir@idiom.com>. Used by hlfsd's mail re-delivery 2488 script. 2489 2490 * scripts/wait4amd.in: new script wait4amd added. Waits for amd 2491 to come up on a host, and then runs a command (rsh $hostname by 2492 default). 2493 2494 * scripts/Makefile.am: new directory now holds all shell/perl 2495 scripts that belong to am-utils. 2496 2497 * conf/mount/mount_linux.c (parse_opts): new parser for 2498 linux-specific mounts. Handles fs-type specific mount-options 2499 correctly. Currently implemented: msdos, iso9660. 2500 2501 * amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default 2502 (fix for linux). 2503 2504 * amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default 2505 (fix for linux). 2506 2507 * amd/mapc.c (make_entry_chain): fixed bug that resulted in amd 2508 core dumps upon "ls" of a mount point; an invalid pointer was 2509 being returned and dereferenced. 2510 2511 * port to Linux sparc working! 2512 2513 * hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if 2514 failed to write test file, or else the fd will leak. 2515 2516Sun May 18 00:42:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2517 2518 * amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp() 2519 instead of strcmp(). 2520 2521 * Port to Digital Unix 4.0 (OSF) done. 2522 2523 * hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts 2524 with dirname() function in <string.h> on OSF systems. 2525 2526 * fsinfo/fsi_util.c (set_ether_if): take out extern defintion of 2527 inet_addr(). It should come from <arpa/inet.h> instead. 2528 2529 * conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs. 2530 2531 * include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to 2532 avoid conflicts with DU 4.0 system header. 2533 2534Thu May 15 22:49:12 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 2535 2536 * libamu/mount_fs.c (mount_fs): pass along NFS version so I can 2537 determine if to include additional options in the mount table file 2538 entry (such as proto=tcp, and vers=3). 2539 2540Thu May 15 00:42:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2541 2542 * libamu/mount_fs.c (mount_fs): include NFS version number in the 2543 mount table options, as well as proto={tcp,udp}. 2544 2545Wed May 14 14:30:19 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2546 2547 * NFS V3 code ported to most other systems, so it compiles for V2 2548 and V3 NFS systems. 2549 2550 * NFS VERSION 3 support, first pass. Working for Solaris and 2551 using TCP. 2552 2553Sun May 11 01:14:29 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2554 2555 * amq/amq.c: many newline characters were missing from various 2556 stderr printfs. 2557 2558Sat May 10 13:09:06 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2559 2560 * conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for 2561 Solaris, which include NFS V3 support. 2562 2563 * conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers. 2564 2565 * conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS 2566 protocol version while getting a mount client. 2567 2568 * amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types, 2569 file handle size, and proper file handle based on the correct NFS 2570 version number. 2571 2572 * conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under 2573 Solaris and other SVR4 systems. 2574 2575 * amd/ops_nfs.c: store NFS file handle version and version 2576 specific handle in struct fh_cache. 2577 (got_nfs_fh): pick the correct RPC reply based on the NFS version 2578 of the server. 2579 (prime_nfs_fhandle_cache): figure out the right NFS file handle 2580 for a node, but now include NFS protocol version information. 2581 (call_mountd): set the correct version for the mount protocol, 2582 based on the NFS protocol version. 2583 (nfs_init): use the NFS protocol generic structure 2584 am_nfs_handle_t. 2585 2586 * include/am_utils.h: new structure am_nfs_handle_t to contain all 2587 possible versions of NFS file handles. 2588 2589 * amd/srvr_nfs.c (start_ping): ping program performs NFS version 2590 specific pings. 2591 (recompute_portmap): figure out the correct portmap version mount. 2592 (nfs_keepalive): call start_ping() with the correct NFS version. 2593 (find_nfs_srvr): if mount option "vers=" is given, use it. Get 2594 the NFS server version and verify that it is up. 2595 2596 * conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new 2597 function to find the best NFS version for a particular host. 2598 2599 * libamu/amu.h: determine what is the highest version of NFS we 2600 should try. 2601 2602 * include/am_utils.h (NFS_VERSION3): added definition for NFS V3 2603 protocol number. 2604 Added field fs_version to struct fserver, so we can now store the 2605 server protocol version. 2606 2607Fri May 9 01:09:45 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 2608 2609 * aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into 2610 underscores too, so I can test for sub-fields. 2611 2612 * libamu/wire.c: use test that checks for sub-fields of struct 2613 ifreq. 2614 2615Sat May 6 10:20:17 2000 Erez Zadok <ezk@glory.soscorp.com> 2616 2617 * port to BSD/OS 3.0 completed! Many xdr_ functions were broken 2618 into smaller files. M4 macros fixed to test for existence of 2619 file systems using getvfsbyname(). 2620 2621 * amd/sched.c (sigchld): signal handler must waitpid() for all 2622 possible children. 2623 2624 * hlfsd/homedir.c: signal handler must waitpid() for all possible 2625 children. 2626 2627 * aux/macros/check_restartable_signals.m4: new macro to determine 2628 if need to reinstall signal handlers per OS is better than trying 2629 to figure these out based on system macros. 2630 2631Fri May 5 19:23:28 2000 Erez Zadok <ezk@glory.soscorp.com> 2632 2633 * amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number. 2634 2635 * amd/ops_afs.c (mount_toplvl): set nfs_args_t version number. 2636 2637 * amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport 2638 (must be supplied for bsdi 3.0) 2639 2640 * libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and 2641 associated new macro) for determining the right way to compute the 2642 size of the interface structure. 2643 2644Fri Apr 11 15:56:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2645 2646 * aux/configure.in: need to include libc before libnsl if 2647 get_myaddress() is available because on irix libnsl has a buggy 2648 get_myaddress(). 2649 2650 * include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined 2651 on Irix 6 (an SVR4 variant) 2652 2653Thu Mar 27 02:28:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2654 2655 ******************************************************************* 2656 *** Released am-utils-6.0a4 *** 2657 ******************************************************************* 2658 2659Wed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 2660 2661 * amd/amq_subr.c (ok_security): turned off insecure code unless 2662 user explicitly runs configure --enable-amq-mount. 2663 2664 * hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service(). 2665 2666 * amd/nfs_start.c (mount_automounter): use code that separately 2667 creates the NFS and the amq service. Register tcp and udp 2668 services for amd. 2669 2670 * conf/transp/transp_*.c (create_amq_service): new function to 2671 separately create the amq service for amd. Simplified prototypes 2672 for create_nfs_service(). 2673 2674Wed Mar 19 20:40:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2675 2676 ******************************************************************* 2677 *** Released am-utils-6.0a3 *** 2678 ******************************************************************* 2679 2680Wed Mar 19 17:49:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2681 2682 * new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots 2683 of small changes to support these two. 2684 2685Wed Mar 19 14:33:30 1997 Erez Zadok <ezk@grande.cs.columbia.edu> 2686 2687 * conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist() 2688 should run if MOUNT_TABLE_ON_FILE, not otherwise. 2689 2690Mon Mar 17 22:02:43 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2691 2692 * hlfsd/hlfsd.c (main): fill in fhsize field if exists 2693 (freebsd-2.2). 2694 2695 * amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if 2696 exists (freebsd-2.2). 2697 2698Sat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 2699 2700 * new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher 2701 changed the filehandle type in struct nfs_args from nfsv2fh_t to 2702 u_char. 2703 2704Sat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 2705 2706 * SHARED LIBRARIES: too many change to list individually. Now, 2707 libamu can be built as a shared library, and other programs link 2708 with it. 2709 2710Tue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 2711 2712 * aux/macros/opt_shared.m4: new macro for setting options for 2713 building shared am-utils libraries. 2714 2715Sun Mar 9 19:17:46 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2716 2717 * fixmount/fixrmtab: cleaned up the script. 2718 2719 * fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that 2720 fixrmtab gets distributed too. 2721 2722 * conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP. 2723 Added extern for xdr_mountlist(). 2724 2725 * aux/configure.in: trimmed down many tests for MNT2_GEN_OPT, 2726 MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in 2727 the sources. 2728 2729Sat Mar 8 00:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2730 2731 * fixmount/hlfsd ported to bsd44, hpux, and linux systems. 2732 2733 * aux/macros/check_fixmount_style.m4: add check for bsd44 systems. 2734 2735 * conf/fixmount/fixmount_default.c: use lockf() if flock() is 2736 unavailable. 2737 2738 * include/am_defs.h: include <string.h> even if don't have 2739 STDC_HEADERS defined (sunos4). 2740 (seteuid): define seteuid() to be setresuid() for systems that 2741 have but not the other (hpux). 2742 2743 * aux/macros/check_extern.m4: test should include <strings.h>. 2744 2745Tue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 2746 2747 * lib/xutil.c (debug_option): moved from amd/getargs.c to this 2748 more proper file. 2749 2750 * include/am_utils.h: put in structure for debug options, for all 2751 progams to use. 2752 2753 * amd/get_args.c: moved structure for debug options out. 2754 2755Sun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 2756 2757 * ported fixmount. 2758 2759 * lib/ualarm.c: replacement function for systems that don't have a 2760 ualarm(). 2761 2762 * ported fsinfo. 2763 2764Sun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 2765 2766 * ported mk-amd-map. 2767 2768 * buildall: added -K option to buildall, to run mkconf. 2769 2770Fri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 2771 2772 ******************************************************************* 2773 *** Released am-utils-6.0a2 *** 2774 ******************************************************************* 2775 2776Thu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 2777 2778 * all *.[hcyl] files: add copyright line. 2779 2780 * aux/macros/check_mount_type.m4: test for mount type for 2781 linux-like systems, by checking for loadable or statically linked 2782 kernel filesystem modules. 2783 2784 * aux/macros/check_mnttab_type.m4: test for mount table entry 2785 for linux-like systems, by checking for loadable or statically 2786 linked kernel filesystem modules. 2787 2788 * aux/configure.in: pcfs filesystems can use vfat type (linux) 2789 2790 * aux/macros/check_fs_mntent.m4: test for filesystem existence for 2791 linux-like systems, by checking for loadable or statically linked 2792 kernel filesystem modules. 2793 2794 * conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX 2795 9.0 header files. This should be removed when HPUX 9.0 is deemed 2796 defunct. 2797 2798 * aux/acconfig.h: set an undefined variable for having an extern 2799 to clnt_sperrno(). 2800 2801 * include/am_defs.h: define extern for clnt_sperrno() if needed. 2802 2803 * aux/configure.in: test for extern clnt_sperrno(). 2804 2805 * aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is 2806 similar to irix. 2807 2808 * aux/macros/check_mount_style.m4: use mount helper on HPUX. 2809 2810 * aux/macros/check_mtype_type.m4: hpux's mount type is a char*, 2811 not integer (but may be mapped to one later). 2812 2813 * conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header 2814 files. They have mount(2) and vfsmount(2) which don't take same 2815 arguments, and they have string mount types MNTTYPE_* as well as 2816 integer types MOUNT_*. So I need this new mount function to map 2817 from string types to integer types for the vfsmount() function. 2818 2819 * conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling 2820 vfsmount(), call mount_hpux(). 2821 2822Thu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 2823 2824 * lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if 2825 both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined. 2826 2827Thu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 2828 2829 * conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for 2830 hpux. 2831 2832 * include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h. 2833 2834 * aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h. 2835 2836 * buildall: added ability to configure using other shells than 2837 /bin/sh, on those systems where /bin/sh is buggy or limited 2838 (HPUX). 2839 2840 * aux/macros/struct_nfs_fh.m4: reinstated the macro but have it 2841 defined am_nfs_fh, and also test for plain typedef "nfs_fh". 2842 2843 * aux/acconfig.h: #undef am_nfs_fh, which is being defined by a 2844 reinstated macro. 2845 2846 * aux/configure.in: check for <nfs/export.h> 2847 2848 * include/am_defs.h: include <nfs/export.h> (HPUX) if exists. 2849 2850 * aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if 2851 exists. 2852 2853 * aux/macros/mount_headers.m4 (define): removed some non-working 2854 (on HPUX) code that attempts to recreate the fhandle_t rather than 2855 load it up from system headers. Also added some NFS protocol 2856 header inclusion. include <nfs/export.h> (HPUX) if exists. 2857 2858Wed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 2859 2860 * aux/macros/mount_headers.m4 (define): Use M4 changequote to 2861 ensure [] brackets are correctly used. 2862 2863 * aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate 2864 multi-line M4 inclusions in []. 2865 2866Tue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 2867 2868 * conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if 2869 it exists. 2870 2871 * aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new 2872 config.h macro for field f_fstypename of struct statfs. 2873 2874 * aux/configure.in: testing for field f_fstypename field of struct 2875 statfs (NetBSD). 2876 2877 * aux/acconfig.h: moved all of the "static" definitions out to a 2878 fixed file called include/am_defs.h. Added to all */Makefile.am 2879 files a dependency on am_defs.h. Created am_defs.h of course, and 2880 then added #include <amd_defs.h> to all of the source and header 2881 files that required it. 2882 2883Mon Feb 24 01:27:02 1997 Erez Zadok <ezk@defiant.soscorp.com> 2884 2885 * aux/acconfig.h: two more externals for xdr functions that may be 2886 implemented by libamu. 2887 2888 * conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR 2889 definitions. 2890 2891Sun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 2892 2893 * buildall (default): added -D option for turning on even stricker 2894 developer options. 2895 2896 * */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to 2897 determine dependencies on optional NFS protocol headers. 2898 2899 * aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed. 2900 2901 * aux/macros/check_nfs_prot_header.m4: new test to determine what 2902 NFS protocol headers to use. 2903 2904 * conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to 2905 complete missing system headers for NFS protocol definitions. 2906 2907Sun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 2908 2909 * amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in 2910 #ifdef's as needed. 2911 2912 * amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is 2913 suitable #ifdef'ed. 2914 2915 * include/am_compat.h: a couple more mnttab options 2916 (timeo/retrans) setting just in case. 2917 2918 * amd/autil.c (host_normalize): make sure hostent->h_name is 2919 passed a non-const char *. 2920 2921 * conf/mount/mount_linux.c (mount_linux): cleaned up a block of code. 2922 2923 * {lib,amq,amd}/*.c (many functions): cast xdr_entry to 2924 XDRPROC_T_TYPE. 2925 2926 * lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to 2927 XDRPROC_T_TYPE. 2928 2929 * lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to 2930 XDRPROC_T_TYPE. 2931 2932 * lib/wire.c (getwire): Make sure safe assignment from const to 2933 none is done. 2934 2935Sat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 2936 2937 * aux/macros/expand_cpp_int.m4: new macro for expanding integers. 2938 2939 * aux/configure.in: added linux/fs.h support in configure and 2940 several M4 macros. 2941 2942 * conf/mount/mount_linux.c (mount_linux): use macro instead of 2943 "ugly" fixed hex number for mount() arguments. 2944 2945Sat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 2946 2947 * amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and 2948 turned all of its code always on. That code always seems to 2949 compile, as long as you have hesiod and libresolv. 2950 2951 * amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all 2952 of its code always on. 2953 2954 * aux/configure.in: removed superfluous test for hs_zone_transfer 2955 function (will never find it because it is an amd-internal 2956 function). 2957 2958 * amd/mapc.c (maptypes): must used correct new name for am-utils' 2959 hesiod initialization function: hesiod_am_init. 2960 2961 * amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to 2962 hesiod_am_init so as not to conflict with libhesiod's 2963 hesiod_init() function. 2964 2965 * aux/configure.in: added test and explicit inclusion of 2966 libresolv.a for later resolution of library references with 2967 libhesiod. 2968 2969 * aux/macros/opt_cppflags.m4: new file. configure/compile C 2970 preprocessor flags. 2971 2972 * aux/macros/opt_libs.m4: new file. configure/compile library 2973 flags. 2974 2975 * Makefile.am (EXTRA_DIST_AUX): include two new macros 2976 opt_cppflags.m4 and opt_libs.m4. 2977 2978 * aux/configure.in: test for libhesiod needs to additional 2979 libresolv to link completely. Additional configuration time 2980 options added for setting initial CPPFLAGS and LIBS. 2981 2982Tue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 2983 2984 ******************************************************************* 2985 *** Released am-utils-6.0a1 *** 2986 ******************************************************************* 2987 2988Thu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 2989 2990 * amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that 2991 it works on freebsd, where they map dbm_pagfno a non-existing 2992 macro on purpose, to force you to port the code to Berkeley DB. 2993 2994Fri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 2995 2996 * amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the 2997 actual mount_toplvl, to avoid some possible race conditions. 2998 2999Thu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3000 3001 * amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code. 3002 3003Wed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3004 3005 * lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code) 3006 3007 * amd/amd.c (main): fix local address using htonl(). Free up 3008 buffers allocated by netdir_*() functions. 3009 3010Wed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3011 3012 * amd/fix-amd-map.in: new script that will convert old-style amd 3013 maps to new one. 3014 3015Tue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3016 3017 * FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl, 3018 and replies back to simple nfs/link type mount queries). 3019 3020 * conf/mtab/mtab_svr4.c: reorganized the code in this file to be 3021 easier to read, and fixed a few bugs with un/setting the lock file 3022 descriptor. 3023 3024Wed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3025 3026 * amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older 3027 signals in Svr3 systems. Only stellix ever used this. 3028 3029 * amd/rpc_fwd.c (fwd_reply): removed all code that was triggered 3030 by DYNAMIC_BUFFERS, since it was not in use. 3031 3032Tue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3033 3034 * amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer 3035 takes '=' sign as old selector. Fix your maps. 3036 (deslashify): removed APOLLO code that treated two '//' as one. 3037 3038Sun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3039 3040 * amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which 3041 was not used. It made any submount error fail the whole group. 3042 3043 * amd/ops_nfs.c (make_nfs_auth): removed code dependent on 3044 HAS_NFS_QUALIFIED_NAMES. 3045 (mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it 3046 is never on. So code that was triggered by #ifndef 3047 NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to 3048 be fixed later. 3049 Removed all ULTRIX_HACK code. Ultrix is DEAD! 3050 removed all PRESET_AC code, which was only on for Linux to preset 3051 the attribute cache values (otherwise they default to zero). 3052 (nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will 3053 have to fixed up later. 3054 (mount_nfs_fh): removed code that was never included, which 3055 attempted to set the port on which amd's nfs mounts on. This 3056 isn't supported by the ping algorithm yet. In any case, it is all 3057 done in nfs_init(). 3058 3059 * amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh): 3060 removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or 3061 specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will 3062 have to be addressed later. 3063 3064 * amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent 3065 on PRECISE_SYMLINKS. 3066 3067 * amd/mapc.c (mapc_meta_search): removed code that depended on 3068 HAS_DEPOT. It is known buggy code. The whole DEPOT support needs 3069 to be rethought. 3070 (mapc_add_kv): ported code to use standard regular expression 3071 (regexp) library. 3072 3073 * amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on 3074 FLUSH_KERNEL_NAME_CACHE and the macro itself. 3075 3076Sat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3077 3078 * amd/map.c (exported_ap_alloc): removed all code triggered by 3079 SHRINK_EXPORTED_AP and the macro itself. 3080 3081 * amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code 3082 in all the time. Assuming that there is always NIS realod 3083 available. 3084 (yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all() 3085 function is broken such that it does not release filedescriptors 3086 it created, then you are hosed. Get a fix for yp_all from your 3087 vendor or switch operating systems. 3088 3089Tue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3090 3091 * amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to 3092 HAVE_HS_ZONE_TRANSFER. 3093 3094Mon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3095 3096 * amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is 3097 always included. We should always try to inform the remove mount 3098 daemon of mounts we performed. If we want an option for this, it 3099 should be a run-time option. 3100 3101 * amd/host_ops.c: removed all that optionally did not make the 3102 directory mount points for amd. 3103 3104 * HOST_EXEC code removed from everywhere. There is no indication 3105 that it was used anywhere. If it needs to be used, then a 3106 run-time switch should control it. 3107 3108Thu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3109 3110 * amd/*_ops.c: removed all references to mntent_t's fields 3111 mnt_freq and mnt_passno, since they are no longe rused (and never 3112 have been). 3113 3114 * amd/am_ops.c: removed function sunos4_match, which was off 3115 anyway. This was one of the places where an '=' sign was allowed 3116 as an assignment operator (which is now ':='). 3117 3118 * amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which 3119 was off anyway. This was one of the places where an '=' sign was 3120 allowed as an assignment operator (which is now ':='). 3121 3122Tue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3123 3124 * amq/amq.c: ported to am-utils. Working. 3125 3126 * conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4 3127 to be string, as it should be (rather than a string mapped to int 3128 and back mapped to string). 3129 3130Sun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3131 3132 * lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code. 3133 3134 * lib/umount_fs.c: split this into three files: default, osf, and 3135 bsd44, that are in conf/umount/umount_*.c. 3136 3137Thu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 3138 3139 * aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new 3140 macro to automatically figure out if an external definition for 3141 sys_errlist[] exists. 3142 3143 * lib/xutil.c (xfree): removed "#undef free" because it's not 3144 needed there. Any system that redefines free() needs help. 3145 3146 * conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that 3147 was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be 3148 in active use anywhere. If added later, it should be a run-time 3149 configuration option. 3150 3151 * conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to 3152 be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables 3153 in a file in /etc. 3154 3155 * lib/util.c (str3cat): removed _AIX code. AIX should have a 3156 working realloc, or else find a cleaner solution to this. 3157 (mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync() 3158 after immediately making directories so that fsck will be able to 3159 fix the filesystem in the event of an immediate crash. This was 3160 because a bug in UFS which is fixed by now. 3161 3162 * lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered 3163 code. Does not appear to be on and used anywhere. 3164 (dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now. 3165 3166 * lib/resvport.c: split the binding of reserved ports code to a 3167 separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4) 3168 from the BSD code. 3169 3170Thu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 3171 3172 * lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled 3173 in by automake and configure, for optional sources that need to be 3174 built as part of libamu.a. 3175 3176 * aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o 3177 to LIBOBJS. 3178 3179 * lib/memcmp.c (memcmp): new file added to replace a possible bad 3180 implementation of memcmp. 3181 3182Wed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 3183 3184 * converted the sources to use memset/memmove/memcmp instead of 3185 bzero/becopy/bcmp. 3186 3187 * ran all sources through gnu Indent w/ options specified in 3188 aux/amindent. 3189 3190Wed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 3191 3192 * At this point the initial genration of config.h via autoconf and 3193 some preliminary makefiles via automake is done. I will not begin 3194 modifying sources, so it's a good time to document from here. 3195