ChangeLog revision 82794
12001-06-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2 3 ******************************************************************* 4 *** Released am-utils-6.0.7 *** 5 ******************************************************************* 6 72001-06-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 8 9 * config.guess, config.sub, doc/texinfo.tex: updates from the 10 latest GNU distributions. 11 12 * INSTALL, doc/am-utils.texi (Supported Platforms): update info on 13 freebsd5.0 14 15 * LSM.am-utils, NEWS, README.y2k, ChangeLog: make sure all 16 am-utils URL references use www.am-utils.org, not the columbia 17 URL. 18 192001-05-24 Erez Zadok <ezk@fsl-gw.fsl.cs.sunysb.edu> 20 21 * conf/transp/transp_sockets.c (create_nfs_service): cast to u_long 22 to ensure clean compile on freebsd5 and bsdi2. 23 242001-05-19 Erez Zadok <ezk@kosh.dyn.optonline.net> 25 26 * conf/mount/mount_linux.c: typo: added comma after '0' element. 27 282001-05-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 29 30 * conf/mount/mount_linux.c (linux_nfs_error): don't special case 31 the 0 result, just put it into the translation list 32 332001-05-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 34 35 * conf/mount/mount_linux.c (linux_nfs_error): don't report success 36 (0) as error (NE_IO)! 37 382001-05-18 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 39 40 * amd/amfs_host.c (amfs_host_mount): don't fail the mount if at 41 least one share is already mounted 42 432001-05-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 44 45 ******************************************************************* 46 *** Released am-utils-6.0.6 *** 47 ******************************************************************* 48 492001-05-01 Ion Badulescu <ionut@gonzales.dev.hydraweb.com> 50 51 * conf/mount/mount_linux.c: fixed stupid error in the linux 52 nfs_errormap[], which was mapping ENOENT to success!!! 53 542001-04-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 55 56 * BUGS: added info about the direct mount problems on Linux and 57 about the kernel patches on www.am-utils.org. 58 59 * amd/autil.c (forcibly_timeout_mp): always log a message when the 60 forced unmount request is ignored 61 622001-04-23 Ion Badulescu <ionut@buggy.dev.hydraweb.com> 63 64 * amd/ops_autofs.c (autofs_lookuppn): renamed 65 CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS 66 (leftover from 03/29/01) 67 682001-04-14 Erez Zadok <ezk@whitestar.dyn.optonline.net> 69 70 * COPYING: update copyright year 71 72 * amd/amfs_auto.c, amd/amfs_host.c, amd/amfs_nfsx.c, 73 amd/amfs_toplvl.c, amd/amfs_union.c, amd/conf.c, amd/info_nis.c, 74 amd/info_nisplus.c, amd/mapc.c, amd/nfs_subr.c, amd/ops_nfs.c, 75 amd/rpc_fwd.c, amd/srvr_amfs_auto.c, amd/srvr_nfs.c, 76 conf/autofs/autofs_solaris_v1.c, conf/mtab/mtab_file.c, 77 conf/mtab/mtab_isc3.c, conf/mtab/mtab_svr4.c, 78 conf/transp/transp_sockets.c, conf/transp/transp_tli.c, 79 libamu/mount_fs.c, libamu/mtab.c: rewritten various dlog/plog 80 messages for clarity, to avoid duplication, to better recognize 81 what the message means and where it ran, and to fix typos. 82 83 * amd/nfs_subr.c (nfsproc_lookup_2_svc): moved trace message of 84 function's name to the beginning of the function, before any other 85 messages are logged. 86 872001-04-05 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 88 89 * include/am_defs.h: define NFSCLIENT, NFS, PCFS, LOFS, RFS, 90 MSDOSFS, MFS and CD9660 to 1, so that both #if FOO and #ifdef FOO 91 work (needed for MacOS X); removed duplicate definition of NFS. 92 932001-04-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 94 95 * released snapshot am-utils-6.0.6s2 96 972001-03-29 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 98 99 * amd/amd.h, amd/amfs_auto.c, amd/conf.c, 100 doc/am-utils.texi, 101 scripts/amd.conf-sample, scripts/amd.conf.5: 102 renamed selectors_on_default to selectors_in_defaults, 103 kept the former as a deprecated option; 104 renamed CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS; 105 renamed gopt_selectors_on_default() to gopt_selectors_in_defaults() 106 1072001-03-15 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 108 109 * conf/mount/mount_linux.c (parse_opts): added support for lofs 110 (mount_linux): support lofs through bind mounts and/or FiST lofs 111 112 * scripts/ctl-hlfsd.in: search for /var/spool/mail in addition to 113 /var/mail and /usr/spool/mail 114 115 * conf/nfs_prot/nfs_prot_linux.h (MS_BIND): add define for it, if 116 kernel is newer than 2.4.0 117 (MNTTYPE_LOFS): ditto 118 119 * acconfig.h: added MNT2_GEN_OPT_BIND 120 121 * configure.in: bumped up library patchlevel; added detection for 122 the MS_BIND generic mount option 123 1242001-02-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 125 126 * aux/macros/check_mount_trap.m4, 127 aux/macros/check_nfs_fh_dref.m4, 128 aux/macros/check_nfs_prot_headers.m4, 129 aux/macros/type_recvfrom_fromlen.m4, 130 aux/macros/type_yp_order_outorder.m4: 131 Fixed newer freebsd's fh type, expanded more aix3, osf2, hpux9 to 132 aix[1-3], osf[1-3] and hpux[6-9]. 133 1342001-02-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 135 136 * check_mount_style.m4, check_mount_trap.m4, 137 check_network_transport_type.m4, check_nfs_fh_dref.m4, 138 check_nfs_prot_headers.m4, check_nfs_sa_dref.m4, 139 check_nfs_socket_connection.m4, os_cflags.m4, 140 type_yp_order_outorder.m4: small fixes to Ion's cleanup, and more 141 cleanup (use [[0-1]] instead of M4 changequote commands). 142 143 * Makefile.am: removed unused conf/trap/trap_hpux11.h 144 1452001-02-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 146 147 * aux/macros/check_network_transport_type.m4, 148 aux/macros/check_mount_style.m4, 149 aux/macros/check_mount_trap.m4, 150 aux/macros/check_network_transport_type.m4, 151 aux/macros/check_nfs_fh_dref.m4, 152 aux/macros/check_nfs_prot_headers.m4, 153 aux/macros/check_nfs_sa_dref.m4, 154 aux/macros/check_nfs_socket_connection.m4, 155 aux/macros/os_cflags.m4, 156 aux/macros/type_auth_create_gidlist.m4, 157 aux/macros/type_recvfrom_fromlen.m4, 158 aux/macros/type_yp_order_outorder.m4: 159 Reworked the scripts, so that a new _unknown_ version of a known OS 160 will use the option for the newest _known_ version of that OS. For 161 example, when freebsd6 comes out, it will use the stuff for 162 freebsd5, not the stuff for freebsd2. This makes configure more 163 likely to succeed on new systems/versions. 164 1652001-02-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 166 167 * Makefile.am (EXTRA_DIST_CONF): include nfs_prot_darwin.h in 168 distributions. 169 1702001-02-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 171 172 * libamu/mtab.c: added the functions hasmnteq and haseq to 173 ease checks for non-numeric values in opt=value strings. 174 Recoded hasmntval to qualify input as numeric, allow hex and 175 octal strings on rhs of =, and log when the value is missing 176 or invalid. 177 178 * conf/mount/mount_linux.c: revised mount_linux to use new 179 hasmnteq function to extract type of non-nfs mounts, and added 180 a log message to catch possible failure of strdup. 181 182 * amd/am_ops.c: revised merge_ops to use new haseq function 183 184 * amd/srvr_nfs.c: revised find_nfs_srvr to use hasmnteq to 185 discover protocol setting. 186 187 * include/am_utils.h: added function prototypes for hasmnteq 188 and haseq 189 1902001-02-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 191 192 * include/mount_headers2.h (_LINUX_NFS3_H): define it, to avoid 193 pulling in unwanted declarations from 2.2.19pre and 2.4.1ac 194 195 * include/am_defs.h (_LINUX_NFS3_H): ditto 196 197 * conf/nfs_prot/nfs_prot_linux.h: whitespace, comments 198 1992001-02-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 200 201 * aux/macros/check_fs_mntent.m4 (ac_safe): remove debugging "echo" 202 command. 203 2042001-02-18 Erez Zadok <ezk@earth.cs.columbia.edu> 205 206 * released snapshot am-utils-6.0.6s1 207 208 * aux/macros/mount_headers.m4, include/mount_headers[12].h: split 209 mount_headers.h in two because one relative header (nfs_prot.h) 210 file cannot be included inside another from the start directory of 211 the first (it's relative to the directory of the first). 212 2132001-02-09 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 214 215 * AUTHORS: added Ahmon Dancy <dancy@franz.com> 216 217 * (all): added Darwin/Rhapsody/Apple OS X support from Ahmon Dancy 218 219 * aux/macros/mount_headers.m4: moved all the C code into a 220 separate file, include/mount_headers.h; the effect is that 221 configure goes down in size by a factor of 2.5! 222 223 * include/mount_headers.h: new file, with C code from 224 aux/macros/mount_headers.m4 225 2262001-02-01 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 227 228 * conf/mount/mount_linux.c: made linux_nfs_error() more robust. 229 2302001-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 231 232 ******************************************************************* 233 *** Released am-utils-6.0.5 *** 234 ******************************************************************* 235 2362001-02-01 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 237 238 * conf/nfs_prot/nfs_prot_linux.h (nfs_error): moved the definition 239 of nfs_error here, from mount_linux.c, so that it can actually be 240 used. 241 242 * conf/mount/mount_linux.c: added unused errno 41 to the 243 nfs_errormap array, lest the following errno's get shifted up by 244 one! 245 2462001-01-12 Ion Badulescu <ionut@buggy.dev.hydraweb.com> 247 248 * include/am_defs.h: don't allow linux/fs.h to be sucked in via 249 linux/auto_fs.h, it breaks the compile on glibc platforms. 250 251Sat Jan 13 00:04:38 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 252 253 * amd/amd.h (autofs_lookuppn): Fixup whitespace. 254 * amd/amfs_auto.c (amfs_auto_bgmount): Likewise. 255 * amd/amfs_error.c: (amfs_error_match): Likewise. 256 * amd/amfs_host.c (fetch_fhandle): Fixup whitespace. Remove 257 unnecessary temporary variable. 258 * amd/info_file.c (read_line): Likewise. 259 (search_or_reload_file): Likewise. 260 * amd/info_ldap.c (get_ldap_timestamp): Likewise. 261 * amd/nfs_prot_svc.c: Likewise. 262 * amd/ops_TEMPLATE.c (foofs_match, foofs_lookuppn, 263 foofs_readlink, foofs_ffserver): Likewise. 264 * amd/ops_autofs.c (autofs_bgmount): Likewise. 265 * amd/ops_lofs.c (lofs_match): Likewise. 266 * amd/ops_nfs.c (got_nfs_fh): Fixup whitespace. 267 * amd/ops_xfs.c (xfs_match): Likewise. 268 * amd/srvr_amfs_auto.c (srvrlog): Line break. 269 * amd/srvr_nfs.c (got_portmap, call_portmap, nfs_pinged, 270 nfs_srvr_port): Fixup whitespace. 271 * conf/nfs_prot/nfs_prot_bsdi2.h: Likewise. 272 * conf/nfs_prot/nfs_prot_hpux.h: Likewise. 273 * conf/nfs_prot/nfs_prot_hpux11.h: Likewise. 274 * conf/nfs_prot/nfs_prot_irix5.h: Likewise. 275 * conf/nfs_prot/nfs_prot_irix6.h: Likewise. 276 * conf/nfs_prot/nfs_prot_nextstep.h: Likewise. 277 * conf/nfs_prot/nfs_prot_osf2.h: Likewise. 278 * conf/nfs_prot/nfs_prot_osf4.h: Likewise. 279 * conf/nfs_prot/nfs_prot_osf5_1.h: Likewise. 280 * conf/nfs_prot/nfs_prot_sunos3.h: Likewise. 281 * conf/nfs_prot/nfs_prot_sunos4.h: Likewise. 282 * conf/nfs_prot/nfs_prot_ultrix.h: Likewise. 283 * conf/transp/transp_tli.c (get_mount_client): Likewise. 284 * hlfsd/nfs_prot_svc.c: Likewise. 285 * include/am_defs.h (sys_errlist): Likewise. 286 * include/am_utils.h (am_get_progname, am_get_hostname, 287 amq_program_1): Likewise. 288 (nfsxprt): Moved declaration. 289 290Fri Jan 12 23:46:31 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 291 292 * hlfsd/hlfsd.h (HLFSD_VERSION): Bump copyright year to 2001. 293 294Fri Jan 12 23:31:45 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 295 296 Removed support for amq -M. 297 298 * acconfig.h (ENABLE_AMQ_MOUNT): Removed. 299 * aux/macros/opt_amq_mount.m4: Removed. 300 * Makefile.am (EXTRA_DIST_AUX): Don't distribute 301 opt_amq_mount.m4. 302 * configure.in (AC_OPT_AMQ_MOUNT): Removed invocation. 303 304 * amd/amq_subr.c (ok_security, amqproc_mount_1_svc): Removed. 305 * amd/amq_svc.c (amq_program_1): Removed amq -M support. 306 * amq/amq.c (mount_map): Removed. 307 (main): Removed -M option handling. 308 Removed transport-type specific CLIENT creation. 309 (get_secure_amd_client, amq_bind_resv_port, privsock): Removed. 310 311 * amq/amq.8: Removed -M documentation. 312 * doc/am-utils.texi (Top-level Filesystem): Removed amq -M 313 reference, but retain comment on mount -t amd. 314 (Controlling Amd): Likewise. 315 316 * tasks: Removed this task. 317 3182001-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 319 320 * Makefile.am (EXTRA_DIST): distribute new LDAP files. 321 322 * README.ldap, ldap-id.txt, ldap-id.ms: LDAP status information, 323 proposed Schema, and internet draft. 324 325Fri Jan 12 22:27:07 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 326 327 * Support Tru64 UNIX V5.1: 328 329 * conf/nfs_prot/nfs_prot_osf5_1.h: New file. 330 331 * Makefile.am (EXTRA_DIST_CONF): Distribute it. 332 333 * aux/macros/check_nfs_prot_headers.m4: Tru64 UNIX V5.1 has 334 AutoFS, need to disable it until a port exists. 335 336 * INSTALL, doc/am-utils.texi (Supported Platforms): Mention new 337 minor port. 338 3392001-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 340 341 * ALL: bump copyright year to 2001. 342 3432001-01-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 344 345 * acconfig.h: correct comments for NODEV/NONDEV mount options 346 347Fri Jan 5 05:12:02 2001 Erez Zadok <ezk@subzero.cs.columbia.edu> 348 349 * libamu/xdr_func.c: removed ugly casts to "groups*", now that 350 irix6's nfs_prot.h is fixed. 351 352 * conf/nfs_prot/nfs_prot_irix6.h: copied relevant parts of 353 <rpcsvc/mount.h> here so we don't have to include this header. 354 3552001-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 356 357 * conf/nfs_prot/nfs_prot_irix6.h: redefine "groups" typedef to 358 struct groups, not the pointer to this struct. 359 360 * include/am_xdr_func.h: prototype should take "groups *" as 2nd 361 arg. 362 363 * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): change 364 casting of second arg of xdr_groups to "groups *". It's only 365 needed for irix6, due to problems with xdr_groups on that platform. 366 (xdr_groups): prototype should take "groups *" as 2nd arg. 367 368 * conf/nfs_prot/nfs_prot_aix*.h: correct xdr_groups extern 369 definition. Report from Ahmon Dancy <dancy@franz.com>. 370 3712000-12-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 372 373 * released snapshot am-utils-6.0.5s4 374 375 * minor port i386-unknown-freebsd4.2 (documented) 376 3772000-12-07 Ion Badulescu <lionut@gonzales.dev.hydraweb.com> 378 379 * configure.in (LIBTOOL_LDFLAGS): fix libtool version 380 3812000-12-02 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 382 383 * doc/am-utils.texi (opts Option): document lock/nolock 384 385 * libamu/mount_fs.c (mnt_flags): allow the use of the "nolock" 386 option 387 388 * include/am_defs.h: don't include <linux/fs.h> on a glibc2 system 389 390 * include/am_compat.h: define the "nolock" mnttab option if the 391 NONLM NFS mount option is defined 392 393 * acconfig.h: added MNT2_NFS_OPT_NONLM 394 395 * configure.in: added detection of the NONLM Linux NFS mount 396 option; added a clarification for the library versioning rules and 397 increased the patchlevel 398 3992000-11-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 400 401 * libamu/wire.c (getwire_lookup): truncate the hostname to 402 MAXHOSTNAMELEN characters. 403 4042000-11-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 405 406 * include/am_utils.h (MAXHOSTNAMELEN): if not defined, set this to 407 256 bytes, not 64. Suggestion form Kris Kennaway 408 <kris@FreeBSD.org>. 409 4102000-11-26 Erez Zadok <ezk@dmath5.geometrie.tuwien.ac.at> 411 412 * configure.in (AC_CHECK_MNT2_NFS_OPTS): check for NFS mount 413 options kerb, rdirplus, readdirsize, and xlatecookie 414 (NetBSD-1.5K). 415 416 * acconfig.h: recognize NFS mount options rdirplus, readdirsize, 417 and xlatecookie (NetBSD-1.5K) 418 4192000-11-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 420 421 * amd/srvr_nfs.c: comment on NFS proto search order. 422 423 * libamu/xutil.c (real_plog): don't try to write the last byte of 424 the fmt buf. Security suggestion from NetBSD: Thomas Klausner 425 <wiz@danbala.ifoer.tuwien.ac.at> 426 4272000-11-22 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 428 429 * amd/amfs_auto.c (amfs_auto_bgmount), 430 amd/ops_autofs.c (autofs_bgmount): removed the initialization of 431 fattr.na_fileid, it is now done in map.c when the map is initialized 432 433 * amd/map.c (init_map): initialize fattr.na_fileid to am_gen, not 434 to 0, to avoid cache aliasing problems on Linux (and to follow the 435 NFS spec!) 436 4372000-11-22 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at> 438 439 * libamu/mount_fs.c (mount_fs): avoid using extra limited-size buf 440 (security) 441 442 * libamu/xutil.c, fsinfo/fsinfo.h, include/am_utils.h: use 443 __attribute__, __format__, and __printf__ for GCC string auditing. 444 445 * wire-test/wire-test.8: this is not a section 8L man page. 446 447 * libamu/xutil.c (expand_error): don't use sys_nerr on systems 448 that support strerror(). 449 (dplog): fmt is const 450 (plog): fmt is const 451 (real_plog): fmt is const. use new expand_error function with its 452 new return value. be more careful about running off the end of 453 char[] fixed size buffers. 454 455 * libamu/wire.c (getwire): fix alignment error on alpha using an 456 extra automatic storage variable ifrpool. 457 458 * hlfsd/hlfsd.c (fatal): use proper printf style to plog. 459 460 * fsinfo/fsinfo.c (find_username): getlogin() returns a const. 461 462 * fsinfo/fsi_util.c (error, lerror, lwarning, fatal, log): use 463 vfprintf. 464 465 * fsinfo/fsi_lex.l (yyerror): use vfprintf. 466 467 * fixmount/fixmount.8: this is not a section 8L man page. 468 469 * doc/am-utils.texi (Hesiod maps): fixed typo. 470 471 * amd/sched.c (do_task_notify): typo in comment. 472 473 * amd/opts.c (expand_op): expand_error[] is a const char *. 474 475 * amd/amd.c (main): use proper printf style to plog. 476 4772000-11-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 478 479 * libamu/mount_fs.c (mnt_flags, compute_nfs_args): recognize 480 proplist mnttab flag. Bug fix from Wolfram Klaus 481 <klaus@physik.fu-berlin.de>. 482 4832000-11-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 484 485 * released snapshot am-utils-6.0.5s3 486 487 * updated config.guess, config.sub, and doc/texinfo.tex from 488 mirrors 489 490 * Makefile.am (update): proper updating of config.* and texinfo 491 from mirrors. 492 493 * aux/macros/check_nfs_prot_headers.m4: newer netbsd systems 494 reports their system name as "netbsdelf" in config.guess. 495 4962000-11-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 497 498 * released snapshot am-utils-6.0.5s2 499 5002000-11-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 501 502 * doc/am-utils.texi (opts Option): document new mount option 503 "proplist" 504 505 * include/am_compat.h: define amd mount option "proplist" if the 506 system doesn't recognize it, but the NFS bit flag exists. 507 508 * configure.in, acconfig.h: recognize/support "proplist" NFS mount 509 option in Amd, useful under DU-4.0 to process ACLs over NFS 510 mounts. 511 5122000-11-10 Ion Badulescu <ib42@earth.cs.columbia.edu> 513 514 * conf/mount/mount_linux.c (mount_linux): removed unnecessary 515 rsize/wsize defaults -- performance killers on 2.2.18+ and 2.4.0+ 516 5172000-11-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 518 519 * MIRRORS (Note): added a mirror at ufl.edu 520 5212000-10-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 522 523 * scripts/am-eject.in: accept "cdrom" and "floppy" as arguments. 524 5252000-10-11 Erez Zadok <ezk@lorien.dev.hydraweb.com> 526 527 * amq/amq.8: synchronize Amq's options with reality 528 529 * amq/amq.c (main): synchronize Amq's usage() string with reality 530 5312000-10-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 532 533 * scripts/ctl-amd.in: add targets condrestart (redhat) and 534 reload. 535 5362000-10-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 537 538 * scripts/lostaltmail.in (vrfy_user): ensure that MAILDIR is 539 defined. 540 5412000-10-02 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 542 543 * aux/macros/mount_headers.m4: only include <linux/fs.h> 544 on a non-glibc2 system 545 546 * aux/macros/try_compile_anyfs.m4: ditto 547 548 * aux/macros/check_mount_type.m4: linux 2.4 stores loadable modules 549 in a different directory structure 550 551 * aux/macros/check_mnttab_type.m4: ditto 552 553 * aux/macros/check_fs_mntent.m4: ditto; also, replace the nfs3 554 linux hack with a hopefully more stable hack 555 5562000-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 557 558 * amd/opts.c (backslash): Bell char (ASCII 007) should be \g, not 559 \a. 560 5612000-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 562 563 * include/am_utils.h: removed unused field opt_autopref 564 565 * amd/opts.c: removed unused variable $autopref 566 5672000-09-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 568 569 * released snapshot am-utils-6.0.5s1 570 5712000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com> 572 573 * aux/macros/check_fs_mntent.m4 (_LINUX_NFS_XDR_H): define it so 574 linux/nfs_xdr.h doesn't get included (not intended for user space) 575 5762000-09-05 Erez Zadok <ezk@aladdin.dev.hydraweb.com> 577 578 * conf/mtab/mtab_svr4.c (lockfile): function not needed unless 579 MOUNT_TABLE_ON_FILE is defined. 580 mtlckname static var is onlyneeded if MOUNT_TABLE_ON_FILE. 581 (update_mnttab_fields): only needed if MOUNT_TABLE_ON_FILE. 582 5832000-09-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 584 585 * buildall (Usage): typo in usage string 586 5872000-08-25 Erez Zadok <ezk@lynn.soscorp.com> 588 589 * conf/mount/mount_linux.c (mount_linux): MNT2_NFS_OPT_VER3 may 590 is no defined on older Linux systems (kernel 2.0.36) 591 5922000-08-19 Erez Zadok <ezk@earth.cs.columbia.edu> 593 594 * scripts/amd.conf.5: correct swapped descriptions for ldap_base 595 and ldap_hostports. 596 597 * doc/am-utils.texi: correct swapped descriptions for ldap_base 598 and ldap_hostports. 599 600 * scripts/amd.conf-sample: swap examples for ldap_base and 601 ldap_hostports. 602 6032000-08-13 Erez Zadok <ezk@earth.cs.columbia.edu> 604 605 * scripts/amd.conf-sample: -O is CLI equivalent to "os" 606 amd.conf parameter 607 6082000-07-30 Erez Zadok <ezk@earth.cs.columbia.edu> 609 610 * scripts/amd.conf-sample (nfs_retransmit_counter): correct 611 meaning and use of parameter 612 6132000-07-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 614 615 * doc/am-utils.texi: updated URLs to www.am-utils.org. 616 6172000-07-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 618 619 ******************************************************************* 620 *** Released am-utils-6.0.4 *** 621 ******************************************************************* 622 6232000-07-08 Erez Zadok <ezk@earth.cs.columbia.edu> 624 625 * configure.in: update shared library information 626 6272000-07-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 628 629 * INSTALL: document osf4.0f 630 631 * doc/am-utils.texi (Supported Platforms): document osf4.0f 632 6332000-06-19 Erez Zadok <ezk@vir.cs.columbia.edu> 634 635 * doc/am-utils.texi (dollar Selector Variable): document 636 ${dollar}. 637 638 * amd/opts.c: special new variable ${dollar} which expands into a 639 literal '$' sign. Otherwise there is no way to include a literal 640 dollar symbol in an amd map. 641 6422000-06-11 Erez Zadok <ezk@earth.cs.columbia.edu> 643 644 * amd/opts.c: correct comment name at top of opt_fields. 645 6462000-06-11 Ion Badulescu <ionut@moisil.cs.columbia.edu> 647 648 * config.guess.long: munge config.guess' output so that intel 649 linux appears as i386-pc-linux 650 651Fri Jun 9 16:06:56 2000 Erez Zadok <ezk@defiant.dev.hydraweb.com> 652 653 * conf/nfs_prot/nfs_prot_bsdi2.h: getifaddrs() on bsdi2 is broken. 654 Don't use it. 655 6562000-06-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 657 658 * amd/mapc.c (maptypes): Change default allocation mode to 659 MAPC_INC where reload support is missing to avoid warning in 660 mapc_create(). 661 6622000-06-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 663 664 * conf/nfs_prot/nfs_prot_sunos5_5.h: turn off autofs support for 665 solaris 2.5 until a full port can be done. 666 6672000-06-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 668 669 * released snapshot am-utils-6.0.4s5 670 671 * Makefile.am, aux/GNUmakefile: fix maintainer rules to update 672 config.* and texinfo.tex files. 673 674 * amd/nfs_subr.c (nfsproc_getattr_2_svc): Don't conditionalize the 675 mtime update of the symlinks on the SYMTTL option, but rather 676 delay unmount of what was looked up using am_timeo_w. Patch from 677 Nick Williams <Nick.Williams@msdw.com>. As Nick says "Basically: 678 during unmount, increment the parent dir's mtime (fixes people 679 doing amq -u). During stat, increase the TTL (to fix bad-luck 680 timeouts), but leave the mtime alone." 681 682 (nfsproc_lookup_2_svc, nfsproc_readlink_2_svc, unlink_or_rmdir, 683 nfsproc_readdir_2_svc): correctly update d_drops stats for amq -s. 684 Patch from Nick Williams <Nick.Williams@msdw.com>. 685 686 * amd/map.c (unmount_mp): update mtime of amd symlink to further 687 reduce the chances of race conditions between unmounting and 688 looking up an entry again. Patch from Nick Williams 689 <Nick.Williams@msdw.com>. 690 691 * README: updated instructions 692 693 * bootstrap: remove log file before existing 694 6952000-06-06 Erez Zadok <ezk@aladdin.dev.hydraweb.com> 696 697 * configure.in: no longer using aux/ subdir. don't force autoconf 698 2.14. comment out (but leave explanation) everything that's needed 699 for autoconf 2.14, so for now it works with autoconf-2.13, but the 700 code is ready for 2.14 when it is released. Similar changes to 701 make code work with automake-1.4, until the next release comes 702 out. 703 704 * libamu/Makefile.am: include definitions that are required in 705 automake 1.4, but won't be necessary when the next release of 706 automake comes out (see XXX comments). 707 708 * cache_check_dynamic.m4, check_checkmount_style.m4, 709 check_mnttab_style.m4, check_mount_style.m4, 710 check_network_transport_type.m4, check_nfs_prot_headers.m4, 711 check_umount_style.m4: use symlink creation code that works for 712 both autoconf 2.13 and 2.14 (when the latter comes out). 713 714 * bootstrap: new script for maintainers to run to update autoconf, 715 automake, and libtool related files. Has the same effect as 716 "buildall -K". 717 718 * removed dependencies on CVS versions of autoconf, automake, and 719 libtool, especially the modified automake I had. This is so that 720 maintainers could built the auto* files out of the latest released 721 GNU autoconf, automake, and libtool. However, without my nice 722 patches to automake, many files that used to live in the aux/ 723 subdir now were moved to the top level source directory: acconfig.h, 724 acinclude.m4, aclocal.m4, aux_conf.h.in, config.guess, 725 config.guess.long, config.h.in, config.sub, configure.in, depcomp, 726 install-sh, ltconfig, ltmain.sh, missing, and mkinstalldirs. Also 727 texinfo.tex and mdate-sh moved from aux/ dir to doc/ dir. 728 7292000-06-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 730 731 * cvs-server.txt: instructions for maintainers to access the CVS 732 server for am-utils. 733 7342000-06-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 735 736 * amd/am_ops.c (ops_match): changed XLOG_USER messages about 737 merging addopts options to the more appropriate XLOG_INFO. Patch 738 submitted by Tom Schmidt <tschmidt@micron.com>. 739 740 * config.{guess,sub}: make sure chmod'ed a+rx. Updated from 741 latest GNU copies. 742 7432000-05-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 744 745 * released snapshot am-utils-6.0.4s4 746 7472000-05-29 Ion Badulescu <ionut@moisil.cs.columbia.edu> 748 749 * conf/transp/transp_sockets.c (amu_svc_getcaller): cast result of 750 svc_getcaller() to sockaddr_in, to appease glibc 2.2 751 7522000-05-28 Erez Zadok <ezk@mulberry.mcl.cs.columbia.edu> 753 754 * doc/am-utils.texi (Network Filesystem Group): minor typos 755 7562000-05-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 757 758 * amd/amfs_auto.c (amfs_auto_readdir_browsable): cast pointers to 759 long for 64-bit architectures. 760 761 * libamu/xutil.c (amu_release_controlling_tty): eliminate an 762 unused variable "tempfile" 763 764 * libamu/wire.c (getwire_lookup): handle calling irs_gen_acc with 765 one or two arguments (bsdi3 vs. bsdi4) 766 7672000-05-26 Ion Badulescu <ionut@moisil.cs.columbia.edu> 768 769 * libamu/xutil.c (amu_release_controlling_tty): close standard 770 file descriptors, re-open them as /dev/null 771 772 * include/am_defs.h: don't try to include both <ndbm.h> and 773 <db1/ndbm.h>, it really doesn't work 774 7752000-05-16 Ion Badulescu <ib42@earth.cs.columbia.edu> 776 777 * hlfsd/stubs.c (nfsproc_lookup_2_svc): added code to update mtime 778 on lookup if MNT2_NFS_OPT_SYMTTL is not defined (copied from 779 getattr). This fixes the problem introduced by the Linux nfsv3 780 patches. 781 7822000-04-30 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 783 784 * include/am_defs.h, aux/macros/mount_headers.m4, 785 aux/macros/try_compile_anyfs.m4: include linux/kdev_t.h and 786 linux/list.h before including linux/fs.h, and define __KERNEL__ 787 for those two headers. All of this to get a couple of definitions 788 that are needed in the new struct vfsmount. 789 790 * aux/configure.in: look for <linux/kdev_t.h> and <linux/list.h>. 791 792 * include/am_defs.h, aux/macros/mount_headers.m4: avoid conflicts 793 between linux/in.h. and netinet/in.h (linux-2.3.99-pre6), by 794 defining _LINUX_IN_H so it doesn't get included. 795 7962000-04-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 797 798 * minor new ports: i686-pc-linux-gnu-rh6.2, 799 i386-unknown-freebsdelf3.4, i586-pc-linux-gnu-rh6.2. 800 8012000-04-03 Erez Zadok <ezk@vir.cs.columbia.edu> 802 803 * aux/acconfig.h: move all #undef macros above @TOP@, so they can 804 be recognized by pickier autoconf. 805 8062000-04-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 807 808 * aux/macros/cache_check_dynamic.m4 (ac_tmp): use correct echo -n 809 or \c. 810 8112000-03-25 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 812 813 * include/am_defs.h: ditto 814 815 * aux/macros/{mount_headers,try_compile_anyfs}.m4: force 816 non-inclusion of <linux/string.h>. Breaks build on newer 2.3 817 kernels. 818 8192000-02-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 820 821 * doc/am-utils.texi (Amq -w option): document new amq -w option. 822 823 * amq/amq.8: document new amq -w option. 824 825 * amq/amq.c: disable last remains of insecure amq -M code. 826 (main): add amq -H option to show usage. 827 (main): new amq -w option, translates getpwd() into an amd path. 828 8292000-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 830 831 * minor new port: alphaev6-dec-osf5.0 832 833 * doc/am-utils.texi (Supported Platforms): hpux-11 supports NFSv3, 834 but only for UDP. 835 836 * released snapshot am-utils-6.0.4s3 837 838 * conf/nfs_prot/nfs_prot_hpux11.h: support NFSv3 in hpux-11. Note 839 that hpux-11 NFSv3 supports UDP only, and trying TCP locks up the 840 kernel! Must set nfs_proto=udp in amd.conf [global]. 841 842 * aux/config.guess.long: set and export PATH separately. DU5 843 /bin/sh doesn't like setting it on the command line in a 844 back-tick'ed `script`. 845 8462000-02-24 Ion Badulescu <ionut@moisil.cs.columbia.edu> 847 848 * Makefile.am: removed struct_nfs_mount_data.m4 849 850 * aux/macros/struct_nfs_mount_data.m4: deleted 851 852 * aux/acconfig.h: removed definition for HAVE_NFS_MOUNT_DATA 853 854 * aux/configure.in: removed check for struct nfs_mount_data 855 8562000-02-24 Ion Badulescu <ib42@beetle.mcl.cs.columbia.edu> 857 858 * amd/amfs_auto.c (amfs_auto_bgmount): changed log message to 859 avoid having 'failed' in a message not indicating a failure 860 (amfs_auto_lookuppn): ditto 861 862 * amd/ops_autofs.c (autofs_bgmount): ditto 863 (autofs_lookuppn): ditto 864 8652000-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 866 867 * added .cvsignore files into the CVS repository. 868 869 * remove files which can be regenerated: .in, configure, some 870 files in aux/, and more. 871 8722000-02-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 873 874 * doc/am-utils.texi (nfs_vers/nfs_proto): description of two 875 parameters was reversed. Reported by Paul Jenner 876 <p.jenner@eim.surrey.ac.uk>. 877 8782000-02-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 879 880 * released snapshot am-utils-6.0.4s2 881 882 * amd/mntfs.c (realloc_mntfs): don't fallback on certain ops such 883 as inherit, error, and toplvl (failover code). 884 885 * amd/conf.c (gopt_nfs_vers, gopt_nfs_proto): two new (documented) 886 global options in amd.conf: one to set the NFS version globally 887 (i.e., nfs_vers=2), and one to set the NFS protocol globally 888 (i.e., nfs_proto=udp). 889 890 * amd/mntfs.c (realloc_mntfs): attempt to fix the failover code, 891 so when a matching mount entry failed, try the next one. 892 8932000-02-15 Erez Zadok <ezk@moisil.cs.columbia.edu> 894 895 * amd/amfs_auto.c: a new debug option "readdir" to trace the 896 progress of the browsable_dirs code. 897 898 * conf/mount/mount_linux.c (mount_linux): ensure that the new 899 linux NFSv3 code works for v2-only machines. 900 9012000-02-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 902 903 * aux/configure.in: cleanup unused dnl entries. 904 905 * conf/mount/mount_linux.c (parse_opts): typo: check for string 906 equality, not string inequality for pcfs and cdfs. 907 908 * aux/acconfig.h: look for MNT2_NFS_OPT_INTR as well. 909 910 * libamu/mount_fs.c (compute_mount_flags): check for INTR and 911 NOINTR options as well (intr was never passed to linux mount 912 syscall). 913 9142000-02-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 915 916 * released snapshot am-utils-6.0.4s1 917 918 * aux/GNUmakefile: buildall -k (for maintainers) temporarily now 919 ignores autoconf warnings: "The macro `AC_OUTPUT_COMMANDS' is 920 obsolete". It is harmless but annoying, and will be fixed when 921 autoconf and automake in their respective CVS trees are working 922 and in sync again. 923 924 * scripts/amd.conf.5: document -D hrtime,xdrtrace 925 926 * all man pages: update copyright to 2000. 927 928 * doc/am-utils.texi: update copyright to 2000. 929 930Wed Feb 9 14:22:31 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 931 932 * include/am_utils.h (D_XDRTRACE): Define. 933 (D_TEST): Disable here. 934 935 * libamu/xutil.c (dbg_opt): Handle it. 936 937 * doc/am-utils.texi (-D-Option): Document it. 938 939 * libamu/xdr_func.c: Use it instead of D_TRACE. 940 941 * include/am_utils.h (D_HRTIME): Define. 942 943 * doc/am-utils.texi (-D-Option): Document it. 944 945 * libamu/xutil.c (show_time_host_and_name): Print high-resolution 946 timestamp if available and activated. 947 948 * aux/configure.in (clock_gettime): Check for it in -lrt and 949 -lposix4. 950 951 * hlfsd/hlfsd.c (mnttab_file_name): Initialize to MNTTAB_FILE_NAME 952 if defined, even for some systems with in kernel mount tables. 953 9542000-02-08 Ion Badulescu <ionut@moisil.cs.columbia.edu> 955 956 * aux/macros/mount_headers.m4: remove #if 0 around linux/nfs.h to 957 allow compiles against libc5 958 959 * aux/macros/check_mnttab_type.m4: avoid detecting nfs3 under 960 linux when the kernel doesn't support it 961 962 * include/am_compat.h: add workaround for linux efs 963 9642000-02-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 965 966 * aux/configure.in: test for ANSI C compiler (before AC_C_CONST). 967 Comment out unused AC_STRUCT_ST_RDEV (which is obsolete anyway). 968 9692000-02-07 Ion Badulescu <ionut@moisil.cs.columbia.edu> 970 971 * libamu/mount_fs.c (compute_nfs_args): turn on VER3 option for 972 nfs (linux NFSv3). 973 974 * include/am_defs.h: avoid reinclusion of some header files under 975 linux. 976 977 * conf/nfs_prot/nfs_prot_linux.h: support NFSv3. 978 979 * conf/mount/mount_linux.c (mount_linux): support nfs mount 980 (implementation) version 4 for NFSv3. 981 982 * aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS. 983 984 * aux/macros/mount_headers.m4: don't include <linux/fs.h> (may 985 need to fix the code on other linux machines). 986 987 * aux/macros/check_mnttab_type.m4 (ac_safe): ditto. 988 989 * aux/macros/check_fs_mntent.m4 (ac_safe): check for nfs3 option 990 under linux (depends on ac_cv variable, is that a good idea?) 991 992 * added NFSv3 support for linux 993 994 * aux/{configure.in,acconfig.h}: new option ver3 995 996 * aux/macros/mount_headers.m4: commented out inclusion of 997 linux/fs.h, it's not needed on rh61 (and actually generates 998 conflicts), we should see if it's still needed on libc5 systems 999 1000 * aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS rather than 1001 try to have its own (out of date) list of headers and ifdef's and 1002 ... 1003 10042000-02-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1005 1006 ******************************************************************* 1007 *** Released am-utils-6.0.3 *** 1008 ******************************************************************* 1009 10102000-02-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1011 1012 * conf/mount/mount_default.c: dummy empty file to work around a 1013 limitation of automake (it looks for LIBBOBJS in aclocal.m4 and 1014 processes them even if they are optional, enclosed in if/else). 1015 10162000-01-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1017 1018 * released snapshot am-utils-6.0.3s5 1019 10202000-01-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1021 1022 * update to use latest version of autoconf, automake, and libtool. 1023 1024 * aux/GNUmakefile (depcomp): "make update" should also update the 1025 depcomp script. 1026 1027 * Makefile.am (EXTRA_DIST_AUX): include depcomp in distribution. 1028 1029 * aux/configure.in: use renamed AC_CHECK_AMU_FS. 1030 1031 * aux/macros/check_amu_fs.m4: renamed macro name and file name to 1032 say AMU_FS, not AM_FS. 1033 1034 * aux/acconfig.h: renamed HAVE_AM_FS_* to HAVE_AMU_FS_* because 1035 latest version of autoconf doesn't handle it (bug in 2.14a) 1036 1037 * aux/configure.in: require version 2.14 of autoconf. 1038 1039 * amd/mapc.c (mapc_reload_map): more fixes from Nick Williams. 1040 1041 * doc/am-utils.texi (Automount Filesystem): document type:=auto 1042 map browsability option. 1043 1044 * amd/mapc.c (make_entry_chain): patch from Steven Danz 1045 <sdanz@awc.kc.noaa.gov> to allow browsable auto maps. 1046 10472000-01-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1048 1049 * released snapshot am-utils-6.0.3s4 1050 1051 * amd/mapc.c (mapc_reload_map): fixes to sync maps even if they 1052 are set to mapcache:=sync. Fix from Nick Williams 1053 <Nick.Williams@msdw.com>. 1054 10552000-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1056 1057 * released snapshot am-utils-6.0.3s3 1058 1059 * minor port to i386-unknown-netbsd1.4.1 1060 1061 * amd/nfs_subr.c (nfsproc_getattr_2_svc): patch from Nick Williams 1062 <Nick.Williams@msdw.com> to fix (or reduce the incidence of) stale 1063 file handles when doing rapid mounts and umounts in succession 1064 such as "ls /vol/foo ; amq -u /vol/foo ; ls /vol/foo" 1065 10662000-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1067 1068 * minor port to i386-pc-bsdi4.1. 1069 10702000-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1071 1072 * libamu/wire.c (getwire_lookup): pass NULL as conf_file (2nd) 1073 argument to irs_gen_acc(), which was changed in bsdi 4.1. 1074 10752000-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1076 1077 * amd/get_args.c (get_args): don't use MNTTAB_FILE_NAME for 1078 systems with in-kernel mount tables unless this macro is defined 1079 (Solaris 8). 1080 10812000-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1082 1083 * ALL: bump copyright year to 2000. 1084 10851999-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1086 1087 * conf/mount/mount_svr4.c (mount_svr4): optionstr exists on 1088 solaris 7, but should not be used unless MAX_MNTOPT_STR also 1089 exists (solaris 8). 1090 1091 * doc/am-utils.texi (opts Option): document new mount option: 1092 optionstr. 1093 1094Fri Dec 10 01:31:53 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 1095 1096 * conf/trap/trap_svr4.h (MOUNT_TRAP): Pass mount option string to 1097 mount_svr4(). 1098 (mount_svr4): Adapt prototype. 1099 * conf/mount/mount_svr4.c (mount_svr4): Pass them to kernel so 1100 they are evaluated and show up in Solaris 8 in-kernel mnttab. 1101 1102 * aux/configure.in: Check for new Solaris 8 MS_OPTIONSTR mount(2) 1103 option. 1104 * aux/acconfig.h (MNT2_GEN_OPT_OPTIONSTR): Provide template. 1105 11061999-12-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1107 1108 * released snapshot am-utils-6.0.3s2 1109 11101999-12-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1111 1112 * doc/am-utils.texi (opts Option): document noexec and nomnttab 1113 (new to Solaris 8). 1114 1115 * Makefile.am (EXTRA_DIST_CONF): include nfs_prot_sunos5_8.h in 1116 distribution. 1117 1118 * applied fixes from Reiner Orth for Solaris 8. 1119 1120 * libamu/wire.c (getwire): increment the cp pointer in the loop 1121 body, because the ioctl() inside the "for" loop will overwrite the 1122 ifr structure, thus not detecting all of the interfaces. Bug 1123 reported and fixed by Amitha Perera <perera@cs.rpi.edu>. 1124 1125Thu Dec 9 19:09:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 1126 1127 * conf/mtab/mtab_svr4.c (unlockmnttab, lockmnttab): No-ops if 1128 MOUNT_TABLE_ON_FILE. 1129 1130 * amd/get_args.c (get_args): Initialize mnttab_file_name even for 1131 in-kernel mount table. conf/mtab/mtab_svr4.c (read_mtab) depends 1132 on a non-NULL value. 1133 1134 * amd/info_ldap.c (get_ldap_timestamp): Don't peek into opaque 1135 LDAP structure to get error code, but use it directly. 1136 (amu_ldap_search): Likewise. 1137 1138 * conf/nfs_prot/nfs_prot_sunos5_7.h: Rip superfluous and wrong 1139 ldap support. 1140 * conf/nfs_prot/nfs_prot_sunos5_8.h: Likewise. 1141 1142 * conf/nfs_prot/nfs_prot_sunos5_8.h: New file, doesn't typedef 1143 nfsstat, already in <nfs/nfs.h>. 1144 * aux/macros/check_nfs_prot_headers.m4: Use it for all Solaris 1145 versions beyond 7. 1146 Allow for micro versions of SunOS 5.[67]. 1147 1148 * aux/configure.in: Check for new Solaris 8 Beta Refresh 1149 MS_NOMNTTAB mount(2) option. 1150 * aux/macros/check_mnttab_location.m4: Use it to test for 1151 mntfs-based in-kernel mnttab. 1152 1153 * aux/macros/os_cflags.m4: Treat Solaris 8 and higher like 2.6/7. 1154 1155 * aux/macros/check_fs_headers.m4: Revert test for duplicate 1156 objects. 1157 * aux/macros/check_fs_mntent.m4: Likewise 1158 1159 * aux/macros/HEADER: Fixed typo. 1160 1161 * include/am_defs.h: Likewise. 1162 11631999-12-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1164 1165 * aux/macros/*.m4: prepare for hpux-12 (assume same as hpux-11) 1166 11671999-11-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1168 1169 * BUGS: document glibc-2.1 nis file descriptor leak in yp_bind. 1170 1171 * amd/info_ldap.c (string2he): updated function which does not 1172 corrupt strings when called more than once. Patch from 1173 JOHANN.PFEFFERL.JP@germany.agfa.com. 1174 11751999-11-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1176 1177 * MIRRORS (Asia): two new mirrors in Japan. 1178 11791999-11-10 Erez Zadok <ezk@kosh.cs.columbia.edu> 1180 1181 * doc/am-utils.texi: document new variables for ${uid} and ${gid}. 1182 1183 * amd/nfs_subr.c (nfsproc_lookup_2_svc): find the uid/gid of the 1184 last lookup from the RPC credentials. 1185 1186 * aux/configure.in: upped version-info to 4:0:2 because I've added 1187 a new interface to libamu. 1188 1189 * libamu/misc_rpc.c (getcreds): moved function from hlfsd to here, 1190 so it can be used by amd. 1191 1192 * amd/opts.c: new variables ${uid} and ${gid}. 1193 11941999-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1195 1196 * scripts/ctl-amd.in: add "status" command that tells you if amd 1197 is running on not (same output as RedHat scripts). 1198 Added start_msg and stop_msg targets as they are used on HPUX. 1199 reported by Jon Peatfield <J.S.Peatfield@damtp.cam.ac.uk>. 1200 12011999-10-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1202 1203 * released snapshot am-utils-6.0.3s1 1204 12051999-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1206 1207 * amd/amd.c (main): On AIX you must lower the stack size using 1208 ulimit() before calling plock. Otherwise plock will reserve a lot 1209 of memory space based on your maximum stack size limit. Since it 1210 is not easily possible to tell what should the limit be, I print a 1211 warning before calling plock(). See the manual pages for 1212 ulimit(1,3,4) on your AIX system. 1213 1214 * include/am_defs.h: define default extern for vsnprintf() 1215 1216 * aux/configure.in: check for extern definition for vsnprintf() 1217 12181999-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1219 1220 * amd/amfs_auto.c (amfs_auto_bgmount): patch from Nick Williams 1221 <njw@ms.com>. SYMPTOMS: 'occasionally' sublinks do not point to 1222 the correct location, but to the top level of the mountpoint and 1223 an (error-hook) is seen being mounted in the log file. This causes 1224 things to Go Wrong(TM). 1225 CAUSE: When evaluating two locations which are requested 1226 'practically simultaneously', and the two locations resolve to the 1227 same NFS mountpoint (but different sublinks), the later request 1228 will be "deferred" and retried after wakeup when the first mount 1229 succeeds. To do this, it rewinds the options location string to 1230 re-evaluate the location when the mount is retried. However, it 1231 shouldn't rewind the options for two reasons: (a) the semantics of 1232 the map language say you shouldn't and (b) the NFS mount reference 1233 is not reset at the same time, meaning that on the retry it will 1234 have an options structure out-of-sync with the mount 1235 structure. The "shortcut" code when retrying the mount sees the 1236 mount structure is already filled in and does not fully evaluate 1237 the options structure.... so if the first location is not the one 1238 which ties in with the mountpoint (see ordering in the 1239 recreate-by), you're now well messed up. 1240 1241 * BUGS: mention aix4.3 plock() bug (memory usage blows up and 1242 plock fails) 1243 12441999-10-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1245 1246 * aux/GNUmakefile: certain files should be copied if they are 1247 newer, not also if they are bigger: install-sh, ltconfig, 1248 ltmain.sh, mdate-sh, missing, mkinstalldirs, and texinfo.tex. 1249 1250 * minor new port: i586-pc-linux-gnu-rh6.1 (RedHat Linux 6.1) 1251 12521999-10-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1253 1254 * aux/macros/check_nfs_prot_headers.m4: prepare for OSF-5. 1255 1256 * aux/macros/check_nfs_fh_dref.m4: prepare for Tru64, aka OSF-5. 1257 12581999-09-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1259 1260 ******************************************************************* 1261 *** Released am-utils-6.0.2 *** 1262 ******************************************************************* 1263 12641999-09-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1265 1266 * conf/mount/mount_linux.c (mount_linux): print the updated mount 1267 flags. 1268 1269 * doc/am-utils.texi: document $full_os and $vendor. 1270 1271 * scripts/amd.conf-sample: examples of $full_os and $vendor. 1272 1273 * scripts/amd.conf.5: document $full_os and $vendor. 1274 1275 * amd/conf.c: add support for $full_os and $vendor. 1276 12771999-09-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1278 1279 * doc/am-utils.texi (netgrp Selector Function): don't give 1280 examples with old single '=' assignment variable. Use foo:=bar. 1281 1282 * amd/amfs_auto.c (amfs_auto_bgmount): corectly indent long 1283 comment describing this complex function. 1284 1285 * doc/Makefile.am (alldocs): do install-ps last (because distiller 1286 is slow) and install-html next to last (because texi2html is also 1287 slow). 1288 1289 * amd/amd.8: Major fixes to the description of the option -t 1290 timeout.retransmit. 1291 1292 * doc/am-utils.texi: better description of "trace" debug option. 1293 amd -H (not -v) shows log_options and debug_options. Major fixes 1294 to the description of amd -t timeout.retransmit, and the amd.conf 1295 parameters nfs_retransmit_counter and nfs_retry_interval. 1296 1297 * scripts/amd.conf.5: better description of "trace" debug option. 1298 amd -H (not -v) shows log_options and debug_options. Major fixes 1299 to the description of the parameters nfs_retransmit_counter and 1300 nfs_retry_interval. 1301 13021999-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1303 1304 * doc/am-utils.texi (Automount Filesystem): cache:= is not a mount 1305 option, but a mount map option. 1306 1307 * libamu/xutil.c (switch_to_logfile): log the name of the log file 1308 we switched into, after the log file had been [re]opened. 1309 13101999-09-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1311 1312 * amd/mapc.c (mapc_reload_map): count and show the number of times 1313 a map was reloaded. Only reload a map if its modify-time was 1314 updated. But amq -f forced a reload no matter what. 1315 1316 * amd/amd.h: new flag to struct mnt_map to count number of times a 1317 map was reloaded. 1318 1319 * amd/mapc.c (mapc_reload_map): attempt to reload the map without 1320 losing current data by reloading into a temp copy, and switching 1321 the hashes round only if the reload was successful. Patch from Jon 1322 Peatfield <J.S.Peatfield@damtp.cam.ac.uk>. 1323 (mapc_sync): mapc_reload_map() always succeeds. 1324 13251999-09-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1326 1327 * amd/info_ldap.c (amu_ldap_rebind): don't busy-loop trying to 1328 rebind to an LDAP server forever. Try up to 10 times. 1329 1330 * fsinfo/fsi_lex.l (yyerror): rework code that will never happen 1331 1332 * released snapshot am-utils-6.0.2s2 1333 1334 * aux/configure.in: bumped library version-info to 3:2:1, since 1335 some libamu code got changed. 1336 1337 * libamu/xutil.c (real_plog): use vsnprintf, not vsprintf, which 1338 is better and more secure. Fix from "David O'Brien" 1339 <obrien@NUXI.com>. 1340 1341 * aux/configure.in: check for vsnprintf. 1342 13431999-09-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1344 1345 * aux/macros/linux_headers.m4: use AC_MSG_ERROR. 1346 1347 * aux/macros/opt_{cppflags,ldflags,libs,amu_cflags}.m4: the ARG is 1348 not optional. Make sure ARG is supplied else flag an error. 1349 13501999-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1351 1352 * minor port i386-unknown-freebsdelf3.3 1353 1354 * released snapshot am-utils-6.0.2s1 1355 13561999-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1357 1358 * aux/configure.in (AC_CHECK_FUNCS): check for getitimer(). 1359 1360 * include/am_defs.h: extern definition for getitimer(). 1361 1362 * aux/configure.in: use AC_CHECK_EXTERNS. Look for getitimer() 1363 extern. 1364 1365 * aux/macros/check_extern.m4: define a simple AC_CHECK_EXTERNS 1366 that calls AC_CHECK_EXTERN in a loop. This saves repeated code in 1367 configure. 1368 1369 * aux/macros/type_auth_create_gidlist.m4: AIX 4.x systems use 1370 'int' as the 5th arg to authunix_create(). 1371 1372 * aux/macros/type_recvfrom_fromlen.m4: all AIX 4.x systems use a 1373 size_t for the 6th arg of recvfrom(). 1374 1375 * aux/macros/os_cflags.m4: define _XOPEN_EXTENDED_SOURCE for 1376 aix4.x systems. 1377 1378 * libamu/mount_fs.c (print_nfs_args): cast some values to int, to 1379 avoid gcc -Wall errors. 1380 1381 * scripts/expn.in: use sockaddr_in(), not pack() to correctly fill 1382 in a struct sockaddr_in. On Solaris x86 hosts, using pack() 1383 results in byte-misaligned values. Bug fix from Jeffrey C Honig 1384 <jch@BSDI.COM>. 1385 1386 * libamu/mount_fs.c (compute_automounter_mount_flags): turn on 1387 automntfs (ignore on bsdi-4.1) flag. 1388 (compute_automounter_nfs_args): ditto. 1389 1390 * aux/acconfig.h: add new flag for automntfs (ignore) 1391 1392 * aux/configure.in: check for new automntfs flag (bsdi-4.1). 1393 13941999-09-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1395 1396 * MIRRORS: added new site in Germany. Updated status of umn.edu 1397 and ferginc.com, who may no longer be mirroring am-utils. 1398 13991999-09-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1400 1401 ******************************************************************* 1402 *** Released am-utils-6.0.1 *** 1403 ******************************************************************* 1404 14051999-09-08 Erez Zadok <ezk@cs.columbia.edu> 1406 1407 * aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct 1408 netexport defined. 1409 1410 * aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and 1411 struct netexport defined. 1412 14131999-09-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1414 1415 * aux/macros/check_field.m4 (ac_upcase_var_name): include 1416 <ifaddrs.h> so we can detect fields within struct ifaddrs. 1417 1418 * libamu/wire.c (getwire): bsdi-2.1 uses a second arg to 1419 getifaddrs() and struct ifaddrs has no ifa_next field. 1420 1421 * aux/configure.in: check if 'struct ifaddrs' has a field 1422 ifa_next. 1423 1424 * include/amq_defs.h (AMQ_STRLEN): double size of amq string 1425 length to 2048 bytes. 1426 1427 * conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs 1428 header files and ufs/ufs/ufsmount.h. Bug reported by <Christos 1429 Zoulas> christos@zoulas.com. 1430 1431 * aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>. 1432 Bug reported by <Christos Zoulas> christos@zoulas.com. 1433 1434 * aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h> 1435 14361999-09-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1437 1438 * libamu/xutil.c (expand_error): use strerror if available instead 1439 of sys_errlist. Bug reported by <Christos Zoulas> 1440 christos@zoulas.com. 1441 1442 * hlfsd/hlfsd.c (fatal): use strerror if available instead of 1443 sys_errlist. 1444 1445 * amq/amq.c (show_mi): use strerror if available instead of 1446 sys_errlist. 1447 1448 * aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4 1449 nfs_prot header is used for any future (1.5 etc.) netbsd systems. 1450 1451 * amq/pawd.c (find_mt): check for type nfsl as well. Fix from 1452 "Andrew J. Korty" <ajk@purdue.edu> 1453 14541999-08-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1455 1456 * doc/am-utils.texi (Supported Platforms): updates for redhat 1457 systems. 1458 1459 * INSTALL: updates for redhat systems. 1460 1461 * libamu/wire.c (getwire_lookup): spell "succeeded" correctly 1462 14631999-08-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1464 1465 * scripts/ctl-amd.in: sleep 1 second between killing amd and 1466 restarting it, because amq may respond that amd is down, where in 1467 fact it is still trying to unmount itself after unmapping itself 1468 from the portmapper. 1469 1470 * aux/config.guess.long: new script to print long version of 1471 config.guess output. 1472 1473 * buildall (host_alias): use long version of config.guess. 1474 14751999-08-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1476 1477 * scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop 1478 scripts. 1479 14801999-08-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1481 1482 * released snapshot am-utils-6.0.1s11 1483 1484 * libamu/xutil.c (expand_error): make sure expanding the string 1485 with textual version of errno doesn't overrun the 1024 bytes 1486 buffer. 1487 (real_plog): null terminate msg, just in case. 1488 1489 * amq/amq.c (main): don't getopt -M option and don't process it 1490 unless ENABLE_AMQ_MOUNT is on. 1491 1492 * amd/amq_svc.c (amq_program_1): all code that relates to amq -M 1493 is conditional on #ifdef ENABLE_AMQ_MOUNT. 1494 1495 * amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked 1496 when amq -M code is disabled. Not taking any chances. 1497 14981999-08-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1499 1500 * released snapshot am-utils-6.0.1s10 1501 1502Sun Aug 22 16:18:59 1999 Erez Zadok <ezk@subzero.cs.columbia.edu> 1503 1504 * libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on 1505 128.59.16.0), try to shift the network out of zeros (e.g., 1506 128.59.16) and try again. Irix 6.4 requires short network 1507 numbers. 1508 15091999-08-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1510 1511 * libamu/wire.c (getwire_lookup): correctly compute subnet using 1512 netmask. 1513 1514 * libamu/mount_fs.c (compute_automounter_nfs_args): require that 1515 Amd's own NFS mounts use reserved ports (if possible). IP packet 1516 security fix from Jeffrey C Honig <jch@BSDI.COM>. 1517 1518 * conf/transp/transp_tli.c (create_autofs_service): use correct 1519 autofs_port. IP packet security fix from Jeffrey C Honig 1520 <jch@BSDI.COM>. 1521 1522 * conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary 1523 function. IP packet security fix from Jeffrey C Honig 1524 <jch@BSDI.COM>. 1525 (create_nfs_service): use bind_resv_port() directly. ensure that 1526 privileged ports are used. IP packet security fix from Jeffrey C 1527 Honig <jch@BSDI.COM>. 1528 1529 * amd/nfs_prot_svc.c (nfs_program_2): verify that requests come 1530 from reserved ports and from a local IP address. IP packet 1531 security fix from Jeffrey C Honig <jch@BSDI.COM>. 1532 1533 * amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of 1534 hard-coded 1024. IP packet security fix from Jeffrey C Honig 1535 <jch@BSDI.COM>. 1536 (amqproc_mount_1_svc): provide information on the caller making an 1537 amq -M request. IP packet security fix from Jeffrey C Honig 1538 <jch@BSDI.COM>. 1539 1540 * amd/map.c (free_map_if_success): If the program doing an unmount 1541 of a program filesystem fails, amd tries to interpret the return 1542 code as an errno. Fix from Jeffrey C Honig <jch@BSDI.COM>. 1543 1544 * amd/info_nis.c (determine_nis_domain): don't always print 1545 warning about NIS domain name not being set, even if NIS is not in 1546 use. 1547 15481999-08-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1549 1550 * amd/info_ldap.c (get_ldap_timestamp): initialize variable err. 1551 (amu_ldap_search): initialize variable err. 1552 15531999-08-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1554 1555 * libamu/wire.c: written using getifaddrs() for BSD systems, 1556 contributed by BSDI, Jeffrey C Honig <jch@BSDI.COM>). 1557 15581999-08-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1559 1560 * include/am_utils.h (SALLOC): a simple macro to allocate N bytes. 1561 1562 * aux/configure.in: check for irs.h and ifaddrs.h. 1563 Increase libamu.so --version-info to 3:1:1 since we've changed the 1564 source code for the library. 1565 Check for getifaddrs() function. 1566 15671999-08-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1568 1569 * libamu/mount_fs.c (print_nfs_args): print fields namlen and 1570 bsize if they exist. 1571 1572 * conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen 1573 and ->bsize fields correctly, if those fields exist. This is a 1574 bug in that amd neglected to set these fields, but told the 1575 kernel it is mounting the nfs_args_t structure using mount version 1576 3 (which requires both bsize and namlen fields). 1577 1578 * aux/configure.in: test for two new nfs_args_t fields (used on 1579 newer linux with mount versions 2 and 3): bsize and namlen. 1580 1581 * doc/am-utils.texi (netgrpd Selector Function): document new 1582 selector function. 1583 1584 * amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to 1585 test if the current host (fully-qualified name) is in the ARG host 1586 netgroup. The netgrp() function uses the short form of a host 1587 name. Patch from Christophe Kalt <Christophe-Kalt@deshaw.com>. 1588 1589 * doc/am-utils.texi (automount2amd): document new script. 1590 1591 * scripts/Makefile.am: create, install, and distribute 1592 automount2amd perl script and its man page. 1593 1594 * scripts/automount2amd.8: new man page for automount2amd. 1595 1596 * scripts/automount2amd.in: new file, contributed a in 1993 by 1597 Mike Walker <mike@tab00.larc.nasa.gov>. Fixed to use addopts for 1598 any automount map options specified. 1599 16001999-08-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1601 1602 * released snapshot am-utils-6.0.1s9 1603 16041999-08-09 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 1605 1606 * amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to 1607 1. 1608 (amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0. 1609 (amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of 1610 (u_int)~0. 1611 1612 * amd/mapc.c (make_entry_chain): NFS cookies should be 1613 monotonically increasing, because Linux 2.3 expects that, even 1614 though it is not in the spec (RFC-1094) for NFS V2. 1615 16161999-08-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1617 1618 * aux/macros/check_lib_funcs.m4: removed unused macro. 1619 1620 * aux/macros/linux_headers.m4: new macro to ensure that linux 1621 kernel headers match running kernel version. 1622 1623 * aux/acconfig.h: define HOST_HEADER_VERSION so we can check if 1624 amd is configured on linux hosts that run one kernel but have 1625 headers for a different version. 1626 1627 * amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the 1628 logic which uses nis_isup and has_yp_order. Make sure it is used 1629 correctly , esp. for NIS+ in NIS-compatibility mode. Bug fix from 1630 Peter Breitenlohner <peb@mppmu.mpg.de>. 1631 1632 * include/am_defs.h: fix conflicts on linux 2.2 systems with older 1633 libc5. Bug fix from Peter Breitenlohner <peb@mppmu.mpg.de>. 1634 1635 * scripts/lostaltmail.in: use sockaddr_in(), not pack() to 1636 correctly fill in a struct sockaddr_in. On Solaris x86 hosts, 1637 using pack() results in byte-misaligned values. 1638 16391999-08-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1640 1641 * conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3 1642 mounting, as per Dale Talcott <aeh@quest.cc.purdue.edu>. Also use 1643 better macros for case statement. 1644 1645 * conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures 1646 unless ldap is actually available. 1647 1648 * use updated config.guess and config.sub. Use newer automake 1649 that fixes problems with distributing optional libamu files 1650 (clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c, 1651 and ualarm.c) 1652 16531999-07-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1654 1655 * minor port i386-unknown-openbsd2.5 1656 16571999-07-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1658 1659 * minor ports to freebsdelf 3.[0-2] and 4.0 completed 1660 1661 * aux/macros/check_nfs_prot_headers.m4: support freebsdelf 1662 1663 * aux/macros/check_nfs_socket_connection.m4: support freebsdelf 1664 16651999-06-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1666 1667 * released snapshot am-utils-6.0.1s8 1668 16691999-06-23 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu> 1670 1671 * include/am_defs.h: avoid various header conflicts on 1672 RedHat/Linux 6.0 and kernels 2.2.10 or newer. 1673 1674 * aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and 1675 kernel 2.2.10) 1676 1677 * amd/amfs_program.c (amfs_program_exec): make sure logfp is 1678 initialized dynamically to stderr if needed. 1679 1680 * libamu/xutil.c (dplog): make sure logfp is initialized 1681 dynamically to stderr if needed. 1682 (plog): ditto. 1683 1684 * amd/amfs_program.c (amfs_program_exec): set logfp to stderr if 1685 not initialized. 1686 1687 * libamu/xutil.c: don't initialize logfp statically to stderr, 1688 because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer 1689 be manipulated like a variable. 1690 1691 * include/am_defs.h: avoid more conflicts between <linux/fs.h> and 1692 <sys/mount.h> on 2.2 linux kernels. 1693 include <db1/ndbm.h> as needed (RedHat/Linux 6.0) 1694 16951999-04-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1696 1697 * all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS) 1698 1699 * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER): 1700 renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake 1701 won't attempt to add it to the header files to distribute. 1702 17031999-04-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1704 1705 * aux/GNUmakefile: invoke aclocal with new --altdir flag. 1706 17071999-04-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1708 1709 * minor new port: i386-unknown-netbsd1.4 (ALPHA) 1710 1711 * aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h> 1712 and <isofs/cd9660/cd9660_mount.h> because they are also included 1713 from MOUNT_HEADERS. Causes multiple inclusion of unprotected 1714 headers on netbsd-1.4_ALPHA. 1715 17161999-04-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1717 1718 * aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's 1719 sys_errlist extern doesn't end with []. 1720 1721 * aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support. 1722 17231999-04-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1724 1725 * newer automake wants texinfo.tex to be in aux/ not doc/ 1726 17271999-03-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1728 1729 * amd/conf_parse.y: alloca support. 1730 1731 * fsinfo/fsi_gram.y: alloca support. 1732 1733 * libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if 1734 needed. 1735 1736 * aux/configure.in: test for alloca support. Needed because bison 1737 generates parsers that use alloca, and hpux9 does have alloca and 1738 its /bin/cc doesn't support it builtin (the way gcc does). 1739 1740 * libamu/alloca.c: new file, needed on hpux9 with /bin/cc. Taken 1741 verbatim from bison-1.25. 1742 1743 * include/am_defs.h: fixed typo #errir -> #error 1744 1745 * released snapshot am-utils-6.0.1s7 1746 1747 * README.y2k: more information about am-utils' compatibility, from 1748 Paul Balyoz <pbalyoz@sedona.ch.intel.com>. 1749 1750 * scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K 1751 compliant format. Patch from Paul Balyoz 1752 <pbalyoz@sedona.ch.intel.com> 1753 1754 * doc/am-utils.texi (Supported Platforms): hpux10.20 could have 1755 nfs v.3 support (with some vendor patches), but it is turned off. 1756 1757 * aux/macros/os_cflags.m4: use ansi compiler options on hpux. 1758 1759 * conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid 1760 confusing am-utils. 10.20 with some patches has incomplete 1761 support. Patch from Jon Peatfield 1762 <J.S.Peatfield@damtp.cam.ac.uk>. 1763 17641999-03-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1765 1766 * minor port i386-pc-bsdi4.0.1 1767 17681999-03-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1769 1770 * doc/am-utils.texi (Supported Platforms): add forgotten listing 1771 for powerpc-linux. 1772 17731999-03-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1774 1775 * scripts/amd.conf.5: fix typo. From Jeffrey C Honig 1776 <jch@BSDI.COM>. 1777 1778 * doc/am-utils.texi: document iso9660 options norrip, gens, and 1779 extatt. 1780 (opts Option): documented dumbtimr and noauto options. From 1781 Jeffrey C Honig <jch@BSDI.COM>. 1782 1783 * include/am_compat.h: define default strings for options norrip, 1784 gens, and extatt. 1785 1786 * amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and 1787 extatt. 1788 1789 * aux/macros/mount_headers.m4: also include 1790 <isofs/cd9660/cd9660_mount.h> as needed. 1791 1792 * aux/configure.in: check for isofs mount options for bsdi4: 1793 norrip, gens, and extatt. Reported by Jeffrey C Honig 1794 <jch@BSDI.COM>. 1795 1796 * aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags 1797 (bsdi4). 1798 17991999-03-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1800 1801 * conf/nfs_prot/nfs_prot_freebsd3.h: ditto. 1802 1803 * conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>, 1804 for bsdi4, as per Jeffrey C Honig <jch@BSDI.COM>. 1805 18061999-03-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1807 1808 * get latest copies of config.guess, config.sub, ltconfig, and 1809 ltmain.sh from libtool-1.2f. 1810 1811 * all Makefile.am: don't use continuation lines (using \) for 1812 short lists of files. 1813 1814 * libamu/Makefile.am (DISTCLEANFILES): make distclean should 1815 remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c. 1816 Reported by Jeffrey C Honig <jch@BSDI.COM>. 1817 1818 * fixmount/Makefile.am (DISTCLEANFILES): make distclean should 1819 remove checkmount.c. Reported by Jeffrey C Honig <jch@BSDI.COM>. 1820 1821 * Makefile.am (DISTCLEANFILES): make distclean should remove 1822 amu_nfs_prot.h, config.cache.old, and dbgcf.h. Reported by 1823 Jeffrey C Honig <jch@BSDI.COM>. 1824 18251999-03-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1826 1827 * released snapshot am-utils-6.0.1s6 1828 18291999-03-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1830 1831 * INSTALL: document freebsdelf. 1832 1833 * doc/am-utils.texi (Supported Platforms): document freebsdelf. 1834 18351999-03-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1836 1837 * minor new ports: i386-unknown-freebsdelf3.1 and 1838 i386-unknown-freebsdelf4.0 1839 1840 * aux/macros/check_nfs_prot_headers.m4: freebsd4 support. 1841 1842 * aux/macros/check_nfs_socket_connection.m4: freebsd4 support. 1843 1844 * aux/macros/check_nfs_fh_dref.m4: freebsd4 support. 1845 1846 * amd/opts.c (eval_opts): changed log level of "executing 1847 negated..." message from USER to INFO, as per Guntram Wolski 1848 <gwolsk@sei.com>. 1849 18501999-02-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1851 1852 * */Makefile.am (LDADD): force linking against an installed 1853 libamu.{a,so}. 1854 1855 * doc/am-utils.texi (addopts Option): document remopts interaction 1856 with addopts. 1857 1858 * amd/am_ops.c (ops_match): if addopts are specified, apply them 1859 to the value of remopts as well as opts. 1860 1861 * amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used. 1862 18631999-02-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1864 1865 * released snapshot am-utils-6.0.1s5 1866 1867 * conf/mount/mount_linux.c (mount_linux): set default nfs_args 1868 options for ac{reg,dir}{min,man} as per the mount-2.8a package, 1869 but only if noac option was not used. 1870 18711999-02-05 Erez Zadok <ezk@retro.cs.columbia.edu> 1872 1873 * conf/mount/mount_linux.c (mount_linux): print nfs_args again 1874 since it was updated. 1875 (mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels 1876 and newer. Bug was found by Neil Conway 1877 <nconway.list@ukaea.org.uk> 1878 18791999-02-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1880 1881 * released snapshot am-utils-6.0.1s4 1882 18831999-02-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1884 1885 * amq/amq.c (main): don't list -M as a valid amq option unless 1886 configure'd with --enable-amq-mount. 1887 1888Wed Feb 3 18:11:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 1889 1890 * amd/nfs_start.c (amd_use_autofs): Define. 1891 (mount_automounter): Create autofs service listener only if 1892 necessary to avoid unnecessary clashes with e.g. automountd. 1893 1894 * amd/amd.h (amd_use_autofs): Declare. 1895 1896 * amd/conf.c (gopt_mount_type): Set amd_use_autofs. 1897 (ropt_mount_type): Likewise. 1898 18991999-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1900 1901 * aux/macros/check_mnt2_nfs_opt.m4:: ditto 1902 1903 * aux/macros/check_mnt2_cdfs_opt.m4: ditto 1904 1905 * aux/macros/check_mnt2_gen_opt.m4: ditto 1906 1907 * aux/macros/check_mnttab_opt.m4: new macro in this file to loop 1908 over AC_CHECK_MNTTAB_OPT. Reduces size of configure script a lot. 1909 1910 * conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h, 1911 nfs/nfs.h and nfs/nfsmount.h if they exist. Patch from 1912 christos@zoulas.com (Christos Zoulas). 1913 1914 * amd/info_hesiod.c: some forward declarations. Patch from 1915 christos@zoulas.com (Christos Zoulas). 1916 19171999-01-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1918 1919 * libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn 1920 option if it was already in that state. Patch from David 1921 Wolfskill <dhw@whistle.com>. 1922 19231999-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1924 1925 * aux/configure.in: automake nowadays supports LTLIBOBJS (but not 1926 LTALLOCA yet). Substitute value of LIBTOOL_DEPS for libtool 1927 rebuild make rules. 1928 1929 * Makefile.am: new rules to remake libtool (maintainers only) 1930 1931 * amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags 1932 if -D trace was used. 1933 19341999-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1935 1936 * buildall: all if statements should have an else clause because 1937 of Ultrix's /bin/sh. 1938 19391999-01-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1940 1941 * amq/amq.c: removed dummy variables. 1942 1943 * amq/pawd.c: removed dummy variable.s 1944 1945 * fixmount/fixmount.c (usage): removed dummy variables. 1946 1947 * fsinfo/fsinfo.c: removed dummy variables. 1948 1949 * hlfsd/hlfsd.c: removed dummy variables. 1950 1951 * wire-test/wire-test.c: removed dummy variables. 1952 1953 * mk-amd-map/mk-amd-map.c: removed dummy variables. 1954 1955 * doc/texinfo.tex: updates from GNU mirror. 1956 1957 * aux/GNUmakefile (../doc/texinfo.tex): new rule to update 1958 doc/texinfo.tex from GNU mirror. 1959 1960 * released snapshot am-utils-6.0.1s3 1961 1962 * Makefile.am (install-snapshot): better snapshot and new 1963 install-snapshot and test-snapshot rules (maintainer). 1964 1965 * amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the 1966 args may be NULL. 1967 Some dlog() entries were not enclosed in #ifdef DEBUG. Fix from 1968 Bill Paul <wpaul@ctr.columbia.edu> 1969 19701999-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 1971 1972 * check for experimental generic 'ignore' mount flag on freebsd3. 1973 1974 * Update library -version-info to 3:0:1 (will result in 2.1.0 .so 1975 version, which is backwards compatible with older versions.) Only 1976 one new interface was added to libamu. 1977 1978 * amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags 1979 that are specific to automounter mounts. 1980 1981 * aux/configure.in: update libamu.so age and revision since a new 1982 interface was added to libamu/mount_fs.c 1983 (compute_automounter_mount_flags). 1984 1985 * libamu/mount_fs.c (compute_automounter_mount_flags): new 1986 function to compute generic mount flags that are specific to mount 1987 points only. 1988 1989 * aux/{configure.in,acconfig.h}: add support for generic mount 1990 entry ignore option. 1991 1992 * released snapshot am-utils-6.0.1s2 1993 1994 * amd/info_ldap.c (get_ldap_timestamp): dlog format fixes. 1995 1996 * libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format 1997 of knc_semantics from u_long to u_int. 1998 1999 * aux/macros/check_mount_style.m4: freebsd3 no longer needs a 2000 special mount helper. 2001 20021999-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2003 2004 * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS): 2005 amu_nfs_conf.h should always be found in $top_builddir. 2006 2007Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2008 2009 * conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine 2010 to avoid wrong reports from show_fstypes. 2011 2012 * conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise. 2013 2014 * conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise. 2015 2016Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2017 2018 * BUGS (mips-dec-ultrix4.3): Update Ultrix caveats. 2019 2020Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2021 2022 * hlfsd/homedir.c (delay): Cast child to long, adapt format. 2023 (hlfsd_getpwent): Likewise for pw_uid. 2024 2025 * amd/info_nis.c (nis_init): Cast order to unsigned long, adapt 2026 format. 2027 2028 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast 2029 tv_sec to int to match format. 2030 (get_nfs_version): Cast nfs_version, NFS_VERSION to int to match 2031 formats. 2032 2033 * amd/amfs_program.c (amfs_program_exec): Cast ptr difference to 2034 long, adapt format. 2035 2036 * include/am_defs.h: Handle __attribute__ if available. From 2037 GNU fileutils 4.0 lib/errors.h. 2038 2039Mon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2040 2041 * libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to 2042 match format. 2043 2044 * hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long, 2045 adapt format. 2046 (nfsproc_lookup_2_svc): Likewise. 2047 (nfsproc_readlink_2_svc): Likewise for userid, groupid. 2048 2049 * hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match 2050 format. 2051 2052 * hlfsd/homedir.c (homedir): Cast uid, child to long, adapt 2053 format. 2054 2055 * amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned 2056 long, adapt format. 2057 2058 * amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to 2059 unsigned long, adapt format. 2060 (got_nfs_fh): Likewise. 2061 (prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match 2062 format. 2063 (call_mountd): Likewise, mnt_version also. 2064 (mount_nfs_fh): Likewise. 2065 2066 * amd/ops_autofs.c (autofs_program_1): Cast args to int to match 2067 format. 2068 (autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to 2069 unsigned long, adapt formats. 2070 (autofs_bgmount): Cast opt_fs to unsigned to, adapt format. 2071 (autofs_bgmount): Use long format to match arg. 2072 (autofs_lookuppn): Removed superfluous arg. 2073 2074 * amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match 2075 format. 2076 (got_portmap): Likewise for port. 2077 (recompute_portmap): Likewise for fs->fs_version, mnt_version. 2078 (find_nfs_srvr): Likewise for nfs_version. 2079 2080 * amd/sched.c (sched_task): Cast wchan to unsigned long, adapt 2081 format. 2082 2083 * amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem 2084 to unsigned long, adapt format. 2085 Cast tvv.tv_sec to int to match format. 2086 2087 * amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match 2088 format. 2089 2090 * amd/map.c (root_fh): Cast pid to long, adapt format. 2091 (timeout_mp): Cast time_t to long, adapt format. 2092 2093 * amd/clock.c (reschedule_timeouts): Use long format, cast time_t 2094 arg. 2095 2096 * amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to 2097 match format. 2098 (amfs_host_fmount): Likewise. 2099 (amfs_host_umounted): Likewise. Removed superfluous arg. 2100 2101 * amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned 2102 long, adapt format. 2103 (amfs_auto_bgmount): Use long format, cast time_t arg. 2104 (amfs_auto_lookuppn): Removed superfluous arg. 2105 2106 * amd/amd.c (main): Cast geteuid() result to long, adapt format. 2107 2108 * conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version 2109 to int to match format. 2110 2111 * include/am_utils.h: Declare plog, dplog as printf-like. 2112 2113 * conf/mount/mount_irix6.c (mount_irix): Print type as char *. 2114 2115Mon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2116 2117 * amd/info_hesiod.c (hesiod_isup): New function. 2118 * amd/mapc.c (maptypes): Add it. 2119 21201999-01-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2121 2122 * released snapshot am-utils-6.0.1s1 2123 21241999-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2125 2126 * ALL: bump copyright year to 1999. 2127 2128Fri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2129 2130 * aux/macros/check_mtype_type.m4: Ultrix uses an int mount type, 2131 too. 2132 2133 * aux/macros/check_mtype_printf_type.m4: Adapt corresponding 2134 printf type. 2135 2136Fri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2137 2138 * aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused. 2139 2140 * conf/nfs_prot/nfs_prot_irix6.h: Likewise. 2141 2142 * conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise. 2143 2144 * conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise. 2145 2146 * Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current 2147 automake. 2148 2149Thu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2150 2151 * aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not 2152 in current automake. 2153 2154Thu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2155 2156 * doc/am-utils.texi: Added some missing inter-punctation after 2157 @xref, or use @pxref/@ref as appropriate. Spotted by makeinfo 2158 from texinfo 3.12b. 2159 21601999-01-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2161 2162 * doc/texinfo.tex: updated off of latest GNU mirror. 2163 21641999-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2165 2166 * doc/am-utils.texi (Supported Platforms): update platforms that 2167 support NFS v.3. Nicer postscript printing on double-sided pages. 2168 2169 * amd/info_hesiod.c: add extern definition for hesiod_init() 2170 21711999-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2172 2173 ******************************************************************* 2174 *** Released am-utils-6.0 *** 2175 ******************************************************************* 2176 21771998-12-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2178 2179 * conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7. 2180 21811998-12-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2182 2183 * conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on 2184 bsdi4 for NFS V3/nfs mounts. 2185 21861998-12-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2187 2188 * using latest libtool (1.2e + patches), now supporting shared 2189 libraries on many more systems. Also using latest autoconf and 2190 automake (unreleased GNU CVS'd versions.) 2191 2192 * minor new ports: hppa2.0w-hp-hpux11.00, 2193 i386-unknown-netbsd1.3.3, mips-sgi-irix6.5. 2194 2195 * fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that 2196 have /usr/bin/flex but not libfl. 2197 21981998-12-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2199 2200 * lots of code cleanup, to make sure libamu.so does not use 2201 undefined symbols. Some system's shared libraries cannot handle 2202 that. 2203 22041998-12-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2205 2206 * include/am_defs.h: only defined seteuid extern if function also 2207 exists and is not superceded by setresuid (hpux). 2208 2209 * amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit 2210 braces to avoid confusion with nested if-then-else clauses. 2211 2212 * aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs: 2213 updated from latest versions. 2214 22151998-12-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2216 2217 * minor new port: i386-pc-bsdi4.0 2218 2219 * conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header 2220 definitions for bsdi4. 2221 2222 * {amd,fsinfo}/Makefile.am: force path to .y/.l files, because 2223 some make programs (bsdi4) do not support VPATH correctly. 2224 22251998-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2226 2227 * conf/mount/mount_aix.c: minor code cleanup 2228 2229 * aux/configure.in: check for extern definition to xdr_groups. 2230 22311998-12-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2232 2233 * minor new port: powerpc-ibm-aix4.3.1.0 2234 2235 * aux/macros/*.m4: updates for aix 4.3 2236 22371998-12-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2238 2239 * minor new port: i386-unknown-openbsd2.4 2240 2241 * aux/configure.in: don't check for xfs on openbsd because 2242 openbsd-2.4 introduces a new file system named xfs, but different 2243 than Irix's XFS. Sigh. 2244 2245 * minor new port: i386-unknown-freebsd2.2.8 2246 22471998-12-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2248 2249 * amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host 2250 name match. Bug fix from Douglas K. Rand" <rand@aero.und.edu>. 2251 22521998-11-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2253 2254 * scripts/ctl-amd.in: wait4amd2die runs in the stop action, to 2255 avoid race conditions when shutting down systems running amd. 2256 2257 * Makefile.am: add a dist-hook to change modes of the directories 2258 in the tar file so they are not world writable. 2259 2260 * conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support, 2261 since it is now finally defined in the header files and 2262 (hopefully) stable. 2263 2264 * amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option 2265 is specified in mount options. freebsd patches from David 2266 O'Brien. 2267 2268 * amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c 2269 (main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main), 2270 amd/get_args.c (get_args): posix: use -1 to check for return from 2271 getopt() (not EOF), as per posix. 2272 2273 * amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David 2274 O'Brien" <obrien@NUXI.com>, from the FreeBSD source tree. Use 2275 real variable whose pointer is on the stack for decoding a long 2276 int. 2277 22781998-11-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2279 2280 * scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's 2281 chkconfig utility. 2282 22831998-11-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2284 2285 * released snapshot am-utils-6.0b2s3 2286 2287 * conf/transp/transp_sockets.c (create_nfs_service): remove C++ 2288 style comments. 2289 22901998-11-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2291 2292 * released snapshot am-utils-6.0b2s2 2293 2294 * created CVS package 2295 2296 * amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race 2297 condition between unmounting and re-mounting an entry, by 2298 increasing the ttl of a looked up entry before unmounting it. 2299 Patch from Mike Mitchell <mcm@unx.sas.com>. 2300 2301 * All files: spell comments and strings. 2302 23031998-11-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2304 2305 * aux/configure.in: look for yp_all in libnsl only if yp_all not 2306 already found elsewhere (in libc or other default libraries). 2307 This is so RedHat 5.1 systems could find yp functions in libnsl, 2308 but also so AIX 4.2.1 will NOT include libnsl, because the latter 2309 has broken nis functionality that also exists and works ok in libc. 2310 23111998-10-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2312 2313 * amd/amd.c (main): bug fix: swapped arguments to kill(2). Fix 2314 from Danny Rathjens <dkr@cs.fiu.edu>. 2315 23161998-10-28 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu> 2317 2318 * released snapshot am-utils-6.0b2s1 2319 23201998-10-27 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu> 2321 2322 * aux/macros/*.m4: support bsdi4 as bsdi3. 2323 2324 * aux/macros/os_ldflags.m4: enable detection of LDAP on solaris 2325 2.7 (libraries located in /usr/lib/fn). This is off until Sun 2326 includes LDAP header information. 2327 23281998-10-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2329 2330 ******************************************************************* 2331 *** Released am-utils-6.0b1 *** 2332 ******************************************************************* 2333 23341998-10-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2335 2336 * mk-amd-map/mk-amd-map.c (main): use perror not strerror. 2337 (main): set return type to int if no ndbm maps. 2338 2339 * include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1 2340 kernels. 2341 23421998-10-18 Erez Zadok <ezk@london.mcl.cs.columbia.edu> 2343 2344 * A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup 2345 for netbsd 1.3.2. 2346 23471998-10-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2348 2349 * aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1 2350 systems put NIS functions there. 2351 2352 * mk-amd-map/mk-amd-map.c: patch from "David O'Brien" 2353 <obrien@NUXI.com> merged in. Use POSIX -1 return code from 2354 getopt(), not EOF. Use .db extentions for systems that use it, 2355 instead of .{pag,dir}. 2356 23571998-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2358 2359 * wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c, 2360 amd/amd.c (main): avoid overrunning hostname buffer. Bug fix from 2361 "David O'Brien" <obrien@NUXI.com>. 2362 2363 * scripts/amd.conf.5: minor typo reported by "David O'Brien" 2364 <obrien@NUXI.com> in .TH section of man page. 2365 2366 * amd/info_nis.c (am_yp_all): don't leak key-val entries. Patch 2367 from Thomas Richter <richter@chemie.fu-berlin.de>. 2368 23691998-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2370 2371 * doc/am-utils.texi (Program Filesystem): minor typo fixed as per 2372 Andreas Stolcke <stolcke@speech.sri.com>. 2373 2374 * minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7, 2375 and sparc-sun-solaris2.7. 2376 2377 * conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now 2378 a 4.4lite kernel, and somethings were removed, such as 2379 INITMOUNTNAMES. 2380 2381 * amd/ops_autofs.c (autofs_lookuppn): don't leak memory while 2382 processing /defaults. Free temporary opts. Patch from 2383 dsr@mail.lns.cornell.edu (Daniel S. Riley) 2384 2385 * amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while 2386 processing /defaults. Free temporary opts. Patch from 2387 dsr@mail.lns.cornell.edu (Daniel S. Riley) 2388 2389 * conf/mtab/mtab_osf.c (read_mtab): patch from 2390 dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access 2391 uninitialized memory on Digital Unix. 2392 23931998-10-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2394 2395 * aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most 2396 systems now use "char *" as their mount type. 2397 23981998-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2399 2400 * amd/conf.c (gopt_map_type, ropt_map_type): check if map type 2401 exists. 2402 2403 * amd/mapc.c (mapc_type_exists): function to test if a map of 2404 certain type exists. 2405 24061998-10-08 Erez Zadok <ezk@horatio.mcl.cs.columbia.edu> 2407 2408 * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 2409 include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl 2410 in RH-5.1 sparc64 between <netinet/in.h> and 2411 <linux/byteorder/generic.h> (2.1 kernels). 2412 24131998-09-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2414 2415 * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat 2416 5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket 2417 from yp_all(). 2418 24191998-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2420 2421 * conf/mount/mount_linux.c (parse_opts): check for pcfs support 2422 only if autoconfigured. 2423 24241998-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2425 2426 * Makefile.am (EXTRA_DIST): distribute README.yk2 file. 2427 2428 * README.y2k: explain y2k compliance status of am-utils. 2429 24301998-09-16 Erez Zadok <ezk@iguana.mcl.cs.columbia.edu> 2431 2432 * amd/amfs_host.c (fetch_fhandle, amfs_host_fmount, 2433 amfs_host_umounted): clnt_sperrno() may return a const. 2434 2435Sat Aug 8 23:28:32 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2436 2437 * aux/configure.in: check for <nfs/nfsmount.h>, as per Christos 2438 Zoulas. Turned on checking for mount options: async, synchronous, 2439 deadthresh, leasterm, nqnfs, and readahead. 2440 2441 * amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas) 2442 to include prototype definition for nis_isup(). 2443 2444Sun Jul 19 18:50:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2445 2446 * hlfsd/stubs.c (getcreds): force sscanf arg to u_long. 2447 2448Tue Jul 14 20:34:25 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2449 2450 * released snapshot am-utils-6.0a17s1 2451 2452Wed Jul 8 21:49:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2453 2454 * aux/macros/host_macros.m4: all x86 hosts should have $arch be 2455 i386, not i[456]86. 2456 2457Tue Jul 7 18:55:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2458 2459 * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 2460 include/am_defs.h: include <linux/posix_types.h> before 2461 <linux/fs.h> because on redhat 5.1, there is a bug (misuse) of 2462 headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of 2463 __KERNEL_STRICT_NAMES). 2464 2465 * aux/configure.in: check for <linux/posix_types.h> because it is 2466 need for RedHat 5.1. 2467 2468Wed Jun 17 00:05:33 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2469 2470 * scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from 2471 .in as well, so it doesn't get removed by make clean. 2472 2473Tue Jun 16 22:00:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2474 2475 * aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4, 2476 check_mount_type.m4}: redhat 5.1 puts some modules in 2477 /lib/modules/preferred/. 2478 2479Wed May 13 16:33:57 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2480 2481 * amd/ops_autofs.c (mount_autofs): cast pid to long. 2482 2483Tue Apr 28 15:12:36 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2484 2485 * conf/nfs_prot/nfs_prot/nfs_prot_irix6.h, 2486 conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to 2487 avoid amd/am_ops.c (show_fstypes) from erroneously claiming 2488 support. 2489 2490Fri Apr 24 23:02:11 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2491 2492 * libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON 2493 unconditionally, may be missing on Ultrix V4.3. 2494 2495Thu Apr 23 20:24:33 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2496 2497 * conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define, 2498 missing from <sys/mntent.h>. 2499 2500 * conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h> 2501 without KERNEL defined here. 2502 2503 * aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>, 2504 <cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of 2505 ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed. 2506 2507 * amd/ops_ufs.c (mount_ufs): Removed obsolete comment. 2508 2509 * ChangeLog: Fixed confusing linebreaks from ChangeLog imports. 2510 Removed purely local (and obsolete) entry. 2511 2512Thu Apr 23 00:22:17 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2513 2514 ******************************************************************* 2515 *** Released am-utils-6.0a16 *** 2516 ******************************************************************* 2517 2518Wed Apr 22 01:20:39 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2519 2520 * aux/macros/check_mount_style.m4: define freebsd3 mount style. 2521 2522 * aux/macros/check_mount_trap.m4: new mount trap for freebsd3. 2523 2524 * aux/macros/check_mtype_printf_type.m4, 2525 aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as 2526 of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not 2527 integers, but I'll keep them as integers and do the mapping in 2528 conf/mount/mount_freebsd3.c 2529 2530 * minor new port to i386-pc-bsdi3.1. 2531 2532 * minor new port to i386-unknown-netbsd1.3.1. 2533 2534 * amd/opts.c: new option addopts:=ARG, which smartly merges ARG 2535 options with whatever the /default ones for a key are. This 2536 allows adding or overriding /default options individual keys. 2537 2538 * amd/am_ops.c (ops_match): strdup/malloc string assigned to 2539 opt_opts because it'll get free()'d upon next use. 2540 (merge_opts): new function to merge two sets of options. 2541 (ops_match): if addopts option exist, append and merge it to the 2542 current default options. 2543 2544Tue Apr 21 12:54:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2545 2546 * wire-test/wire-test.c (main): use dynamically allocated returned 2547 string with list of interfaces. 2548 2549 * amd/get_args.c (get_version_string): allocate enough space for 2550 header version string and a list of network interfaces of any 2551 length. 2552 2553 * libamu/wire.c (print_wires): return dynamically allocated string 2554 containing list of networks. Must be dynamic because some sites 2555 had potentially dozens of network interfaces. Patch from Matthew 2556 Crosby <mcrosby@ms.com> slightly modified. 2557 2558Mon Apr 20 00:37:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2559 2560 * conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because 2561 irix 5.3 does not have full header definitions for it. 2562 2563 * fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and 2564 undefined it when not needed (similar to amd/conf_tok.l) 2565 2566 * hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size 2567 of these to unsigned short (because uid_t on some linux systems is 2568 small). 2569 2570 * released snapshot am-utils-6.0a16s10 2571 2572 * doc/am-utils.texi (opts Option): documented resvport mount 2573 option. 2574 2575Sun Apr 19 18:17:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2576 2577 * doc/am-utils.texi (-D-Option): document behavior of -D info and 2578 especially what it does to hesiod (turn on RES_DEBUG). 2579 2580 * scripts/amd.conf.5: document info debugging option. 2581 2582 * libamu/xutil.c (dbg_opt): parse info debugging option. 2583 2584 * include/am_utils.h (D_INFO): define new trace option. 2585 2586 * Makefile.am (EXTRA_DIST): include list of official mirrors in 2587 distribution. 2588 2589 * libamu/wire.c (SIZE): in the simple case, just compute 2590 sizeof(struct ifreq). 2591 2592Sun Apr 19 16:30:35 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 2593 2594 * amd/amd.c (daemon_mode): set a temporary secure umask(0022) 2595 before writing log file and restore it afterwards. Patch from 2596 Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 2597 2598 * amd/get_args.c (get_args): 2599 2600 * doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf 2601 file specified by -F is always processed last. 2602 2603 * amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd 2604 won't be reused. Allows startup script to redirect stdout. Patch 2605 from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 2606 2607 * libamu/xutil.c (switch_to_logfile): compare logfile name and 2608 syslog string with correct length. Patch from Donald Buczek 2609 <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 2610 2611 * amd/restart.c (restart): correctly inherit existing NFS V.3 2612 mounts upon restart. Patch from Donald Buczek 2613 <buczek@MPIMG-Berlin-Dahlem.MPG.DE>. 2614 2615Sat Apr 18 19:01:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 2616 2617 * using libtool 1.2 and automake 1.3 (with my patches). 2618 2619 * aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to 2620 AMU_CFLAGS to avoid conflicts with automake-1.3. 2621 2622Sun Apr 5 23:09:08 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2623 2624 * converted to using libtool-1.2. 2625 2626Tue Mar 10 16:52:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2627 2628 * fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly 2629 for loop (ITER) which used to run only to initialize the variable 2630 dd once and then break; with a simple assignment. 2631 2632 * hlfsd/hlfsd.h: cleanup so it compiles with Solaris 2633 /opt/SUNWspro/bin/cc, and use gid_t not int. 2634 2635 * amd/mapc.c (mapc_sync): don't dereference pointer (so it 2636 compiles with Solaris /opt/SUNWspro/bin/cc) 2637 2638Sun Mar 8 15:54:22 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2639 2640 * aux/config.{guess,sub}: used from gcc-2.8.1. 2641 2642Sat Mar 7 15:33:27 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2643 2644 * released snapshot am-utils-6.0a16s9 2645 2646 * INSTALL, doc/am-utils.texi (Supported Platforms): updated names 2647 based on new output of new config.guess. 2648 2649 * aux/config.{sub,guess}: used newer versions from gcc-2.8.0. 2650 2651 * amd/amd.8,doc/am-utils.texi: document correct usage of default 2652 /etc/amd.conf file. 2653 2654 * fixmount/fixmount.c (inetresport,privsock): use some more 2655 portable code from amq/amq.c. 2656 2657 * amd/get_args.c (get_args): use default /etc/amd.conf file only 2658 if no arguments had been passed to amd. 2659 2660 * fixmount/fixmount.c (clnt_create_timeout): use tli/socket code 2661 ala amq/amq.c so that fixmount will work on both types of systems. 2662 2663 * amq/amq.c (main): do no close tcp socket before running udp try, 2664 because we're not sure if it was opened at all. 2665 2666 * mips-dec-ultrix* port merged in and cleaned up. 2667 2668 * aux/configure.in: up minor shared library revision number, since 2669 it has changed enough. 2670 2671 * hlfsd/hlfsd.c (main): don't check for overlay mount option here, 2672 as it is now done in compute_nfs_args(). Remove ultrix specific 2673 code also because it was moved to compute_nfs_args(). 2674 2675 * conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that 2676 we have more generic code in print_nfs_args(). 2677 2678 * libamu/mount_fs.c (print_nfs_args): print maxlen of 2679 nfs_args.addr, and also syncaddr (which is mostly NULL). Print 2680 struct knetconfig from nfs_args->knconf. 2681 2682 * aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs 2683 headers here, but in try_compile_anyfs.m4. 2684 2685 * aux/macros/type_ufs_args.m4: move test for struct ufs_specific 2686 (for ultrix) here from its own macro. 2687 2688 * aux/macros/type_cdfs_args.m4: move test for struct iso_specific 2689 (for ultrix) here from its own macro. 2690 2691 * amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking 2692 for overlay mount option. Remove code which checks for overlay 2693 option, as it is now done in compute_nfs_args(). 2694 2695 * libamu/mount_fs.c (compute_mount_flags): move here code which 2696 checks for overlay mount option which was in amd/amfs_toplvl.c: 2697 mount_amfs_toplvl(). 2698 2699Wed Feb 7 15:35:51 1998 Rainer Orth <ro@xayide.TechFak.Uni-Bielefeld.DE> 2700 2701 * The following are Rainer's ChangeLog entries for his ultrix 2702 port, added manually. -Erez. 2703 2704 * merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c 2705 (mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl) 2706 2707 * include/am_defs.h: include cdfs specific mount headers 2708 avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix) 2709 2710 * include/am_compat.h: define several mount options corresponding 2711 to mount flags: pgthresh, hard (nfs), defperm, nodefperm, 2712 noversion, rrip (cdfs), nocache, quota, sync (generic) removed 2713 duplicate MNTTAB_OPT_RO definition 2714 2715 * aux/macros/try_compile_anyfs.m4: include Ultrix specific 2716 ufs/cdfs mount headers 2717 2718 * aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX 2719 specific mount headers 2720 2721 * aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_* 2722 mount types in mount headers (Ultrix) 2723 2724 * aux/configure.in: Ultrix/Digital UNIX specific checks: new 2725 headers, mount structures and fields, filesystem and mount types, 2726 mount flags 2727 2728 * aux/acconfig.h: placeholders for new mount options: quota 2729 (generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs) 2730 cdfs, nfs, ufs mount structure fields new ufs, cdfs mount 2731 structures 2732 2733 * amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in 2734 ufs_args.ufs_flags and has ufs specific pgthresh option 2735 2736 * amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific 2737 CDFS mount flags and options 2738 2739 * amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh), 2740 hlfsd/hlfsd.c (main): store generic mount flags in 2741 nfs_args.gfs_flags, handle separate NFS ro flag 2742 2743 * aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific, 2744 struct_ufs_specific}.m4: new files; check for Ultrix specific 2745 mount structures 2746 2747 * conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag 2748 2749 * aux/macros/type_auth_create_gidlist.m4 (ultrix*): 2750 AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a 2751 comment in <rpc/auth.h> 2752 2753 * include/am_defs.h: #define KERNEL to avoid definition of 2754 gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before 2755 <config.h> to force single definition here 2756 2757 * libamu/mount_fs.c (compute_nfs_args): Ultrix support for 2758 nfs_args.gfs_flags moved to callers store mount options in 2759 nap->optstr 2760 2761 * include/am_defs.h: fix _am_mntent mnt_{type, opts} field 2762 descriptions 2763 2764 * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4: 2765 include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req 2766 definition in prototypes 2767 2768 * aux/macros/mount_headers.m4: include <sys/errno.h> before 2769 AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_* 2770 definitions 2771 2772 * conf/nfs_prot/nfs_prot_ultrix.h: new file 2773 2774 * aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h 2775 2776 * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4, 2777 aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple 2778 inclusion of <rpc/xdr.h> 2779 2780Sat Mar 7 13:56:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2781 2782 * aux/configure.in: save state of config.cache and confdefs.h 2783 (as dbgcf.h) at various points of the configure. 2784 2785 * aux/macros/save_state.m4: new macro to save state of configure, 2786 esp. useful in long ones. Saves confdefs.h and write $ac_cv_* 2787 cache variables that are known so far. 2788 2789 * released snapshot am-utils-6.0a16s8 2790 27911998-03-06 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 2792 2793 * fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining 2794 it, but only for flex. 2795 2796Fri Mar 6 17:23:17 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 2797 2798 * hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file 2799 to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible) 2800 to write the dump file. 2801 2802 * doc/am-utils.texi,amd/opts.c: rename all references to nomadic 2803 functions to boolean functions, which is what they really are. 2804 2805 * aux/configure.in: don't look for strcasecmp in libucb at all, 2806 but rather complete it from libamu/strcasecmp.c as needed. 2807 2808Fri Mar 6 03:29:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2809 2810 * conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS. 2811 2812 * libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X 2813 which defines IFF_ROUTE instead of IFF_LOOPBACK. Patch from Tom 2814 Schmidt <tschmidt@micron.com>. 2815 2816 * released snapshot am-utils-6.0a16s7 2817 2818 * conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to 2819 hppa1.0-hp-hpux11.00.tgz. 2820 2821Thu Mar 5 21:59:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2822 2823 * converted all sources to use mntent field names, and map mnttab 2824 field names to mntent's. 2825 2826 * include/am_defs.h (mnt_special): map struct mnttab field names 2827 to struct mntent field names. 2828 2829 * aux/macros/check_mount_trap.m4: hpux11's mount trap style is 2830 identical to svr4/solaris2. 2831 2832 * aux/macros/check_mount_style.m4: hpux11's mount style is 2833 identical to svr4/solaris2. 2834 2835 * aux/macros/check_network_transport_type.m4: hpux11 is a TLI 2836 system! 2837 2838 * aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address 2839 dereferencing style is same as svr4. 2840 2841 * aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh 2842 dereferencing style is same as svr4. 2843 2844 * conf/transp/transp_tli.c (create_nfs_service): if failed to 2845 getnetconfigent() of ticlts, then try udp (hpux11). 2846 2847 * conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for 2848 struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris 2849 2.5.1 (HP used them). 2850 2851 * amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open() 2852 because hpux11 doesn't like it. if t_open failed, print error 2853 based on t_errlist, not sys_errlist. 2854 2855Wed Mar 4 22:01:55 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2856 2857 * doc/am-utils.texi: lots of documentation fixes from Rainer Orth 2858 <ro@TechFak.Uni-Bielefeld.DE>. 2859 2860Sat Feb 28 22:16:35 1998 Erez Zadok <ezk@kosh.cs.columbia.edu> 2861 2862 * fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used 2863 later. 2864 2865 * include/am_defs.h: defined the extern for ualarm() if it isn't 2866 found, regardless if the function isn't found in standard 2867 libraries, because otherwise libamu will include it. 2868 28691998-02-28 Erez Zadok (per Ron Snyder) <ezk@short.cvo.roguewave.com> 2870 2871 * initial port to hpux-11 completed. Compiles cleanly, but 2872 probably does not work, because of missing NFS V.2/3 headers. 2873 2874 * amd/conf_tok.l: cast yytext to char* when passed to strlen and 2875 strdup, for hpux-11's ansi-cc compiler. 2876 2877 * include/am_utils.h: renamed all xfree() to XFREE() to avoid 2878 conflict with hpux-11's system headers. Also move (voidp) cast 2879 from sources to inside the macro itself. 2880 2881Sat Feb 28 13:44:21 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2882 2883 * released snapshot am-utils-6.0a16s6 2884 2885 * amd/info_nis.c (nis_isup): new function to test if NIS is up 2886 without hanging amd. Used to ensure that amd does not clear the 2887 maps when the expiration period arrived, if the service is down. 2888 Otherwise it would be left with empty maps. It is better to stay 2889 with possibly old information than none at all. 2890 2891 * amd/mapc.c (mapc_sync): check to see if map service is up. 2892 2893Tue Feb 24 02:19:42 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2894 2895 * aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it 2896 includes auxiliary library only if needed. 2897 28981998-02-22 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 2899 2900 * amd/conf_tok.l: undefine ECHO again, so it doesn't get used 2901 later. 2902 2903Sun Feb 22 01:41:08 1998 Erez Zadok <ezk@zen.cs.columbia.edu> 2904 2905 * conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1 2906 completed. 2907 2908 * conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3. 2909 2910Sat Feb 21 19:45:48 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2911 2912 * doc/am-utils.texi (Network Host Filesystem): correct example for 2913 type:=host map. 2914 2915 * aux/macros/os_cflags.m4: only osf4 should compile with 2916 -D_SOCKADDR_LEN. 2917 2918 * aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2 2919 and OSF4. 2920 2921 * BUGS: include a new file listing known bugs. 2922 2923Sat Feb 21 03:50:48 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 2924 2925 * conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux 2926 versions. 2927 2928 * aux/macros/type_recvfrom_fromlen.m4: linux alpha should use 2929 size_t for recvfrom fromlen arg. 2930 2931Sat Feb 21 03:33:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2932 2933 * scripts/ctl-hlfsd.in: turn -D fork so primary process never 2934 hangs. 2935 2936Sat Feb 21 02:45:51 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu> 2937 2938 * include/am_defs.h: don't include <sys/stat.h> and 2939 <linux/stat.h>, just remaining definitions in <statbuf.h> 2940 2941Thu Jan 29 00:44:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 2942 2943 * released snapshot am-utils-6.0a16s5 2944 2945 * conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to 2946 mount(2). 2947 2948 * check for <sys/fs/xfs_clnt.h> and include it when needed. 2949 2950 * conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize 2951 efs and xfs separately from "ufs". 2952 2953 * amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs. 2954 2955 * aux/configure.in: look for irix efs and xfs file systems. 2956 2957 * scripts/amd.conf.5: new unmount_on_exit option documented. 2958 2959 * doc/am-utils.texi (unmount_on_exit): new option documented. 2960 2961 * amd/conf.c (gopt_unmount_on_exit): new function to handle new 2962 amd.conf option. 2963 2964 * amd/map.c (umount_exported): if global amd.conf flag 2965 unmount_on_exit is on, then try to unmount all mounted (or 2966 restartable) file systems. 2967 2968 * amd/amd.c: if print_pid option is on, then normally print it to 2969 stdout. If also pid_file is specified, then print the process ID 2970 into that file. 2971 2972 * amd/get_args.c (get_args): print correct -l option depending if 2973 system supports syslog and/or syslog facilities. Patch from 2974 Tom Schmidt <tschmidt@micron.com>. 2975 2976 * doc/am-utils.texi (opts Option): updates for documentation for 2977 new cdfs options defperm, nodefperm, noversion, rrip. 2978 2979 * amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm, 2980 nodefperm, noversion, rrip. 2981 2982 * conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h> 2983 on osf. 2984 2985 * aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4, 2986 expand_cpp_string.m4}: use #error to make failed compilations 2987 fail faster, rather than have the program fail during a run. 2988 2989 * include/am_compat.h: added a few new cdfs options: rrip, 2990 noversion, defperm, and nodefperm (used in OSF). 2991 2992Wed Jan 28 20:24:09 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 2993 2994 * released snapshot am-utils-6.0a16s4 2995 2996 * doc/am-utils.texi (Global Parameters): update manual for new 2997 amd.conf global variable hesiod_base. 2998 2999 * scripts/amd.conf.5: update man page for new amd.conf global 3000 variable hesiod_base. 3001 3002 * amd/get_args.c (get_args): use /etc/amd.conf file if exists by 3003 default, else try command line options. Patch from Randall 3004 S. Winchester <rsw@Glue.umd.edu>. 3005 3006Wed Jan 28 12:20:56 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3007 3008 * amd/info_hesiod.c (hesiod_search), amd/conf.c 3009 (gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options): 3010 included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to 3011 support a hesiod base name in the amd.conf file. 3012 3013 * doc/am-utils.texi (pid_file Parameter): document new global 3014 amd.conf parameter. 3015 3016 * scripts/amd.conf.5: document new global option pid_file. 3017 3018 * amd/amd.c (daemon_mode): if cannot open pid_file, continue to 3019 run, but print error message. 3020 3021 * amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode, 3022 init_global_options): Included patch from Randall S. Winchester 3023 <rsw@Glue.umd.edu>, to support pid files in the amd.conf file. 3024 3025 * amd/get_args.c (get_args): correct usage info on amd -t. 3026 3027 * amd/*.c: massive file name and symbol name changes. All amd 3028 file systems files and symbols are prefix with amfs_*. Now using 3029 real name of file system: amfs_auto instead of afs, amfs_inherit 3030 instead of ifs, amfs_linkx instead of sfsx, etc. This will enable 3031 clear distinction between amd file system and generic ones like 3032 nfs/ufs/pcfs/hsfs. Also, now we can implement true afs (Andrew 3033 f/s) and DFS (Distributed f/s). 3034 3035 * amd/amfs_union.c: unionfs for amd is always defined, no need to 3036 #ifdef it. 3037 3038Mon Jan 26 16:51:38 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 3039 3040 * libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on 3041 or off, based on the particular quirks of the OS in question. 3042 3043 * aux/macros/check_nfs_socket_connection.m4: new macro to set the 3044 correct wait of handling un/connected NFS sockets. 3045 3046 * scripts/wait4amd.in: use rlogin instead of rsh. 3047 3048 * amd/am_ops.c (ops_showfstypes): when showing F/S types in amd 3049 -v, always show "nfs3" for NFS V.3. 3050 30511998-01-25 Erez Zadok <ezk@snoopy.cs.columbia.edu> 3052 3053 * lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets 3054 more picky than 2.7.2.3 did. 3055 30561998-01-24 Erez Zadok <ezk@snoopy.cs.columbia.edu> 3057 3058 * include/am_utils.h (dlog): amuDebug macros reduced to shorter 3059 forms. 3060 3061Fri Jan 23 18:38:30 1998 Erez Zadok <ezk@goat.mcl.cs.columbia.edu> 3062 3063 * released snapshot am-utils-6.0a16s3 3064 3065 * include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included 3066 in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h 3067 must not, fake a definition for varargs. 3068 3069Fri Jan 16 10:16:40 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3070 3071 * README: show how to configure in additional support such as 3072 hesiod using various --enable-* flags. 3073 3074Wed Jan 14 15:13:02 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3075 3076 * aux/configure.in: look for strcasecmp(), and replace it if not 3077 available. 3078 3079 * amd/ops_nfsl.c (nfsl_match): host names should be compared using 3080 case insensitive. 3081 3082 * amd/opts.c: for each map variable, define if the comparison 3083 needs to be done case insensitive. 3084 3085 * include/am_utils.h (STRCEQ): a new macro to use strcasecmp(). 3086 Patch from Thomas Richter <richter@chemie.fu-berlin.de> 3087 30881998-01-14 Erez Zadok <ezk@irt.cs.columbia.edu> 3089 3090 * aux/configure.in: look for "isofs" as a possible mount type for 3091 cdfs (RedHat Linux). 3092 3093Wed Jan 14 02:07:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3094 3095 * conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount 3096 type if not defined. 3097 3098 * conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if 3099 already defined. 3100 3101 * aux/configure.in: look for ext2fs before ufs, b/c some linux 3102 have both. 3103 3104Mon Jan 12 15:43:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3105 3106 * Makefile.am (snapshot): allow me to install snapshots into the 3107 ftp directory. 3108 3109 * scripts/ctl-hlfsd.in: don't turn on -D mem by default. 3110 3111 * amd/get_args.c (get_args): minor bug in output of amd -H. 3112 3113Mon Jan 12 03:05:06 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 3114 3115 ******************************************************************* 3116 *** Released am-utils-6.0a15 *** 3117 ******************************************************************* 3118 3119Sun Jan 11 15:06:34 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3120 3121 * amd/conf.c (*_browsable_dirs): allow specifying 3122 browsable_dirs=full, which will print *all* entries (other than 3123 /default), including those with '*' and '/' characters. 3124 3125 * amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length 3126 to 1500. 3127 3128 * doc/am-utils.texi: fixed reversed documentation for NFS mount 3129 options vers and proto. 3130 3131 * doc/Makefile.am (install-html): separate target just for 3132 installing html files. Another new target "alldocs" is just for 3133 installing all files needed for the am-utils home page. 3134 3135 * scripts/amd.conf-sample: updated example for log_file. 3136 3137 * scripts/amd.conf.5: updated for new way to declare new syslog 3138 facility in the log_file option. 3139 3140 * amd/amd.8: updated for new way to declare new syslog facility in 3141 the -l option. 3142 3143 * libamu/xutil.c (get_syslog_facility): allow users to specify the 3144 syslog facility as an appended string to the log device. Ex. amd 3145 -l syslog:local7 will use LOG_LOCAL7, while the older -l syslog 3146 will use the default LOG_DAEMON facility. 3147 3148 * amd/get_args.c (get_args): updated new syntax for amd -l 3149 syslog:facility. 3150 3151Thu Jan 8 04:05:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3152 3153 * aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3 3154 (intel). 3155 3156 * libamu/wire.c (print_wires): bug fix. Nullify output buffer 3157 before appending to it, on systems with two or more network 3158 interfaces. 3159 3160 * conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for 3161 the mntent for cachefs. 3162 3163 * include/am_defs.h: external definition for strstr() should use 3164 const for both arguments. 3165 3166 * aux/configure.in: add extern definitions for getwd() if missing. 3167 3168 * include/am_defs.h: define the extern for strdup() even if the 3169 function does not exist, for it will be filled in by 3170 libamu/strdup.c 3171 3172 * amq/pawd.c (cluster_server): don't use getccent() if the extern 3173 for it isn't there. On hpux 10.20, the function is in libc, but 3174 <cluster.h> and struct cct_entry do not exist. 3175 3176 * aux/configure.in: check for an extern for getccent() b/c some 3177 hpux systems don't have it (hpux 10.20). 3178 3179Wed Jan 7 00:09:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 3180 3181 * doc/am-utils.texi (Amq -T option): manual documentation updates 3182 for new amq options -T/-U. 3183 3184 * amq/amq.8: updated man page for new amq options -T/-U. 3185 3186 * amq/amq.c: two new switches to amq. -U will contact amd using 3187 UDP only. -T will use TCP only. Normally amq will try TCP and 3188 if that failed, will try UDP. 3189 3190 * doc/am-utils.texi (pawd): manual documentation for pawd. 3191 3192 * amq/pawd.1: new man page for pawd. 3193 3194Tue Jan 6 04:21:59 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 3195 3196 * amq/pawd.c: a new program, Print Automounter Working Directory, 3197 to print the proper pathname of the cwd or any other pathname, 3198 adjusted for automounter paths, while avoiding mount points. 3199 3200 * aux/macros/localconfig.m4: trivial support for am-utils 3201 maintainers to adjust some of the configuration of am-utils after 3202 it has been auto-configured by putting whatever definitions you 3203 wish in a file called localconfig.h, located in the top build 3204 directory (the same one where config.h is created for you). 3205 3206 * doc/am-utils.texi (Caching Filesystem): updated documents for 3207 cachefs file system. 3208 3209 * amd/ops_cachefs.c: initial cachefs support, for solaris. 3210 type:=cachefs, requires cachedir:=/cache/dir/name to be defined 3211 and initialized with cfsadmin -c. $rfs is backdir to be cached 3212 from, and $fs is the local mount point of the cachefs. 3213 3214 * conf/mount/mount_svr4.c (mount_svr4): support mounting of 3215 cachefs file systems. 3216 3217 * amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the 3218 mnttab type is. 3219 3220Mon Jan 5 23:22:49 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 3221 3222 * amd/opts.c: added support for new variable $cachedir. 3223 3224 * include/am_utils.h: added opt_cachedir field to struct am_opts. 3225 3226Sat Jan 3 01:43:57 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 3227 3228 * amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the 3229 local hostname does not match $rhost, and if so, also assume 3230 type:=nfs. 3231 3232Fri Jan 2 01:00:40 1998 Erez Zadok <ezk@lorien.cs.columbia.edu> 3233 3234 * updated all source files to add 1998 as a copyright year. 3235 3236 * amd/ops_nfsl.c: new amd meta file system "type:=nfsl". Behaves 3237 like type:=linkx if the pathname denoted by $fs exists, and like 3238 type:=nfs if it does not. A convenient shortcut for the most 3239 popular amd map entry. 3240 3241 * amd/amd.c (main): amd should chdir to / before starting, to 3242 avoid hanging on other NFS server if started elsewhere. 3243 3244 * amd/ops_TEMPLATE.c: added an empty template file for developers 3245 who wish to write new amd pseudo file systems. 3246 3247Thu Jan 1 00:27:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3248 3249 * hlfsd/homedir.c (plt_init): make function exported, to save on 3250 the unnecessary init_homedir() function which was removed. 3251 (table_add): don't use xmalloc() when you can use strdup() 3252 instead. 3253 3254Thu Jan 1 00:15:58 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 3255 3256 * hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this 3257 because we will be making more passwd calls afterwards. On 3258 Solaris 2.5.1, making getpwent() calls after calling endpwent() 3259 results in a memory leak! (and no, even Purify didn't detect 3260 it...) 3261 3262Tue Dec 23 18:23:47 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 3263 3264 * hlfsd/hlfsd.c (main): Bug fix. Don't try to free() an 3265 automatically allocated address. 3266 3267 * amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an 3268 automatically allocated address. 3269 3270 * ALL SOURCES: change every direct call to free() to xfree(), so 3271 it can be mapped to the right debugging function as needed. 3272 3273 * include/am_utils.h: new free() policy. If debugging memory, 3274 call dxfree(), which will print the file name and line number 3275 where the free occurred and the pointer address. if only regular 3276 debugging, then free() and reset the pointer to NULL so it cannot 3277 be used afterwards inadvertently. If not DEBUG at all, then just 3278 run free(). Three different #define macros set the right mapping. 3279 3280 * libamu/xutil.c (dxfree): renamed function to dxfree(), so it can 3281 be called only when debugging the memory. 3282 3283Tue Dec 23 04:24:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3284 3285 * wire-test/wire-test.c (main): use xmalloc() not malloc(). 3286 3287 * conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not 3288 calloc(). 3289 3290 * conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc(). 3291 3292 * conf/mount/mount_linux.c (parse_opts): use xmalloc() not 3293 malloc(). 3294 3295 * amd/info_ldap.c: use xmalloc() not malloc(). 3296 3297 * libamu/xutil.c (xzalloc): new function to allocate memory and 3298 zero its bytes. 3299 3300 * amq/amq.c: amq does not need its own definition of xfree(). 3301 3302 * aux/macros/opt_debug.m4: if used --enable-debug=mem, then also 3303 look for function malloc_verify() in libmapmalloc.a, and function 3304 mallinfo() in libmalloc. 3305 3306 * libamu/xutil.c (checkup_mem): do not use mallinfo field 3307 uordbytes, because it does not always exist. Rather, compute it 3308 from other fields.. 3309 3310 * include/am_utils.h: add external definition to xfree() function 3311 used when debugging memory references. 3312 3313Mon Dec 22 03:01:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3314 3315 * amd/ops_afs.c (afs_readdir_browsable): reduce the number of 3316 bytes heuristically computed to be returned to the kernel. 3317 Otherwise browsable_dirs fails on OpenBSD 2.2. 3318 3319 * amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of 3320 mf_private field to AFTER it gets used. 3321 3322Sat Dec 20 00:51:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3323 3324 * amd/ops_host.c (host_umounted): don't use clnt_spcreateerror() 3325 on systems that don't support it. 3326 3327 * include/am_defs.h: add missing extern definition for free(). 3328 3329 * aux/configure.in: check for external definition for free(). 3330 3331 * libamu/Makefile.am: add to comment a mention of strstr as an 3332 optional function. 3333 3334 * libamu/xutil.c (switch_to_logfile): use openlog() options only 3335 if they exist. 3336 3337 * conf/transp/transp_sockets.c (get_nfs_version): don't use 3338 clnt_spcreateerror if it does not exist. 3339 3340 * aux/configure.in: check for missing functions clnt_create and 3341 clnt_spcreateerror. Check for missing strstr, and complete 3342 its code. Check for missing external definition for strstr. 3343 3344 * aux/macros/host_macros.m4: normalize sun3* names. 3345 3346 * Makefile.am: updates for new sunos3 files distributed. 3347 3348 * conf/nfs_prot/nfs_prot_sunos3.h: new file. 3349 3350 * conf/fh_dref/fh_dref_sunos3.h: new file. 3351 3352 * aux/macros/check_nfs_prot_headers.m4: added sunos3 case. 3353 3354 * aux/macros/check_nfs_fh_dref.m4: added sunos3 case. 3355 3356 * doc/am-utils.texi (wire Selector Variable): updated manual for 3357 adjusted variables wire, network, and netnumber, all using the 3358 in_network() function. 3359 3360Fri Dec 19 04:37:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3361 3362 * amd/opts.c: allow options to be processed by executing arbitrary 3363 functions. Converted wire, network, and netnumber all to use the 3364 nomadic function in_network. So from now on they perform a match 3365 against all networks, not just primary. 3366 3367 * initial port to alpha-unknown-linux-gnu, probably works, but 3368 untested yet. 3369 3370 * conf/nfs_prot/nfs_prot_linux.h: add special definitions for 3371 __FD_* macros which for som strange reason do not get included 3372 from <selectbits.h> on redhat alpha linux. Also turn off usage of 3373 <rpc/des_auth.h> because it is incomplete on the same systems. 3374 3375 * hlfsd/homedir.c (table_add): cast uid field to int, for 3376 comparison. 3377 3378 * include/am_defs.h: more coflicts with redhat alpha linux 3379 "resolved". 3380 3381 * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4: 3382 There's a conflict of definitions on redhat alpha linux between 3383 <netinet/in.h> and <linux/fs.h> which must be avoided. 3384 3385 * aux/configure.in: check for <socketbits.h>, which is in use on 3386 redhat alpha linux. 3387 3388 * doc/am-utils.texi (Selectors): added documentation to describe 3389 the new "!" (negated) nomadic functions. 3390 3391 * amd/opts.c (f_in_network): print debugging info that is correct, 3392 rather than saying that any ARG is on a local network. 3393 (eval_opts): added support for negating nomadic functions, by 3394 prepending "!" to their name. Example, !exists(/foo/bar). 3395 3396Thu Dec 18 20:57:19 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3397 3398 * include/am_compat.h: ensure that all NFS3 systems have the mount 3399 table entries (and amd opts switches) "proto" and "vers". 3400 3401 * hlfsd/homedir.c (table_add): added some debugging info to try 3402 and track down a serious memory leak in hlfsd. 3403 34041997-12-18 Erez Zadok <ezk@t-rex.mcl.cs.columbia.edu> 3405 3406 * libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that 3407 you do NOT set the noconn option, and use connected sockets 3408 always. So I'm now forced not to set it at all, and have the user 3409 specify it as "conn" or "noconn" in their /default entry. Argh... 3410 Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be 3411 buggy (TCP hangs with "short receive" kernel errors). I'd better 3412 wait until they get it working in their version of the automounter 3413 first. So I'm putting the "noconn" option back. 3414 3415Thu Dec 18 02:39:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3416 3417 * libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set 3418 nfs_args field maxgrouplist accordingly. 3419 3420 * include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition 3421 for mount table entry for maxgroups based on NFS mount option 3422 maxgrp. 3423 3424 * aux/configure.in: put back testing for NFS mount option 3425 "maxgrps". Added test for mount table entry "maxgroups". 3426 3427 * libamu/mount_fs.c (compute_nfs_args): perform more careful tests 3428 on nfs_proto, because it could be NULL. 3429 3430 * doc/am-utils.texi (Selectors): added example of in_network() 3431 selector. 3432 3433 * aux/macros/check_hide_mount_type.m4: all hpux versions, 3434 including 9.x, should use "ignore" as the mount type to hide from 3435 amd. 3436 3437Wed Dec 17 13:09:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3438 3439 * include/am_utils.h (NSTREQ): use new macro instead of strncmp() 3440 every where in the sources. 3441 3442Wed Dec 17 01:15:01 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 3443 3444 * libamu/mount_fs.c (print_nfs_args): if -D trace is on, will 3445 print as much info that is given in struct nfs_args as possible. 3446 useful for detecting internal flags and options, as well as the 3447 file handle used. 3448 3449 * scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc 3450 after /etc and before /etc/local. 3451 3452Tue Dec 16 18:51:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3453 3454 * aux/configure.in, libamu/Makefile.am: added support for linking 3455 with specific versions of libamu. Upped shared library version of 3456 libamu to 1 (libamu.so.1.0.0) 3457 3458 * include/am_defs.h: added external definition for mkstemp() as 3459 needed. 3460 3461 * minor new port to i386-unknown-netbsd1.3 (BETA version of 3462 netbsd). 3463 3464 * aux/config.guess: don't leave a trailing '.' on the system name 3465 for NetBSD-1.3_BETA and similarly for OpenBSD. 3466 3467 * conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight 3468 differences in ypall calling conventions. 3469 3470 * mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible 3471 in preference over mktemp(), b/c it is more secure. 3472 3473 * aux/configure.in: check for mkstemp(), a more secure version of 3474 mktemp(). 3475 3476Mon Dec 15 02:32:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3477 3478 * amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount 3479 table "vers" option generally do not set the mnttab entry to 3480 "nfs3", but to "nfs" and then they set "vers=3". Setting it to 3481 "nfs3" works, but it may break some things like "df -t nfs" and 3482 the "quota" program (esp. on Solaris and Irix). So on those 3483 systems, set it to "nfs". 3484 3485Sat Dec 13 01:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3486 3487 * doc/am-utils.texi (Distrib): updates for new ports, location of 3488 am-utils' home page, and URL cross references (now supported by my 3489 version of texi2html). 3490 3491 * aux/macros/check_mtype_type.m4: also use string type for file 3492 system mount types under nextstep for mount(2). 3493 3494 * aux/macros/check_mtype_printf_type.m4}: nextstep can handle both 3495 integer and string types for file system mount types in mount(2), 3496 but it is better to use string types. 3497 3498 * conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to 3499 0, not 1! Otherwise, all NFS calls (esp. mount) return errno 1 3500 (EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now 3501 works. 3502 3503 * conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0, 3504 not 1! Otherwise, all NFS calls (esp. mount) return errno 1 3505 (EPERM) instead of 0 (OK). 3506 3507 * libamu/xdr_func.c (xdr_*): add debugging calls that are optioned 3508 by -D trace (protocol trace). 3509 35101997-12-11 Erez Zadok <ezk@bach.cs.columbia.edu> 3511 3512 * A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR 3513 macro based on existence on others, and include <sys/stat.h>. 3514 3515Thu Dec 11 14:14:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3516 3517 * aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off 3518 inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on 3519 which this header is broken (it tries to include non-existing 3520 headers). 3521 3522Wed Dec 10 16:09:07 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3523 3524 * libamu/mount_fs.c (mnt_flags): support either nfs or generic 3525 mount option for grpid. 3526 3527 * aux/configure.in: turn back on NFS mount option grpid. 3528 3529Sat Dec 6 04:36:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3530 3531 * doc/Makefile.am (install-ps): added target to install postscript 3532 file in the am-utils' home page, as well as a few other useful 3533 files for the new am-utils Web page. 3534 3535Mon Nov 17 05:22:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3536 3537 ******************************************************************* 3538 *** Released am-utils-6.0a14 *** 3539 ******************************************************************* 3540 3541Sun Nov 16 21:56:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3542 3543 * doc/am-utils.texi (Supported Platforms): updated table of new 3544 ports. 3545 3546Sat Nov 15 06:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3547 3548 * libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab 3549 options so that they can be printed in logs as needed. 3550 3551 * doc/am-utils.texi (osver Parameter): updated for the correct 3552 usage of the -o/-O options. 3553 3554 * scripts/amd.conf.5: corrected info for -o/-O options. 3555 3556 * amd/amd.8: updated man page for new -O op_sys_name option, and 3557 corrected the usage of the -o op_sys_ver option 3558 3559 * amd/get_args.c (get_args): added new amd option -O to override 3560 OS name. 3561 (get_args): updated usage string. Removed old -m option. Added 3562 -o and -O options. 3563 3564 * conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case 3565 it is not there. Reportedly, irix 5.2 does not define it. 3566 3567 * scripts/lostaltmail.in: removed references to unused $hack 3568 variable. 3569 3570 * aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf 3571 <metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers 3572 for solaris2.5. 3573 3574 * doc/am-utils.texi (Distrib): typo in the subscription 3575 instructions to amd-dev. Patch from Stefan Vogel 3576 <vogel@physik-rzu.unizh.ch>. 3577 35781997-11-15 Erez Zadok <ezk@amtrak.cs.columbia.edu> 3579 3580 * NFS3 works on powerpc-ibm-aix4.2.1.0. 3581 3582 * libamu/mount_fs.c (compute_nfs_args): set fh3 variable to 3583 static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the 3584 stack of an automatic variable when pointer to it is passed around 3585 several times. 3586 3587Fri Nov 14 20:09:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3588 3589 * libamu/xutil.c (real_plog): syslog like behavior for normal 3590 logging. Will not print repeated strings, only a count "last 3591 message repeated N times", but will always print something if 3592 message is repeated more than 100 times. 3593 3594 * scripts/lostaltmail.in: look for lostaltmail.conf files also in 3595 /etc/global, /etc/os, and /etc/local (in that order). 3596 3597Mon Nov 10 03:03:17 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 3598 3599 * conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3 3600 mounts. 3601 3602 * aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for 3603 aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h 3604 3605 * conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the 3606 NFS_SA_DREF macro is a pointer to the structure that used to be 3607 passed to it before. So now I have to dereference the pointer 3608 before accessing its values. 3609 3610 * hlfsd/hlfsd.c (main): use the new and cleaner 3611 compute_nfs_args() and compute_automounter_nfs_args() functions. 3612 3613 * amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner 3614 compute_nfs_args() and compute_automounter_nfs_args() functions. 3615 3616 * amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION. Use the new 3617 and cleaner compute_nfs_args() and compute_automounter_nfs_args() 3618 functions. 3619 3620 * libamu/mount_fs.c (compute_nfs_args): major code cleanup that 3621 relates for struct nfs_args. A new function sets the numerous 3622 possible flags and fields of nfs_args_t in an orderly fashion. 3623 Code cleaned up, organized, and moved from amd/hlfsd into 3624 libamu. This saves on overall size of code. 3625 (compute_automounter_nfs_args): A variant of compute_nfs_args() 3626 which sets special options/flags that need to be used when NFS 3627 mounting an automounter's mount point. Used by hlfsd and amd. 3628 3629 * amq/amq.c (get_secure_amd_client): don't print any more 3630 "get_secure_amd_client: using TCP, port 12345". It's more 3631 annoying than useful a message, even when assumed to be compiled 3632 under DEBUG only. 3633 3634Thu Oct 30 14:33:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3635 3636 * aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs 3637 mount table entries. The code used to define the /etc/mnttab name 3638 for file systems based on physical media (disk, cdrom, floppy) to 3639 the generic name, rather than the OS specific name. For example 3640 autoconf searches for all these types of mount table entries for a 3641 floppy based file system: vfat pcfs pc msdos msdosfs fat. But if 3642 it found any, it hard-coded the mnttab name to "pcfs" rather than 3643 the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs, 3644 nullfs, unionfs, and umapfs. 3645 3646 * aux/configure.in: also test for xfs (for newer Irix) when 3647 looking for mount type names, numbers, etc of a disk-based ufs. 3648 3649Sun Oct 26 19:32:57 1997 Erez Zadok <ezk@defiant.soscorp.com> 3650 3651 * amq/amq.c (main): use pmap_ping() to test if remote host is up. 3652 This works better on bsdi2 and bsdi3, because their portmapper 3653 does not appear to like forwarding operations (it is generaly 3654 insecure). 3655 3656Sat Oct 25 04:55:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3657 3658 ******************************************************************* 3659 *** Released am-utils-6.0a13 *** 3660 ******************************************************************* 3661 3662Fri Oct 24 05:04:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3663 3664 * conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for 3665 struct datum typedef. 3666 3667 * conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for 3668 ypall_callback_fxn_t for netbsd. 3669 3670 * aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for 3671 the 5th arg to authunix_create(), while before and after they used 3672 gid_t. 3673 3674 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use 3675 clnt_create_timed() on older Solaris 2.3 systems that did not have 3676 it. 3677 3678 * conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for 3679 kernel only on bsdi2, so do not include it. 3680 3681Fri Oct 24 00:29:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 3682 3683 * hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated 3684 messages about resolution of mailboxes based on uid/gid. 3685 3686 * scripts/ctl-hlfsd.in: check for alternate password file in 3687 ${prefix}/etc/passwd and use it in hlfsd's startup. 3688 3689Thu Oct 23 22:48:50 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 3690 3691 * hlfsd/homedir.c (hlfsd_getpwent): added support for -P 3692 passwdfile option. If hlfsd is started with -P passwdfile, then 3693 the passwdfile is read and parsed just as a standard unix 3694 passwd(4) file. Only the username, uid, and homedir fields are 3695 read and checked. All the rest are ignored. No NIS/netgroup 3696 support! 3697 3698 * hlfsd/hlfsd.c (main): check if hlfsd is run as root after 3699 parsing command line options, so that usage() can be printed when 3700 -h is invoked. 3701 3702Wed Oct 22 00:16:39 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 3703 3704 * amd/nfs_start.c (mount_automounter): if autofs service listener 3705 fails to initialize it is OK if using a test amd. 3706 3707 * amd/opts.c (f_in_network): new nomadic function in_network(arg), 3708 which returns TRUE if 'arg' is any one of this host's networks. 3709 3710 * libamu/wire.c (getwire): rewritten parts of function, to store 3711 all networks names and numbers in the order of the interface (not 3712 in reverse). 3713 3714Mon Oct 20 01:59:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3715 3716 * aux/configure.in: don't add ops_ufs.o on AIX twice. My code 3717 would have worked had it not been due to AIX's buggy /bin/sh. 3718 3719 * doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and 3720 am-utils.ps in the distribution sources. 3721 (html): generate html documentation for 3722 http://www.am-utils.org 3723 3724Sun Oct 19 12:35:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3725 3726 * conf/nfs_prot/nfs_prot_netbsd.h: override the definition of 3727 ypall_callback_fxn_t. The NetBSD team compiles all sources with 3728 gcc -Wall -Wmissing-prototypes -Wstrict-prototypes. 3729 3730 * amd/info_nis.c: allow for override of ypall_callback_fxn_t 3731 function typedef. 3732 3733 * libamu/xutil.c (amu_release_controlling_tty): new function to 3734 release the controlling tty in a clean and sane manner. No longer 3735 using setpgid() b/c it may not work. Uses setsid(), 3736 and ioctl() (in order). This new function is used in amd/amd.c 3737 and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some 3738 systems, but on others it is the same as setpgid(). 3739 3740Sat Oct 18 23:42:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3741 3742 * aux/acconfig.h: check for nfs mount option 'fsname'. Code for 3743 it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but 3744 never used, because the configure test for fsname flag wasn't 3745 used. This fixed a bug in HPUX 10, where syncer and manual mounts 3746 left blank lines in /etc/mnttab. 3747 3748 * aux/configure.in: check for nfs mount option 'fsname'. 3749 3750Fri Oct 17 13:30:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3751 3752 * amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs 3753 mount flags of toplvl mounts. Important esp. for HPUX 10. Now 3754 hpux-10 will mount amd's mounts points as 'ignore' (by df). 3755 3756 * aux/configure.in: check for NFS mount option 'ignore', useful in 3757 HPUX 10. 3758 3759Thu Oct 16 03:28:33 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3760 3761 * aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore" 3762 mount type and not NFS, for the amd mount points. 3763 3764 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log 3765 an RPC timeout as an error, but just an info message. From 3766 Andreas Stolcke <stolcke@speech.sri.com> 3767 3768 * If the NFS server is down or does not support the portmapper 3769 call (such as certain Novell NFS servers) we mark it as version 2 3770 and we let the nfs code deal with the case that is down. If when 3771 the server comes back up, it can support NFS V.3 and/or TCP, it 3772 will use those. From christos@deshaw.com (Christos Zoulas). 3773 3774 * hlfsd/homedir.c (plt_print): various compile time cleanups to 3775 printfs that take a long, but pass an int to print. From 3776 christos@deshaw.com (Christos Zoulas). 3777 3778 * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new 3779 macro to determine if the OS has a bad yp_all(), based on the host 3780 OS name. So far only irix (all versions) have a bad yp_all, so 3781 they will use am_yp_all() instead (which is slower as it 3782 enumerates manually all of the map's entries). 3783 3784Thu Oct 16 03:14:37 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 3785 3786 * amd/info_nis.c (am_yp_all): code for a replacement yp_all that 3787 avoids using a file-descriptor leaking yp_all() on some systems 3788 like irix. 3789 3790Wed Oct 15 21:52:35 1997 Erez Zadok <ezk> 3791 3792 * fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x 3793 systems using /usr/bin/flex. 3794 3795 * amd/conf_tok.l (yywrap): avoid redefining yywrap for systems 3796 that have a modified GNU flex which does define yywrap (DU-4.x). 3797 3798Fri Sep 26 14:25:29 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3799 3800 * conf/checkmount/checkmount_bsd44.c: include prototype. 3801 3802Fri Sep 26 01:26:24 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3803 3804 ******************************************************************* 3805 *** Released am-utils-6.0a12 *** 3806 ******************************************************************* 3807 3808Fri Sep 26 00:13:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3809 3810 * conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs 3811 code in irix6 until it can be tested correctly 3812 3813 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out 3814 on clnt_create for 3 seconds, rather than wait for the much longer 3815 default. 3816 3817 * conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0. 3818 Includes NFS3, untested. 3819 3820Thu Sep 25 11:03:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3821 3822 * amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of 3823 pcfs_args_t if they exist. 3824 3825 * amd/ops_cdfs.c (mount_cdfs): fill in ssector field of 3826 cdfs_args_t if it exists. 3827 3828 * new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05, 3829 hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4. 3830 3831Wed Sep 24 00:48:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3832 3833 * doc/am-utils.texi (wire-test): updated documentation for the new 3834 option. 3835 3836 * wire-test/wire-test.8: updated man page for new option. 3837 3838 * wire-test/wire-test.c (main): added a test for various 3839 combinations of NFS proto/vers to a remote/local host. 3840 3841 * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 3842 <isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that 3843 freebsd will correctly set mount options for pcfs and cdfs. 3844 3845 * amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to 3846 0777 (if field exists). 3847 3848 * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 3849 <msdosfs/msdosfsmount.h> if available. 3850 3851 * minor new port: rs6000-ibm-aix4.1.4.0. 3852 3853 * libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to 3854 write the "time" field in /etc/mnttab. 3855 3856 * conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for 3857 detecting mnt_time field of mntent_t. 3858 3859 * libamu/mtab.c (mnt_free): fixed typo in macro names for 3860 detecting mnt_time field of mntent_t. 3861 3862Tue Sep 23 15:30:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3863 3864 * conf/mtab/mtab_file.c (lock): Use flock() in preference over 3865 fcntl() to lock the mtab file. 3866 3867Mon Sep 22 23:04:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3868 3869 * conf/transp/transp_sockets.c (get_nfs_version): define 3870 the try_again goto label only for NFS3. 3871 (pmap_ping): assume timeout failure of clnt_stat. 3872 3873 * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to 3874 "groups *". 3875 3876Mon Sep 22 20:34:33 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 3877 3878 * conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley 3879 <dsr@mail.lns.cornell.edu> to make sure that amd works with more 3880 secure portmappers that do not allow forwarding of RPC messages to 3881 other services. 3882 3883 * */Makefile.am: all source files should also depend on the new 3884 include/am_xdr_func.h header. 3885 3886 * include/am_xdr_func.h: new file as part of the code cleanup from 3887 Christos Zoulas <christos@deshaw.com>. 3888 3889 * Lots of fixes from Christos Zoulas <christos@deshaw.com> that 3890 involved missing prototypes, cleaned up ones, and removal of 3891 unused variables. 3892 3893 * libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch 3894 statement with only one case is unclean. 3895 3896Mon Sep 22 17:26:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3897 3898 * amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to 3899 0 so that all fields are initialized to zero at first. This way 3900 SunOS 4.x and other systems don't get /etc/mtab entries with 3901 random integers for the fsck/freq fields. Patch from Andreas 3902 Stolcke <stolcke@speech.sri.com>. 3903 3904Mon Sep 22 00:34:19 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 3905 3906 * conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so 3907 that the important definition for HOSTNAMESZ will be found. 3908 3909 * amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ 3910 (inside the nfs_args structure) if the system uses that macro. 3911 Otherwise systems like SunOS refuse to NFS mount long pathnames 3912 and result in ENAMETOOLONG errno's. 3913 3914Wed Sep 17 04:56:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3915 3916 * doc/am-utils.texi (Supported Platforms): specify new support for 3917 solaris 2.6, and hlfsd running on 2.5.1 too. 3918 3919Wed Sep 17 03:55:02 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 3920 3921 * conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs 3922 mount if it is not supported or was turned off. 3923 3924Wed Sep 17 03:19:36 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 3925 3926 * conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount 3927 again. Apparently at some previous release SunOS 4 supported was 3928 broken and all nfs mounts resulted in ESTALE. 3929 3930Wed Sep 17 00:26:25 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu> 3931 3932 * conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for 3933 solaris 2.6. 3934 3935 * aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs 3936 protocol header selection. 3937 3938Sat Sep 13 14:31:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3939 3940 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid 3941 infinite loop. 3942 3943Sun Sep 7 18:23:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3944 3945 ******************************************************************* 3946 *** Released am-utils-6.0a11 *** 3947 ******************************************************************* 3948 3949Fri Sep 5 11:55:10 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3950 3951 * amd/amd.c (main): if plock() succeeded, don't try to display 3952 errno message. Patch from Chris Metcalf 3953 <metcalf@catfish.lcs.mit.edu. 3954 3955Thu Sep 4 19:17:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3956 3957 * hlfsd/homedir.c (table_add): make sure duplicate passwd entries 3958 are ignored. Only the first entry should ever be used, because 3959 that's how lookup in passwd database works. 3960 3961 * conf/transp/transp_sockets.c (get_nfs_version): when determining 3962 if a remote host is up or down, use NFS v.2. Fix suggested by 3963 Enami Tsugutomo <enami@cv.sony.co.jp>. 3964 3965 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): new 3966 function to get the best possible NFS version, but also timeout 3967 faster than normal defaults, so remote hosts which are down can be 3968 detected in a reasonable time. 3969 (get_nfs_version): use the new "best" function. 3970 3971Tue Sep 2 00:41:00 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3972 3973 ******************************************************************* 3974 *** Released am-utils-6.0a10 *** 3975 ******************************************************************* 3976 3977Mon Sep 1 15:39:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3978 3979 * conf/transp/transp_tli.c (get_nfs_version): don't use 3980 clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4 3981 and earlier). 3982 3983 * aux/configure.in: test for existence of clnt_tp_create_timed(), 3984 since Solaris 2.4 (and possibly earlier) do not have it. 3985 3986Mon Sep 1 15:23:18 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 3987 3988 * amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid 3989 field if it exists (solaris 2.4's autofs does not have it). 3990 3991Mon Sep 1 14:45:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 3992 3993 * aux/macros/type_auth_create_gidlist.m4: a new test to determine 3994 the correct type to the 5th argument of authunix_create(). 3995 3996Mon Sep 1 03:44:32 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 3997 3998 * libamu/xdr_func.c (xdr_umntrequest): add test for autofs 3999 structure umntrequest, if it has the field rdevid. Seems Solaris 4000 2.4 and earlier didn't have it. 4001 4002Mon Sep 1 01:10:53 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4003 4004 * hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it 4005 can be done before primary process forks. 4006 (main): bug fix: wait a bit to give child a chance to initialize. 4007 Without this, hlfsd got into a busy infinite loop while, never 4008 completing the mount. 4009 4010 * amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov> 4011 to make amd works when talking to NIS+ servers in NIS 4012 compatibility mode. 4013 4014Mon Sep 1 00:46:56 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4015 4016 * amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024. 4017 4018Sun Aug 31 20:20:40 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4019 4020 * amd/conf.c (gopt_fully_qualified_hosts): a new function to 4021 process another new global variable. 4022 4023 * amd/ops_nfs.c (make_nfs_auth): if a new global variable 4024 fully_qualified_hosts is on, use FQHN in RPC/NFS authentications. 4025 Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>. 4026 4027 * amd/conf.c (process_last_regular_map): If the amd.conf file only 4028 has a [global] section (pretty useless IMHO), do not try to 4029 process a map that does not exist. 4030 4031 * scripts/amd.conf.5: fixed typos (repeated 'as' word). 4032 4033 * doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!! 4034 4035 * amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm 4036 structure, so it does not carry over from map entry to another. 4037 4038Sat Aug 30 18:39:21 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4039 4040 * amd/amd.c (main): fixed the meaning of the plock option. A bug 4041 caused it to be reversed. 4042 4043Sat Aug 30 15:13:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4044 4045 * hlfsd/stubs.c: don't initialize some statics here. They are 4046 better initialized in hlfsd_init_filehandles(). 4047 4048Fri Aug 22 14:47:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4049 4050 * amd/conf.c (gopt_show_statfs_entries): new function and a global 4051 amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes', 4052 then all maps flagged as browsable will also show a count of the 4053 number of entries (keys) in that map. 4054 4055 * amd/nfs_subr.c (count_map_entries): new function to count number 4056 of entries in a map. Now used if browsable is turned on in a map, 4057 to return a count of available keys in a given map. 4058 4059 * hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd 4060 confused the file handles for ".", "..", and the symlink, causing 4061 mess. 4062 4063 * aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12, 4064 but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts 4065 with bad memcmp() in libc's (nextstep3). 4066 4067Thu Aug 21 17:38:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4068 4069 * aux/configure.in: check if autofs_args_t has a field named 4070 addr. Solaris has it for specifying the address of the daemon, 4071 but Irix does not. So how does irix tell the kernel the daemon's 4072 address? I suspect that it is hardcoded to "localhost" using a 4073 "private well-known port" (#define AUTOFS_PORT 2048). 4074 4075 * conf/nfs_prot/nfs_prot_linux.h: added missing autofs 4076 definitions. 4077 4078 * README.autofs: new file listing autofs support notes 4079 4080 * very preliminary autofs code working. Call it pre-alpha 4081 quality. 4082 4083Sun Aug 17 02:25:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4084 4085 * amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept 4086 "autofs" if system does not support it. 4087 4088 * amd/amd.c (main): log am-utils version string (same as amd -v) 4089 at start of run. 4090 4091 * conf/transp/transp_sockets.c (get_nfs_version): in order to tell 4092 if a remote host is available, try to contact its portmapper and 4093 timeout if no answer is received in 3 seconds. 4094 4095Thu Aug 14 16:12:04 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4096 4097 * aux/macros/check_extern.m4 (pattern): use a simpler pattern for 4098 match for external function definitions. The function could span 4099 multiple lines, so only match the opening parenthesis, not the 4100 closing one too. 4101 4102 * aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on 4103 posix mode for nextstep3. It is broken. 4104 4105 * amd/amd.c (init_global_options): run uname() only if 4106 <sys/utsname.h> and uname(2) exist. 4107 4108 * amd/rpc_fwd.c (fwd_packet): if remote host is down, the 4109 forwarding socket is null, so declare this an error. 4110 4111 * include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set 4112 for when a remote host is down. Try, in order, "host down", "host 4113 unreachable", "invalid argument". 4114 4115 * amd/ops_nfs.c (discard_fh): don't dereference a null pointer 4116 (happens when remote host is down, and fp->fh_fs is NULL). 4117 (prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID 4118 and FSF_DOWN. 4119 4120 * amd/sched.c: nobody uses "union wait" any more, or so it 4121 appears, so clean up that code. 4122 4123 * conf/transp/transp_tli.c (get_nfs_version): if remote host is 4124 down, time it out faster than default (3 seconds). 4125 (get_mount_client): free netconfig entry when done with it. 4126 4127 * conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly) 4128 port to nextstep3 (m68k-next-nextstep3). 4129 4130 * fsinfo/Makefile.am (LDADD): needs to link with libamu in case 4131 system does not have strdup(). 4132 4133 * include/am_defs.h: complete external definition for getlogin() 4134 if needed. 4135 4136 * conf/transp/transp_tli.c (get_nfs_version): no need to keep 4137 static versout variable. 4138 4139 * amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote 4140 server is probably down. Don't use sendto() in that case. 4141 4142 * buildall (default): run gmake if found, before trying plain 4143 make. GNU make is always preferable. 4144 4145Tue Aug 12 21:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4146 4147 * aux/macros/host_macros.m4: cleanup of os_version and os 4148 overrides. Solaris 2.5.1 for example will come up as solaris2 and 4149 2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in 4150 the amd.conf file. 4151 4152Fri Aug 8 14:37:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4153 4154 ******************************************************************* 4155 *** Released am-utils-6.0a9 *** 4156 ******************************************************************* 4157 4158Thu Aug 7 00:52:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4159 4160 * conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2 4161 (i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff 4162 from <ndbm.h> and <sys/resource.h>. 4163 4164 * scripts/amd.conf.5: new map page. 4165 4166 * amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3 4167 does not. 4168 4169 * amd/amd.8: updated man page. 4170 4171 * amd/get_args.c (get_args): removed defunct -h option to amd. 4172 4173 * amq/amq.8: updated man page. 4174 4175 * amd/info_nisplus.c (nisplus_search): prototype fixes so Sun 4176 SparcCompiler CC won't complain. 4177 4178 * amd/info_hesiod.c (hesiod_search): small fixes to compile with 4179 hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>. 4180 4181 * aux/macros/opt_ldflags.m4: new option added to configure 4182 --enable-ldflags, to specify -L option for configuring/compiling. 4183 The older one --enable-libs is now to be used only for -l options. 4184 4185 * amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize 4186 nc_protoname from nfs_proto if available for all TLI systems, not 4187 just those that have NFS V3. 4188 4189 * amd/info_ldap.c: ldap patches from Leif Johansson 4190 <leifj@matematik.su.se>, adding two new amd.conf ldap variables: 4191 ldap_cache_seconds and ldap_cache_maxmem. 4192 4193 * hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in 4194 htons(). 4195 4196Sun Aug 3 17:20:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4197 4198 * amd/nfs_start.c (mount_automounter): register amd with the rpc 4199 program number that may have been overridden by amd.conf. 4200 4201 * libamu/xutil.c (set_amd_program_number, get_amd_program_number): 4202 allow storing and retrieving alternate amd program numbers. 4203 4204 * amd/conf.c (gopt_portmap_program): new function to parse 4205 amd.conf entry portmap_program=1234. 4206 4207 * amq/amq.c (main): allow specifying an alternate rpc program 4208 number for amd via -P prognum. 4209 4210 * new amq RPC to get the process id of the running amd. This is 4211 used in ctl-amd to quickly find the pid of the amd that is to be 4212 killed. 4213 4214 * expanded shared libraries support. Using GNU libtool-1.0, 4215 am-utils now builds shared libraries on many platforms that have 4216 support for it and proper compilers/linkers. See "INSTALL" file 4217 for compatibility chart. 4218 4219Thu Jul 31 13:07:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4220 4221 * fsinfo/fsi_lex.l: removed code that was in support of very old 4222 versions of flex. No longer needed. 4223 4224Tue Jul 29 12:00:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4225 4226 * amd/amd.c (init_global_options): find the kernel architecture 4227 from uname() if possible. 4228 4229Mon Jul 28 03:53:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4230 4231 * new working port: i386-unknown-openbsd2.1 4232 4233Fri Jul 25 03:16:31 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 4234 4235 * working port: sparc-sun-solaris2.4. Had to fix fhandle_t from 4236 structure to actual char[], because the structure was passed to 4237 xdr_fhandle as data and not a pointer. Surprisingly, gcc 4238 -fpcc-struct-return did not help. 4239 4240 * conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol 4241 definitions for solaris 2.4 have to be different from 2.3, and 4242 different from 2.5. 4243 4244 * libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup. 4245 4246Thu Jul 24 16:22:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4247 4248 * conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount 4249 types, not ==. Fix from Christos Zoulas <christos@deshaw.com>. 4250 4251 * mk-amd-map/mk-amd-map.8: man page taken from bsd44. 4252 4253Thu Jul 24 00:01:55 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 4254 4255 * conf/mount/mount_linux.c: made the nfs error mapping code into a 4256 small function. 4257 4258Wed Jul 23 16:11:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4259 4260 * conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special 4261 error mappings from errno numbers to NFS errors. From Debian 4262 Linux. 4263 4264 * scripts/am-eject.in (fs): new script (taken from Debian Linux 4265 folks) to auto-unmount floppy/cd devices before ejecting them. 4266 4267 * fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass 4268 '5' as second arg to show_area_being_processed. I'm not sure why. 4269 4270 * fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as 4271 second arg to show_area_being_processed. I'm not sure why. 4272 4273 * conf/mount/mount_linux.c (parse_opts): as per Debian Linux, 4274 ensure that you have a buffer in *xopts to strcat onto. 4275 (mount_linux): fixed from Debian folks to ensure that NFS mount 4276 sockets are connected only for kernels prior to 1.3.10 (avoids 4277 hangs for multi-homed hosts). 4278 4279 * amd/mapc.c (make_entry_chain): from Debian folks: don't skip 4280 over amd map keys that have a prefix, and include the prefix in 4281 the returned readdir(). 4282 4283 * amd/info_passwd.c (passwd_init, passwd_search): format 4284 enhancements from the Debian Linux folks. They added 4285 - var0:=pw-prefix:=anydir 4286 - var1:=pw-rhost:=dom3.dom2.dom1 4287 - var2:=pw-user:=user 4288 - var3:=pw-home:=/anydir/dom1/dom2/dom3/user 4289 4290 * new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1. 4291 4292 * amd/ops_afs.c (afs_retry): patches from Debian Linux. If 4293 afs_mount timed out, then explicitly forbid further retries after 4294 the timeout. (afs_bgmount): buf fix from Debian Linux. Timeout 4295 values (17 and 5) were mistakenly swapped. 4296 4297Wed Jul 23 15:53:25 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu> 4298 4299 * conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3 4300 support for Solaris 2.4 (the header files incorrectly define parts 4301 of the NFS V.3 protocol, but the kernel does not support it). 4302 4303Wed Jul 23 00:07:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4304 4305 * amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init 4306 for determining if using old or new hesiod libraries, 4307 respectively. 4308 4309 * amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS 4310 V.3 then use non-connected sockets (both TCP and UDP). Otherwise 4311 they cause hangs of mounts from multi-homed hosts when the return 4312 route is not the same as the outgoing route (esp. on NetBSD 4313 1.2.1). If "conn" option was supplied, then don't turn on the 4314 "noconn" mount option. Otherwise default to "noconn" mount 4315 option. 4316 4317 * aux/configure.in: better check for systems that need libgdbm and 4318 <ndbm.h> 4319 4320Tue Jul 22 04:02:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4321 4322 * hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that 4323 mounts are hidden from df(1) on systems that keep mount tables in 4324 kernel, such as osf1. 4325 4326Tue Jul 22 02:26:55 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4327 4328 ******************************************************************* 4329 *** Released am-utils-6.0a8 *** 4330 ******************************************************************* 4331 4332Mon Jul 21 21:33:19 1997 Erez Zadok <ezk@stone.mcl.cs.columbia.edu> 4333 4334 * hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to 4335 AF_INET when hlfsd mounts itself, thus getting an errno "protocol 4336 family not supported". 4337 4338Mon Jul 21 20:46:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4339 4340 * verified that amd on NetBSD 1.2.1 (i386) works, but the OS 4341 itself is flaky. 4342 4343 * verified that amd AIX 3 works w/ the new readdir() code. 4344 4345Mon Jul 21 18:59:30 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu> 4346 4347 * amd/mapc.c (maptypes): changed the default map caching type for 4348 nis and ndbm maps to "MAPC_ALL", so that all possible entries will 4349 be available to amd for browsable_dirs=yes. 4350 4351Mon Jul 21 18:04:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4352 4353 * amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split 4354 afs_readdir into a browsable version and a non-browsable one. 4355 Fixed bugs that resulted in an infinite nfs_readdir loop on the 4356 localhost for some operating systems. 4357 4358Sat Jul 19 19:38:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4359 4360 * amd/ops_afs.c (afs_readdir): fixed up the browsable code to 4361 comply with nfs_readdir specs. It was returning all entries at 4362 once, even if there was not enough space in the RPC packet. Now, 4363 it sends a reasonably sized chunk, and sets static state to resume 4364 it for the next continuation RPC of readdir. 4365 4366 * amd/conf.c (set_conf_kv): fixed bug that resulted in the first 4367 regular map not getting all of the [global] options defaulted from. 4368 4369Fri Jul 18 00:45:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4370 4371 * amq/amq.c (main): fixed so that portmapper "ping" will only fail 4372 upon an RPC timeout 4373 4374 * scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the 4375 amd/hlfsd process to kill. 4376 4377 * amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to 4378 determine how to avoid df from seeing amd's toplvl mounts. Moved 4379 from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd 4380 is hidden from df. 4381 (mount_toplvl): fixed df types for irix. 4382 4383Thu Jul 17 21:59:45 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 4384 4385 * amq/amq.c (main): fixed bug that caused the 5 second timeout for 4386 TLI amq using udp to be ignored. 4387 (main): if amq cannot contact remote host's portmapper within 5 4388 seconds, timeout and fail faster than the default longer timeout 4389 (this is for non-TLI systems). 4390 4391Thu Jul 17 17:08:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4392 4393 * amq/amq.c (get_secure_amd_client): if amq cannot contact 4394 remote host's portmapper within 5 seconds, timeout and fail faster 4395 than the default TLI timeout of over 4 minutes. 4396 4397 * amd/am_ops.c (ops_showfstypes): added styles for new bsd44 4398 file systems nullfs, unionfs, and umapfs. 4399 (ops_show1): cleanup code and and reuse this function. 4400 (vops): empty placeholders for nullfs, unionfs, and umapfs. 4401 4402 * amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for 4403 bsd44 style file systems. 4404 4405 * fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44 4406 sources. 4407 4408 * amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid 4409 conflict with systems that define it in <sys/ioctl.h> and also 4410 define a conflicting one via lex. Newer versions of f/lex are ok. 4411 4412Wed Jul 16 00:17:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4413 4414 * amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields 4415 acdirmin/max and acregmin/max only if they exist. 4416 4417 * aux/configure.in: test for nfs_args fields acdirmin and 4418 acregmin. 4419 4420Tue Jul 15 17:24:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4421 4422 * aux/configure.in: commented out checking for MNT2_GEN_OPT_* for 4423 "nondev" and commented back in checking for "nodev". This was a 4424 typo. 4425 4426 * include/am_compat.h: more compatibility options: define "ro" 4427 mnttab option all the time. Define "overlay" as needed. Added 4428 more fillers of mnttab options (as per Daniel S. Riley 4429 <dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax, 4430 acregmin, noac, grpid, nosuid, and actimo. 4431 4432 * libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as 4433 per dsr@mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up 4434 the same code for other options in struct opt_tab. 4435 4436Mon Jul 14 22:36:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4437 4438 * amd/get_args.c (get_args): moved amd.conf file parsing to before 4439 the switching the default log/debug options. Suggested by 4440 dsr@mail.lns.cornell.edu (Daniel S. Riley). 4441 4442 * aux/update_build_version: new script to record the build version 4443 of amd, along with the rest of the info thet comes up with amd -v. 4444 4445Sun Jul 13 00:30:24 1997 Erez Zadok <ezk@decca.damtp.cam.ac.uk> 4446 4447 * aux/macros/os_cflags.m4: new macro, to add additional 4448 compilation options (also used during configuration), based on the 4449 OS and the compiler. Used for solaris-2.6, osf, and irix6. 4450 4451Fri Jul 11 10:15:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4452 4453 * amd/conf_tok.l, conf_parse.y: allow values of keys to include 4454 white spaces, if they are double-quoted (key="some value") 4455 4456 * amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes 4457 of hesiod from Danny Braniss <danny@cs.huji.ac.il>. 4458 4459Fri Jul 11 02:16:06 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4460 4461 ******************************************************************* 4462 *** Released am-utils-6.0a7 *** 4463 ******************************************************************* 4464 4465Thu Jul 10 12:19:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4466 4467 * include/am_defs.h: fill in extern definition of innetgr() in 4468 case system headers don't. 4469 4470 * aux/macros/path_prog_lex.m4 aux/configure.in: using macros that 4471 will show the full pathname to yacc/bison and f/lex. Some systems 4472 have older or bad versions of those and this way the user will 4473 know for sure what is being invoked. 4474 4475 * tasks: file populated with todo items. 4476 4477 * scripts/amd2ldif.in: Script to convert amd maps to plain text 4478 LDAP object files. Contributed by Leif Johansson 4479 <leifj@matematik.su.se>. 4480 4481 * aux/config.guess: added recognition for sun3's running 4.2bsd, 4482 from Tom Schmidt <tschmidt@micron.com>. Fixed one small typo. 4483 4484 * amd/conf.c: several variables that were local to a map, were 4485 also added to [global], where they apply to all maps. Each map 4486 can then individually override those defaults. Flags 4487 affected: browsable_dirs and mount_type. Options affected: 4488 map_type, map_options, and search_path. 4489 4490 * amd/amd.h: eliminated several global flags each of which took an 4491 int, in favor of one global flags variable used as a bit field. 4492 4493 * amd/amd.c (init_global_options): moved all global variables into 4494 a single struct amu_global_options, so it is easier to add new 4495 ones and/or identify existing ones. 4496 4497 * amd/get_args.c (get_args): removed unused amd -m option. 4498 4499 * amd/conf.c (gopt_cluster): added new amd.conf option for cluster 4500 name, same as amd -C. 4501 4502 * amd/info_ldap.c: LDAP info map functions from Leif Johansson 4503 <leifj@matematik.su.se>. 4504 4505 * amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global 4506 amd.conf options for ldap_base and ldap_hostports. 4507 4508 * amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test 4509 if the current host is in the ARG host netgroup. 4510 4511 * aux/configure.in: some systems replaced dbm in libc with GNU's 4512 libgdbm, so check for libgdbm, but only if dbm_open is not in 4513 libc already. This was a recommendation from Tom Schmidt 4514 <tschmidt@micron.com>. 4515 4516 * conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3 4517 completed. 4518 4519Wed Jul 9 18:14:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4520 4521 * port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS 4522 V.3. 4523 4524Tue Jul 8 17:35:07 1997 Erez Zadok <ezk@elk.mcl.cs.columbia.edu> 4525 4526 * port to i386-unknown-freebsd3.0 done and working. Includes NFS 4527 V.3. 4528 4529 * aux/macros/check_nfs_fh_dref.m4: freebsd3 should use 4530 file handle dereferencing style similar to freebsd22. 4531 4532 * include/am_defs.h: need to include <net/if_var.h> before 4533 <netinet/if_ether.h> on freebsd3. 4534 4535 * conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions 4536 for freeBSD 3.0. 4537 4538Tue Jul 8 16:53:41 1997 Erez Zadok <ezk@moisil.cs.columbia.edu> 4539 4540 * amd/info_nis.c (nis_reload): cast nis' callback function so 4541 picky compilers won't complain. 4542 4543 * libamu/xdr_mountres3.c (xdr_mountres3): make sure this function 4544 gets compiled only if the system has NFS V3 and does not have 4545 xdr_mountres3. 4546 4547Tue Jul 8 12:42:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4548 4549 * COPYING: put in some legal stuff in this file. 4550 4551Mon Jul 7 19:10:44 1997 Erez Zadok <ezk@prometheus.soscorp.com> 4552 4553 * NFS V3 now works under Irix5, thanks to patches from 4554 Andreas Stolcke <stolcke@speech.sri.com>. 4555 4556 * conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5 4557 version and an irix6 version, since irix5's NFS V3 code is broken 4558 and hacky. 4559 4560 * amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer 4561 sizes for some hesiod queries. Patch from Danny Braniss 4562 <danny@cs.huji.ac.il>. 4563 4564Mon Jul 7 19:04:14 1997 Erez Zadok <ezk@glory.soscorp.com> 4565 4566 * amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3. 4567 4568Sun Jul 6 14:22:24 1997 Erez Zadok <ezk@glory.soscorp.com> 4569 4570 * aux/{configure.in,acconfig.h}: added checks for struct 4571 nfs_args's fields proto and sotype (bsdi3). 4572 4573 * amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to 4574 nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field 4575 to SOCK_STREAM or SOCK_DGRAM. 4576 4577 * aux/macros/check_mount_style.m4: add case for bsdi3. 4578 4579 * amd/info_hesiod.c: got hesiod support for bsdi3. 4580 4581Sun Jul 6 11:14:47 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4582 4583 * aux/configure.in: look for hesiod on libc (bsdi3) 4584 4585 * amd/get_args.c (get_args): reformat usage so it fits in 80 4586 columns. 4587 4588 * scripts/ctl-amd.in: changed directory name for optional tftpboot 4589 map to /tftpboot/.amd. 4590 4591Sat Jul 5 17:46:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4592 4593 ******************************************************************* 4594 *** Released am-utils-6.0a6 *** 4595 ******************************************************************* 4596 4597Sat Jul 5 03:17:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4598 4599 * scripts/ctl-amd.in: include -T tag for tftpboot. 4600 4601 * new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code 4602 is broken and needs work on the specific nfs_args that irix5 uses 4603 for V3 mounts. 4604 4605Sat Jul 5 01:44:25 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4606 4607 * amd/get_args.c (get_args): new options amd -T tag. A map with 4608 tag=foo matching the -T tag will be processed. All untagged maps 4609 get processed all the time. 4610 4611Fri Jul 4 16:19:26 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4612 4613 * aux/configure.in: need to check for strcasecmp in libucb (ncr2) 4614 4615 * aux/macros/check_os_libs.m4: a new macro to set the usage of 4616 libnsl and libsocket based on the OS. 4617 4618 * libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is 4619 defined (problem on osf4). 4620 4621 * conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers. 4622 4623 * include/am_defs.h, aux/macros/try_compile_nfs.m4, 4624 aux/macros/mount_headers.m4: do include <sys/proc.h> because it 4625 failes on irix5. Rather, put in the individual 4626 conf/nfs_prot/nfs_prot_*.h headers. 4627 4628 * amd/conf.c: AIX3 doesn't like strdup() being passed a constant 4629 char*, so cast all strdup()'s args to a non-const char*. 4630 4631 * amd/mapc.c (root_newmap): don't try to strdup only a "const 4632 char *". 4633 4634Fri Jul 4 15:47:10 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu> 4635 4636 * conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and 4637 sys/errno.h. 4638 4639Thu Jul 3 17:49:00 1997 Erez Zadok <ezk@prometheus.soscorp.com> 4640 4641 * made sure am-utils compiles, links, and runs properly on Irix 4642 6.2 using "cc -32 -Wl,-woff," 4643 4644 * aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12 4645 AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add 4646 them to $LIBS. 4647 4648 * aux/configure.in: some cleanup of which libraries are needed. 4649 Espectially ensure that libnsl is included only on Solaris, where 4650 so far it is the only system on which it is absolutely necessary. 4651 Also no longer need to include libc explicitly. 4652 4653 * amd/amd.c,wire-test/wire-test.c (main): convert IP address to 4654 network-long order before printing it. 4655 4656 * wire-test/wire-test.c (main): also check and report on the IP 4657 address of the local host, since some systems have bad versions of 4658 get_myaddress, or ones that conflict with other versions in 4659 multiple libraries (SunOS 4 and Irix especially). 4660 4661Wed Jul 2 18:19:02 1997 Erez Zadok <ezk@starblazers.soscorp.com> 4662 4663 * scripts/ctl-amd.in: don't use full pathname so killproc() works 4664 better. Also run bsd44 and irix style ps programs. 4665 4666 * aux/macros/check_lib_funcs.m4: bug fixed: used to define usage 4667 of library no matter if it was found or not. 4668 4669Wed Jul 2 02:11:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4670 4671 * aux/macros/check_mnt2_gen_opt.m4: turned back on the checking 4672 for M_* macros, but ensure that <sys/stream.h> is not included at 4673 all so it won't conflict with other M_* macros. 4674 4675Tue Jul 1 21:16:51 1997 Erez Zadok <ezk@mako.cs.columbia.edu> 4676 4677 * conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on 4678 irix should be "spec" (host:/path), not the dir of the mnt point. 4679 4680 * amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors 4681 fixed. If on, it essentially ignored the setting in a 4682 selector-controlled /defaults if there were 2 or more entries in it. 4683 4684Tue Jul 1 12:23:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4685 4686 * scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process 4687 using BSD style ps, then try SVR4 style ps. 4688 4689 * include/am_utils.h (amuDebug): renamed Debug macro to amuDebug 4690 etc., to avoid conflicts with similar named macros in <ldap.h>. 4691 4692 * aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf 4693 support needed for LDAP. Now the code has to be written mostly in 4694 amd/info_ldap.c. 4695 4696 * Included additional patches from Andreas Stolcke 4697 <stolcke@speech.sri.com> to support using the best possible 4698 combination of NFS version (2,3) and protocol (udp,tcp) for any 4699 given host, since it appears that some Irix versions have NFS V3, 4700 but do not support TCP. 4701 4702 * scripts/ctl-amd.in: updated amd control script to look for and 4703 use amd.conf file. 4704 4705Tue Jul 1 00:28:23 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4706 4707 * amd/mapc.c (mapc_create): now, each map in the amd.conf can be 4708 initialized off of a different type, or default to cycling through 4709 all maps until one of them matches. 4710 4711Mon Jun 30 20:49:13 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4712 4713 * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done. 4714 if browsable_dirs=yes is set in the map section in amd.conf, that 4715 map will return all entries back to a readdir(2). 4716 4717Sun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4718 4719 * rudimentary amd.conf file support included. You may even 4720 override things like os=sos5, to get "backwards" compatibility with 4721 upl102. 4722 4723Sat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4724 4725 * amd/conf.c: new file to process amd.conf file. 4726 4727 * amd/get_args.c (get_args): new options -H to print help. 4728 4729 * moved enable_default_selectors to be amd.conf controlled, and 4730 not compiler controlled. 4731 4732 * amd/get_args.c (get_args): new options -F <conf-file> to parse an 4733 amd configuration file. 4734 4735Wed Jun 25 23:15:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4736 4737 * converted all files that used strcmp() == 0 or != 0 to using 4738 the STREQ() macro. 4739 4740Mon Jun 23 22:31:14 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4741 4742 * aux/macros/check_lib_funcs.m4: new M4 macro that can be used to 4743 search for any number of functions in any given library. 4744 4745Mon Jun 23 01:04:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4746 4747 * amd/mapc.c: Included patch from Leif Johansson 4748 <leifj@matematik.su.se> to ensure that systems without an RE 4749 library can compile. 4750 4751 * libamu/mount_fs.c (mount_fs): Included patch from Andreas 4752 Stolcke <stolcke@speech.sri.com>, to ensure that mount options on 4753 table are properly delimited by a comma. 4754 4755 * amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas 4756 Stolcke <stolcke@speech.sri.com>, to allow users to override the 4757 proto= and vers= mount options. 4758 4759Sun Jun 22 01:00:11 1997 Eric Dana (edana@ncr2.bgs.com) 4760 4761 * conf/nfs_prot/nfs_prot_svr4.h: port completed to 4762 i486-ncr-sysv4.3.03. Assorted source cleanups done. 4763 4764 * include/am_defs.h, aux/macros/mount_headers.m4: don't include 4765 mnttab.h if sys/mnttab.h was already included, because on ncr2, 4766 they contain conflicting entries for struct mnttab. 4767 4768Sat Jun 21 23:52:15 1997 Eric Dana (edana@ncr2.bgs.com) 4769 4770 * aux/macros/check_nfs_prot_headers.m4: added support for ncr2. 4771 4772Fri Jun 20 06:14:17 1997 Erez Zadok <ezk> 4773 4774 * amd/*.c: lots of 64-bit "ugly" ports like casts to long ints. 4775 4776 * aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because 4777 on DU-4.0 it is better than the next one to be picked (nfsv2fh_t). 4778 4779Wed Jun 18 18:59:49 1997 Erez Zadok <ezk@defiant.soscorp.com> 4780 4781 * aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for 4782 nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is 4783 better. 4784 4785Tue Jun 10 17:06:58 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4786 4787 * amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is 4788 NULL, set the maxlen and len fields in netbuf to zero. 4789 4790Wed May 28 22:52:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4791 4792 * scripts/fix-amd-map.in (name): replace all matching patterns on 4793 line. 4794 4795Sun May 25 19:33:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4796 4797 ******************************************************************* 4798 *** Released am-utils-6.0a5 *** 4799 ******************************************************************* 4800 4801Sun May 25 13:37:24 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4802 4803 * amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service 4804 procedure now returns the full string that amd -v returns. 4805 4806 * amd/get_args.c (get_version_string): new function to return 4807 complete version/info string so it could be used more flexibly. 4808 4809 * amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list 4810 of Fs types into a string buffer, rather than a FILE*. 4811 4812 * amd/mapc.c (mapc_showtypes): put the list of map types into a 4813 string buffer, rather than a FILE*. 4814 4815Sun May 25 01:25:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4816 4817 * amd/get_args.c (get_args): amd -v also prints user who built 4818 amd, hostname built on, and date of configuration. 4819 4820Sat May 24 13:40:50 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4821 4822 * scripts/lostaltmail.conf-sample: sample lostaltmail 4823 configuration file. 4824 4825 * scripts/lostaltmail.in: new script lostaltmail used to redeliver 4826 "lost" mail that hlfsd redirected to a temp location because the 4827 primary home file system of the user was full. 4828 4829 * scripts/amd2sun.in: new script amd2sun. Used to convert Sub 4830 automount maps to amd maps. 4831 4832 * scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start, 4833 stop, or restart hlfsd. 4834 4835 * scripts/expn.1: man page for expn command. 4836 4837 * scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or 4838 restart amd. 4839 4840 * scripts/expn.in: new script expn. Actually taken from David 4841 Muir Sharnoff <muir@idiom.com>. Used by hlfsd's mail re-delivery 4842 script. 4843 4844 * scripts/wait4amd.in: new script wait4amd added. Waits for amd 4845 to come up on a host, and then runs a command (rsh $hostname by 4846 default). 4847 4848 * scripts/Makefile.am: new directory now holds all shell/perl 4849 scripts that belong to am-utils. 4850 4851 * conf/mount/mount_linux.c (parse_opts): new parser for 4852 linux-specific mounts. Handles fs-type specific mount-options 4853 correctly. Currently implemented: msdos, iso9660. 4854 4855 * amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default 4856 (fix for linux). 4857 4858 * amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default 4859 (fix for linux). 4860 4861 * amd/mapc.c (make_entry_chain): fixed bug that resulted in amd 4862 core dumps upon "ls" of a mount point; an invalid pointer was 4863 being returned and dereferenced. 4864 4865 * port to Linux sparc working! 4866 4867 * hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if 4868 failed to write test file, or else the fd will leak. 4869 4870Sun May 18 00:42:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4871 4872 * amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp() 4873 instead of strcmp(). 4874 4875 * Port to Digital Unix 4.0 (OSF) done. 4876 4877 * hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts 4878 with dirname() function in <string.h> on OSF systems. 4879 4880 * fsinfo/fsi_util.c (set_ether_if): take out extern definition of 4881 inet_addr(). It should come from <arpa/inet.h> instead. 4882 4883 * conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs. 4884 4885 * include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to 4886 avoid conflicts with DU 4.0 system header. 4887 4888Thu May 15 22:49:12 1997 Erez Zadok <ezk@subzero.cs.columbia.edu> 4889 4890 * libamu/mount_fs.c (mount_fs): pass along NFS version so I can 4891 determine if to include additional options in the mount table file 4892 entry (such as proto=tcp, and vers=3). 4893 4894Thu May 15 00:42:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4895 4896 * libamu/mount_fs.c (mount_fs): include NFS version number in the 4897 mount table options, as well as proto={tcp,udp}. 4898 4899Wed May 14 14:30:19 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4900 4901 * NFS V3 code ported to most other systems, so it compiles for V2 4902 and V3 NFS systems. 4903 4904 * NFS VERSION 3 support, first pass. Working for Solaris and 4905 using TCP. 4906 4907Sun May 11 01:14:29 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4908 4909 * amq/amq.c: many newline characters were missing from various 4910 stderr printfs. 4911 4912Sat May 10 13:09:06 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4913 4914 * conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for 4915 Solaris, which include NFS V3 support. 4916 4917 * conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers. 4918 4919 * conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS 4920 protocol version while getting a mount client. 4921 4922 * amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types, 4923 file handle size, and proper file handle based on the correct NFS 4924 version number. 4925 4926 * conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under 4927 Solaris and other SVR4 systems. 4928 4929 * amd/ops_nfs.c: store NFS file handle version and version 4930 specific handle in struct fh_cache. 4931 (got_nfs_fh): pick the correct RPC reply based on the NFS version 4932 of the server. 4933 (prime_nfs_fhandle_cache): figure out the right NFS file handle 4934 for a node, but now include NFS protocol version information. 4935 (call_mountd): set the correct version for the mount protocol, 4936 based on the NFS protocol version. 4937 (nfs_init): use the NFS protocol generic structure 4938 am_nfs_handle_t. 4939 4940 * include/am_utils.h: new structure am_nfs_handle_t to contain all 4941 possible versions of NFS file handles. 4942 4943 * amd/srvr_nfs.c (start_ping): ping program performs NFS version 4944 specific pings. 4945 (recompute_portmap): figure out the correct portmap version mount. 4946 (nfs_keepalive): call start_ping() with the correct NFS version. 4947 (find_nfs_srvr): if mount option "vers=" is given, use it. Get 4948 the NFS server version and verify that it is up. 4949 4950 * conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new 4951 function to find the best NFS version for a particular host. 4952 4953 * libamu/amu.h: determine what is the highest version of NFS we 4954 should try. 4955 4956 * include/am_utils.h (NFS_VERSION3): added definition for NFS V3 4957 protocol number. 4958 Added field fs_version to struct fserver, so we can now store the 4959 server protocol version. 4960 4961Fri May 9 01:09:45 1997 Erez Zadok <ezk@lorien.cs.columbia.edu> 4962 4963 * aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into 4964 underscores too, so I can test for sub-fields. 4965 4966 * libamu/wire.c: use test that checks for sub-fields of struct 4967 ifreq. 4968 4969Sat May 6 10:20:17 2000 Erez Zadok <ezk@glory.soscorp.com> 4970 4971 * port to BSD/OS 3.0 completed! Many xdr_ functions were broken 4972 into smaller files. M4 macros fixed to test for existence of 4973 file systems using getvfsbyname(). 4974 4975 * amd/sched.c (sigchld): signal handler must waitpid() for all 4976 possible children. 4977 4978 * hlfsd/homedir.c: signal handler must waitpid() for all possible 4979 children. 4980 4981 * aux/macros/check_restartable_signals.m4: new macro to determine 4982 if need to reinstall signal handlers per OS is better than trying 4983 to figure these out based on system macros. 4984 4985Fri May 5 19:23:28 2000 Erez Zadok <ezk@glory.soscorp.com> 4986 4987 * amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number. 4988 4989 * amd/ops_afs.c (mount_toplvl): set nfs_args_t version number. 4990 4991 * amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport 4992 (must be supplied for bsdi 3.0) 4993 4994 * libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and 4995 associated new macro) for determining the right way to compute the 4996 size of the interface structure. 4997 4998Fri Apr 11 15:56:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 4999 5000 * aux/configure.in: need to include libc before libnsl if 5001 get_myaddress() is available because on irix libnsl has a buggy 5002 get_myaddress(). 5003 5004 * include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined 5005 on Irix 6 (an SVR4 variant) 5006 5007Thu Mar 27 02:28:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5008 5009 ******************************************************************* 5010 *** Released am-utils-6.0a4 *** 5011 ******************************************************************* 5012 5013Wed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5014 5015 * amd/amq_subr.c (ok_security): turned off insecure code unless 5016 user explicitly runs configure --enable-amq-mount. 5017 5018 * hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service(). 5019 5020 * amd/nfs_start.c (mount_automounter): use code that separately 5021 creates the NFS and the amq service. Register tcp and udp 5022 services for amd. 5023 5024 * conf/transp/transp_*.c (create_amq_service): new function to 5025 separately create the amq service for amd. Simplified prototypes 5026 for create_nfs_service(). 5027 5028Wed Mar 19 20:40:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5029 5030 ******************************************************************* 5031 *** Released am-utils-6.0a3 *** 5032 ******************************************************************* 5033 5034Wed Mar 19 17:49:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5035 5036 * new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots 5037 of small changes to support these two. 5038 5039Wed Mar 19 14:33:30 1997 Erez Zadok <ezk@grande.cs.columbia.edu> 5040 5041 * conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist() 5042 should run if MOUNT_TABLE_ON_FILE, not otherwise. 5043 5044Mon Mar 17 22:02:43 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5045 5046 * hlfsd/hlfsd.c (main): fill in fhsize field if exists 5047 (freebsd-2.2). 5048 5049 * amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if 5050 exists (freebsd-2.2). 5051 5052Sat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5053 5054 * new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher 5055 changed the filehandle type in struct nfs_args from nfsv2fh_t to 5056 u_char. 5057 5058Sat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5059 5060 * SHARED LIBRARIES: too many change to list individually. Now, 5061 libamu can be built as a shared library, and other programs link 5062 with it. 5063 5064Tue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5065 5066 * aux/macros/opt_shared.m4: new macro for setting options for 5067 building shared am-utils libraries. 5068 5069Sun Mar 9 19:17:46 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5070 5071 * fixmount/fixrmtab: cleaned up the script. 5072 5073 * fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that 5074 fixrmtab gets distributed too. 5075 5076 * conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP. 5077 Added extern for xdr_mountlist(). 5078 5079 * aux/configure.in: trimmed down many tests for MNT2_GEN_OPT, 5080 MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in 5081 the sources. 5082 5083Sat Mar 8 00:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu> 5084 5085 * fixmount/hlfsd ported to bsd44, hpux, and linux systems. 5086 5087 * aux/macros/check_fixmount_style.m4: add check for bsd44 systems. 5088 5089 * conf/fixmount/fixmount_default.c: use lockf() if flock() is 5090 unavailable. 5091 5092 * include/am_defs.h: include <string.h> even if don't have 5093 STDC_HEADERS defined (sunos4). 5094 (seteuid): define seteuid() to be setresuid() for systems that 5095 have but not the other (hpux). 5096 5097 * aux/macros/check_extern.m4: test should include <strings.h>. 5098 5099Tue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5100 5101 * lib/xutil.c (debug_option): moved from amd/getargs.c to this 5102 more proper file. 5103 5104 * include/am_utils.h: put in structure for debug options, for all 5105 progams to use. 5106 5107 * amd/get_args.c: moved structure for debug options out. 5108 5109Sun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5110 5111 * ported fixmount. 5112 5113 * lib/ualarm.c: replacement function for systems that don't have a 5114 ualarm(). 5115 5116 * ported fsinfo. 5117 5118Sun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5119 5120 * ported mk-amd-map. 5121 5122 * buildall: added -K option to buildall, to run mkconf. 5123 5124Fri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5125 5126 ******************************************************************* 5127 *** Released am-utils-6.0a2 *** 5128 ******************************************************************* 5129 5130Thu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5131 5132 * all *.[hcyl] files: add copyright line. 5133 5134 * aux/macros/check_mount_type.m4: test for mount type for 5135 linux-like systems, by checking for loadable or statically linked 5136 kernel filesystem modules. 5137 5138 * aux/macros/check_mnttab_type.m4: test for mount table entry 5139 for linux-like systems, by checking for loadable or statically 5140 linked kernel filesystem modules. 5141 5142 * aux/configure.in: pcfs filesystems can use vfat type (linux) 5143 5144 * aux/macros/check_fs_mntent.m4: test for filesystem existence for 5145 linux-like systems, by checking for loadable or statically linked 5146 kernel filesystem modules. 5147 5148 * conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX 5149 9.0 header files. This should be removed when HPUX 9.0 is deemed 5150 defunct. 5151 5152 * aux/acconfig.h: set an undefined variable for having an extern 5153 to clnt_sperrno(). 5154 5155 * include/am_defs.h: define extern for clnt_sperrno() if needed. 5156 5157 * aux/configure.in: test for extern clnt_sperrno(). 5158 5159 * aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is 5160 similar to irix. 5161 5162 * aux/macros/check_mount_style.m4: use mount helper on HPUX. 5163 5164 * aux/macros/check_mtype_type.m4: hpux's mount type is a char*, 5165 not integer (but may be mapped to one later). 5166 5167 * conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header 5168 files. They have mount(2) and vfsmount(2) which don't take same 5169 arguments, and they have string mount types MNTTYPE_* as well as 5170 integer types MOUNT_*. So I need this new mount function to map 5171 from string types to integer types for the vfsmount() function. 5172 5173 * conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling 5174 vfsmount(), call mount_hpux(). 5175 5176Thu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 5177 5178 * lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if 5179 both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined. 5180 5181Thu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5182 5183 * conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for 5184 hpux. 5185 5186 * include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h. 5187 5188 * aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h. 5189 5190 * buildall: added ability to configure using other shells than 5191 /bin/sh, on those systems where /bin/sh is buggy or limited 5192 (HPUX). 5193 5194 * aux/macros/struct_nfs_fh.m4: reinstated the macro but have it 5195 defined am_nfs_fh, and also test for plain typedef "nfs_fh". 5196 5197 * aux/acconfig.h: #undef am_nfs_fh, which is being defined by a 5198 reinstated macro. 5199 5200 * aux/configure.in: check for <nfs/export.h> 5201 5202 * include/am_defs.h: include <nfs/export.h> (HPUX) if exists. 5203 5204 * aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if 5205 exists. 5206 5207 * aux/macros/mount_headers.m4 (define): removed some non-working 5208 (on HPUX) code that attempts to recreate the fhandle_t rather than 5209 load it up from system headers. Also added some NFS protocol 5210 header inclusion. include <nfs/export.h> (HPUX) if exists. 5211 5212Wed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu> 5213 5214 * aux/macros/mount_headers.m4 (define): Use M4 changequote to 5215 ensure [] brackets are correctly used. 5216 5217 * aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate 5218 multi-line M4 inclusions in []. 5219 5220Tue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5221 5222 * conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if 5223 it exists. 5224 5225 * aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new 5226 config.h macro for field f_fstypename of struct statfs. 5227 5228 * aux/configure.in: testing for field f_fstypename field of struct 5229 statfs (NetBSD). 5230 5231 * aux/acconfig.h: moved all of the "static" definitions out to a 5232 fixed file called include/am_defs.h. Added to all */Makefile.am 5233 files a dependency on am_defs.h. Created am_defs.h of course, and 5234 then added #include <amd_defs.h> to all of the source and header 5235 files that required it. 5236 5237Mon Feb 24 01:27:02 1997 Erez Zadok <ezk@defiant.soscorp.com> 5238 5239 * aux/acconfig.h: two more externals for xdr functions that may be 5240 implemented by libamu. 5241 5242 * conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR 5243 definitions. 5244 5245Sun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5246 5247 * buildall (default): added -D option for turning on even stricker 5248 developer options. 5249 5250 * */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to 5251 determine dependencies on optional NFS protocol headers. 5252 5253 * aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed. 5254 5255 * aux/macros/check_nfs_prot_header.m4: new test to determine what 5256 NFS protocol headers to use. 5257 5258 * conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to 5259 complete missing system headers for NFS protocol definitions. 5260 5261Sun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 5262 5263 * amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in 5264 #ifdef's as needed. 5265 5266 * amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is 5267 suitable #ifdef'ed. 5268 5269 * include/am_compat.h: a couple more mnttab options 5270 (timeo/retrans) setting just in case. 5271 5272 * amd/autil.c (host_normalize): make sure hostent->h_name is 5273 passed a non-const char *. 5274 5275 * conf/mount/mount_linux.c (mount_linux): cleaned up a block of code. 5276 5277 * {lib,amq,amd}/*.c (many functions): cast xdr_entry to 5278 XDRPROC_T_TYPE. 5279 5280 * lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to 5281 XDRPROC_T_TYPE. 5282 5283 * lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to 5284 XDRPROC_T_TYPE. 5285 5286 * lib/wire.c (getwire): Make sure safe assignment from const to 5287 none is done. 5288 5289Sat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu> 5290 5291 * aux/macros/expand_cpp_int.m4: new macro for expanding integers. 5292 5293 * aux/configure.in: added linux/fs.h support in configure and 5294 several M4 macros. 5295 5296 * conf/mount/mount_linux.c (mount_linux): use macro instead of 5297 "ugly" fixed hex number for mount() arguments. 5298 5299Sat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5300 5301 * amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and 5302 turned all of its code always on. That code always seems to 5303 compile, as long as you have hesiod and libresolv. 5304 5305 * amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all 5306 of its code always on. 5307 5308 * aux/configure.in: removed superfluous test for hs_zone_transfer 5309 function (will never find it because it is an amd-internal 5310 function). 5311 5312 * amd/mapc.c (maptypes): must used correct new name for am-utils' 5313 hesiod initialization function: hesiod_am_init. 5314 5315 * amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to 5316 hesiod_am_init so as not to conflict with libhesiod's 5317 hesiod_init() function. 5318 5319 * aux/configure.in: added test and explicit inclusion of 5320 libresolv.a for later resolution of library references with 5321 libhesiod. 5322 5323 * aux/macros/opt_cppflags.m4: new file. configure/compile C 5324 preprocessor flags. 5325 5326 * aux/macros/opt_libs.m4: new file. configure/compile library 5327 flags. 5328 5329 * Makefile.am (EXTRA_DIST_AUX): include two new macros 5330 opt_cppflags.m4 and opt_libs.m4. 5331 5332 * aux/configure.in: test for libhesiod needs to additional 5333 libresolv to link completely. Additional configuration time 5334 options added for setting initial CPPFLAGS and LIBS. 5335 5336Tue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5337 5338 ******************************************************************* 5339 *** Released am-utils-6.0a1 *** 5340 ******************************************************************* 5341 5342Thu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5343 5344 * amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that 5345 it works on freebsd, where they map dbm_pagfno a non-existing 5346 macro on purpose, to force you to port the code to Berkeley DB. 5347 5348Fri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5349 5350 * amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the 5351 actual mount_toplvl, to avoid some possible race conditions. 5352 5353Thu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5354 5355 * amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code. 5356 5357Wed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5358 5359 * lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code) 5360 5361 * amd/amd.c (main): fix local address using htonl(). Free up 5362 buffers allocated by netdir_*() functions. 5363 5364Wed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5365 5366 * amd/fix-amd-map.in: new script that will convert old-style amd 5367 maps to new one. 5368 5369Tue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5370 5371 * FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl, 5372 and replies back to simple nfs/link type mount queries). 5373 5374 * conf/mtab/mtab_svr4.c: reorganized the code in this file to be 5375 easier to read, and fixed a few bugs with un/setting the lock file 5376 descriptor. 5377 5378Wed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5379 5380 * amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older 5381 signals in Svr3 systems. Only stellix ever used this. 5382 5383 * amd/rpc_fwd.c (fwd_reply): removed all code that was triggered 5384 by DYNAMIC_BUFFERS, since it was not in use. 5385 5386Tue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5387 5388 * amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer 5389 takes '=' sign as old selector. Fix your maps. 5390 (deslashify): removed APOLLO code that treated two '//' as one. 5391 5392Sun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5393 5394 * amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which 5395 was not used. It made any submount error fail the whole group. 5396 5397 * amd/ops_nfs.c (make_nfs_auth): removed code dependent on 5398 HAS_NFS_QUALIFIED_NAMES. 5399 (mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it 5400 is never on. So code that was triggered by #ifndef 5401 NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to 5402 be fixed later. 5403 Removed all ULTRIX_HACK code. Ultrix is DEAD! 5404 removed all PRESET_AC code, which was only on for Linux to preset 5405 the attribute cache values (otherwise they default to zero). 5406 (nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will 5407 have to fixed up later. 5408 (mount_nfs_fh): removed code that was never included, which 5409 attempted to set the port on which amd's nfs mounts on. This 5410 isn't supported by the ping algorithm yet. In any case, it is all 5411 done in nfs_init(). 5412 5413 * amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh): 5414 removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or 5415 specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will 5416 have to be addressed later. 5417 5418 * amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent 5419 on PRECISE_SYMLINKS. 5420 5421 * amd/mapc.c (mapc_meta_search): removed code that depended on 5422 HAS_DEPOT. It is known buggy code. The whole DEPOT support needs 5423 to be rethought. 5424 (mapc_add_kv): ported code to use standard regular expression 5425 (regexp) library. 5426 5427 * amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on 5428 FLUSH_KERNEL_NAME_CACHE and the macro itself. 5429 5430Sat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5431 5432 * amd/map.c (exported_ap_alloc): removed all code triggered by 5433 SHRINK_EXPORTED_AP and the macro itself. 5434 5435 * amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code 5436 in all the time. Assuming that there is always NIS realod 5437 available. 5438 (yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all() 5439 function is broken such that it does not release filedescriptors 5440 it created, then you are hosed. Get a fix for yp_all from your 5441 vendor or switch operating systems. 5442 5443Tue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5444 5445 * amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to 5446 HAVE_HS_ZONE_TRANSFER. 5447 5448Mon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5449 5450 * amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is 5451 always included. We should always try to inform the remove mount 5452 daemon of mounts we performed. If we want an option for this, it 5453 should be a run-time option. 5454 5455 * amd/host_ops.c: removed all that optionally did not make the 5456 directory mount points for amd. 5457 5458 * HOST_EXEC code removed from everywhere. There is no indication 5459 that it was used anywhere. If it needs to be used, then a 5460 run-time switch should control it. 5461 5462Thu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5463 5464 * amd/*_ops.c: removed all references to mntent_t's fields 5465 mnt_freq and mnt_passno, since they are no longe rused (and never 5466 have been). 5467 5468 * amd/am_ops.c: removed function sunos4_match, which was off 5469 anyway. This was one of the places where an '=' sign was allowed 5470 as an assignment operator (which is now ':='). 5471 5472 * amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which 5473 was off anyway. This was one of the places where an '=' sign was 5474 allowed as an assignment operator (which is now ':='). 5475 5476Tue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5477 5478 * amq/amq.c: ported to am-utils. Working. 5479 5480 * conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4 5481 to be string, as it should be (rather than a string mapped to int 5482 and back mapped to string). 5483 5484Sun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5485 5486 * lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code. 5487 5488 * lib/umount_fs.c: split this into three files: default, osf, and 5489 bsd44, that are in conf/umount/umount_*.c. 5490 5491Thu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu> 5492 5493 * aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new 5494 macro to automatically figure out if an external definition for 5495 sys_errlist[] exists. 5496 5497 * lib/xutil.c (xfree): removed "#undef free" because it's not 5498 needed there. Any system that redefines free() needs help. 5499 5500 * conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that 5501 was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be 5502 in active use anywhere. If added later, it should be a run-time 5503 configuration option. 5504 5505 * conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to 5506 be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables 5507 in a file in /etc. 5508 5509 * lib/util.c (str3cat): removed _AIX code. AIX should have a 5510 working realloc, or else find a cleaner solution to this. 5511 (mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync() 5512 after immediately making directories so that fsck will be able to 5513 fix the filesystem in the event of an immediate crash. This was 5514 because a bug in UFS which is fixed by now. 5515 5516 * lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered 5517 code. Does not appear to be on and used anywhere. 5518 (dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now. 5519 5520 * lib/resvport.c: split the binding of reserved ports code to a 5521 separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4) 5522 from the BSD code. 5523 5524Thu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5525 5526 * lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled 5527 in by automake and configure, for optional sources that need to be 5528 built as part of libamu.a. 5529 5530 * aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o 5531 to LIBOBJS. 5532 5533 * lib/memcmp.c (memcmp): new file added to replace a possible bad 5534 implementation of memcmp. 5535 5536Wed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5537 5538 * converted the sources to use memset/memmove/memcmp instead of 5539 bzero/bcopy/bcmp. 5540 5541 * ran all sources through gnu Indent w/ options specified in 5542 aux/amindent. 5543 5544Wed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5545 5546 * At this point the initial genration of config.h via autoconf and 5547 some preliminary makefiles via automake is done. I will not begin 5548 modifying sources, so it's a good time to document from here. 5549 5550Wed Dec 10 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu> 5551 5552 ******************************************************************* 5553 *** Initial ChangeLog Entry *** 5554 ******************************************************************* 5555