NEWS revision 82794
199005Sobrien# -*- text -*- 2130803Smarcel 399005Sobrien*** Notes specific to am-utils version 6.0.7: 499005Sobrien 599005Sobrien- minor new ports: i386-unknown-freebsd5.0 699005Sobrien 799005Sobrien- bug fixes: 899005Sobrien type:=host, don't fail mount if one share is already mounted 999005Sobrien don't report NFS NE_IO error as success (Linux) 1099005Sobrien 1199005Sobrien*** Notes specific to am-utils version 6.0.6: 1299005Sobrien 1399005Sobrien- new ports: 1499005Sobrien Apple OS X support (Darwin, Rhapsody) 1599005Sobrien 1699005Sobrien- reworked autoconf scripts so that newer versions of known OSs will default 1799005Sobrien their configuration to the last known version (better chance that it will 1899005Sobrien pass autoconf and work). 1999005Sobrien 2099005Sobrien- linux support for lofs and "bind" mounts, so type:=lofs can work (whether 2199005Sobrien you're using autofs or not) 2299005Sobrien 2399005Sobrien- renamed amd.conf option "selectors_on_default" to "selectors_in_defaults" 2499005Sobrien (on -> in, and added "s"). Old name remains in place for compatibility. 25130803Smarcel 2699005Sobrien- lots of cleanups of debugging and logging messages 2799005Sobrien 28- Bugs fixed: 29 lots of Linux-related ones, so it compiles for recent kernels 30 better checking on various mount options of the form foo=N or foo=STR 31 fixed NFS errno mapping bug which mapped ENOENT to success on Linux 32 33*** Notes specific to am-utils version 6.0.5: 34 35- Minor ports: 36 alphaev6-dec-osf5.1 37 i386-unknown-freebsd4.2 38 support for Linux 2.4 kernels and newer GLIBC versions 39 cleanup of AIX and IRIX6 ports 40 41- Support new mount options: 42 proplist (ACLs over NFS, DU-4.0) 43 kerb, rdirplus, readdirsize, and xlatecookie (NetBSD-1.5K+) 44 nonlm, lock, nolock (Linux) 45 46- Don't force rsize/wsize on Linux 2.2.18+ and 2.4.x. Improves performance 47 a lot. 48 49- Lots of documentation updates: texinfo, man pages, scripts, and more. 50 51- LDAP: included proposed Schema and Internet Draft for LDAP Schema. See 52 README.ldap for more information. 53 54- Removed all remains of the dangerous amq -M code. 55 56- Major bug fix: initialize NFS fileid field correctly, to avoid cache 57 aliasing problems, esp. on Linux. 58 59- Major Linux bug fix: map errnos to NFS errors (mistakenly turned off a 60 while back). Also support unused errno 41. 61 62- Other bugs fixes: 63 default MAXHOSTNAMELEN (if undefined) is 256, not 64 64 truncate hostnames to MAXHOSTNAMELEN (security fix) 65 alignment problem in getwire() on ALPHA 66 other buf overflow problems (security fixes) 67 ctl-amd supports "condrestart" (Red Hat) 68 bell char is \g not \a 69 lostaltmail verify MAILDIR is defined 70 am-eject accepts "floppy" and "cdrom" as args 71 other assorted small bug fixes 72 73*** Notes specific to am-utils version 6.0.4: 74 75- NFSv3 support for Linux and HPUX-11 76 77- new amd.conf [global] options: 78 nfs_vers: force all NFS mounts to version 2 or 3 79 nfs_proto: force all NFS mounts to udp or tcp 80 81- new debug_options (amd -D): 82 hrtime: turns on high-resolution timer if available 83 readdir: traces browsable_dirs code 84 xdrtrace: traces XDR routines 85 (trace: only traces NFS and RPC) 86 87- new amq options: 88 -H: shows usage 89 -w: translate getpwd() into an Amd path 90 91- new map syntax: 92 ${dollar}: to include a literal '$' in assignments 93 94- new "opts:=" options: 95 ver3: turns on NFS version 3 on some systems (linux) 96 97- updated or minor new ports: 98 alpha-dec-osf4.0f 99 alphaev6-dec-osf5.0 100 i386-pc-linux-rh6.2 101 i386-unknown-freebsd3.4 102 103- bugs fixed: 104 symlink mtime fixes to avoid u/mount race conditions 105 update amq -s failed umounts count correctly 106 linux compiles even if efs is available 107 linux works with mount(2) option "intr" 108 linux works with pcfs and cdfs 109 handle std{in,out,err} correctly when releasing controlling tty 110 browsable_readdir works on 64-bit kernel architectures 111 irs/wire routines compile for bsdi{2,3,4} 112 113*** Notes specific to am-utils version 6.0.3: 114 115- updated or minor new ports: 116 hppa1.0-hp-hpux11.00 117 i386-pc-bsdi4.1 118 i386-unknown-netbsd1.4.1 119 sparc-sun-solaris2.8 120 i*86-pc-linux-gnu-rh6.1 121 (some preparations for Compaq Tru64) 122 123- new variables ${uid} and ${gid}, return the numeric UID/GID of the user 124 (not root) who invokes an amd pathname. Similar to what hlfsd does. 125 126- automake now uses automatic dependency tracking 127 128- new mount options: optionstr, noexec, nomnttab 129 130- maps of type:=auto are now browsable (using map option "browsable") 131 132- ctl-amd has "status" argument (same as RedHat) 133 134- bugs fixed: 135 document buggy AIX 4.3 plock() behavior 136 fixes to stale file handle on symlinks 137 reduce race conditions upon rapid umount/mount sequences 138 use vsnprintf, more secure than vsprintf 139 more assorted and smaller bugs 140 141*** Notes specific to am-utils version 6.0.2: 142 143- safe map reloads: when a map needs to be reloaded, it is reloaded into a 144 temporary copy first. Only if the reload was completely successful, Amd 145 discards the old map and uses the new one. Otherwise Amd continues to use 146 the old maps. This should help a lot with transient NIS problems. 147 148- amq -f now also forces a (safe) map reload, but only if the timestamp on 149 the maps was updated. 150 151- two new selector variables: ${vendor} and ${full_os}, which are the same 152 as the output seen in "amd -v". 153 154- documentation fixes and updates 155 156- updated or minor new ports: 157 i386-unknown-freebsdelf3.3 158 159- support 'ignore' flags (automntfs) in bsdi-4.1 160 161- bugs fixed: 162 expn.pl uses correct sockaddr_in() not, pack() 163 make sure configure --enable-*args take an argument 164 don't busy-loop trying to rebind to ldap servers 165 use vsnprintf, not vsprintf (security) 166 167*** Notes specific to am-utils version 6.0.1: 168 169- updated or minor new ports: 170 i386-pc-bsdi4.0.1 171 i386-unknown-freebsdelf3.0 172 i386-unknown-freebsdelf3.1 173 i386-unknown-freebsdelf3.2 174 i386-unknown-freebsdelf4.0 175 i386-unknown-netbsd1.4 176 i386-unknown-openbsd2.5 177 powerpc-unknown-linux-gnu 178 179- automount2amd added, a new script to convert Sun automount maps to Amd maps 180 181- new map function netgrpd(ARG), same as netgrp() but matches FQHN 182 183- 'ignore' is a generic mount option 184 185- hesiod info service isup() function to check if service is up 186 187- more Y2K fixes (see README.y2k for the full story) 188 189- using alloca.c on systems that don't have it (hpux9 with /bin/cc) 190 191- configure script reduced in size by using M4/sh loops instead of repeated 192 entries 193 194- documentation updates 195 196- too many bugs fixed to list here: 197 'addopts' option works with 'remopts' as well as 'opts' 198 AIX can perform NFS V.3 mounts explicitly 199 NIS is_up fixed, especially for NIS+ running in compatibility mode 200 amd -v incorrectly listing file systems that don't really work 201 amd's own mounts use reserved ports if possible 202 browsable directories works for Linux 2.3 (NFS cookies) 203 bsd44 systems check for isofs flags 204 bsd44 systems check for new options: norrio, gens, and extatt 205 buildall works better on Ultrix's /bin/sh 206 compile and build on Linux kernels 2.2 and newer 207 compile and build on RedHat Linux 6.0 (glibc 2.1) 208 compile and build on Solaris 7 (with or without vendor LDAP) 209 completely eliminate all of amd's amq -M code, when not enabled 210 correctly interpret failure code of unmount of type:=program 211 don't create autofs listener service unless used 212 don't list or process amq's -M option unless feature was turned on 213 don't turn on/off noconn option if it was already in that state 214 ldap info service: don't strcmp null strings 215 lostaltmail correctly sets struct sockaddr_in 216 make sure Linux systems have configured kernel headers 217 test for bsize/namlen fields in nfs_args (linux mount versions 2/3) 218 turn off broken NFS V.3 support for HPUX 219 use getifaddrs() on bsd44 systems makes wire.c more reliable 220 use matching NFS rsize/wsize on Linux 2.0 and 2.[123] kernels. 221 verify that RPC requests come from reserved, privileged local ports 222 warn when Linux kernel headers mismatch with running kernel 223 pawd works for type:=nfsl too 224 225*** Notes specific to am-utils version 6.0: 226 227- updated or minor new ports: 228 hppa2.0w-hp-hpux11.00, 229 i386-pc-bsdi4.0 230 i386-unknown-freebsd2.2.8 231 i386-unknown-netbsd1.3.3 232 i386-unknown-openbsd2.4 233 mips-sgi-irix6.5 234 powerpc-ibm-aix4.3.1.0 235 i386-unknown-freebsd3.0 now supports nfs v.3 236 237- ctl-amd and ctl-hlfsd now compatible with RedHat's chkconfig utility 238 239- ctl-amd stop will now wait until amd is down 240 241- libamu.so completely self contained --- does not export any symbols which 242 must be defined by the process linking with it. This is so shared 243 libraries could be supported on systems that have restrictive shared 244 libraries. 245 246- use latest autoconf, automake, and libtool (off of cygnus' CVS server) to 247 support shared libraries on many more platforms. 248 249- posix code cleanups 250 251- bugs fixed: 252 case insensitive host match in type:=nfsl 253 correct swapped args to kill(2) 254 try to avoid a race condition b/t mounting and unmounting 255 yp_all support is found in libnsl in RH-5.1 systems 256 257*** Notes specific to am-utils version 6.0b1: 258 259- updated or minor new ports: 260 - *-pc-linux-gnu (glibc2 systems such as RedHat 5.1) 261 - sparc-sun-solaris2.7 262 - i386-pc-solaris2.7 263 - i386-unknown-freebsd3.0 (official release, post 4.4lite port) 264 - sparc64-unknown-linux-gnu (RH 5.1 on Sun Sparc Ultra) 265 266- bugs fixed: 267 - major memory leak in processing of /defaults 268 - core dump if map_type given in amd.conf doesn't exist 269 - memory leak in replacement yp_all 270 - don't access uninitialized memory in DU 4.0 271 - other smaller bugs, see ChangeLog 272 273*** Notes specific to am-utils version 6.0a16: 274 275- new ports: 276 hppa1.0-hp-hpux11.00 (works, not NFS V.3 due to missing headers) 277 mips-dec-ultrix4.3 (working, unverified) 278 279- new minor ports: 280 i386-pc-bsdi3.1 281 i386-unknown-netbsd1.3.1 282 alpha-dec-osf2.1 283 284- new options addopt:=ARG will "smartly" add and override options specified 285in opts:= 286 287- new amd.conf options: 288 pid_file: specifies the file to store the PID 289 hesiod_base: specifies the base for the Hesiod service 290 unmount_on_exit: if 'yes' will attempt to unmount all file systems 291 when amd exits. 292 293- amd.conf file is parsed after all other command line options. If no 294options specified at all, then use /etc/amd.conf by default. 295 296- some variables' values are now compared case-insensitive as per specs, 297such as host names, domain names, and more. 298 299- NIS service uses a new isup() function to detect if the service is up 300before using it. Used to ensure amd doesn't clear the existing maps before 301reloading them, unless the remote info service is working. 302 303- new cdfs mount options: rrip, noversion, defperm, nodefperm (OSF) 304 305- support efs/xfs separately on irix 306 307- new -D info trace option to turn on info specific debugging, such as 308RES_DEBUG for hesiod services. 309 310- document updates and fixes 311 312- new file MIRRORS lists official mirror sites (also in am-utils home page) 313 314- new file BUGS lists known amd/OS bugs 315 316- source restructuring: rename all Amd file-systems' sources to amfs_ARG.c 317such that it matches the type:=ARG as well. Free names afs/dfs for Andrew 318F/S and Distributed F/S. 319 320- checkpoint config.guess several times during the long configure, so that 321if it is aborted midway, the bulk of the features discovered will be re-read 322from the config.cache file. 323 324- more systems support shared libraries (libtool 1.2) 325 326- using automake 1.3 + more fixes 327 328- bugs fixed: 329 use dynamic buffer for list of interfaces, not fixed size 330 output of amd -H duplicated if >2 interfaces 331 -D mem for hlfsd not on by default (so it will daemonize) 332 linux looks for ext2fs before ufs 333 CDFS looks for 'isofs' mount type as well 334 compile on Solaris 2.6 with /opt/SUNWspro/bin/cc 335 various additional fixes which gcc 2.8.x reported 336 print syslog help string based on what's supported 337 correctly ignore loopback interface on SunOS 3.x 338 don't use -lucb for strcasecmp 339 hlfsd's dump file securely written in /usr/tmp/hlfsd.dump.XXXXXX 340 inherit NFS V.3 mounts correctly 341 write pid file securely 342 343*** Notes specific to am-utils version 6.0a15: 344 345- new ports: 346 alpha-unknown-linux-gnu: works 347 i386-unknown-netbsd1.3: fully working 348 *-sun-sunos3: compiles, not tested 349 350- updated ports: 351 m68k-next-nextstep3: cleaner compile, works. 352 353- new file system type nfsl (NFS Link). Uses nfs if file system is remote, 354and link if it is local (based on if $rhost equals the host name). 355 356- support for Solaris cachefs. Requires setting fs, rfs, and a new variable 357cachedir. See documentation for explanation, examples, and caveats. 358 359- support negated selector functions such as !exists(/foo/bar) 360 361- wire, network, netnumber, in_network() selectors now match against all 362locally attached networks (by either name or number), not just the first two 363interfaces. 364 365- new program pawd (and man page for it) --- Print Automounter Working 366Directory, to print the proper pathname of the cwd or any other pathname, 367adjusted for automounter paths, while avoiding mount points. 368 369- two new switches to amq: -U will force using UDP only; -T will force using 370only TCP to communicate with amd. If neither (or both) are specified, amq 371will try TCP first, and if that failed, will try UDP. 372 373- support syslog facilities, using "amd -l syslog:facility". Old behavior 374when using only -l syslog is to use the LOG_DAEMON facility. 375 376- you may specify browsable_dirs=full, to get a listing of all entries 377(other than /default), including those with '*' wildcard and '/' 378characters. 379 380- amd -D trace now also includes as much of struct nfs_args as can be 381displayed. Useful in figuring out what the kernel really gets during a 382mount(2), as opposed to what the /etc/mnttab file says. -D trace also 383traces the xdr_* functions. 384 385- support for versions of shared libamu version. upped version from 0.0.0 386to 1.0.0. each am-utils release that will change the library will also 387update its version. 388 389- amd/ops_TEMPLATE.c: a new template file for those brave enough to try and 390implement a new amd file system. Includes comments and other info useful 391for developers. 392 393- if localconfig.h exists in the current directory during the run of 394configure, it is included in all am-utils sources. This allows courageous 395developers to make certain modifications during compilations, and especially 396turn off undesired features (not very recommended). 397 398- documentation types and updates for all new features, ports, etc. 399 400- bugs fixed: 401 support NFS mount options grpid and maxgrps 402 nextstep: set NFS success code to 0 (NFS_OK), not 1 (EPERM) 403 bsdi2: set NFS success code to 0 (NFS_OK), not 1 (EPERM) 404 set NFS V.3 mount table names to "nfs" if vers/proto exist 405 use mkstemp() if possible (more secure) 406 ctl-amd looks for amd.conf in ${prefix}/etc after /etc 407 hpux: use "ignore" mount table type 408 openbsd2.2: turn off "noconn" mount option, so only connected used 409 fixed memory leak in hlfsd (don't setpwent after endpwent) 410 all NFS3 systems should have proto/vers mount/amd options 411 DEBUG_MEM compiles and prints something more useful 412 uninit_mntfs(): free() mf_private *after* it is used 413 browsable_readdir: fewer bytes sent back to kernel for each chunk 414 mount_toplvl: don't free() an automatic variable! 415 amd should chdir() to / before daemonzing (for core dumps etc) 416 cdfs should be called 'cdfs' not whatever the mnttab type is 417 amd -v: don't print "FS:" list twice when >=2 net interfaces 418 419*** Notes specific to am-utils version 6.0a14: 420 421- updated ports: 422 powerpc-ibm-aix4.2.1.0: NFS V.3 works 423 424- minor new ports: 425 sparc-sun-sunos4.1.3C 426 m68k-sun-sunos4.1.1 (sun3) 427 mips-sgi-irix5.2 428 429- new option to amd, -O ARG, will override the operating systems *name* with 430ARG. Corrected documentation for amd -o ARG --- it overrides the operating 431system *version* and not the name as the docs incorrectly stated. 432 433- logging now behave more like syslog: will not print repeated strings, but 434rather a count such as "last message repeated N times". (N will not exceed 435100.) 436 437- restructured the code which deals with the numerous possible fields and 438flags that are set in struct nfs_args. That code was moved to libamu as 439the functions compute_nfs_args() and compute_automounter_nfs_args(). 440 441- bugs fixed: 442 mnttab name ufs/cdfs/pcfs/etc filesystems corrected 443 use pmap_ping for amq (a must for secure portmappers, bsdi2/3) 444 test for xfs (irix) as a disk-based filesystem 445 set correct nfs_prot headers for Solaris 2.5 446 removed stale code from lostaltmail.in 447 lostaltmail will look for conf file in multiple locations 448 assorted documentation corrections 449 amq does not print "get_secure_amd_client" if run as root 450 451*** Notes specific to am-utils version 6.0a13: 452 453- new in_network(ARG) nomadic selector, true if ARG is the name (or number) 454of any of this host's network interfaces. 455 456- removed variables primnetname, primnetnum, subsnetname, and subsnetnum. 457(Kept "wire" and its alias "network", and "netnumber".) 458 459- include am-utils.dvi and am-utils.ps in distribution. 460 461- hlfsd supports new option -P ARG, for reading password map off of file 462ARG. Allows you to use the hlfs redirector using paths other than user's 463home directories. 464 465- use a replacement yp_all for some systems (irix) known to have a broken 466one which leaks a file descriptor each time called. 467 468- if remote NFS server is down or does not support portmap, downgrade 469machine to NFS V.2 and retry again later. 470 471- bugs: 472 don't redefine yywrap on systems using a modified flex 473 use correct "ignore" mnttab/mount option on hpux for df(1) 474 use nfs_args' fsname field (hpux) to avoid syncer/mount(1) problems 475 don't add ops_ufs.o twice to Makefile's $(OBJS) 476 don't fail if autofs listener fails to initialize 477 hlfsd should test if run as root after usage() and getopt 478 479- minor code cleanups for netbsd 480 481- html docs now in http://www.am-utils.org 482 483- added README file in binaries ftp directory 484 485*** Notes specific to am-utils version 6.0a12: 486 487- minor or updated/broken ports fixed: 488 hppa1.1-hp-hpux10.10: compiles, untested (probably works). 489 hppa1.1-hp-hpux9.05: compiles, untested (probably works). 490 hppa1.1-hp-hpux9.07: compiles, untested (probably works). 491 m68k-hp-hpux9.00: compiles, untested (probably works). 492 rs6000-ibm-aix4.1.4.0: compiles, untested. 493 sparc-sun-solaris2.6: works w/ NFS V.3. 494 sparc-sun-sunos4.1.4: compiles, untested (probably works). 495 496- new ports: 497 powerpc-ibm-aix4.2.1.0: compiles w/ NFS V.3, untested. 498 499- wire-test also checks for combinations of NFS protocol/version from the 500client to a remote (or local) host. 501 502- conf/mtab/mtab_file.c: use flock() to lock the file, and fcntl() if 503flock() is not available. (Used to prefer fcntl() over flock().) 504 505- bug fixes: 506 tli get_nfs_version() gets into an infinite loop 507 tli get_nfs_version() should time out faster 508 sockets get_nfs_version() should work w/ secure portmappers 509 ESTALE returned for NFS mounts for SunOS 4.x fixed 510 do not exceed HOSTNAMESZ for nfs_args.hostname (get ENAMETOOLONG) 511 properly initialize some mntent_t fields (fsck, freq, mnt_time) 512 properly initialize some pcfs_args fields (mask, uid, gid) 513 properly initialize some cdfs_args fields (ssector) 514 515*** Notes specific to am-utils version 6.0a11: 516 517- bug fixes: 518 amd could not NFS mount v.2 servers from v.3 clients 519 hlfsd will only use first occurrence of home dir for same uid 520 521*** Notes specific to am-utils version 6.0a10: 522 523- MAJOR DOCUMENTATION UPDATE! (first time in 6 years) 524 525- new ports: 526 m68k-next-nextstep3: configures, compiles, not tested. 527 528- preliminary autofs support. See README.autofs for details. 529 530- new amd.conf [global] yes/no keywords: 531 show_statfs_entries: shows number of entries for df(1) 532 fully_qualified_hosts: use FQHN for NFS/RPC authentication 533 534- detect down remote hosts faster 535 536- log output of "amd -v" at startup 537 538- removed $osver override for solaris: now it is 2.5.1, not 5.5.1 539 540- buildall will use gmake first if available 541 542- bugs fixed: 543 amd core dumped when remote host was down 544 allow up to 1024 entries back from readdir() 545 amd.conf works even if only [global] option defined 546 avoid using bad memcmp() implementations 547 fixed meaning of plock [global] option (was reversed) 548 hlfsd infinite loop unless compiled with --enable-debug 549 NIS code works with NIS+ servers in NIS compatibility mode 550 reset tag fields in amd.conf so they don't carry to other entries 551 552*** Notes specific to am-utils version 6.0a9: 553 554- new ports: 555 sparc-sun-solaris2.4: 556 configures/compiles, and runs (no NFS V3) 557 i386-unknown-openbsd2.1: 558 configures/compiles, runs (NFS V3) 559 560- updated ports: 561 i486-ncr-sysv4.3.03: configures/compiles, not tested 562 563- Multiple amd support: new amd.conf [global] key "portmap_program" can be 564used to specify an alternate RPC program number for amd to un/register. 565Allowed numbers range from 300019 to 300029. A matching new option for amq: 566-P prognum, will use an alternate program number to contact. 567 568- man pages: 569 amd.conf.5 new 570 mk-amd-map.8 new 571 amd.8 updated 572 amq.8 updated 573 (other man pages required minor updates) 574 575- shared libraries support expanded. Using GNU libtool-1.0. You can build 576a shared version of libamu, and link with it accordingly, by specifying 577--enable-shared to configure. Default is --enable-static --disable-shared, 578and you can mix and match. See "INSTALL" file for listing of systems on 579which shared libraries seem to build and work fine. 580 581- new option: amq -p, will return the PID of the running amd (local or 582remote). Uses a new RPC message. Useful especially in "ctl-amd stop". 583 584- new configure script options --enable-ldflags, for specifying -L flags. 585The older --enable-libs is to be used only for -l options. 586 587- two new LDAP map options for amd.conf: ldap_cache_seconds and 588ldap_cache_maxmem. 589 590- new script, am-eject from Debian linux's version of amd-upl102. 591 592- additional passwd map support using var[0-3], from Debian folks. 593 594- hesiod code cleanup. works for hesiod 1.3 as well as 3.0. 595 596- removed defunct -h option from amd. 597 598- started using automake-1.2. This fixed several bugs that caused some 599versions of yacc/lex and non-GNU make to fail. 600 601- bug fixes: 602 amd/hlfsd mounts should be hidden from df(1) 603 use "noconn" option for nfs mounts (multi-homed hosts) 604 don't use connected sockets on linux before 1.3.10 (from Debian) 605 better checks for [gn]dbm 606 forbid excessive retries after timeouts (from Debian) 607 readdir(): don't skip over map entries with prefix, and include it 608 more assorted linux fixes from Debian folks 609 lofs mount on svr4 was broken 610 find default value of $karch from uname() not $arch 611 hlfsd failed to mount itself on some little-endians 612 613 614*** Notes specific to am-utils version 6.0a8: 615 616- new ports: 617 i386-unknown-netbsd1.2.1: configures/compiles (with NFS V.3), works, 618 but some OS stability problems exist. 619 620- updated ports: 621 hppa1.1-hp-hpux9.01: 622 now tested and working 623 rs6000-ibm-aix3.2 and rs6000-ibm-aix3.2.5: 624 now tested and working 625 626- fixed browsable directories (readdir) code. 627 628- better methods to find amd/hlfsd pid to kill in ctl-{amd,hlfsd} 629 630- "ignore/auto" mount types fixed for irix, sunos, and others, so "df" does not 631show amd mounts by default (but GNU df -a does). 632 633- each time amd is built, a new "build" version is incremented. See amd -v. 634 635- man page for fsinfo added 636 637- empty fillers for new file (bsd44) systems: nullfs, unionfs, umapfs. 638 639- when amd is not running, or portmapper is down, make amq timeout faster (5 640sec) than system default, usually 4-5 minutes. 641 642- bug fixes: 643 hlfsd mount got "protocol not supported" 644 first regular map in amd.conf didn't inherit global options 645 make "bad" versions of lex still work with amd/conf_parse.l 646 check for 'nodev' option, not 'nondev' 647 typo in "ro" option, and fillers to ac{reg,dir}{min,max} and others 648 amd.conf parsing done before switching default log/debug options 649 allow doubly-quoted values in amd.conf 650 hesiod-reload code cleanup 651 652- assorted code cleanup 653 654 655*** Notes specific to am-utils version 6.0a7: 656 657- new ports: 658 i386-unknown-freebsd3.0: 659 fully functional with NFS V.3 660 sparc-sun-solaris2.3: 661 fully functional (should work for 2.4) 662 sparc-unknown-netbsd1.2E: 663 configures/compiles (with NFS V.3), untested 664 665- updated ports: 666 i386-pc-bsdi3.0: 667 NFS V.3 works 668 look for hesiod in libc 669 mips-sgi-irix5.3: 670 fully functional with NFS V.3 671 672- LDAP support! New [global] amd.conf options ldap_base and ldap_hostports. 673Also includes a new script amd2ldif to convert amd maps into plain text LDAP 674object files. 675 676- the following amd.conf variables: browsable_dirs, map_options, map_type, 677mount_type, and search_path --- can now be specified in [global] as well as 678the map entry itself. That way you can declare them only once in [global], 679and override them as needed per map. 680 681- option "cluster" added to [global] (HPUX clusters ala "amd -C"). 682 683- assorted info_hesiod map fixes and cleanup. removed HESIOD_RELOAD code. 684 685- added netgrp(name) function to amd map syntax to see if current host is in 686the <name> netgroup. 687 688- removed unused option "amd -m". 689 690- filled in "tasks" file with todo items. 691 692- filled "COPYING" file with legal stuff. 693 694- cleanup: all global variables are now in one big structure (struct 695amu_global_options) that's easy to identify and enhance. Also migrated 696several flags that used be an integer each into one unsigned integer that's 697used as a bit-flag. 698 699- big fixes: 700 xdr_mountres3 should compile only if has NFS V3 701 lex/yacc macros show full pathname (to tell if correct one runs) 702 misc fixes/cleanup 703 704 705*** Notes specific to am-utils version 6.0a6: 706 707- amd configuration file! 708 709See scripts/amd.conf-sample for help and some explanation. This new conf 710file allows for the following new features: 711 712 default selectors can be turned on/off globally. 713 browsable_dirs/readdir() support can be turned on per map. 714 search paths for file type maps. 715 can force the map type to file, nis, ndbm, etc. rather than default 716 to looking at all of them. 717 tag each map for "amd -T tag", useful for grouping maps. 718 can override $os and others (so if you don't like "sunos5" default 719 naming, set os=sos5 and it will work with your old maps). 720 and more goodies... 721 722- enable-default-selectors: No longer turned on by the configure script or 723optionally compiled. Code made dynamic and can be turned on or off from the 724amd.conf file. This code is off by default, and must be turned on by 725amd.conf's [global] section. 726 727- new ports: 728 mips-sgi-irix5.3: configure/compile, not tested 729 i486-ncr-sysv4.3.03: configure/compile, not tested 730 731- updated ports: 732 alpha-dec-osf4.0: major code redone 733 sparc-sun-sunos4.1.3: fixed and working 734 mips-sgi-irix6.2: tested with gcc and "cc -32 -Wl,-woff,84" 735 mips-sgi-irix6.4: tested with gcc and "cc -32 -Wl,-woff,84" 736 737- better NFS3 port, including more support for proto= and vers=, and 738automatic determination of proto/vers combination. 739 740- conf/nfs_prot/nfs_prot_*.h: all of the NFS protocol header files had to be 741redone, because of the osf4 port. OSF used very different names for these, 742and they conflicted with am-utils'. The only solution was to more or less 743conform to OSF4's naming, and change all the others. 744 745- ctl-amd script: 746 improved to look for amd.conf in $prefix/etc and /etc 747 better methods for finding the pid of amd to kill 748 749- autoconf support for LDAP. amd/info_ldap.c needs to be written. 750 751- wire-test also reports the local IP address. Some systems have multiple, 752buggy version of get_myaddress(), esp. SunOS and Irix. Note that Solaris 753x86 has a buggy htonl(). 754 755- amd -H prints usage. 756 757- bugs fixed: 758 minor TLI problem in fwd_socket 759 mount options properly comma delimited 760 LIBS is set only to the right set of libraries to include 761 selectors-on-default code ignored last selector ent in /defaults 762 assorted code cleanups 763 764 765*** Notes specific to am-utils version 6.0a5: 766 767- NFS Version 3 support!!! 768 769 Works on Solaris 2.5.1. 770 Minimal testing done on Irix 6. 771 Compiles cleanly on DU-4.0 but no tests performed. 772 773Will fall back to V2 mounts when V3 is not available. Will also use TCP if 774possible, UDP otherwise. 775 776- Ports to new platforms: 777 778 alpha-dec-osf4.0 (not tested) 779 i386-pc-bsdi3.0 (tested and working) 780 i386-unknown-freebsd2.2.1 (tested and working) 781 sparc-unknown-linux-gnu (tested and working) 782 783- New scripts added: 784 785 amd2sun: convert amd maps to Sun automount maps 786 ctl-amd: script to start/stop/restart amd 787 ctl-hlfsd: script to start/stop/restart hlfsd 788 expn: expand mail alias (used by hlfsd) 789 lostaltmail: redeliver "lost" mail redirected by hlfsd 790 lostaltmail.conf-sample: sample conf file for lostaltmail 791 wait4amd: run a command once amd is up on a host 792 wait4amd2die: wait for an amd process to die before returning 793 794- "amd -v" now includes more info and "amq -v" lists all of it. 795 796- new parser for linux specific mount options. 797 798- Main bugs fixed: 799 800 "new toplvl readdir" bug caused amd to dump core 801 handler for SIGCHLD didn't check for all possible children 802 hlfsd leaking file descriptors when home file system was full 803 cdfs/pcfs mounts should not timeout by default 804 hesiod domain names should be compared in case-insensitive manner 805 several printfs in amq were missing \n 806 807 808*** Notes specific to am-utils version 6.0a4: 809 810- amd services both TCP and UDP amq requests. This will help because of the 811limited UDP message size. 812 813- "amq -M" code is disabled by default because it is insecure. It is 814rarely used. Users who wish to use it should run 815"configure --enable-amq-mount". 816 817 818*** Notes specific to am-utils version 6.0a3: 819 820- New tested ports (configures, compiles, and runs): 821 822 i386-unknown-freebsd2.2 823 824- New ports (configures and compiles correctly, not tested): 825 826 rs6000-ibm-aix3.2.5 827 rs6000-ibm-aix4.1.5.0 828 829- More am-utils programs ported to all existing platforms: hlfsd, fsinfo, 830mk-amd-map, and fixmount. 831 832- Shared libraries: a new configure option --enable-shared will build a 833shared libamu.so, link applications with it, and use it. Reduces binary 834sizes by 20-30%. This is the first step towards loadable modules, as many 835changes had to be done to be able to compile and use PIC code. This is code 836that obviously needs to be generalized to be able to build shared libraries 837on many other platforms. It was only tested on Solaris 5.5.1. 838 839- the file INSTALL contains the latest compatibility table of which 840platforms am-utils configures, compiles and runs on. 841 842- Trimmed down the size of the configure script. Some tests that are not 843used anywhere were removed. 844 845 846*** Notes specific to am-utils version 6.0a2: 847 848- New ports (configures and compiles correctly, not tested): 849 850 i386-pc-bsdi2.1 851 hppa1.1-hp-hpux9.01 852 hppa1.1-hp-hpux10.20 853 854- new configure options: 855 856 --enable-cppflags[=ARG] 857 configure/compile with ARG (-I) preprocessor flags 858 --enable-libs[=ARG] 859 configure/compile with ARG (-L/-l) library flags 860 861- filesystem, mount table entries, and mount type tests can now look in 862/lib/modules and /proc/filesystems for statically/dyadically loadable kernel 863modules (linux) 864 865- prefer vfat over msdos/pc/etc filesystem for PCFS. 866 867- moved all fixed headers to include/am_defs. Left only #define/#undef 868entries in aux/acconfig.h. 869 870- make more sense of systems that have full, partial, or no NFS protocol 871headers. 872 873- minor fixes for NetBSD (untested platform). 874 875- hesiod map fixed. 876 877- buildall -D: new option to run even stricter developer options. 878 879- lots of other bugs fixed (see ChangeLog). 880 881 882*** Notes specific to am-utils version 6.0a1: 883 884I have it configure and build correctly for the following systems: 885 886 i386-pc-solaris2.5.1 887 i386-unknown-freebsd2.1.0 888 mips-sgi-irix6.2 889 sparc-sun-solaris2.5.1 890 sparc-sun-sunos4.1.3 891 892Amq, wire-test, and "amd -v" work on all of the above. A real running amd 893was only tested and confirmed working on 894 895 i386-pc-solaris2.5.1 896 sparc-sun-solaris2.5.1 897 898Many things are still missing: options, features, etc. But for now, let's 899concentrate on getting the basic functionality working on the more popular 900systems. 901