NEWS revision 38494
1238104Sdes*** Notes specific to am-utils version 6.0a16: 2238104Sdes 3238104Sdes- new ports: 4238104Sdes hppa1.0-hp-hpux11.00 (works, not NFS V.3 due to missing headers) 5238104Sdes mips-dec-ultrix4.3 (working, unverified) 6238104Sdes 7238104Sdes- new minor ports: 8238104Sdes i386-pc-bsdi3.1 9238104Sdes i386-unknown-netbsd1.3.1 10238104Sdes alpha-dec-osf2.1 11238104Sdes 12238104Sdes- new options addopt:=ARG will "smartly" add and override options specified 13238104Sdesin opts:= 14238104Sdes 15238104Sdes- new amd.conf options: 16238104Sdes pid_file: specifies the file to store the PID 17238104Sdes hesiod_base: specifies the base for the Hesiod service 18238104Sdes unmount_on_exit: if 'yes' will attempt to unmount all file systems 19238104Sdes when amd exits. 20238104Sdes 21238104Sdes- amd.conf file is parsed after all other command line options. If no 22238104Sdesoptions specified at all, then use /etc/amd.conf by default. 23238104Sdes 24238104Sdes- some variables' values are now compared case-insensitive as per specs, 25238104Sdessuch as host names, domain names, and more. 26238104Sdes 27238104Sdes- NIS service uses a new isup() function to detect if the service is up 28238104Sdesbefore using it. Used to ensure amd doesn't clear the existing maps before 29238104Sdesreloading them, unless the remote info service is working. 30238104Sdes 31238104Sdes- new cdfs mount options: rrip, noversion, defperm, nodefperm (OSF) 32238104Sdes 33238104Sdes- support efs/xfs separately on irix 34238104Sdes 35238104Sdes- new -D info trace option to turn on info specific debugging, such as 36238104SdesRES_DEBUG for hesiod services. 37238104Sdes 38238104Sdes- document updates and fixes 39238104Sdes 40238104Sdes- new file MIRRORS lists official mirror sites (also in am-utils home page) 41238104Sdes 42238104Sdes- new file BUGS lists known amd/OS bugs 43238104Sdes 44238104Sdes- source restructuring: rename all Amd file-systems' sources to amfs_ARG.c 45238104Sdessuch that it matches the type:=ARG as well. Free names afs/dfs for Andrew 46238104SdesF/S and Distributed F/S. 47238104Sdes 48238104Sdes- checkpoint config.guess several times during the long configure, so that 49238104Sdesif it is aborted midway, the bulk of the features discovered will be re-read 50238104Sdesfrom the config.cache file. 51238104Sdes 52238104Sdes- more systems support shared libraries (libtool 1.2) 53238104Sdes 54238104Sdes- using automake 1.3 + more fixes 55238104Sdes 56238104Sdes- bugs fixed: 57238104Sdes use dynamic buffer for list of interfaces, not fixed size 58238104Sdes output of amd -H duplicated if >2 interfaces 59238104Sdes -D mem for hlfsd not on by default (so it will daemonize) 60238104Sdes linux looks for ext2fs before ufs 61238104Sdes CDFS looks for 'isofs' mount type as well 62238104Sdes compile on Solaris 2.6 with /opt/SUNWspro/bin/cc 63238104Sdes various additional fixes which gcc 2.8.x reported 64238104Sdes print syslog help string based on what's supported 65238104Sdes correctly ignore loopback interface on SunOS 3.x 66238104Sdes don't use -lucb for strcasecmp 67238104Sdes hlfsd's dump file securely written in /usr/tmp/hlfsd.dump.XXXXXX 68238104Sdes inherit NFS V.3 mounts correctly 69238104Sdes write pid file securely 70238104Sdes 71238104Sdes*** Notes specific to am-utils version 6.0a15: 72238104Sdes 73238104Sdes- new ports: 74238104Sdes alpha-unknown-linux-gnu: works 75238104Sdes i386-unknown-netbsd1.3: fully working 76238104Sdes *-sun-sunos3: compiles, not tested 77238104Sdes 78238104Sdes- updated ports: 79238104Sdes m68k-next-nextstep3: cleaner compile, works. 80238104Sdes 81238104Sdes- new file system type nfsl (NFS Link). Uses nfs if file system is remote, 82238104Sdesand link if it is local (based on if $rhost equals the host name). 83238104Sdes 84238104Sdes- support for Solaris cachefs. Requires setting fs, rfs, and a new variable 85238104Sdescachedir. See documentation for explanation, examples, and caveats. 86238104Sdes 87238104Sdes- support negated selector functions such as !exists(/foo/bar) 88238104Sdes 89238104Sdes- wire, network, netnumber, in_network() selectors now match against all 90238104Sdeslocally attached networks (by either name or number), not just the first two 91238104Sdesinterfaces. 92238104Sdes 93238104Sdes- new program pawd (and man page for it) --- Print Automounter Working 94238104SdesDirectory, to print the proper pathname of the cwd or any other pathname, 95238104Sdesadjusted for automounter paths, while avoiding mount points. 96238104Sdes 97238104Sdes- two new switches to amq: -U will force using UDP only; -T will force using 98238104Sdesonly TCP to communicate with amd. If neither (or both) are specified, amq 99238104Sdeswill try TCP first, and if that failed, will try UDP. 100238104Sdes 101238104Sdes- support syslog facilities, using "amd -l syslog:facility". Old behavior 102238104Sdeswhen using only -l syslog is to use the LOG_DAEMON facility. 103238104Sdes 104238104Sdes- you may specify browsable_dirs=full, to get a listing of all entries 105238104Sdes(other than /default), including those with '*' wildcard and '/' 106238104Sdescharacters. 107238104Sdes 108238104Sdes- amd -D trace now also includes as much of struct nfs_args as can be 109238104Sdesdisplayed. Useful in figuring out what the kernel really gets during a 110238104Sdesmount(2), as opposed to what the /etc/mnttab file says. -D trace also 111238104Sdestraces the xdr_* functions. 112238104Sdes 113238104Sdes- support for versions of shared libamu version. upped version from 0.0.0 114238104Sdesto 1.0.0. each am-utils release that will change the library will also 115238104Sdesupdate its version. 116238104Sdes 117238104Sdes- amd/ops_TEMPLATE.c: a new template file for those brave enough to try and 118238104Sdesimplement a new amd file system. Includes comments and other info useful 119238104Sdesfor developers. 120238104Sdes 121238104Sdes- if localconfig.h exists in the current directory during the run of 122238104Sdesconfigure, it is included in all am-utils sources. This allows courageous 123238104Sdesdevelopers to make certain modifications during compilations, and especially 124238104Sdesturn off undesired features (not very recommended). 125238104Sdes 126238104Sdes- documentation types and updates for all new features, ports, etc. 127238104Sdes 128238104Sdes- bugs fixed: 129238104Sdes support NFS mount options grpid and maxgrps 130238104Sdes nextstep: set NFS success code to 0 (NFS_OK), not 1 (EPERM) 131238104Sdes bsdi2: set NFS success code to 0 (NFS_OK), not 1 (EPERM) 132238104Sdes set NFS V.3 mount table names to "nfs" if vers/proto exist 133238104Sdes use mkstemp() if possible (more secure) 134238104Sdes ctl-amd looks for amd.conf in ${prefix}/etc after /etc 135238104Sdes hpux: use "ignore" mount table type 136238104Sdes openbsd2.2: turn off "noconn" mount option, so only connected used 137238104Sdes fixed memory leak in hlfsd (don't setpwent after endpwent) 138238104Sdes all NFS3 systems should have proto/vers mount/amd options 139238104Sdes DEBUG_MEM compiles and prints something more useful 140238104Sdes uninit_mntfs(): free() mf_private *after* it is used 141238104Sdes browsable_readdir: fewer bytes sent back to kernel for each chunk 142238104Sdes mount_toplvl: don't free() an automatic variable! 143238104Sdes amd should chdir() to / before daemonzing (for core dumps etc) 144238104Sdes cdfs should be called 'cdfs' not whatever the mnttab type is 145238104Sdes amd -v: don't print "FS:" list twice when >=2 net interfaces 146238104Sdes 147238104Sdes*** Notes specific to am-utils version 6.0a14: 148238104Sdes 149238104Sdes- updated ports: 150238104Sdes powerpc-ibm-aix4.2.1.0: NFS V.3 works 151238104Sdes 152238104Sdes- minor new ports: 153238104Sdes sparc-sun-sunos4.1.3C 154238104Sdes m68k-sun-sunos4.1.1 (sun3) 155238104Sdes mips-sgi-irix5.2 156238104Sdes 157238104Sdes- new option to amd, -O ARG, will override the operating systems *name* with 158238104SdesARG. Corrected documentation for amd -o ARG --- it overrides the operating 159238104Sdessystem *version* and not the name as the docs incorrectly stated. 160238104Sdes 161238104Sdes- logging now behave more like syslog: will not print repeated strings, but 162238104Sdesrather a count such as "last message repeated N times". (N will not exceed 163238104Sdes100.) 164238104Sdes 165238104Sdes- restructured the code which deals with the numerous possible fields and 166238104Sdesflags that are set in struct nfs_args. That code was moved to libamu as 167238104Sdesthe functions compute_nfs_args() and compute_automounter_nfs_args(). 168238104Sdes 169238104Sdes- bugs fixed: 170238104Sdes mnttab name ufs/cdfs/pcfs/etc filesystems corrected 171238104Sdes use pmap_ping for amq (a must for secure portmappers, bsdi2/3) 172238104Sdes test for xfs (irix) as a disk-based filesystem 173238104Sdes set correct nfs_prot headers for Solaris 2.5 174238104Sdes removed stale code from lostaltmail.in 175238104Sdes lostaltmail will look for conf file in multiple locations 176238104Sdes assorted documentation corrections 177238104Sdes amq does not print "get_secure_amd_client" if run as root 178238104Sdes 179238104Sdes*** Notes specific to am-utils version 6.0a13: 180238104Sdes 181238104Sdes- new in_network(ARG) nomadic selector, true if ARG is the name (or number) 182238104Sdesof any of this host's network interfaces. 183238104Sdes 184238104Sdes- removed variables primnetname, primnetnum, subsnetname, and subsnetnum. 185238104Sdes(Kept "wire" and its alias "network", and "netnumber".) 186238104Sdes 187238104Sdes- include am-utils.dvi and am-utils.ps in distribution. 188238104Sdes 189238104Sdes- hlfsd supports new option -P ARG, for reading password map off of file 190238104SdesARG. Allows you to use the hlfs redirector using paths other than user's 191238104Sdeshome directories. 192238104Sdes 193238104Sdes- use a replacement yp_all for some systems (irix) known to have a broken 194238104Sdesone which leaks a file descriptor each time called. 195238104Sdes 196238104Sdes- if remote NFS server is down or does not support portmap, downgrade 197238104Sdesmachine to NFS V.2 and retry again later. 198238104Sdes 199238104Sdes- bugs: 200238104Sdes don't redefine yywrap on systems using a modified flex 201238104Sdes use correct "ignore" mnttab/mount option on hpux for df(1) 202238104Sdes use nfs_args' fsname field (hpux) to avoid syncer/mount(1) problems 203238104Sdes don't add ops_ufs.o twice to Makefile's $(OBJS) 204238104Sdes don't fail if autofs listener fails to initialize 205238104Sdes hlfsd should test if run as root after usage() and getopt 206238104Sdes 207238104Sdes- minor code cleanups for netbsd 208238104Sdes 209238104Sdes- html docs now in http://www.cs.columbia.edu/~ezk/am-utils/ 210238104Sdes 211238104Sdes- added README file in binaries ftp directory 212238104Sdes 213238104Sdes*** Notes specific to am-utils version 6.0a12: 214238104Sdes 215238104Sdes- minor or updated/broken ports fixed: 216238104Sdes hppa1.1-hp-hpux10.10: compiles, untested (probably works). 217238104Sdes hppa1.1-hp-hpux9.05: compiles, untested (probably works). 218238104Sdes hppa1.1-hp-hpux9.07: compiles, untested (probably works). 219238104Sdes m68k-hp-hpux9.00: compiles, untested (probably works). 220238104Sdes rs6000-ibm-aix4.1.4.0: compiles, untested. 221238104Sdes sparc-sun-solaris2.6: works w/ NFS V.3. 222238104Sdes sparc-sun-sunos4.1.4: compiles, untested (probably works). 223238104Sdes 224238104Sdes- new ports: 225238104Sdes powerpc-ibm-aix4.2.1.0: compiles w/ NFS V.3, untested. 226238104Sdes 227238104Sdes- wire-test also checks for combinations of NFS protocol/version from the 228238104Sdesclient to a remote (or local) host. 229238104Sdes 230238104Sdes- conf/mtab/mtab_file.c: use flock() to lock the file, and fcntl() if 231238104Sdesflock() is not available. (Used to prefer fcntl() over flock().) 232238104Sdes 233238104Sdes- bug fixes: 234238104Sdes tli get_nfs_version() gets into an infinite loop 235238104Sdes tli get_nfs_version() should time out faster 236238104Sdes sockets get_nfs_version() should work w/ secure portmappers 237238104Sdes ESTALE returned for NFS mounts for SunOS 4.x fixed 238238104Sdes do not exceed HOSTNAMESZ for nfs_args.hostname (get ENAMETOOLONG) 239238104Sdes properly initialize some mntent_t fields (fsck, freq, mnt_time) 240238104Sdes properly initialize some pcfs_args fields (mask, uid, gid) 241238104Sdes properly initialize some cdfs_args fields (ssector) 242238104Sdes 243238104Sdes*** Notes specific to am-utils version 6.0a11: 244238104Sdes 245238104Sdes- bug fixes: 246238104Sdes amd could not NFS mount v.2 servers from v.3 clients 247238104Sdes hlfsd will only use first occurrence of home dir for same uid 248238104Sdes 249238104Sdes*** Notes specific to am-utils version 6.0a10: 250238104Sdes 251238104Sdes- MAJOR DOCUMENTATION UPDATE! (first time in 6 years) 252238104Sdes 253238104Sdes- new ports: 254238104Sdes m68k-next-nextstep3: configures, compiles, not tested. 255238104Sdes 256238104Sdes- preliminary autofs support. See README.autofs for details. 257238104Sdes 258238104Sdes- new amd.conf [global] yes/no keywords: 259238104Sdes show_statfs_entries: shows number of entries for df(1) 260238104Sdes fully_qualified_hosts: use FQHN for NFS/RPC authentication 261238104Sdes 262238104Sdes- detect down remote hosts faster 263238104Sdes 264238104Sdes- log output of "amd -v" at startup 265238104Sdes 266238104Sdes- removed $osver override for solaris: now it is 2.5.1, not 5.5.1 267238104Sdes 268238104Sdes- buildall will use gmake first if available 269238104Sdes 270238104Sdes- bugs fixed: 271238104Sdes amd core dumped when remote host was down 272238104Sdes allow up to 1024 entries back from readdir() 273238104Sdes amd.conf works even if only [global] option defined 274238104Sdes avoid using bad memcmp() implementations 275238104Sdes fixed meaning of plock [global] option (was reversed) 276238104Sdes hlfsd infinite loop unless compiled with --enable-debug 277238104Sdes NIS code works with NIS+ servers in NIS compatibility mode 278238104Sdes reset tag fields in amd.conf so they don't carry to other entries 279238104Sdes 280238104Sdes*** Notes specific to am-utils version 6.0a9: 281238104Sdes 282238104Sdes- new ports: 283238104Sdes sparc-sun-solaris2.4: 284238104Sdes configures/compiles, and runs (no NFS V3) 285238104Sdes i386-unknown-openbsd2.1: 286238104Sdes configures/compiles, runs (NFS V3) 287238104Sdes 288238104Sdes- updated ports: 289238104Sdes i486-ncr-sysv4.3.03: configures/compiles, not tested 290238104Sdes 291238104Sdes- Multiple amd support: new amd.conf [global] key "portmap_program" can be 292238104Sdesused to specify an alternate RPC program number for amd to un/register. 293238104SdesAllowed numbers range from 300019 to 300029. A matching new option for amq: 294238104Sdes-P prognum, will use an alternate program number to contact. 295238104Sdes 296238104Sdes- man pages: 297238104Sdes amd.conf.5 new 298238104Sdes mk-amd-map.8 new 299238104Sdes amd.8 updated 300238104Sdes amq.8 updated 301238104Sdes (other man pages required minor updates) 302238104Sdes 303238104Sdes- shared libraries support expanded. Using GNU libtool-1.0. You can build 304238104Sdesa shared version of libamu, and link with it accordingly, by specifying 305238104Sdes--enable-shared to configure. Default is --enable-static --disable-shared, 306238104Sdesand you can mix and match. See "INSTALL" file for listing of systems on 307238104Sdeswhich shared libraries seem to build and work fine. 308238104Sdes 309238104Sdes- new option: amq -p, will return the PID of the running amd (local or 310238104Sdesremote). Uses a new RPC message. Useful especially in "ctl-amd stop". 311238104Sdes 312238104Sdes- new configure script options --enable-ldflags, for specifying -L flags. 313238104SdesThe older --enable-libs is to be used only for -l options. 314238104Sdes 315238104Sdes- two new LDAP map options for amd.conf: ldap_cache_seconds and 316238104Sdesldap_cache_maxmem. 317238104Sdes 318238104Sdes- new script, am-eject from Debian linux's version of amd-upl102. 319238104Sdes 320238104Sdes- additional passwd map support using var[0-3], from Debian folks. 321238104Sdes 322238104Sdes- hesiod code cleanup. works for hesiod 1.3 as well as 3.0. 323238104Sdes 324238104Sdes- removed defunct -h option from amd. 325238104Sdes 326238104Sdes- started using automake-1.2. This fixed several bugs that caused some 327238104Sdesversions of yacc/lex and non-GNU make to fail. 328238104Sdes 329238104Sdes- bug fixes: 330238104Sdes amd/hlfsd mounts should be hidden from df(1) 331238104Sdes use "noconn" option for nfs mounts (multi-homed hosts) 332238104Sdes don't use connected sockets on linux before 1.3.10 (from Debian) 333238104Sdes better checks for [gn]dbm 334238104Sdes forbid excessive retries after timeouts (from Debian) 335238104Sdes readdir(): don't skip over map entries with prefix, and include it 336238104Sdes more assorted linux fixes from Debian folks 337238104Sdes lofs mount on svr4 was broken 338238104Sdes find default value of $karch from uname() not $arch 339238104Sdes hlfsd failed to mount itself on some little-endians 340238104Sdes 341238104Sdes 342238104Sdes*** Notes specific to am-utils version 6.0a8: 343238104Sdes 344238104Sdes- new ports: 345238104Sdes i386-unknown-netbsd1.2.1: configures/compiles (with NFS V.3), works, 346238104Sdes but some OS stability problems exist. 347238104Sdes 348238104Sdes- updated ports: 349238104Sdes hppa1.1-hp-hpux9.01: 350238104Sdes now tested and working 351238104Sdes rs6000-ibm-aix3.2 and rs6000-ibm-aix3.2.5: 352238104Sdes now tested and working 353238104Sdes 354238104Sdes- fixed browsable directories (readdir) code. 355238104Sdes 356238104Sdes- better methods to find amd/hlfsd pid to kill in ctl-{amd,hlfsd} 357238104Sdes 358238104Sdes- "ignore/auto" mount types fixed for irix, sunos, and others, so "df" does not 359238104Sdesshow amd mounts by default (but GNU df -a does). 360238104Sdes 361238104Sdes- each time amd is built, a new "build" version is incremented. See amd -v. 362238104Sdes 363238104Sdes- man page for fsinfo added 364238104Sdes 365238104Sdes- empty fillers for new file (bsd44) systems: nullfs, unionfs, umapfs. 366238104Sdes 367238104Sdes- when amd is not running, or portmapper is down, make amq timeout faster (5 368238104Sdessec) than system default, usually 4-5 minutes. 369238104Sdes 370238104Sdes- bug fixes: 371238104Sdes hlfsd mount got "protocol not supported" 372238104Sdes first regular map in amd.conf didn't inherit global options 373238104Sdes make "bad" versions of lex still work with amd/conf_parse.l 374238104Sdes check for 'nodev' option, not 'nondev' 375238104Sdes typo in "ro" option, and fillers to ac{reg,dir}{min,max} and others 376238104Sdes amd.conf parsing done before switching default log/debug options 377238104Sdes allow doubly-quoted values in amd.conf 378238104Sdes hesiod-reload code cleanup 379238104Sdes 380238104Sdes- assorted code cleanup 381238104Sdes 382238104Sdes 383238104Sdes*** Notes specific to am-utils version 6.0a7: 384238104Sdes 385238104Sdes- new ports: 386238104Sdes i386-unknown-freebsd3.0: 387238104Sdes fully functional with NFS V.3 388238104Sdes sparc-sun-solaris2.3: 389238104Sdes fully functional (should work for 2.4) 390238104Sdes sparc-unknown-netbsd1.2E: 391238104Sdes configures/compiles (with NFS V.3), untested 392238104Sdes 393238104Sdes- updated ports: 394238104Sdes i386-pc-bsdi3.0: 395238104Sdes NFS V.3 works 396238104Sdes look for hesiod in libc 397238104Sdes mips-sgi-irix5.3: 398238104Sdes fully functional with NFS V.3 399238104Sdes 400238104Sdes- LDAP support! New [global] amd.conf options ldap_base and ldap_hostports. 401238104SdesAlso includes a new script amd2ldif to convert amd maps into plain text LDAP 402238104Sdesobject files. 403238104Sdes 404238104Sdes- the following amd.conf variables: browsable_dirs, map_options, map_type, 405238104Sdesmount_type, and search_path --- can now be specified in [global] as well as 406238104Sdesthe map entry itself. That way you can declare them only once in [global], 407238104Sdesand override them as needed per map. 408238104Sdes 409238104Sdes- option "cluster" added to [global] (HPUX clusters ala "amd -C"). 410238104Sdes 411238104Sdes- assorted info_hesiod map fixes and cleanup. removed HESIOD_RELOAD code. 412238104Sdes 413238104Sdes- added netgrp(name) function to amd map syntax to see if current host is in 414238104Sdesthe <name> netgroup. 415238104Sdes 416238104Sdes- removed unused option "amd -m". 417238104Sdes 418238104Sdes- filled in "tasks" file with todo items. 419238104Sdes 420238104Sdes- filled "COPYING" file with legal stuff. 421238104Sdes 422238104Sdes- cleanup: all global variables are now in one big structure (struct 423238104Sdesamu_global_options) that's easy to identify and enhance. Also migrated 424238104Sdesseveral flags that used be an integer each into one unsigned integer that's 425238104Sdesused as a bit-flag. 426238104Sdes 427238104Sdes- big fixes: 428238104Sdes xdr_mountres3 should compile only if has NFS V3 429238104Sdes lex/yacc macros show full pathname (to tell if correct one runs) 430238104Sdes misc fixes/cleanup 431238104Sdes 432238104Sdes 433238104Sdes*** Notes specific to am-utils version 6.0a6: 434238104Sdes 435238104Sdes- amd configuration file! 436238104Sdes 437238104SdesSee scripts/amd.conf-sample for help and some explanation. This new conf 438238104Sdesfile allows for the following new features: 439238104Sdes 440238104Sdes default selectors can be turned on/off globally. 441238104Sdes browsable_dirs/readdir() support can be turned on per map. 442238104Sdes search paths for file type maps. 443238104Sdes can force the map type to file, nis, ndbm, etc. rather than default 444238104Sdes to looking at all of them. 445238104Sdes tag each map for "amd -T tag", useful for grouping maps. 446238104Sdes can override $os and others (so if you don't like "sunos5" default 447238104Sdes naming, set os=sos5 and it will work with your old maps). 448238104Sdes and more goodies... 449238104Sdes 450238104Sdes- enable-default-selectors: No longer turned on by the configure script or 451238104Sdesoptionally compiled. Code made dynamic and can be turned on or off from the 452238104Sdesamd.conf file. This code is off by default, and must be turned on by 453238104Sdesamd.conf's [global] section. 454238104Sdes 455238104Sdes- new ports: 456238104Sdes mips-sgi-irix5.3: configure/compile, not tested 457238104Sdes i486-ncr-sysv4.3.03: configure/compile, not tested 458238104Sdes 459238104Sdes- updated ports: 460238104Sdes alpha-dec-osf4.0: major code redone 461238104Sdes sparc-sun-sunos4.1.3: fixed and working 462238104Sdes mips-sgi-irix6.2: tested with gcc and "cc -32 -Wl,-woff,84" 463238104Sdes mips-sgi-irix6.4: tested with gcc and "cc -32 -Wl,-woff,84" 464238104Sdes 465238104Sdes- better NFS3 port, including more support for proto= and vers=, and 466238104Sdesautomatic determination of proto/vers combination. 467238104Sdes 468238104Sdes- conf/nfs_prot/nfs_prot_*.h: all of the NFS protocol header files had to be 469238104Sdesredone, because of the osf4 port. OSF used very different names for these, 470238104Sdesand they conflicted with am-utils'. The only solution was to more or less 471238104Sdesconform to OSF4's naming, and change all the others. 472238104Sdes 473238104Sdes- ctl-amd script: 474238104Sdes improved to look for amd.conf in $prefix/etc and /etc 475238104Sdes better methods for finding the pid of amd to kill 476238104Sdes 477238104Sdes- autoconf support for LDAP. amd/info_ldap.c needs to be written. 478238104Sdes 479238104Sdes- wire-test also reports the local IP address. Some systems have multiple, 480238104Sdesbuggy version of get_myaddress(), esp. SunOS and Irix. Note that Solaris 481238104Sdesx86 has a buggy htonl(). 482238104Sdes 483238104Sdes- amd -H prints usage. 484238104Sdes 485238104Sdes- bugs fixed: 486238104Sdes minor TLI problem in fwd_socket 487238104Sdes mount options properly comma delimited 488238104Sdes LIBS is set only to the right set of libraries to include 489238104Sdes selectors-on-default code ignored last selector ent in /defaults 490238104Sdes assorted code cleanups 491238104Sdes 492238104Sdes 493238104Sdes*** Notes specific to am-utils version 6.0a5: 494238104Sdes 495238104Sdes- NFS Version 3 support!!! 496238104Sdes 497238104Sdes Works on Solaris 2.5.1. 498238104Sdes Minimal testing done on Irix 6. 499238104Sdes Compiles cleanly on DU-4.0 but no tests performed. 500238104Sdes 501238104SdesWill fall back to V2 mounts when V3 is not available. Will also use TCP if 502238104Sdespossible, UDP otherwise. 503238104Sdes 504238104Sdes- Ports to new platforms: 505238104Sdes 506238104Sdes alpha-dec-osf4.0 (not tested) 507238104Sdes i386-pc-bsdi3.0 (tested and working) 508238104Sdes i386-unknown-freebsd2.2.1 (tested and working) 509238104Sdes sparc-unknown-linux-gnu (tested and working) 510238104Sdes 511238104Sdes- New scripts added: 512238104Sdes 513238104Sdes amd2sun: convert amd maps to Sun automount maps 514238104Sdes ctl-amd: script to start/stop/restart amd 515238104Sdes ctl-hlfsd: script to start/stop/restart hlfsd 516238104Sdes expn: expand mail alias (used by hlfsd) 517238104Sdes lostaltmail: redeliver "lost" mail redirected by hlfsd 518238104Sdes lostaltmail.conf-sample: sample conf file for lostaltmail 519238104Sdes wait4amd: run a command once amd is up on a host 520238104Sdes wait4amd2die: wait for an amd process to die before returning 521238104Sdes 522238104Sdes- "amd -v" now includes more info and "amq -v" lists all of it. 523238104Sdes 524238104Sdes- new parser for linux specific mount options. 525238104Sdes 526238104Sdes- Main bugs fixed: 527238104Sdes 528238104Sdes "new toplvl readdir" bug caused amd to dump core 529238104Sdes handler for SIGCHLD didn't check for all possible children 530238104Sdes hlfsd leaking file descriptors when home file system was full 531238104Sdes cdfs/pcfs mounts should not timeout by default 532238104Sdes hesiod domain names should be compared in case-insensitive manner 533238104Sdes several printfs in amq were missing \n 534238104Sdes 535238104Sdes 536238104Sdes*** Notes specific to am-utils version 6.0a4: 537238104Sdes 538238104Sdes- amd services both TCP and UDP amq requests. This will help because of the 539238104Sdeslimited UDP message size. 540238104Sdes 541238104Sdes- "amq -M" code is disabled by default because it is insecure. It is 542238104Sdesrarely used. Users who wish to use it should run 543238104Sdes"configure --enable-amq-mount". 544238104Sdes 545238104Sdes 546238104Sdes*** Notes specific to am-utils version 6.0a3: 547238104Sdes 548238104Sdes- New tested ports (configures, compiles, and runs): 549238104Sdes 550238104Sdes i386-unknown-freebsd2.2 551238104Sdes 552238104Sdes- New ports (configures and compiles correctly, not tested): 553238104Sdes 554238104Sdes rs6000-ibm-aix3.2.5 555238104Sdes rs6000-ibm-aix4.1.5.0 556238104Sdes 557238104Sdes- More am-utils programs ported to all existing platforms: hlfsd, fsinfo, 558238104Sdesmk-amd-map, and fixmount. 559238104Sdes 560238104Sdes- Shared libraries: a new configure option --enable-shared will build a 561238104Sdesshared libamu.so, link applications with it, and use it. Reduces binary 562238104Sdessizes by 20-30%. This is the first step towards loadable modules, as many 563238104Sdeschanges had to be done to be able to compile and use PIC code. This is code 564238104Sdesthat obviously needs to be generalized to be able to build shared libraries 565238104Sdeson many other platforms. It was only tested on Solaris 5.5.1. 566238104Sdes 567238104Sdes- the file INSTALL contains the latest compatibility table of which 568238104Sdesplatforms am-utils configures, compiles and runs on. 569238104Sdes 570238104Sdes- Trimmed down the size of the configure script. Some tests that are not 571238104Sdesused anywhere were removed. 572238104Sdes 573238104Sdes 574238104Sdes*** Notes specific to am-utils version 6.0a2: 575238104Sdes 576238104Sdes- New ports (configures and compiles correctly, not tested): 577238104Sdes 578238104Sdes i386-pc-bsdi2.1 579238104Sdes hppa1.1-hp-hpux9.01 580238104Sdes hppa1.1-hp-hpux10.20 581238104Sdes 582238104Sdes- new configure options: 583238104Sdes 584238104Sdes --enable-cppflags[=ARG] 585238104Sdes configure/compile with ARG (-I) preprocessor flags 586238104Sdes --enable-libs[=ARG] 587238104Sdes configure/compile with ARG (-L/-l) library flags 588238104Sdes 589238104Sdes- filesystem, mount table entries, and mount type tests can now look in 590238104Sdes/lib/modules and /proc/filesystems for statically/dyadically loadable kernel 591238104Sdesmodules (linux) 592238104Sdes 593238104Sdes- prefer vfat over msdos/pc/etc filesystem for PCFS. 594238104Sdes 595238104Sdes- moved all fixed headers to include/am_defs. Left only #define/#undef 596238104Sdesentries in aux/acconfig.h. 597238104Sdes 598238104Sdes- make more sense of systems that have full, partial, or no NFS protocol 599238104Sdesheaders. 600238104Sdes 601238104Sdes- minor fixes for NetBSD (untested platform). 602238104Sdes 603238104Sdes- hesiod map fixed. 604238104Sdes 605238104Sdes- buildall -D: new option to run even stricter developer options. 606238104Sdes 607238104Sdes- lots of other bugs fixed (see ChangeLog). 608238104Sdes 609238104Sdes 610238104Sdes*** Notes specific to am-utils version 6.0a1: 611238104Sdes 612238104SdesI have it configure and build correctly for the following systems: 613238104Sdes 614238104Sdes i386-pc-solaris2.5.1 615238104Sdes i386-unknown-freebsd2.1.0 616238104Sdes mips-sgi-irix6.2 617238104Sdes sparc-sun-solaris2.5.1 618238104Sdes sparc-sun-sunos4.1.3 619238104Sdes 620238104SdesAmq, wire-test, and "amd -v" work on all of the above. A real running amd 621238104Sdeswas only tested and confirmed working on 622238104Sdes 623238104Sdes i386-pc-solaris2.5.1 624238104Sdes sparc-sun-solaris2.5.1 625238104Sdes 626238104SdesMany things are still missing: options, features, etc. But for now, let's 627238104Sdesconcentrate on getting the basic functionality working on the more popular 628238104Sdessystems. 629238104Sdes