1 1.5 christos 2015-01-17 Christos Zoulas <christos (a] zoulas.com> 2 1.5 christos 3 1.5 christos * Move libtool macro functions from m4/macros to m4 and delete 4 1.5 christos the repository copies. Makes am-utils work with libtool-2.4.4 5 1.5 christos and fixes the serial number warnings (raven at themaw.net) 6 1.5 christos 7 1.5 christos 2014-10-28 Christos Zoulas <christos (a] zoulas.com> 8 1.5 christos 9 1.5 christos ******************************************************************* 10 1.5 christos *** Released am-utils-6.2 *** 11 1.5 christos ******************************************************************* 12 1.5 christos 13 1.5 christos * add ylwrap.amd, sick and tired of patching broken ylwrap. 14 1.5 christos 15 1.5 christos 2014-09-05 Christos Zoulas <christos (a] zoulas.com> 16 1.5 christos 17 1.5 christos * factor out the size check for both readdir methods 18 1.5 christos (raven at themaw.net) 19 1.5 christos 20 1.5 christos 2014-09-03 Christos Zoulas <christos (a] zoulas.com> 21 1.5 christos 22 1.5 christos * configure test for 64 bit xdr function (raven at themaw.net) 23 1.5 christos 24 1.5 christos 2014-09-01 Christos Zoulas <christos (a] zoulas.com> 25 1.5 christos 26 1.5 christos * bug fix from raven at themaw.net to prevent writing v3 handle 27 1.5 christos to a v2 structure. 28 1.5 christos 29 1.5 christos 2014-07-21 Christos Zoulas <christos (a] zoulas.com> 30 1.5 christos 31 1.5 christos * fix permission problems with access 32 1.5 christos * auto_nfs_version = 3 now works for me. 33 1.5 christos 34 1.5 christos 2014-07-20 Christos Zoulas <christos (a] zoulas.com> 35 1.5 christos 36 1.5 christos * refresh some autoconf files 37 1.5 christos * force autoconf version since earlier versions don't work 38 1.5 christos * changes from raven at themaw.net to support NFSv3 for automounted 39 1.5 christos toplevel filesystems presented to the list in May. A few bug fixes 40 1.5 christos and integration changes by me. The code now works well enough to 41 1.5 christos mount the filesystem with NFSv3 and automount children but readdir 42 1.5 christos does not work yet (so no listing of automounted filesystems). 43 1.5 christos The new code is not enabled by default. To enable use 44 1.5 christos auto_nfs_version = 3 45 1.5 christos in your configuration file. 46 1.5 christos 47 1.5 christos 2014-03-26 Christos Zoulas <christos (a] zoulas.com> 48 1.5 christos 49 1.5 christos From Ian Kent <ikent (a] redhat.com> 50 1.5 christos 51 1.5 christos * use mktemp in scripts/fixrmtab 52 1.5 christos * fix documentatio nits 53 1.5 christos * [linux] Add ext2, ext3, ext4 specific mount options 54 1.5 christos * fix tcpwrappers (hosts.{allow,deny} problems for specific host 55 1.5 christos entries 56 1.5 christos 57 1.5 christos 2014-03-20 Christos Zoulas <christos (a] zoulas.com> 58 1.5 christos 59 1.5 christos 60 1.5 christos * don't background autofs umount 61 1.5 christos * avoid fh NULL dereference on umount 62 1.5 christos * handle ENOENT umount return for autofs mounts 63 1.5 christos * fix error message in get_nfs_version 64 1.5 christos * fix debug log deadlock 65 1.5 christos * [linux] retry umount on EBUSY 66 1.5 christos * handle failed umount on exit 67 1.5 christos 68 1.5 christos 2014-03-09 Christos Zoulas <christos (a] zoulas.com> 69 1.5 christos 70 1.5 christos * Remove BSD advertising clause. 71 1.5 christos * Remove expn program which is not used by anything 72 1.5 christos 73 1.5 christos 2013-12-05 Christos Zoulas <christos (a] zoulas.com> 74 1.5 christos 75 1.5 christos * Change the way we handle multiple lex scanners and yacc parsers 76 1.5 christos in a single program. Our old patch to ylwrap does not work anymore 77 1.5 christos because the bison parsers need shared symbols that start with yy 78 1.5 christos and we can't easily select which ones work. So now we use -P and 79 1.5 christos -p to let lex and yacc do the work for us. This requires a patch 80 1.5 christos to ylwrap, but it is smaller. 81 1.5 christos 82 1.5 christos 83 1.5 christos 2013-12-05 Christos Zoulas <christos (a] zoulas.com> 84 1.5 christos 85 1.5 christos * Change the way we handle multiple lex scanners and yacc parsers 86 1.5 christos in a single program. Our old patch to ylwrap does not work anymore 87 1.5 christos because the bison parsers need shared symbols that start with yy 88 1.5 christos and we can't easily select which ones work. So now we use -P and 89 1.5 christos -p to let lex and yacc do the work for us. This requires a patch 90 1.5 christos to ylwrap, but it is smaller. 91 1.5 christos 92 1.5 christos 2013-05-14 Christos Zoulas <christos (a] zoulas.com> 93 1.5 christos 94 1.5 christos * update to handle new autoconf and regen files 95 1.5 christos 96 1.5 christos 2012-11-23 Christos Zoulas <christos (a] zoulas.com> 97 1.5 christos 98 1.5 christos * recognize mountport=, noacl options 99 1.5 christos * simplify the bootstrap process, by forcing 100 1.5 christos all the files to be rebuild with autoreconf -f - i 101 1.5 christos 102 1.5 christos 2012-10-03 Christos Zoulas <christos (a] zoulas.com> 103 1.5 christos 104 1.5 christos * add missing ops_nfs4.c to the Makefile.am 105 1.5 christos 106 1.5 christos 2012-09-14 Christos Zoulas <christos (a] zoulas.com> 107 1.5 christos 108 1.5 christos * add locking option handling for lustre 109 1.5 christos * fix noatime, nodiratime, mandlock for linux 110 1.5 christos 111 1.5 christos 2012-07-25 Christos Zoulas <christos (a] zoulas.com> 112 1.5 christos 113 1.5 christos * bug fixes for lustre rhost parsing 114 1.5 christos 115 1.5 christos 2012-06-27 Christos Zoulas <christos (a] zoulas.com> 116 1.5 christos 117 1.5 christos * Disable 1/2-baked sun map support to avoid SIGSEGV 118 1.5 christos 119 1.5 christos 2012-06-16 Christos Zoulas <christos (a] zoulas.com> 120 1.5 christos 121 1.5 christos ******************************************************************* 122 1.5 christos *** Released am-utils-6.2-rc1 *** 123 1.5 christos ******************************************************************* 124 1.5 christos 125 1.5 christos * Fix libtool.m4 to work with later versions of autoconf. 126 1.5 christos * In buildall, use eval so that quoted strings work 127 1.5 christos * Centralize nfs version checking function, and introduce 128 1.5 christos new configuration variable nfs_vers_ping, which is the 129 1.5 christos max version we ping for. This is not documented yet, because 130 1.5 christos there might be a better way separate the max version we can 131 1.5 christos use vs the max version we ping for. 132 1.5 christos 133 1.5 christos 2012-06-09 Christos Zoulas <christos (a] zoulas.com> 134 1.5 christos 135 1.5 christos * fix issue with parsing nfsv4 security option strings 136 1.5 christos 137 1.5 christos 2012-05-01 Christos Zoulas <christos (a] zoulas.com> 138 1.5 christos 139 1.5 christos * Handle EPERM return from v4 file handles 140 1.5 christos in old linux kernels 141 1.5 christos 142 1.5 christos 2012-03-09 Christos Zoulas <christos (a] zoulas.com> 143 1.5 christos 144 1.5 christos * fix linux autofs detection 145 1.5 christos * fix wrong types in new amq mount xdr processing 146 1.5 christos 147 1.5 christos 2012-01-25 Christos Zoulas <christos (a] zoulas.com> 148 1.5 christos 149 1.5 christos * FreeBSD portability fixes 150 1.5 christos 151 1.5 christos 2012-01-23 Christos Zoulas <christos (a] zoulas.com> 152 1.5 christos 153 1.5 christos * Avoid type punned warnings 154 1.5 christos 155 1.5 christos 2011-12-29 Christos Zoulas <christos (a] zoulas.com> 156 1.5 christos 157 1.5 christos * fix bug I introduced in get_nfs_version that caused it to return 0 158 1.5 christos * add direct support for ext{2,3,4} 159 1.5 christos 160 1.5 christos 2011-12-15 Christos Zoulas <christos (a] zoulas.com> 161 1.5 christos 162 1.5 christos * Include <linux/fs.h> on linux, to grab extra mount flags 163 1.5 christos * Add support for lustre 164 1.5 christos 165 1.5 christos 2011-11-28 Christos Zoulas <christos (a] zoulas.com> 166 1.5 christos 167 1.5 christos * For nfsl mounts, match against either the short local 168 1.5 christos host name or the fqdn name. 169 1.5 christos 170 1.5 christos 2011-10-06 Christos Zoulas <christos (a] zoulas.com> 171 1.5 christos 172 1.5 christos * Add NFSv4 support (loosely based on Ramya's code). 173 1.5 christos Currently if the NFSv4 mount fails with ENOENT we fail 174 1.5 christos back to NFSv3, unless -DNO_FALLBACK. 175 1.5 christos * Replace strdup with xstrdup. It is not nice to replace 176 1.5 christos system functions with ones that behave differently. 177 1.5 christos * Add various consistency checks (caller function checks 178 1.5 christos variable for NULL, but callee does not). 179 1.5 christos * Fix error handling in various paths. 180 1.5 christos * Don't check before using XFREE(). free(NULL) works. 181 1.5 christos 182 1.5 christos 2011-09-15 Christos Zoulas <christos (a] zoulas.com> 183 1.5 christos 184 1.5 christos * amq -i addition (prints info about the map files) 185 1.5 christos 186 1.5 christos 2011-09-14 Christos Zoulas <christos (a] zoulas.com> 187 1.5 christos 188 1.5 christos * Solaris OS and compiler fixes from: 189 1.5 christos Hofmann, Frank <Frank.Hofmann (a] morganstanley.com> 190 1.5 christos Sayle, Alex <Alex.Sayle (a] morganstanley.com> 191 1.5 christos - (void)&var generates warnings, removed 192 1.5 christos - __inline is invalid, changed with inline 193 1.5 christos - <sys/socket.h> and other headers have extra dependendcies 194 1.5 christos ` 195 1.5 christos 2011-08-11 Christos Zoulas <christos (a] zoulas.com> 196 1.5 christos 197 1.5 christos * fix potential buffer overflow in expand_error() 198 1.5 christos (Richard Kettlewell). Does not seem to be exploitable. 199 1.5 christos 200 1.5 christos * simplify %option parsing to appease ancient flex. 201 1.5 christos 202 1.5 christos 2011-06-21 Christos Zoulas <christos (a] zoulas.com> 203 1.5 christos 204 1.5 christos * add support for linux autofs version 5 (untested) 205 1.5 christos 206 1.5 christos 2011-06-18 Christos Zoulas <christos (a] zoulas.com> 207 1.5 christos 208 1.5 christos * roll back to an older version of libtool that works 209 1.5 christos 210 1.5 christos * newer versions of config.guess and config.sub 211 1.5 christos 212 1.5 christos * minor fixes to buildall 213 1.5 christos 214 1.5 christos 2011-05-19 Christos Zoulas <christos (a] zoulas.com> 215 1.5 christos 216 1.5 christos * m4/macros/libtool.m4: for AIX AC_LANG_PROGRAM is incorrectly 217 1.5 christos used and the latest autoconf gives an error. For now just 218 1.5 christos quote it. 219 1.5 christos 220 1.5 christos * configure.in: Fedora Core 15 and RedHat 6 now don't define 221 1.5 christos af_family_t in <linux/socket.h>, but in <bits/sockaddr.h>. 222 1.5 christos Include <sys/socket.h> so that we get <bits/sockaddr.h> 223 1.5 christos indirectly. This caused the <linux/nfs_mount.h> detection 224 1.5 christos test to fail. 225 1.5 christos 226 1.5 christos 2010-11-24 Erez Zadok <ezk (a] fsl.cs.sunysb.edu> 227 1.5 christos 228 1.5 christos * m4/macros/os_cflags.m4: for linux, define _GNU_SOURCE (to get 229 1.5 christos definitions for O_LARGEFILE and more). 230 1.5 christos 231 1.5 christos 2010-11-20 Christos Zoulas <christos (a] zoulas.com> 232 1.5 christos 233 1.5 christos * Update news items, add release readme, mark as rc1 234 1.5 christos 235 1.5 christos * Fix addopts code to work with options that are key=value 236 1.5 christos when the built-in hasmntopt() code is not used. The problem 237 1.5 christos was that the code passed "key=" to hasmntopt not "key". 238 1.5 christos 239 1.5 christos 2009-12-10 Christos Zoulas <christos (a] zoulas.com> 240 1.5 christos 241 1.5 christos * Copy all fields of the am_opts structure 242 1.5 christos When we introduced am_loc we also added a function to 243 1.5 christos create a duplicate of an am_opts structure. As it turns 244 1.5 christos out, that only made a partial copy of the struct and some 245 1.5 christos fields (e.g. opt_cache) was left blank in the new structure. 246 1.5 christos Unfortunately any code that was checking the options 247 1.5 christos through the mntfs structure was mislead by the partial 248 1.5 christos copy: caching was disabled completely, for example, and 249 1.5 christos since browsing relies on caching being enabled it wasn't 250 1.5 christos working either. 251 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 252 1.5 christos 253 1.5 christos * Initialize RPC authentication flavor to AUTH_UNIX instead 254 1.5 christos of zero. RHEL 5 uses version 6 of the mount_arg structure 255 1.5 christos that includes the desired RPC authorization flavour. 256 1.5 christos Unfortunately amd initializes that value to zero, meaning 257 1.5 christos AUTH_NULL, resulting in all NFS servers denying operations. 258 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 259 1.5 christos 260 1.5 christos * Make sure to remove nodes in the proper order when going 261 1.5 christos down. Depending on what order the nodes got created it's 262 1.5 christos possible that the parent of a node has a bigger am_mapno 263 1.5 christos (index in exported_ap[]) so that it gets freed before 264 1.5 christos its child while the child's am_parent pointer is still 265 1.5 christos pointing to the already freed block of memory. 266 1.5 christos This change makes sure that umount_exported() cleans up 267 1.5 christos all children of a node first before freeing the node. 268 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 269 1.5 christos 270 1.5 christos * Fix Linux-specific stuff in ops_tmpfs.c 271 1.5 christos AUTOFS_TMPFS_FS_FLAGS is defined only in the Linux-specific 272 1.5 christos conf_linux.c file, so it cannot be built on Solaris. 273 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 274 1.5 christos 275 1.5 christos * Add missing parenthesis to fix defined(XXX 276 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 277 1.5 christos 278 1.5 christos * In the previous commit we've already made a change that 279 1.5 christos makes this code unnecessary since the node is returned 280 1.5 christos even if the backing file server is known to be down. 281 1.5 christos Since the code path is unused it should be removed. 282 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 283 1.5 christos 284 1.5 christos * amfs_generic_lookup_child() tries to find an alternate 285 1.5 christos file server if it detects that the current one is down. 286 1.5 christos However, in the comparison used to decide if a possible 287 1.5 christos mount is the same as the current one it compares the am_loc 288 1.5 christos pointers instead of the actual mntfs pointers. Since 289 1.5 christos amfs_lookup_one_location() creates a brand new am_loc 290 1.5 christos structure for the returned mntfs structure the am_loc 291 1.5 christos pointer will be different even if the mntfs it's pointing 292 1.5 christos to is the same. 293 1.5 christos This tricks amfs_generic_lookup_child() think it has 294 1.5 christos found an alternate file server while it hasn't and thus 295 1.5 christos starts multiple racing mounts for the very same node and 296 1.5 christos mntfs. 297 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 298 1.5 christos 299 1.5 christos * In the new am_loc scheme mounted mntfs structures still 300 1.5 christos have their mf_fo structure left intact. So when restart 301 1.5 christos creates a fake mntfs for an already mounted filesystem it 302 1.5 christos should not free mf_fo right away. 303 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 304 1.5 christos 305 1.5 christos * Setting the error flag of the mntfs for which the share 306 1.5 christos is already mounted results in the mount point not being 307 1.5 christos removed when it times out. (Amd considers it an error 308 1.5 christos mntfs and thus umount becomse a no-op.) 309 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 310 1.5 christos 311 1.5 christos * Right now AMD sets all timeout values to their defaults 312 1.5 christos even if you explicitly set them to zero. This patch 313 1.5 christos introduces separate flags that store if the respective 314 1.5 christos values have been set and the code path setting default 315 1.5 christos values checks these flags instead of testing the values 316 1.5 christos for zero. [Linux only] 317 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 318 1.5 christos 319 1.5 christos * Fix mntfs related lookup/(un)mount race conditions, by 320 1.5 christos introducing a new structure linking an mntfs to a node. 321 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 322 1.5 christos 323 1.5 christos * We have to free the buffers allocated by the XDR routines when 324 1.5 christos decoding the mount response after copying them to their final place. 325 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 326 1.5 christos 327 1.5 christos 2009-12-09 Christos Zoulas <christos (a] zoulas.com> 328 1.5 christos 329 1.5 christos * Free continuation in amfs_retry() if we don't call amfs_bgmount() 330 1.5 christos Normally it's amfs_bgmount() which frees the continuation. However, if 331 1.5 christos the mount is already in progress and we're in amfs_retry() for another 332 1.5 christos node we don't try mounting the filesystem once again. Still, we have 333 1.5 christos to free the continuation as we won't get called again and thus would 334 1.5 christos leak the continuation structure and our am_loc references. 335 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 336 1.5 christos 337 1.5 christos * Fix use-after-free and double free of mntfs private data 338 1.5 christos ops_nfs.c(nfs_init) does not clear private data pointer after free(). 339 1.5 christos This leads to use-after-free and double free in case mount() fails. 340 1.5 christos (found by valgrind) 341 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 342 1.5 christos 343 1.5 christos 2009-11-23 Christos Zoulas <christos (a] zoulas.com> 344 1.5 christos 345 1.5 christos * The temporary filename buffer was leaked in lock_mtab(). 346 1.5 christos From: Krisztian Kovacs <Kris.Kovacs (a] morganstanley.com> 347 1.5 christos 348 1.5 christos 2009-10-27 Christos Zoulas <christos (a] zoulas.com> 349 1.5 christos 350 1.5 christos * Deal with errno.h->sys/errno.h better 351 1.5 christos 352 1.5 christos 2009-10-26 Christos Zoulas <christos (a] zoulas.com> 353 1.5 christos 354 1.5 christos * Fix issue with autoconf 2.63 355 1.5 christos 356 1.5 christos * Fix compile warnings for gcc-4.4.x 357 1.5 christos 358 1.5 christos 2009-04-15 Christos Zoulas <christos (a] zoulas.com> 359 1.5 christos 360 1.5 christos * Share the LDAP connection between different maps to save resources 361 1.5 christos on the LDAP server. (Olaf Flebbe <o.flebbe (a] science-computing.de>) 362 1.5 christos 363 1.3 christos 2009-03-20 Christos Zoulas <christos (a] zoulas.com> 364 1.3 christos 365 1.3 christos * Fix largefile re-definitions 366 1.3 christos 367 1.3 christos * Fix compilation error caused in previous patch 368 1.3 christos 369 1.3 christos 2009-02-19 Christos Zoulas <christos (a] zoulas.com> 370 1.3 christos 371 1.3 christos * Add a synchronous unmount amq rpc that will wait for the remote 372 1.3 christos filesystem to be unmounted, or return an error. Enabled by amq -uu 373 1.3 christos 374 1.3 christos 2009-01-11 Erez Zadok <ezk (a] fsl.cs.sunysb.edu> 375 1.3 christos 376 1.3 christos * amd/ops_udf.c: don't define functions/variables which may not be 377 1.3 christos used. 378 1.3 christos 379 1.3 christos * amd/ops_tmpfs.c (mount_tmpfs): force gcc not to complain about 380 1.3 christos unused variables. 381 1.3 christos 382 1.3 christos * config.guess.long: properly support Fedora Core. 383 1.3 christos 384 1.3 christos 2009-01-09 Christos Zoulas <christos (a] zoulas.com> 385 1.3 christos 386 1.3 christos * Fix nfs mounts on linux 2.6.26 by explicitly initializing context. 387 1.3 christos 388 1.3 christos * Treat an empty sublink as an unset sublink; this allows us to 389 1.3 christos say sublink:=; in a spec to override the default. (This produces 390 1.3 christos Bad selector error, but it works. XXX: We need to decide how to 391 1.3 christos unset a selector. I proposed an unset keyword a while ago). 392 1.3 christos 393 1.3 christos 2009-01-06 Christos Zoulas <christos (a] zoulas.com> 394 1.3 christos 395 1.3 christos * re-renerate all generated files with newer versions of the 396 1.3 christos auto-tools. 397 1.3 christos 398 1.3 christos * move INSTALL to INSTALL.am-utils to avoid conflicts 399 1.3 christos 400 1.3 christos * fix incompatibilities with new m4 and new autoconf. 401 1.3 christos 402 1.3 christos * add UDF filesystem support. 403 1.3 christos 404 1.3 christos * fix NetBSD nfs file handle detection. 405 1.3 christos 406 1.2 christos 2009-01-02 Christos Zoulas <christos (a] zoulas.com> 407 1.2 christos 408 1.2 christos * add nocasetrans, nojoliet, rrcaseins for cd9660 filesystems 409 1.2 christos 410 1.3 christos 2008-12-03 Christos Zoulas <christos (a] zoulas.com> 411 1.3 christos 412 1.3 christos * allow ldap queries try a comma-separated list of servers given as: 413 1.3 christos 414 1.3 christos ldap_hostports = host1:port1,host2,host3:port3 415 1.3 christos 416 1.3 christos original patch from Florian Geyer 417 1.3 christos 418 1.3 christos 2008-09-19 Christos Zoulas <christos (a] zoulas.com> 419 1.3 christos 420 1.3 christos * the auth_create gid on NetBSD is int 421 1.3 christos 422 1.3 christos * deal with lossage from flex -P 423 1.3 christos 424 1.3 christos * fix missing/incorrect prototypes 425 1.3 christos 426 1.1 christos 2008-09-17 Christos Zoulas <christos (a] zoulas.com> 427 1.1 christos 428 1.1 christos * fix manual page section issues (sorting, non-existant) 429 1.1 christos 430 1.1 christos * add missing forward declarations 431 1.1 christos 432 1.1 christos * avoid null pointer derefs (coverity) 433 1.1 christos 434 1.1 christos * more portable endian detection support 435 1.1 christos 436 1.1 christos * implement tmpfs support 437 1.1 christos 438 1.1 christos * use sizeof var instead of constant 439 1.1 christos 440 1.1 christos * fix yyerror declaration and definition 441 1.1 christos 442 1.1 christos * fix yy function renaming, and correct some renaming issues. 443 1.1 christos 444 1.1 christos * work around automake < 1.9 issue where ylwrap is not being run 445 1.1 christos for a single yacc or lex file. 446 1.1 christos 447 1.1 christos * NetBSD 448 1.1 christos - handle headers that need other headers to compile 449 1.1 christos - add exfs and tmpfs specific glue 450 1.1 christos - add options log, noatime, nocoredump, nodevmtime, softdep, 451 1.1 christos symperm, union 452 1.1 christos - NetBSD's new mount system call needs the size of the opaque 453 1.1 christos filesystem specific structure, but passing 0 for now works. 454 1.1 christos We would need to change a lot more code to pass the size from 455 1.1 christos the fs-specific calls, so for now punt. 456 1.1 christos - recvfrom takes socklen_t * on NetBSD 457 1.1 christos - handle newer NetBSD using statvfs 458 1.1 christos - NetBSD calls its ufs ffs 459 1.1 christos 460 1.1 christos * Linux 461 1.1 christos - Most recent kernels have trouble with trying to parse the pid 462 1.1 christos hostname and do locking. What before was a silent failure, now 463 1.1 christos there is a warning printed and the mount is rejected. This is 464 1.1 christos the simplest fix: 465 1.1 christos (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479884) 466 1.1 christos 467 1.1 christos 2007-04-13 Erez Zadok <ezk (a] cs.sunysb.edu> 468 1.1 christos 469 1.1 christos * amd/sun_map.c (sun_append_str): When translating '&' from Sun 470 1.1 christos automounter maps, replace it with "${key}" in the Amd map, not 471 1.1 christos with the value of the key at the time. This way '*' maps work 472 1.1 christos too. 473 1.1 christos 474 1.1 christos * config.guess.long: don't use -q option to grep because some 475 1.1 christos systems don't support it. Bug fix for solaris. 476 1.1 christos 477 1.1 christos 2007-03-11 Christos Zoulas <christos (a] zoulas.com> 478 1.1 christos 479 1.1 christos * amd/opts.c (expand_op): Don't call xstrlcpy() to truncate a 480 1.1 christos string. It causes spurious xstrlcpy() syslog() errors. Use 481 1.1 christos memcpy() and explicitly terminate the string. 482 1.1 christos 483 1.1 christos 2007-01-20 Erez Zadok <ezk (a] cs.sunysb.edu> 484 1.1 christos 485 1.1 christos * updated copyright year to 2007 on all files. 486 1.1 christos 487 1.1 christos 2006-12-27 Erez Zadok <ezk (a] cs.sunysb.edu> 488 1.1 christos 489 1.1 christos * minor new port: ia64-hp-hpux11.23 490 1.1 christos 491 1.1 christos * m4/macros/check_libwrap_severity.m4 (LIBS): also test if caller 492 1.1 christos needs to define rfc931_timeout. 493 1.1 christos 494 1.1 christos * amd/sun2amd.c: define rfc931_timeout and allow/deny_severity for 495 1.1 christos libwrap. 496 1.1 christos 497 1.1 christos * amd/amq_svc.c: some versions of libwrap require the caller to 498 1.1 christos define rfc931_timeout in addition to allow/deny_severity. 499 1.1 christos 500 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_init): properly detect when 501 1.1 christos forced unmount functionality exists for all systems. 502 1.1 christos 503 1.1 christos * libamu/mount_fs.c (compute_nfs_args): reset nfs_args_t->pathconf 504 1.1 christos only if field exists. 505 1.1 christos 506 1.1 christos * conf/nfs_prot/nfs_prot_hpux11.h: prevent HPUX 11.23 from 507 1.1 christos including <tiuser> or <sys/tiuser> (TLI definitions are already 508 1.1 christos included from elsewhere). 509 1.1 christos 510 1.1 christos * configure.in: detect nfs_args_t->pathconf field. 511 1.1 christos 512 1.1 christos 2006-11-27 Erez Zadok <ezk (a] cs.sunysb.edu> 513 1.1 christos 514 1.1 christos * doc/Makefile.am: properly publish html files using newer 515 1.1 christos text2html. 516 1.1 christos 517 1.1 christos 2006-11-27 Erez Zadok <ezk (a] shekel.local> 518 1.1 christos 519 1.1 christos * doc/Makefile.am: obfuscate emails in ChangeLog before it is 520 1.1 christos published on web site. 521 1.1 christos 522 1.1 christos * obfuscate many more emails in the distro, esp. of files which get 523 1.1 christos posted on the am-utils web site. 524 1.1 christos 525 1.1 christos 2006-11-26 Erez Zadok <ezk (a] shekel.local> 526 1.1 christos 527 1.1 christos * minor new port: i386-apple-darwin8.8.1. 528 1.1 christos 529 1.1 christos * doc/am-utils.texi: remove obvious URLs used by spammers, and 530 1.1 christos replace them with links to the am-utils web site, which uses PNG 531 1.1 christos images to obfuscate the actual email/mailman URLs. 532 1.1 christos 533 1.1 christos 2006-10-30 Erez Zadok <ezk (a] cs.sunysb.edu> 534 1.1 christos 535 1.1 christos * doc/am-utils.texi (Password maps): minor typo reported by 536 1.1 christos Christoph P. Kukulies. 537 1.1 christos 538 1.1 christos 2006-10-26 Erez Zadok <ezk (a] cs.sunysb.edu> 539 1.1 christos 540 1.1 christos * minor new port: i386-pc-linux-fc6. 541 1.1 christos 542 1.1 christos * m4/macros/linux_headers.m4: handle newer Linux kernels which 543 1.1 christos removed UTS_RELEASE from <linux/version.h>. 544 1.1 christos 545 1.1 christos 2006-10-25 Erez Zadok <ezk (a] cs.sunysb.edu> 546 1.1 christos 547 1.1 christos * minor new ports: i386-pc-linux-centos4.4 and 548 1.1 christos powerpc-apple-darwin8.7.0. 549 1.1 christos 550 1.1 christos * config.guess.long: recognize CentOS Linux. 551 1.1 christos 552 1.1 christos 2006-06-20 Erez Zadok <ezk (a] cs.sunysb.edu> 553 1.1 christos 554 1.1 christos * minor new port: i386-pc-solaris2.11-nexentaos (GNU/OpenSolaris). 555 1.1 christos 556 1.1 christos * config.guess.long: recognize NexentaOS (GNU/OpenSolaris) 557 1.1 christos 558 1.1 christos * config.guess, config.sub: updates from latest official GNU 559 1.1 christos distributions. 560 1.1 christos 561 1.1 christos 2006-05-11 Erez Zadok <ezk (a] cs.sunysb.edu> 562 1.1 christos 563 1.1 christos * Minor new ports: i386-unknown-freebsd6.1 (RELEASE), 564 1.1 christos powerpc-apple-darwin8.6.0, and i386-unknown-openbsd3.9. 565 1.1 christos 566 1.1 christos 2006-05-10 Erez Zadok <ezk (a] cs.sunysb.edu> 567 1.1 christos 568 1.1 christos * libamu/mount_fs.c (compute_nfs_attrcache_flags): fix signedness 569 1.1 christos problems on IRIX-6.5. 570 1.1 christos 571 1.1 christos * conf/autofs/autofs_solaris_v1.c (xdr_umntrequest): fix 572 1.1 christos signedness problems on IRIX-6.5. 573 1.1 christos 574 1.1 christos 2006-05-01 Erez Zadok <ezk (a] cs.sunysb.edu> 575 1.1 christos 576 1.1 christos * configure.in: check if libc already includes dbm functionality 577 1.1 christos (as in FreeBSD 6), then don't bother to check specific libraries 578 1.1 christos such as libdbm, gdbm, etc. 579 1.1 christos 580 1.1 christos 2006-04-21 Erez Zadok <ezk (a] cs.sunysb.edu> 581 1.1 christos 582 1.1 christos * configure.in: detect G/DBM support via gdbm_compat library 583 1.1 christos (Debian 3.1). 584 1.1 christos 585 1.1 christos * minor new port: powerpc-apple-darwin8.5.0 586 1.1 christos 587 1.1 christos 2006-04-20 Erez Zadok <ezk (a] cs.sunysb.edu> 588 1.1 christos 589 1.1 christos * scripts/amd.conf-sample, scripts/amd.conf.5, doc/am-utils.texi, 590 1.1 christos NEWS: document new nfs_allow_any_interface parameter. 591 1.1 christos 592 1.1 christos * include/am_compat.h (INADDR_LOOPBACK): define INADDR_LOOPBACK if 593 1.1 christos not defined, since some systems don't have it. 594 1.1 christos 595 1.1 christos 2006-04-20 Nick Williams <Nick.Williams (a] morganstanley.com> 596 1.1 christos 597 1.1 christos * libamu/wire.c (is_interface_local): new boolena function to 598 1.1 christos determine if address represents any of the local interfaces. 599 1.1 christos (getwire): more properly check if address equals INADDR_LOOPBACK, 600 1.1 christos not if IFF_LOOPBACK is not (the latter isn't as correct). 601 1.1 christos 602 1.1 christos * include/am_utils.h: extern for new is_interface_local() function. 603 1.1 christos 604 1.1 christos * conf/transp/transp_{sockets,tli}.c: don't define INADDR_LOOPBACK 605 1.1 christos here but in am_compat.h 606 1.1 christos 607 1.1 christos * amd/nfs_prot_svc.c (nfs_program_2): if 608 1.1 christos nfs_allow_any_interface=yes, then allow NFS packets from any local 609 1.1 christos interface (not just 127.0.0.1). 610 1.1 christos 611 1.1 christos * amd/conf.c (gopt_nfs_allow_any_interface): implement the new 612 1.1 christos amd.conf parameter nfs_allow_any_interface. 613 1.1 christos 614 1.1 christos * amd/amd.h (CFM_NFS_ANY_INTERFACE): define new global flag when 615 1.1 christos al interfaces are acceptable for local NFS packets. 616 1.1 christos 617 1.1 christos 2006-04-18 Christos Zoulas <christos (a] zoulas.com> 618 1.1 christos 619 1.1 christos * amd/opts.c: Add support for optionally specifying the hostname 620 1.1 christos to match against the netgroup in the netgrp and netgrpd selectors. 621 1.1 christos 622 1.1 christos 2006-04-16 Erez Zadok <ezk (a] cs.sunysb.edu> 623 1.1 christos 624 1.1 christos * libamu/mtab.c (hasmntval): fix inverted meaning of error from 625 1.1 christos hasmntvalerr(). 626 1.1 christos 627 1.1 christos 2006-04-14 Erez Zadok <ezk (a] cs.sunysb.edu> 628 1.1 christos 629 1.1 christos * libamu/mount_fs.c (compute_nfs_attrcache_flags): use new 630 1.1 christos hasmntvalerr() function to set attribute cache values only if they 631 1.1 christos were set (regardless whether they were set to zero or a non-zero 632 1.1 christos value). Before, we were unable to distinguish between an error to 633 1.1 christos parse an option, and a user who actually wanted to set an 634 1.1 christos attribute-cache value to 0. This now fixes an important 635 1.1 christos performance bug that Amd was turning off the attribute caches even 636 1.1 christos for regular (non-automounter) NFS mounts. 637 1.1 christos 638 1.1 christos * libamu/mtab.c (hasmntvalerr): new function to set the value of 639 1.1 christos an option into an integer, but ONLY if that options was set and 640 1.1 christos parsed correctly. This function returns 1 on error, 0 on success 641 1.1 christos (instead of always setting the option value to 0). 642 1.1 christos (hasmntval): wrapper function around hasmntvalerr, which maintains 643 1.1 christos backwards compatibility (always sets option value to 0, even on 644 1.1 christos error to parse the option). 645 1.1 christos 646 1.1 christos * amd/nfs_subr.c (fh_to_mp3): use long int printf format for 647 1.1 christos fhh_pid. 648 1.1 christos 649 1.1 christos 2006-04-05 Christos Zoulas <christos (a] zoulas.com> 650 1.1 christos 651 1.1 christos * amd/amfs_generic.c (amfs_lookup_mntfs): fix use-after-free bug 652 1.1 christos (Coverity). 653 1.1 christos 654 1.1 christos 2006-03-27 Erez Zadok <ezk (a] cs.sunysb.edu> 655 1.1 christos 656 1.1 christos * doc/am-utils.texi, scripts/{amd.conf.5,amd.conf-sample}: 657 1.1 christos document new nfs_retransmit_counter_toplvl and 658 1.1 christos nfs_retry_interval_toplvl global amd.conf parameters. 659 1.1 christos 660 1.1 christos * amd/conf.c (gopt_nfs_retransmit_counter_toplvl, 661 1.1 christos (gopt_nfs_retry_interval_toplvl): parse amd.conf 662 1.1 christos nfs_retransmit_counter_toplvl and nfs_retry_interval_toplvl global 663 1.1 christos parameters. 664 1.1 christos 665 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_mount): support setting toplvl 666 1.1 christos timeo/retrans parameters for Amd's toplvl mounts, separately from 667 1.1 christos all other UDP or NFS mounts. 668 1.1 christos 669 1.1 christos * amd/amd.h: define a new timeo/retrans parameter for toplvl 670 1.1 christos mounts. 671 1.1 christos 672 1.1 christos 2006-03-22 Erez Zadok <ezk (a] cs.sunysb.edu> 673 1.1 christos 674 1.1 christos * minor new port: i386-pc-linux-suse10.1 (beta 8). 675 1.1 christos 676 1.1 christos 2006-03-21 Christos Zoulas <christos (a] zoulas.com> 677 1.1 christos 678 1.1 christos * amd/am_ops.c (merge_opts): Remove useless check found by 679 1.1 christos Coverity; xmalloc never returns NULL. 680 1.1 christos 681 1.1 christos 2006-03-21 Erez Zadok <ezk (a] cs.sunysb.edu> 682 1.1 christos 683 1.1 christos * minor new ports: i386-pc-linux-fc5. 684 1.1 christos 685 1.1 christos * amd/info_ldap.c: as of Linux Fedora Core 5 (which comes with 686 1.1 christos openldap-2.3.9), the ldap.h headers deprecate several functions 687 1.1 christos used in this file, such as ldap_unbind. You get compile errors 688 1.1 christos about missing extern definitions. Those externs are still in 689 1.1 christos <ldap.h>, but surrounded by an ifdef LDAP_DEPRECATED. I am 690 1.1 christos turning on that ifdef at the top of info_ldap.c, under the 691 1.1 christos assumption that the functions may be deprecated, but they still 692 1.1 christos work for this (older?) version of the LDAP API. It gets am-utils 693 1.1 christos to compile, but it is not clear if it will work perfectly. 694 1.1 christos 695 1.1 christos * libamu/xdr_func.c (xdr_am_mountres3_ok), amq/amq_xdr.c 696 1.1 christos (xdr_amq_mount_tree, xdr_amq_mount_tree_p, 697 1.1 christos xdr_amq_mount_info_list, xdr_amq_mount_tree_list), amq/amq.c 698 1.1 christos (show_mti), amd/amq_subr.c (xdr_amq_setopt, xdr_amq_mount_subtree, 699 1.1 christos xdr_amq_mount_tree, xdr_amq_mount_tree_list, xdr_amq_mount_tree), 700 1.1 christos libamu/xdr_func.c (xdr_am_mountres3_ok): use casing magic to stop 701 1.1 christos GCC-4.1 from complaining about "dereferencing type-punned pointer 702 1.1 christos will break strict-aliasing rules" here (but not elsewhere). 703 1.1 christos 704 1.1 christos 2006-03-20 Christos Zoulas <christos (a] zoulas.com> 705 1.1 christos 706 1.1 christos * libamu/wire.c: avoid potential dereferencing of a NULL pointer 707 1.1 christos (Coverity). 708 1.1 christos 709 1.1 christos * hlfsd/homedir.c (delay): remove unnecessary check for NULL 710 1.1 christos pointer (Coverity). 711 1.1 christos 712 1.1 christos * fsinfo/fsi_analyze.c (analyze_dkmounts, analyze_mounts, 713 1.1 christos analyze_mounts): avoid potential dereferencing of a NULL pointer 714 1.1 christos (Coverity). 715 1.1 christos 716 1.1 christos * conf/transp/transp_sockets.c (create_amq_service): avoid 717 1.1 christos potential dereferencing of a NULL pointer (Coverity). 718 1.1 christos 719 1.1 christos * amd/sched.c (sigchld): properly check for the end of the waiting 720 1.1 christos process list (Coverity). 721 1.1 christos 722 1.1 christos * amd/mapc.c (mapc_create): initialize 'modify' to zero (Coverity). 723 1.1 christos 724 1.1 christos * amd/autil.c (amfs_mkcacheref, am_unmounted): avoid potential 725 1.1 christos dereferencing of a NULL pointer (Coverity). 726 1.1 christos 727 1.1 christos * amd/amfs_generic.c (amfs_lookup_mntfs): free def_opts before 728 1.1 christos reusing it (memory leak bug detected by Coverity). 729 1.1 christos (amfs_bgmount): avoid potential dereferencing of a NULL pointer 730 1.1 christos (Coverity). 731 1.1 christos 732 1.1 christos * amd/am_ops.c (merge_opts): no need to check if newstr is NULL 733 1.1 christos (bug detected by Coverity). 734 1.1 christos 735 1.1 christos 2006-03-08 Ion Badulescu <ionut (a] moisil.badula.org> 736 1.1 christos 737 1.1 christos * amd/nfs_subr.c (mp_to_fh): fixed old-style filehandles--the pid 738 1.1 christos comparison was failing. 739 1.1 christos 740 1.1 christos 2006-03-08 Erez Zadok <ezk (a] cs.sunysb.edu> 741 1.1 christos 742 1.1 christos * configure.in: properly test for either <gdbm/ndbm.h> or 743 1.1 christos <gdbm-ndbm.h> (unfortunately, Autoconf will map both names to the 744 1.1 christos same $ac_cv_* variable name). Some systems support one header or 745 1.1 christos another. Patch inspired by work Debian did. 746 1.1 christos 747 1.1 christos 2006-02-16 Daniel P. Ottavio <ottavio (a] vm.fsl.cs.sunysb.edu> 748 1.1 christos 749 1.1 christos * amd/sum_map_tok.l: Fixed a bug in a regular expression that 750 1.1 christos prevented dashes in hostnames. This was posted in BZ by Thomas 751 1.1 christos A. Fine. 752 1.1 christos 753 1.1 christos * README.sun2amd: Fixed a typo. Sentence mentions use of autofs 754 1.1 christos type when it should be host type. 755 1.1 christos 756 1.1 christos 2006-01-04 Erez Zadok <ezk (a] cs.sunysb.edu> 757 1.1 christos 758 1.1 christos * doc/am-utils.texi (auto_attrcache Parameter): revise discussion 759 1.1 christos to mention pros and cons of turning on/off this parameter, 760 1.1 christos including impact on Amd's performance, and ways to improve 761 1.1 christos performance while minimizing the window of vulnerability in which 762 1.1 christos kernel may return the wrong (cached) attributes. 763 1.1 christos 764 1.1 christos 2006-01-02 Erez Zadok <ezk (a] cs.sunysb.edu> 765 1.1 christos 766 1.1 christos * updated copyright year to 2006 on all files. 767 1.1 christos 768 1.1 christos 2005-12-20 Erez Zadok <ezk (a] cs.sunysb.edu> 769 1.1 christos 770 1.1 christos * include/am_utils.h, conf/transp/transp_tli.c (amu_svc_register, 771 1.1 christos register_autofs_service): use a consistent prototype for the 772 1.1 christos dispatch function of the autofs service de/registration functions. 773 1.1 christos 774 1.1 christos 2005-12-03 Erez Zadok <ezk (a] cs.sunysb.edu> 775 1.1 christos 776 1.1 christos * minor new ports: i386-unknown-netbsdelf2.1, 777 1.1 christos i386-unknown-netbsdelf3.0 (RELEASE), and i386-unknown-openbsd3.8. 778 1.1 christos 779 1.1 christos 2005-12-02 Erez Zadok <ezk (a] cs.sunysb.edu> 780 1.1 christos 781 1.1 christos * m4/macros/check_field.m4: remove double inclusion of msdosfs 782 1.1 christos headers, which are included in mount_header1.h (netbsd 2.1 doesn't 783 1.1 christos protect <msdosfs/msdosfsmount.h> which causes compile errors). 784 1.1 christos 785 1.1 christos 2005-11-08 Erez Zadok <ezk (a] cs.sunysb.edu> 786 1.1 christos 787 1.1 christos * minor new port: i386-unknown-freebsd6.0 (RELEASE) 788 1.1 christos 789 1.1 christos 2005-10-26 Erez Zadok <ezk (a] cs.sunysb.edu> 790 1.1 christos 791 1.1 christos * amd/amq_subr.c (amqproc_pawd_1_svc): repeatedly resolve path in 792 1.1 christos Amd, not in pawd (to avoid repeated network RPCs). 793 1.1 christos 794 1.1 christos * amq/pawd.c (transform_dir): move repeated path resolution into Amd. 795 1.1 christos 796 1.1 christos 2005-10-25 Erez Zadok <ezk (a] cs.sunysb.edu> 797 1.1 christos 798 1.1 christos * amq/pawd.c (transform_dir): resolve path repeatedly until 799 1.1 christos finished. Bug fix from Jonathan Chen <jon+amd-at-spock.org>. 800 1.1 christos Added safety check to prevent infinite loops. 801 1.1 christos 802 1.1 christos 2005-10-19 Erez Zadok <ezk (a] cs.sunysb.edu> 803 1.1 christos 804 1.1 christos * doc/am-utils.texi (opts Option): document new pcfs options 805 1.1 christos longname, nowin95, shortname, user=N, group=N, mask=N, and 806 1.1 christos dirmask=N. 807 1.1 christos 808 1.1 christos * amd/ops_pcfs.c (mount_pcfs): process new pcfs options longname, 809 1.1 christos nowin95, shortname, user=N, group=N, mask=N, and dirmask=N. 810 1.1 christos 811 1.1 christos * include/am_compat.h: provide compatibility mnttab string names, 812 1.1 christos if needed, for pcfs mount options longname, nowin95, shortname, 813 1.1 christos user=N, group=N, mask=N, and dirmask=N. 814 1.1 christos 815 1.1 christos * include/am_utils.h: extern for hasmntstr(). 816 1.1 christos 817 1.1 christos * libamu/mtab.c (hasmntstr): new function to return the string 818 1.1 christos value following a mount option, up to the next comma-delimited 819 1.1 christos options. 820 1.1 christos 821 1.1 christos * configure.in: check for mnttab and pcfs options longname, 822 1.1 christos nowin95, and shortname. 823 1.1 christos 824 1.1 christos * Makefile.am (EXTRA_DIST_M4): distribute new macro 825 1.1 christos check_mnt2_pcfs_opt.m4. 826 1.1 christos 827 1.1 christos * m4/macros/check_mnt2_pcfs_opt.m4: new macro to check for pcfs 828 1.1 christos mnttab and mount options. 829 1.1 christos 830 1.1 christos 2005-10-18 Erez Zadok <ezk (a] cs.sunysb.edu> 831 1.1 christos 832 1.1 christos * libamu/mount_fs.c (print_nfs_args): print nfs_args->addr 833 1.1 christos correctly, depending if it's a pointer or not. 834 1.1 christos 835 1.1 christos * conf/sa_dref/sa_dref_*.h: for each NFS_SA_DREF macro, also 836 1.1 christos #define NFS_ARGS_T_ADDR_IS_POINTER if nfs_args->addr is a pointer 837 1.1 christos or an embedded structure, so we can tell how to print it. 838 1.1 christos 839 1.1 christos * libamu/mount_fs.c (print_nfs_args): print nfs_args->addrlen 840 1.1 christos field, if it exists. 841 1.1 christos 842 1.1 christos * configure.in: check for nfs_args->addrlen field. 843 1.1 christos 844 1.1 christos * wire-test/wire-test.c (main), libamu/mount_fs.c 845 1.1 christos (print_nfs_args), fixmount/fixmount.c (inetresport, 846 1.1 christos clnt_create_timeout), amq/pawd.c (transform_dir), amq/amq.c 847 1.1 christos (main), amd/srvr_nfs.c (find_nfs_srvr), amd/autil.c 848 1.1 christos (amfs_mount): document that as per POSIX, we don't need to set the 849 1.1 christos sa_len/sin_len fields in struct sockaddr/sockaddr_in. The field 850 1.1 christos is used only internally in the kernel. See 851 1.1 christos www.awprofessional.com/articles/article.asp?p=169505&seqNum=2&rl=1 852 1.1 christos 853 1.1 christos * fixmount/fixmount.c (inetresport): initialize sockaddr_in 854 1.1 christos structure before filling in some fields. 855 1.1 christos 856 1.1 christos 2005-10-11 Erez Zadok <ezk (a] cs.sunysb.edu> 857 1.1 christos 858 1.1 christos * doc/am-utils.texi (nfs_vers, nfs_proto parameters): clarify and 859 1.1 christos correct mistaken description of nfs_proto. 860 1.1 christos 861 1.1 christos 2005-10-10 Erez Zadok <ezk (a] cs.sunysb.edu> 862 1.1 christos 863 1.1 christos ******************************************************************* 864 1.1 christos *** Released am-utils-6.1a1 *** 865 1.1 christos ******************************************************************* 866 1.1 christos 867 1.1 christos * README.sun2amd: revised. 868 1.1 christos 869 1.1 christos 2005-10-09 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 870 1.1 christos 871 1.1 christos * amd/info_nis.c (nis_search): Bug fix for bugzilla #428; make 872 1.1 christos sure that sun_entry2amd() is not called when yp_match() returns an 873 1.1 christos error, this is done by checking that 'res' is 0. Bug fix (same 874 1.1 christos BZ#); free the output allocated by yp_match() instead of freeing 875 1.1 christos the return value of sun_entry2amd(). 876 1.1 christos 877 1.1 christos * amd/sun_map.c (sun_entry2amd): Fix a comment. 878 1.1 christos 879 1.1 christos * README.sun2amd: Made a first pass at describing the status of 880 1.1 christos the sun2amd feature. 881 1.1 christos Moved the date. 882 1.1 christos 883 1.1 christos 2005-10-09 Erez Zadok <ezk (a] cs.sunysb.edu> 884 1.1 christos 885 1.1 christos * README.sun2amd: place holder. 886 1.1 christos 887 1.1 christos * Makefile.am (EXTRA_DIST): distribute new README.sun2amd file. 888 1.1 christos 889 1.1 christos 2005-10-07 Erez Zadok <ezk (a] cs.sunysb.edu> 890 1.1 christos 891 1.1 christos * m4/macros/check_mnttab_type.m4: move the test for MOUNT_* to the 892 1.1 christos very end, after the test using getvfsbyname(). 893 1.1 christos 894 1.1 christos * m4/macros/expand_run_string.m4: if the string value returned is 895 1.1 christos empty, consider it invalid. 896 1.1 christos 897 1.1 christos * m4/macros/check_varargs_macros.m4: rewrite macro so it'll 898 1.1 christos try and compile the varargs test, not just cpp it. Some systems 899 1.1 christos pass the old cpp test, but not when you actually try to compile 900 1.1 christos the code (Tru64's cc). 901 1.1 christos 902 1.1 christos * conf/autofs/autofs_solaris_v1.h: redefine 903 1.1 christos autofs_strdup_space_hack as a macro to str3cat(NULL,(s)," ",""). 904 1.1 christos This works everywhere and we avoid linking problems, inline 905 1.1 christos functions, etc. 906 1.1 christos 907 1.1 christos * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): remove 908 1.1 christos autofs_strdup_space_hack() function altogether. 909 1.1 christos 910 1.1 christos * m4/macros/os_cflags.m4: remove hack that hardcodes pte_t=u_int. 911 1.1 christos 912 1.1 christos * configure.in: test for <sys/immu.h> header. 913 1.1 christos Test for pte_t, but only on IRIX6 systems. 914 1.1 christos 915 1.1 christos * Makefile.am (EXTRA_DIST_M4): distribute new type_pte_t.m4 file. 916 1.1 christos 917 1.1 christos * m4/macros/type_pte_t.m4: new test for existence of pte_t 918 1.1 christos typedef, needed on some IRIX-6.5/gcc systems. 919 1.1 christos 920 1.1 christos * m4/macros/header_templates.m4: add missing templates for 921 1.1 christos HAVE_EXTERN_GETDTABLESIZE, HAVE_EXTERN_GETWD, and 922 1.1 christos HAVE_EXTERN_UALARM. 923 1.1 christos 924 1.1 christos * amd/info_exec.c (exec_map_open): break assignment from inside 925 1.1 christos conditional, to work around an IRIX-6.5 cc bug. 926 1.1 christos 927 1.1 christos * amd/Makefile.am (amd_LDADD, sun2amd_LDADD): put libaminfo.a 928 1.1 christos before libamu.la. Some linkers (e.g., IRIX-6.5) incorrectly 929 1.1 christos complain about undefined symbols. 930 1.1 christos 931 1.1 christos * fsinfo/fsi_util.c (set_ether_if), amd/map.c (unmount_mp), 932 1.1 christos libamu/xutil.c (expand_error), libamu/strutil.c (xsnprintf): avoid 933 1.1 christos comparison between signed and unsigned integers. 934 1.1 christos 935 1.1 christos * conf/autofs/autofs_solaris_v1.h, conf/autofs/autofs_solaris_v1.c 936 1.1 christos (autofs_strdup_space_hack): move "space_hack" function from static 937 1.1 christos inline in header, into the only source file that needs it. This 938 1.1 christos is cleaner and also prevents linking problem with some compilers 939 1.1 christos that won't apply CPP macros inside static inline functions (for 940 1.1 christos the strl* functions). 941 1.1 christos 942 1.1 christos * amq/pawd.c (find_mt, find_mlp): remove obsolete, inefficient 943 1.1 christos code. 944 1.1 christos (transform_dir): call the new, efficient amqproc_pawd_1() routine. 945 1.1 christos 946 1.1 christos * amq/amq_clnt.c (amqproc_pawd_1): AMQPROC_PAWD wrapper routine. 947 1.1 christos 948 1.1 christos * amq/amq.h (amqproc_pawd_1): extern for amq's AMQPROC_PAWD 949 1.1 christos wrapper routine. 950 1.1 christos 951 1.1 christos * amd/amq_svc.c (amq_program_1): dispatch point for 952 1.1 christos amqproc_pawd_1_svc. 953 1.1 christos 954 1.1 christos * amd/amq_subr.c (amqproc_pawd_1_svc): moved pawd's path-matching 955 1.1 christos functionality into Amd, where it can be done a lot more 956 1.1 christos efficiently. We don't have to construct and ship a whole export 957 1.1 christos tree from Amd to pawd. We just get a variable-length 958 1.1 christos xdr_wrapstring for the user's path, iterate over the entire export 959 1.1 christos list inside Amd, and return only a matched string if found 960 1.1 christos (otherwise we return "" to indicate that there was no match, and 961 1.1 christos let pawd printf the same string it sent over). 962 1.1 christos 963 1.1 christos * amd/amd.h: extern for amqproc_pawd_1_svc, amd's service routine 964 1.1 christos the AMQPROC_PAWD RPC. 965 1.1 christos 966 1.1 christos 2005-10-06 Erez Zadok <ezk (a] cs.sunysb.edu> 967 1.1 christos 968 1.1 christos * ltmain.sh, m4/macros/libtool.m4: update to libtool-1.5.20. 969 1.1 christos Fixes Tru64 bugs when using ksh. 970 1.1 christos 971 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_mount): break complex ifdef macro 972 1.1 christos into two sections, to workaround a C99 varargs-macro bug in 973 1.1 christos gcc-3.2.2 (RH9). 974 1.1 christos 975 1.1 christos * libamu/wire.c (print_wires): convert argument-less xsnprintf to 976 1.1 christos xstrlcpy. 977 1.1 christos 978 1.1 christos * include/am_utils.h: use new HAVE_C99_VARARGS_MACROS or 979 1.1 christos HAVE_GCC_VARARGS_MACROS to pass file name and line number to 980 1.1 christos xsnprintf/xvsnprintf. 981 1.1 christos 982 1.1 christos * libamu/strutil.c (xsnprintf, xvsnprintf): if debugging is on, 983 1.1 christos then also print the source file name and line number that called 984 1.1 christos xsnprintf/xvsnprintf with a buffer that wasn't large enough (most 985 1.1 christos likely an am-utils bug). 986 1.1 christos 987 1.1 christos * Makefile.am (EXTRA_DIST_M4): distribute new 988 1.1 christos check_varargs_macros.m4 file. 989 1.1 christos 990 1.1 christos * configure.in: execute new AMU_VARARGS_MACROS test. 991 1.1 christos 992 1.1 christos * m4/macros/check_varargs_macros.m4: new test to check what style 993 1.1 christos of variable-length argument macros, if any, does the 994 1.1 christos compiler/pre-processor supports. 995 1.1 christos 996 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_lookup_2_req) 997 1.1 christos conf/autofs/autofs_solaris_v1.c (autofs_mount_1_req), amd/opts.c, 998 1.1 christos amd/nfs_subr.c (nfsproc_lookup_2_svc), amd/nfs_start.c 999 1.1 christos (mount_automounter), amd/get_args.c (get_args), amd/amfs_toplvl.c, 1000 1.1 christos amd/amfs_auto.c (amfs_auto_mount), amd/amd.h, amd/amd.c (main): 1001 1.1 christos use sizeof() instead of fixed SIZEOF_* macros. 1002 1.1 christos 1003 1.1 christos * libamu/strutil.c (xstrlcat, xstrlcpy), include/am_utils.h 1004 1.1 christos (DEBUG): if debugging is on, then also print the source file name 1005 1.1 christos and line number that called xstrl* with a buffer that wasn't large 1006 1.1 christos enough (most likely an am-utils bug) 1007 1.1 christos 1008 1.1 christos * include/am_compat.h (INADDR_NONE): define in a common location, 1009 1.1 christos if OS doesn't have it, use 0xffffffffU which should work with any 1010 1.1 christos ANSI compiler. 1011 1.1 christos 1012 1.1 christos * fixmount/fixmount.c, libamu/wire.c: remove local definition of 1013 1.1 christos INADDR_NONE. 1014 1.1 christos 1015 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_mount), amd/amfs_auto.c 1016 1.1 christos (amfs_auto_mount): use common SIZEOF_OPTS in definition and call 1017 1.1 christos to autofs_get_opts. 1018 1.1 christos 1019 1.1 christos * amd/amd.h (SIZEOF_OPTS): moved #define to common header. 1020 1.1 christos 1021 1.1 christos 2005-10-06 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 1022 1.1 christos 1023 1.1 christos * amd/opts.c (expand_op): Need to check BUFSPACE for env for 1024 1.1 christos vlen+1. Likewise for cp and strlen(cp)+1. 1025 1.1 christos 1026 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_mount) [HAVE_FS_AUTOFS]: Pass new 1027 1.1 christos size argument to autofs_get_opts. 1028 1.1 christos 1029 1.1 christos 2005-10-05 Erez Zadok <ezk (a] cs.sunysb.edu> 1030 1.1 christos 1031 1.1 christos * amq/pawd.c (transform_dir): was using UDP only. Now will also 1032 1.1 christos try TCP if UDP failed. Destroy client after use to avoid leftover 1033 1.1 christos TCP sockets in the kernel. 1034 1.1 christos 1035 1.1 christos * libamu/hasmntopt.c (amu_hasmntopt): increase size of MNTMAXSTR 1036 1.1 christos from 128 to to 256, because some users have really long option 1037 1.1 christos strings. Suggestion from jon+amd-at-spock.org. 1038 1.1 christos 1039 1.1 christos * amd/opts.c (expand_op): should check BUFSPACE for vlen+1, not 1040 1.1 christos just vlen. Bug discovered when started using xstrlcpy(). 1041 1.1 christos 1042 1.1 christos * ALL: convert from using strcat to the safer xstrlcat, and from 1043 1.1 christos strcpy to safer xstrlcpy. 1044 1.1 christos 1045 1.1 christos 2005-10-04 Erez Zadok <ezk (a] cs.sunysb.edu> 1046 1.1 christos 1047 1.1 christos * hlfsd/hlfsd.h: remove old fatalerror() and ERRM macros. 1048 1.1 christos 1049 1.1 christos * hlfsd/hlfsd.c (fatalerror): new function instead of macro. 1050 1.1 christos Easier to use xstrlcat in this new function. 1051 1.1 christos 1052 1.1 christos * amd/amd.h, include/am_utils.h, amd/amd.c: moved 'hostd' extern 1053 1.1 christos from am_utils.h to amd.h, and define its size as a macro that 1054 1.1 christos could be passed to xstrl*(). 1055 1.1 christos 1056 1.1 christos * ALL: convert from using sprintf to the safer xsnprintf. 1057 1.1 christos 1058 1.1 christos * mk-amd-map/Makefile.am (LDADD): link with libamu to get 1059 1.1 christos xsnprintf(). 1060 1.1 christos 1061 1.1 christos * amd/amd.h, amd/amd.c, include/am_utils.h: moved pid_fsname 1062 1.1 christos extern from am_utils.h to amd.h, and define its size as a macro 1063 1.1 christos that could be passed to xsnprintf(). 1064 1.1 christos 1065 1.1 christos 2005-10-02 Erez Zadok <ezk (a] cs.sunysb.edu> 1066 1.1 christos 1067 1.1 christos * libamu/Makefile.am: use strutil.c, not util.c. 1068 1.1 christos 1069 1.1 christos * libamu/strutil.c: rename from util.c to explain better purpose 1070 1.1 christos of file. Move xvsnprintf and xsnprintf from xutil.c to this file. 1071 1.1 christos 1072 1.1 christos * libamu/xutil.c: explain purpose of file. Move mkdirs/rmdirs 1073 1.1 christos code from old util.c. 1074 1.1 christos 1075 1.1 christos 2005-10-01 Erez Zadok <ezk (a] cs.sunysb.edu> 1076 1.1 christos 1077 1.1 christos * m4/macros/header_templates.m4: templates for FFS. 1078 1.1 christos 1079 1.1 christos * m4/macros/check_mnttab_type.m4: on BSD44 systems, check for file 1080 1.1 christos system mount table name via the MOUNT_* mount(2) macros (because 1081 1.1 christos BSD44 keeps the mount table in the kernel). 1082 1.1 christos 1083 1.1 christos * configure.in: synchronise order of searching for mnttab entries 1084 1.1 christos and mount names. The new order is "ext3 ext2 ffs ufs 4.2 4.3 4.4 1085 1.1 christos efs xfs jfs ultrix" (which would prefer ffs on BSD44 instead of 1086 1.1 christos ufs, and ext3 instead of ext2 on Linux). 1087 1.1 christos 1088 1.1 christos * include/am_defs.h: include <sys/statvfs.h> if it exists. 1089 1.1 christos 1090 1.1 christos * conf/nfs_prot/nfs_prot_netbsd1_4.h: NetBSD 3 has both statfs() 1091 1.1 christos and statvfs(), but the latter is preferred, so #define to use 1092 1.1 christos statvfs. 1093 1.1 christos 1094 1.1 christos * configure.in: check for statfs(), statvfs(), and 1095 1.1 christos <sys/statvfs.h>. 1096 1.1 christos 1097 1.1 christos * config.guess.long: strip trailing '.' on "netbsdelf3.0." 1098 1.1 christos (Beta). Workaround for bug in config.guess. 1099 1.1 christos 1100 1.1 christos * config.{guess,sub}: update to latest versions. 1101 1.1 christos 1102 1.1 christos 2005-09-30 Christos Zoulas <christos (a] zoulas.com> 1103 1.1 christos 1104 1.1 christos * fsinfo/fsi_util.c (set_ether_if): use INADDR_NONE instead of 1105 1.1 christos hard-coded value of -1. 1106 1.1 christos 1107 1.1 christos * include/amq_defs.h (AMQ_STRLEN): increase default size from 2KB 1108 1.1 christos to 16KB. We can afford it these days. 1109 1.1 christos 1110 1.1 christos * libamu/strcasecmp.c (strcasecmp): use unsigned chars in 1111 1.1 christos tolower() to avoid sign/size promotion bugs. 1112 1.1 christos 1113 1.1 christos * libamu/xutil.c (switch_to_logfile): don't output to LOG_CONS by 1114 1.1 christos default (it's unfriendly). If user really wants to, they can set 1115 1.1 christos it in /etc/syslog.conf. 1116 1.1 christos 1117 1.1 christos 2005-09-29 Erez Zadok <ezk (a] cs.sunysb.edu> 1118 1.1 christos 1119 1.1 christos * amq/pawd.c (find_mt): if the auto mount type is used, pawd could 1120 1.1 christos go into an infinite loop since the mt_directory and mt_mountpoint 1121 1.1 christos fields are the same for auto mounts. Solution: ignore type auto 1122 1.1 christos mounts, similar to toplvl. Bug fix from Jonathan Chen 1123 1.1 christos <jon+amd (a] spock.org>. 1124 1.1 christos 1125 1.1 christos * README.attrcache: document test-attrcache script. 1126 1.1 christos 1127 1.1 christos * scripts/Makefile.am (noinst_SCRIPTS): build test-attrcache 1128 1.1 christos script. 1129 1.1 christos 1130 1.1 christos * configure.in: build scripts/test-attrcache script and chmod it 1131 1.1 christos so it can be executed in place. 1132 1.1 christos 1133 1.1 christos * scripts/test-attrcache.in: script to test the NFS attribute 1134 1.1 christos cache using Amd. 1135 1.1 christos 1136 1.1 christos 2005-09-26 Erez Zadok <ezk (a] cs.sunysb.edu> 1137 1.1 christos 1138 1.1 christos * hlfsd/stubs.c (nfsproc_getattr_2_svc, nfsproc_lookup_2_svc, 1139 1.1 christos nfsproc_readlink_2_svc, nfsproc_readdir_2_svc), hlfsd/hlfsd.c 1140 1.1 christos (hlfsd_init): use new clocktime() function. 1141 1.1 christos 1142 1.1 christos 2005-09-18 Erez Zadok <ezk (a] cs.sunysb.edu> 1143 1.1 christos 1144 1.1 christos * README.attrcache: document netbsd's patchs to support noac. 1145 1.1 christos 1146 1.1 christos * libamu/mount_fs.c (compute_nfs_attrcache_flags): cleanup the 1147 1.1 christos code that sets the ac{reg,dir}{min,max} fields so it also sets the 1148 1.1 christos appropriate nfs_args->flags such as MNT2_NFS_OPT_ACREGMIN. 1149 1.1 christos 1150 1.1 christos * configure.in: check for nfs_args fields acregmax and acdirmax. 1151 1.1 christos 1152 1.1 christos * README.attrcache: new file documenting in detail OS bugs 1153 1.1 christos relating to attribute caching, which can affect Amd's reliability 1154 1.1 christos under heavy load. 1155 1.1 christos Update status of freebsd and openbsd. 1156 1.1 christos 1157 1.1 christos * doc/Makefile.am: install README.attrcache file as attrache.txt 1158 1.1 christos file on am-utils Web site. 1159 1.1 christos 1160 1.1 christos * Makefile.am (EXTRA_DIST): include README.attrcache in distro. 1161 1.1 christos 1162 1.1 christos * BUGS, NEWS, doc/am-utils.texi (auto_attrcache Parameter), 1163 1.1 christos scripts/amd.conf.5, scripts/amd.conf-sample: document attribute 1164 1.1 christos cache bugs on some OSs. 1165 1.1 christos 1166 1.1 christos 2005-09-17 Erez Zadok <ezk (a] cs.sunysb.edu> 1167 1.1 christos 1168 1.1 christos * libamu/xutil.c (clocktime): newly implemented routine. Uses 1169 1.1 christos gettimeofday() each time to return a high-resolution clock time, 1170 1.1 christos and does not "cache" the last time. Returns time in seconds, just 1171 1.1 christos like the old implementation. If passed a non-null argument, will 1172 1.1 christos fill it in with the current time in seconds+microseconds. 1173 1.1 christos 1174 1.1 christos * libamu/xutil.c: remove actual declaration of clock_valid, and 1175 1.1 christos another never-used declaration for xclock_valid. 1176 1.1 christos 1177 1.1 christos * include/am_utils.h: remove defunct definition of clocktime() 1178 1.1 christos macro and clock_valid variable. Add extern for new definition. 1179 1.1 christos 1180 1.1 christos * libamu/mount_fs.c (mount_fs), hlfsd/homedir.c (homedir, 1181 1.1 christos hlfsd_diskspace, hlfsd_getpwent, plt_reset, table_add), 1182 1.1 christos hlfsd/hlfsd.c (main, hlfsd_init, reload, cleanup), 1183 1.1 christos conf/mtab/mtab_mach3.c (open_locked_mtab), conf/mtab/mtab_file.c 1184 1.1 christos (open_locked_mtab), amd/nfs_start.c (do_select, run_rpc), 1185 1.1 christos amd/autil.c (host_normalize): remove defunct clock_valid. 1186 1.1 christos 1187 1.1 christos * amd/nfs_subr.c (nfsproc_getattr_2_svc): Print microseconds for 1188 1.1 christos node's mtime. 1189 1.1 christos (fh_to_mp3): use new clocktime() to update mtime and get a better 1190 1.1 christos time resolution. 1191 1.1 christos 1192 1.1 christos * amd/mapc.c (mapc_reload_map): change prototype from returning 1193 1.1 christos void to returning an int. If reloading was needed and succeeded, 1194 1.1 christos return 1; else return 0. 1195 1.1 christos (mapc_sync): update mtime of parent node if needed. This is a 1196 1.1 christos CRITICAL FIX, to ensure that the kernel flushes its DNLC/dcache 1197 1.1 christos when we run "amq -f" manually or when a map is reloaded. 1198 1.1 christos 1199 1.1 christos * amd/map.c (new_ttl): update am_ttl and na_atime in one shot. 1200 1.1 christos (init_map): use new clocktime(). 1201 1.1 christos (unmount_mp): if the OS doesn't support a "symttl" option, then 1202 1.1 christos update the mtime of the parent node using the clocktime(); but if 1203 1.1 christos the time hasn't gotten changed because of rapid Amd accesses on 1204 1.1 christos systems that don't have a micro-second NFS-client resolution, then 1205 1.1 christos increment mtime by one arbitrarily (this could, on some systems 1206 1.1 christos and under pathological cases, result in mtime's that are in the 1207 1.1 christos future). 1208 1.1 christos 1209 1.1 christos * amd/autil.c (forcibly_timeout_mp): MAJOR BUG FIX: force mtime 1210 1.1 christos update of parent dir, to prevent DNLC/dcache from caching the old 1211 1.1 christos entry, which could result in ESTALE errors, bad symlinks, and 1212 1.1 christos more. 1213 1.1 christos (am_mounted): record mount time, and update am_stats at the same 1214 1.1 christos time, using the double-action redone clocktime() routine. 1215 1.1 christos (am_mounted): update parent's mtime from that of the child. 1216 1.1 christos (am_unmounted): when unmounting an entry, update mtime of parent 1217 1.1 christos node. 1218 1.1 christos 1219 1.1 christos * amd/amfs_generic.c (amfs_bgmount): now that clocktime() doesn't 1220 1.1 christos remember it's last non-zero value, save it in a temporary variable 1221 1.1 christos to avoid a TOCTOU problem (between an "if" and a "dlog"). 1222 1.1 christos 1223 1.1 christos * libamu/xutil.c (show_time_host_and_name), 1224 1.1 christos conf/autofs/autofs_linux.c (autofs_mounted, autofs_timeout_mp), 1225 1.1 christos amd/srvr_nfs.c (nfs_keepalive_callback, nfs_keepalive_timeout) 1226 1.1 christos (find_nfs_srvr), amd/rpc_fwd.c (fwd_alloc), amd/nfs_subr.c 1227 1.1 christos (nfsproc_getattr_2_svc), amd/nfs_start.c (do_select, run_rpc), 1228 1.1 christos amd/mapc.c (root_init), amd/map.c(map_flush_srvr, timeout_mp), 1229 1.1 christos amd/info_ndbm.c (ndbm_init), amd/info_ldap.c (amu_ldap_rebind), 1230 1.1 christos amd/info_file.c (file_open), amd/info_exec.c (fgets_timed, 1231 1.1 christos exec_search), amd/clock.c (timeout, softclock), amd/autil.c 1232 1.1 christos (forcibly_timeout_mp), amd/amfs_generic.c (amfs_retry, 1233 1.1 christos amfs_bgmount, amfs_generic_mount_child), amd/amd.c (main): pass 1234 1.1 christos NULL to clocktime(). 1235 1.1 christos 1236 1.1 christos 2005-09-15 Erez Zadok <ezk (a] cs.sunysb.edu> 1237 1.1 christos 1238 1.1 christos * amd/nfs_subr.c (nfsproc_getattr_2_svc): initialize 'retry', just 1239 1.1 christos in case. 1240 1.1 christos (fh_to_mp3): increment amd_stats.d_stale counter only if we are 1241 1.1 christos actually returning ESTALE. 1242 1.1 christos 1243 1.1 christos * amd/info_exec.c (exec_parse_qanswer), amd/info_file.c 1244 1.1 christos (file_search_or_reload), amd/info_hesiod.c (hesiod_search), 1245 1.1 christos amd/info_ldap.c (amu_ldap_search), amd/info_ndbm.c (search_ndbm), 1246 1.1 christos amd/info_nis.c (nis_search), amd/info_nisplus.c (nisplus_search, 1247 1.1 christos nisplus_search): don't dereference mnt_map->cfm which may be null 1248 1.1 christos if we're not using an amd.conf file. 1249 1.1 christos 1250 1.1 christos 2005-09-14 Erez Zadok <ezk (a] cs.sunysb.edu> 1251 1.1 christos 1252 1.1 christos * libamu/xutil.c (unregister_amq): if failed to de-register Amd 1253 1.1 christos from portmapper, report it under dlog (debugging), not as an 1254 1.1 christos annoying plog that always shows up. 1255 1.1 christos 1256 1.1 christos 2005-09-13 Erez Zadok <ezk (a] cs.sunysb.edu> 1257 1.1 christos 1258 1.1 christos * mk-amd-map/mk-amd-map.c (read_file_file), libamu/util.c 1259 1.1 christos (strsplit), libamu/hasmntopt.c (nextmntopt), amd/sun_map.c 1260 1.1 christos (sun_entry2amd), amd/sun2amd.c (sun2amd_convert_convert), 1261 1.1 christos amd/mapc.c (mapc_add_kv), amd/info_file.c (file_search_or_reload), 1262 1.1 christos amd/info_exec.c (exec_parse_qanswer): cast isspace() and isascii() 1263 1.1 christos arg to unsigned char, which is safer as per Christos. 1264 1.1 christos 1265 1.1 christos * amd/sun_map.c (sun_entry2amd): isspace takes an int, not a char. 1266 1.1 christos 1267 1.1 christos * configure.in: keep a dummy unused AM_PROG_LEX, because old 1268 1.1 christos Automake (1.6.3) looks for it if you refer to LEX in your 1269 1.1 christos Makefile.am files. Silly thing, fixed in newer versions of 1270 1.1 christos Automake (1.9.2). 1271 1.1 christos 1272 1.1 christos 2005-09-11 Erez Zadok <ezk (a] cs.sunysb.edu> 1273 1.1 christos 1274 1.1 christos * Makefile.am (EXTRA_DIST_M4): add prog_{lex,yacc}.m4 to distro. 1275 1.1 christos 1276 1.1 christos * configure.in: use new macros AMU_PROG_YACC and AMU_PROG_LEX. 1277 1.1 christos 1278 1.1 christos * m4/macros/prog_yacc.m4: new macro to check if bison/yacc/byacc 1279 1.1 christos exist, but exist with an error if none found. 1280 1.1 christos 1281 1.1 christos * m4/macros/prog_lex.m4: new macro to check if f/lex exist, but 1282 1.1 christos exit with an error if not found (am-utils requires f/lex). 1283 1.1 christos 1284 1.1 christos 2005-09-07 Erez Zadok <ezk (a] cs.sunysb.edu> 1285 1.1 christos 1286 1.1 christos * minor new port: powerpc-apple-darwin8.2.0. 1287 1.1 christos 1288 1.1 christos * m4/macros/type_auth_create_gidlist.m4: Old macosx used "gid_t" 1289 1.1 christos but all newer ones (10.4+) use int. 1290 1.1 christos 1291 1.1 christos * m4/macros/type_recvfrom_fromlen.m4: Old macosx used "int" for 1292 1.1 christos 6th arg of recvfrom(), but all newer ones (10.4+) use socklen_t. 1293 1.1 christos 1294 1.1 christos * minor new port: i386-pc-linux-deb3.1. 1295 1.1 christos 1296 1.1 christos 2005-09-02 Erez Zadok <ezk (a] cs.sunysb.edu> 1297 1.1 christos 1298 1.1 christos * conf/mount/mount_linux.c: If autoconf didn't find any disk-based 1299 1.1 christos file system on this system (probably because /proc isn't mounted), 1300 1.1 christos then provide some default definition for this file to compile. 1301 1.1 christos 1302 1.1 christos 2005-08-28 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 1303 1.1 christos 1304 1.1 christos * amd/sun_map.c (sun_entry2amd) : Wipe out any trailing white 1305 1.1 christos spaces or '\n' before passing strings to the parser. 1306 1.1 christos 1307 1.1 christos * amd/amd.h : oops, reverting bad changes 1308 1.1 christos 1309 1.1 christos * amd/info_file.c : oops, reverting bad changes 1310 1.1 christos 1311 1.1 christos * amd/mapc.c : oops, reverting bad changes 1312 1.1 christos 1313 1.1 christos * amd/sun_map_parse.y : oops, reverting bad changes 1314 1.1 christos 1315 1.1 christos 2005-08-27 Erez Zadok <ezk (a] cs.sunysb.edu> 1316 1.1 christos 1317 1.1 christos * libamu/xutil.c: amd_program_number is a u_long now. 1318 1.1 christos (unregister_amq): if pmap_unset failed to de-register Amd from the 1319 1.1 christos portmapper, print an error message. 1320 1.1 christos (get_amd_program_number): returns a u_long now. 1321 1.1 christos (set_amd_program_number): take a u_long now. 1322 1.1 christos 1323 1.1 christos * include/am_utils.h: get_amd_program_number() returns u_long now. 1324 1.1 christos set_amd_program_number() takes a u_long now. 1325 1.1 christos 1326 1.1 christos * amq/amq.c: amd_program_number is a u_long, not int. 1327 1.1 christos 1328 1.1 christos * amd/nfs_start.c (mount_automounter): when registering Amd with 1329 1.1 christos the portmapper (for Amq service), don't fail if just one of TCP or 1330 1.1 christos UDP failed to register, but only if both transports failed. That 1331 1.1 christos way Amq can still contact Amd using the transport that did 1332 1.1 christos register correctly. However, now, if both transports failed to 1333 1.1 christos register, then set amd_state to "Done" so it would shutdown 1334 1.1 christos cleanly. 1335 1.1 christos 1336 1.1 christos * conf/transp/transp_{sockets,tli{}.c (amu_svc_register): better 1337 1.1 christos comments. 1338 1.1 christos 1339 1.1 christos * libamu/xutil.c: debug_flags should always be initialized to 1340 1.1 christos D_CONTROL (amq,daemon,fork). 1341 1.1 christos (debug_option): allow setting initial immutable debug_flags via 1342 1.1 christos amd.conf; afterward, prevent it (i.e., one tries it via "amq -D"). 1343 1.1 christos 1344 1.1 christos * Makefile.am (DISTCLEANFILES): also remove amu_autofs_prot.h, 1345 1.1 christos config.cache.old, and dbgcf.h on "make distclean". 1346 1.1 christos (CLEANFILES): remove dbgcf on plain "make clean". 1347 1.1 christos 1348 1.1 christos * amd/Makefile.am (DISTCLEANFILES): also remove ops_autofs.c on 1349 1.1 christos "make distclean". 1350 1.1 christos 1351 1.1 christos 2005-08-27 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 1352 1.1 christos 1353 1.1 christos * amd/info_file.c (file_search_or_reload): Changed the key 1354 1.1 christos variable that is passed to the sun_entry2amd. 1355 1.1 christos 1356 1.1 christos * amd/mapc.c (mapc_add_kv): Add support for multiple entries 1357 1.1 christos packed into one line. This is a workaround for handling Sun style 1358 1.1 christos mounts that contains multiple entries on one line: "multi-mount 1359 1.1 christos entries". The sun2amd conversion tools will convert such entries 1360 1.1 christos into type:=auto and pack each of the auto-entries into one line 1361 1.1 christos separated by '\n'. The mapc_add_kv function will now recognize 1362 1.1 christos such entries and add then. 1363 1.1 christos 1364 1.1 christos * amd/sun2amd.c (sun2amd_convert): Add print statement that 1365 1.1 christos includes the line number during a parser failure. 1366 1.1 christos 1367 1.1 christos * sun_map.c: Fix the AMD_MAP_PREF_KW definition. Fix spelling. 1368 1.1 christos (sun_mountpts2amd): removed this function 1369 1.1 christos (sun_hsfs2amd): added some more comments 1370 1.1 christos (sun_nfs2amd): moved support for multi-mount entries from this 1371 1.1 christos function to sun_multi2amd(). 1372 1.1 christos (sun_multi2amd): New function to handle multi-mount entries. This 1373 1.1 christos function will convert the Sun version to an Amd type:=auto. Each 1374 1.1 christos extra auto entry will be appended to the same line separated by a 1375 1.1 christos '\n'. 1376 1.1 christos (sun_entry2amd): Fixed a bug if-statement. This function now 1377 1.1 christos checks for multi-mount entries. 1378 1.1 christos 1379 1.1 christos * amd/sun_map.h: Add a fstype member to the sun_mountpt struct. 1380 1.1 christos 1381 1.1 christos * amd/sun_map_parse.y: Parser now supports fstype for multi-mount 1382 1.1 christos entries. 1383 1.1 christos 1384 1.1 christos * amd/sun_map_tok.l: No longer print the line and column number 1385 1.1 christos when parsing. This is because the parser is handed strings not 1386 1.1 christos files. Therefore, the line number will always be 1. It is now up 1387 1.1 christos to the higher level tools to echo line information during error 1388 1.1 christos when they feed the parser. 1389 1.1 christos 1390 1.1 christos 2005-08-24 Erez Zadok <ezk (a] cs.sunysb.edu> 1391 1.1 christos 1392 1.1 christos * configure.in: wrap all LDAP and HESIOD tests in test whether 1393 1.1 christos --with-OPT was used. 1394 1.1 christos 1395 1.1 christos 2005-08-20 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 1396 1.1 christos 1397 1.1 christos * amd/sun_map.c: Clean up #defines 1398 1.1 christos (sun_entry2amd) : Verify that the key and entry values passed are 1399 1.1 christos not NULL. Free the Sun entry struct when done. 1400 1.1 christos 1401 1.1 christos * amd/sun_map.h: Add some "not implemented yet" comments to the 1402 1.1 christos map and mmap structures. 1403 1.1 christos 1404 1.1 christos * amd/sun_map_parse.y: Removed automap include functionality, it 1405 1.1 christos will need to be re-implemented using a pre-processor. 1406 1.1 christos Clean up function calls. 1407 1.1 christos 1408 1.1 christos 2005-08-16 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 1409 1.1 christos 1410 1.1 christos * amd/sun2amd.c (sun2amd_convert): If the input line is too long 1411 1.1 christos don't return an error just null terminate and continue. Fix bug: 1412 1.1 christos the map key was not written. 1413 1.1 christos 1414 1.1 christos * amd/sun_map.c: Add a new Amd device, and cdfs constant. 1415 1.1 christos (sun_locations2amd): Write the NFS type keyword 1416 1.1 christos for each host of the mount entry. Add a space between each mount 1417 1.1 christos location. 1418 1.1 christos (sun_hsfs2amd): New function to support hsfs to 1419 1.1 christos cdfs. 1420 1.1 christos (sun_nfs2amd): Don't write the nfs type here. Fix 1421 1.1 christos comments. 1422 1.1 christos (sun_entry2amd): Change function parameter var for 1423 1.1 christos clarity. Add support for hsfs. 1424 1.1 christos 1425 1.1 christos * amd/sun_map_parse.y (sun_map_parse_read): Reset the entry list 1426 1.1 christos after it has been returned. 1427 1.1 christos 1428 1.1 christos 2005-08-16 Erez Zadok <ezk (a] cs.sunysb.edu> 1429 1.1 christos 1430 1.1 christos * amd/get_args.c (get_args): initialize debug_flags if they've 1431 1.1 christos never been set. 1432 1.1 christos 1433 1.1 christos 2005-08-15 Erez Zadok <ezk (a] cs.sunysb.edu> 1434 1.1 christos 1435 1.1 christos * amd/mapc.c (mapc_create): mapc find takes 4th arg, the mount 1436 1.1 christos point. Now, we can properly initialize the cfm structure of the 1437 1.1 christos mnt_map, so we can have access to the flags (e.g., SUN_MAP_SYNTAX) 1438 1.1 christos inside each info_*.c file. 1439 1.1 christos (mapc_find): takes 4rd arg (mntpt) and passes it to calls to 1440 1.1 christos mapc_create. 1441 1.1 christos (root_newmap): pass NULL as 4th arg (mntpt). 1442 1.1 christos 1443 1.1 christos * amd/amfs_generic.c (amfs_parse_defaults): remove ugly hack to 1444 1.1 christos initialize map cfm structure (including flags) so late. 1445 1.1 christos 1446 1.1 christos * amd/autil.c (amfs_mkcacheref): pass mount point as 4th arg to 1447 1.1 christos mapc_find. 1448 1.1 christos 1449 1.1 christos * amd/amfs_root.c (amfs_root_mount): pass NULL as new 4th arg to 1450 1.1 christos mapc_find. 1451 1.1 christos 1452 1.1 christos * amd/amd.h: extern for mapc_find changed to pass the mount point. 1453 1.1 christos 1454 1.1 christos * libamu/xutil.c: debug_flags should be unsigned. 1455 1.1 christos (dbg_opt): fix comments for updated debug_flags, add "defaults". 1456 1.1 christos (debug_option): Don't allow "immutable" (D_IMMUTABLE) flags to be 1457 1.1 christos changed, because they could mess Amd's state and only make sense 1458 1.1 christos to be set once when Amd starts. Currently these immutable flags 1459 1.1 christos are "daemon," "fork," "amq," and "mtab." If Amd not compiled with 1460 1.1 christos debugging, set default "control" options (daemon,fork,amq). 1461 1.1 christos (unregister_amq): proper use of D_AMQ. 1462 1.1 christos 1463 1.1 christos * include/am_utils.h: define new D_BASIC, D_CONTROL, D_DEFAULT, 1464 1.1 christos D_IMMUTABLE, and D_MASK. Updated definitions of D_ALL and D_TEST. 1465 1.1 christos debug_flags extern should be unsigned. 1466 1.1 christos 1467 1.1 christos * scripts/amd.conf-sample (debug_options): mention new "defaults" 1468 1.1 christos option. 1469 1.1 christos 1470 1.1 christos * scripts/amd.conf.5,doc/am-utils.texi: document new debug option 1471 1.1 christos "defaults" and properly explain the corrected meanings of 1472 1.1 christos "daemon," "fork," "amq," and their "no" inversions. Better 1473 1.1 christos explain "all" and "test" too. Correct default debug_mtab file to 1474 1.1 christos /tmp/mtab. 1475 1.1 christos 1476 1.1 christos * hlfsd/stubs.c (nfsproc_readlink_2_svc): proper use of D_FORK. 1477 1.1 christos 1478 1.1 christos * hlfsd/homedir.c (homedir): proper use of D_FORK. 1479 1.1 christos 1480 1.1 christos * hlfsd/hlfsd.c (main, hlfsd_init, cleanup): proper use of 1481 1.1 christos D_DAEMON. 1482 1.1 christos 1483 1.1 christos * amd/nfs_start.c (mount_automounter): proper use of D_AMQ. 1484 1.1 christos 1485 1.1 christos * amd/amd.h (DEBUG_MNTTAB_FILE): change default to /tmp/mtab, 1486 1.1 christos which is more common on more systems (instead of /tmp/mnttab). 1487 1.1 christos 1488 1.1 christos * amd/amd.c (main): properly use D_DAEMON. 1489 1.1 christos 1490 1.1 christos 2005-08-14 Erez Zadok <ezk (a] cs.sunysb.edu> 1491 1.1 christos 1492 1.1 christos * libamu/xutil.c (xlog_opt): define new pseudo log_option named 1493 1.1 christos "defaults", which is an alias for "fatal,error,user,warning,info". 1494 1.1 christos 1495 1.1 christos * scripts/amd.conf.5, doc/am-utils.texi, amd/amd.8: document new 1496 1.1 christos log_option "defaults". 1497 1.1 christos 1498 1.1 christos * amq/amq.8: typo. Arg name for -D is "debug_options" not 1499 1.1 christos "log_options". 1500 1.1 christos 1501 1.1 christos * libamu/xutil.c: make xlog_level static, and initialize it to 1502 1.1 christos XLOG_DEFAULT. 1503 1.1 christos (cmdoption): take unsigned int as flags argument, and print any 1504 1.1 christos errors as XLOG_ERROR (which cannot be turned off). 1505 1.1 christos (switch_option): remove old code which disallowed you from turning 1506 1.1 christos off flags that were set when Amd started up. Now, you can turn 1507 1.1 christos any log option on/off at start time or later on (via amq -x), 1508 1.1 christos other than the two mandatory options (fatal+error). 1509 1.1 christos 1510 1.1 christos * include/am_utils.h (XLOG_*): remove unused XLOG_DEFSTR. Define 1511 1.1 christos XLOG_MASK to mask out unused flag bits. Define XLOG_DEFAULT to be 1512 1.1 christos what it was before (fatal + error + user + warning + info), but 1513 1.1 christos use the new mask. Remove extern's for xlog_level and 1514 1.1 christos xlog_level_init. Change extern for cmdoption() to take an 1515 1.1 christos unsigned flags argument. 1516 1.1 christos 1517 1.1 christos * doc/am-utils.texi, amq/amq.8, scripts/amd.conf.5, amd/amd.8: 1518 1.1 christos document mandatory log options 1519 1.1 christos (fatal+error) which cannot be turned off and are always on by 1520 1.1 christos default. They must be on so that Amd can report crucial errors, 1521 1.1 christos including those related to setting flags on/off. 1522 1.1 christos 1523 1.1 christos * hlfsd/hlfsd.c (main): remove hack to initialize log_options. 1524 1.1 christos 1525 1.1 christos * wire-test/wire-test.c: remove reference to unused xlog_level. 1526 1.1 christos 1527 1.1 christos * amd/mapc.c (mapc_create): 'alloc' flags variable should be 1528 1.1 christos unsigned. 1529 1.1 christos 1530 1.1 christos * amd/get_args.c (get_args): no need for hack using 1531 1.1 christos xlog_level_init. 1532 1.1 christos 1533 1.1 christos * amd/Makefile.am: separate sources common to amd and sun2amd into 1534 1.1 christos a special, locally-built only, static library called libaminfo.a. 1535 1.1 christos 1536 1.1 christos * libamu/xutil.c (real_plog, xsnprintf): call new xvsnprintf() 1537 1.1 christos wrapper function. 1538 1.1 christos (xvsnprintf): new function which already gets a va_list. This was 1539 1.1 christos needed to avoid nesting va_list's (which apparently isn't 1540 1.1 christos allowed). 1541 1.1 christos 1542 1.1 christos * include/am_utils.h: prototype for new xvsnprintf wrapper. 1543 1.1 christos 1544 1.1 christos * configure.in: sinclude([vers.m4]) version number file. 1545 1.1 christos 1546 1.1 christos * vers.m4: new file to separate version number out of 1547 1.1 christos configure.in, useful for nightly snapshot script to generate 1548 1.1 christos nightly version string. 1549 1.1 christos 1550 1.1 christos * Makefile.am (EXTRA_DIST_M4): include vers.m4 in distro. 1551 1.1 christos 1552 1.1 christos 2005-08-14 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 1553 1.1 christos 1554 1.1 christos * amd/info_file.c: add key to sun_entry2amd()'s parameters 1555 1.1 christos 1556 1.1 christos * amd/info_hesiod.c: add key to sun_entry2amd()'s parameters 1557 1.1 christos 1558 1.1 christos * amd/info_ldap.c: add key to sun_entry2amd()'s parameters 1559 1.1 christos 1560 1.1 christos * amd/info_ndbm.c: add key to sun_entry2amd()'s parameters 1561 1.1 christos 1562 1.1 christos * amd/info_nis.c: add key to sun_entry2amd()'s parameters 1563 1.1 christos 1564 1.1 christos * amd/info_nisplus.c: add key to sun_entry2amd()'s parameters 1565 1.1 christos 1566 1.1 christos * amd/sun_map.c: New functions to support sun translation to amd. 1567 1.1 christos The function sun_entry2amd's parameters were expanded to include 1568 1.1 christos the key value. sun_entry_2amd() now returns NULL on error. 1569 1.1 christos 1570 1.1 christos * amd/sun_map.h: Expand sun_entry2amd's parameters to include key 1571 1.1 christos value. 1572 1.1 christos 1573 1.1 christos * amd/sun_map_parse.y: Change how file system types are parsed out 1574 1.1 christos of the list of options for each entry. The previous way was not 1575 1.1 christos working properly so now we just look for the 'fstype' keyword in 1576 1.1 christos each option. If it exists we copy its key value. 1577 1.1 christos Added some comments to sun_map_parse_read(). 1578 1.1 christos 1579 1.1 christos * amd/amd.h: Added an extern from info_file.c called 1580 1.1 christos file_read_line(). Previously this function was static but is now 1581 1.1 christos used in sun2amd.c. 1582 1.1 christos 1583 1.1 christos * amd/info_file.c: Changed the static function read_line() to a 1584 1.1 christos public function called file_read_line(). This function is now 1585 1.1 christos used in sun2amd.c 1586 1.1 christos 1587 1.1 christos * amd/sun2amd.8: Filled in the contents of this man page. This is 1588 1.1 christos a conversion utility that converts Sun maps to Amd maps. 1589 1.1 christos 1590 1.1 christos * amd/sun2amd.c: Implemented a working version of this utility. 1591 1.1 christos 1592 1.1 christos 2005-08-11 Erez Zadok <ezk (a] cs.sunysb.edu> 1593 1.1 christos 1594 1.1 christos * amd/sun_map_parse.y: instead of using a custom FOO_alloc() 1595 1.1 christos function, use Amd's CALLOC(struct FOO) macro. 1596 1.1 christos 1597 1.1 christos * amd/sun_map.h: remove extern definitions to functions no longer 1598 1.1 christos needed. 1599 1.1 christos 1600 1.1 christos * amd/sun_map.c: removed superfluous *_alloc() functions, some of 1601 1.1 christos which caused conflicts with same-named symbols in the parser 1602 1.1 christos (since we rename 'yyalloc' to 'sun_map_alloc'). 1603 1.1 christos 1604 1.1 christos * configure.in: keep AC_INIT on same line, for nightly snapshot 1605 1.1 christos build script. 1606 1.1 christos 1607 1.1 christos * amd/Makefile.am: f/lex libraries are incompatible with multiple 1608 1.1 christos scanners, so don't link Amd with libl.a/libfl.a. 1609 1.1 christos 1610 1.1 christos 2005-08-10 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 1611 1.1 christos 1612 1.1 christos * amd/sun_map_tok.l: Clean up regular expression so HPUX stops 1613 1.1 christos whining. 1614 1.1 christos 1615 1.1 christos 2005-08-09 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 1616 1.1 christos 1617 1.1 christos * amd/sun_map_parse.y: Moved license below special yacc bracket to 1618 1.1 christos be portable with HPUX's yacc. Clean up externs. 1619 1.1 christos 1620 1.1 christos * amd/sun_map_tok.l: Moved license below special lex bracket to be 1621 1.1 christos portable with HPUX's lex. Fixed definitions to allow for a 1622 1.1 christos non-flex lex to parse strings instead of files. Added some casts 1623 1.1 christos to strlcpy usage to silence warnings. Moved the % options because 1624 1.1 christos HPUX was complaining, 1625 1.1 christos 1626 1.1 christos 2005-08-08 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 1627 1.1 christos 1628 1.1 christos * amd/sun_map_tok.l: Applied some definition goop to handle the 1629 1.1 christos ECHO symbol that lex defines. This symbol causes problems on 1630 1.1 christos RedHat-EL-powerPC platforms. Replaced strncpy with strlcpy. 1631 1.1 christos Renamed the function sun_map_yyinput to sun_map_input. This 1632 1.1 christos function is a utility function that is not generated by lex. 1633 1.1 christos Therefore, the 'yy' may cause confusion. 1634 1.1 christos 1635 1.1 christos 2005-08-08 Erez Zadok <ezk (a] cs.sunysb.edu> 1636 1.1 christos 1637 1.1 christos * amd/sun_map_tok.l: allocate more output slots so lex scanners 1638 1.1 christos don't run out of memory. 1639 1.1 christos 1640 1.1 christos * amd/sun_map_parse.y: declare extern for sun_map_parse(). 1641 1.1 christos 1642 1.1 christos * libamu/xutil.c (xsnprintf): ensure proper comparisons between 1643 1.1 christos signed and unsigned quantities. 1644 1.1 christos 1645 1.1 christos 2005-08-06 Erez Zadok <ezk (a] cs.sunysb.edu> 1646 1.1 christos 1647 1.1 christos * libamu/util.c, amd/autil.c (strsplit): moved strsplit() function 1648 1.1 christos from Amd code to to libamu, so sun2amd could use it. 1649 1.1 christos 1650 1.1 christos * amd/Makefile.am (sbin_PROGRAMS): build sun2amd binary and man 1651 1.1 christos page. 1652 1.1 christos (EXTRA_sun2amd_OBJECTS): sun2amd needs to link with all info_*.c files 1653 1.1 christos 1654 1.1 christos * amd/sun2amd.8: placeholder for man page. 1655 1.1 christos 1656 1.1 christos * amd/sun2amd.c: placeholder for C version of translator from Sun 1657 1.1 christos syntax maps to Amd maps. 1658 1.1 christos 1659 1.1 christos * */*.[0-9]: include file name in nroff source comment. 1660 1.1 christos 1661 1.1 christos * ALL: use '0' properly when assigning or passing it to functions. 1662 1.1 christos If in the context pointer, use NULL. If in the context of a 1663 1.1 christos single char (say within a string), the use '\0'. This is just to 1664 1.1 christos make the code clearer. 1665 1.1 christos 1666 1.1 christos * m4/macros/header_templates.m4: template for HAVE_MAP_SUN. 1667 1.1 christos 1668 1.1 christos * amd/mapc.c (maptypes): add placeholder for Sun-syntax map 1669 1.1 christos methods. 1670 1.1 christos 1671 1.1 christos * amd/Makefile.am (EXTRA_amd_SOURCES): compile info_sun.c 1672 1.1 christos 1673 1.1 christos * amd/info_sun.c: placeholder for meta info parser to get info 1674 1.1 christos from Sun automount-style /etc/auto_master, possibly following 1675 1.1 christos into multiple info services (via /etc/nsswitch.conf). 1676 1.1 christos 1677 1.1 christos * libamu/xutil.c (xsnprintf): if vsnprintf truncated the output 1678 1.1 christos string to avoid an overflow, print an error. Include some code to 1679 1.1 christos break out any possible infinite loop between plog() and 1680 1.1 christos xsnprintf(). 1681 1.1 christos (real_plog): now we can use (carefully) xsnprintf() directly. 1682 1.1 christos 1683 1.1 christos * amd/sun_map.[hc]: cleanup and formatting. 1684 1.1 christos 1685 1.1 christos * amd/sun_map_parse.y: to match the literal string "fstype=" use 1686 1.1 christos double quotes, not single quotes. 1687 1.1 christos 1688 1.1 christos * amd/get_args.c (get_args): call conf_parse() using conf_in. 1689 1.1 christos 1690 1.1 christos * amd/amd.h: use renamed parser symbols (yyparse -> conf_parse; 1691 1.1 christos yyin -> conf_in). 1692 1.1 christos 1693 1.1 christos * ylwrap: Enhance wrapper to avoid the #define hacks done by Gdb, 1694 1.1 christos and suggested by the Automake manual. This enhanced parser will 1695 1.1 christos prefix each conflicting yacc/lex symbol with a unique name 1696 1.1 christos produced from INPUT. For example, if INPUT is foo_parse.y, then 1697 1.1 christos yyparse() becomes foo_parse(). This requires that both your .l 1698 1.1 christos and corresponding .y files have the same prefix (e.g., foo_parse.y 1699 1.1 christos and foo_tok.l). 1700 1.1 christos 1701 1.1 christos * amd/Makefile.am (BUILT_SOURCES): define which yacc/lex .h/.c 1702 1.1 christos source files are built automatically, and therefore should not be 1703 1.1 christos in the distro (IMHO), and should be cleaned upon "make clean". 1704 1.1 christos (amd_SOURCES): include new sun_map_parse.y and sun_map_tok.l files. 1705 1.1 christos 1706 1.1 christos * ylwrap: new file needed because we have two parsers now. 1707 1.1 christos 1708 1.1 christos * amd/sun_map_{parse.y,tok.l}: cleanup and formatting. 1709 1.1 christos 1710 1.1 christos 2005-08-06 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 1711 1.1 christos 1712 1.1 christos * amd/Makefile.am: Added new files sun_map.h, sun_map.c, 1713 1.1 christos sun_map_parse.y, and sun_map_tok.l. These files add support for 1714 1.1 christos parsing Sun style maps. The yacc/lex files needed custom rules so 1715 1.1 christos they don't cause symbol conflicts with each other. 1716 1.1 christos 1717 1.1 christos * amd/amd.h: Added "#define INFO_MAX_LINE_LEN" that specifies the 1718 1.1 christos line limit for info services. 1719 1.1 christos 1720 1.1 christos * amd/info_exec.c: Replaced MAX_LINE_LEN with INFO_MAX_LINE_LEN 1721 1.1 christos 1722 1.1 christos * amd/info_file.c: Replaced MAX_LINE_LEN with INFO_MAX_LINE_LEN, 1723 1.1 christos added support for parsing Sun style maps. The support for Sun 1724 1.1 christos maps is done using the sun_entry2amd() function. This function is 1725 1.1 christos called for each entry line that is read only when Sun parsing is 1726 1.1 christos enabled. For each entry line that is passed to the function a 1727 1.1 christos copy of the Amd equivalent is returned. 1728 1.1 christos 1729 1.1 christos * amd/sun_map.h: new header file for Sun style map support 1730 1.1 christos 1731 1.1 christos * amd/sun_map.c: new source file for Sun style map support, clean 1732 1.1 christos up comments, additional sun2amd conversion routines 1733 1.1 christos 1734 1.1 christos * amd/sun_map_parse.y: new yacc file for parsing Sun style maps, 1735 1.1 christos fix copyright notice, put filename below license. 1736 1.1 christos 1737 1.1 christos * amd/sun_map_tok.l: new lex file for parsing Sun style maps, fix 1738 1.1 christos copyright notice, put filename below license. 1739 1.1 christos 1740 1.1 christos * amd/get_args.c: replace usage of strlcat with xstrlcat 1741 1.1 christos 1742 1.1 christos * include/am_utils.h: added 'extern void xstrlcat()' 1743 1.1 christos 1744 1.1 christos * libamu/util.c: Added a xstrlcat() function that wraps the 1745 1.1 christos syscall strlcat() so that string truncations can be logged. 1746 1.1 christos 1747 1.1 christos 2005-08-06 Erez Zadok <ezk (a] cs.sunysb.edu> 1748 1.1 christos 1749 1.1 christos * amd/info_file.c (file_search, file_reload): pass mnt_map to 1750 1.1 christos file_search_or_reload. 1751 1.1 christos (file_search_or_reload): ensure that mnt_map is never NULL. 1752 1.1 christos 1753 1.1 christos * amd/info_nis.c (nis_search): call sun_entry2amd() if 1754 1.1 christos sun_map_syntax=yes. 1755 1.1 christos 1756 1.1 christos * amd/info_ldap.c (amu_ldap_search): call sun_entry2amd() if 1757 1.1 christos sun_map_syntax=yes. 1758 1.1 christos 1759 1.1 christos * amd/info_hesiod.c (hesiod_search): call sun_entry2amd() if 1760 1.1 christos sun_map_syntax=yes. 1761 1.1 christos 1762 1.1 christos * amd/info_ndbm.c (ndbm_search): pass mnt_map to search_ndbm. 1763 1.1 christos (search_ndbm): call sun_entry2amd() if sun_map_syntax=yes. 1764 1.1 christos 1765 1.1 christos * amd/info_nisplus.c (nisplus_search): call sun_entry2amd() if 1766 1.1 christos sun_map_syntax=yes. 1767 1.1 christos 1768 1.1 christos * amd/info_exec.c (exec_search): pass mnt_map to 1769 1.1 christos exec_parse_qanswer. 1770 1.1 christos (exec_parse_qanswer): call sun_entry2amd() if sun_map_syntax=yes. 1771 1.1 christos 1772 1.1 christos * doc/am-utils.texi (sun_map_syntax Parameter): document new 1773 1.1 christos common parameter. 1774 1.1 christos 1775 1.1 christos * scripts/amd.conf.5: selectors_in_defaults is a common parameter, 1776 1.1 christos not just [global]. Use consistent capitalization of Amd/Amq. 1777 1.1 christos Document new sun_map_syntax parameter. 1778 1.1 christos 1779 1.1 christos * scripts/amd.conf-sample: properly list all of the parameters 1780 1.1 christos which are common to both the [global] and the per-map sections. 1781 1.1 christos (sun_map_syntax): example of new parameter. 1782 1.1 christos 1783 1.1 christos * doc/am-utils.texi (Common Parameters): selectors_in_defaults is 1784 1.1 christos a common parameter, not just [global]. 1785 1.1 christos 1786 1.1 christos * scripts/amd.conf-sample (sun_map_syntax): example of new flag. 1787 1.1 christos 1788 1.1 christos * amd/conf.c ({ropt,gopt}_sun_map_syntax): new function to parse 1789 1.1 christos sun_map_syntax flag (global or per map). 1790 1.1 christos 1791 1.1 christos * amd/amd.h (CFM_SUN_MAP_SYNTAX): new flag for users to say if the 1792 1.1 christos map uses Sun automounter syntax. 1793 1.1 christos 1794 1.1 christos * cvs-server.txt: update instructions after branching 6.1-stable. 1795 1.1 christos 1796 1.1 christos 2005-08-02 Erez Zadok <ezk (a] cs.sunysb.edu> 1797 1.1 christos 1798 1.1 christos ******************************************************************* 1799 1.1 christos *** Released am-utils-6.1.1 *** 1800 1.1 christos ******************************************************************* 1801 1.1 christos 1802 1.1 christos * libamu/xutil.c (xsnprintf): "unsafe" alternative to vsnprintf is 1803 1.1 christos vsprintf, not sprintf. 1804 1.1 christos 1805 1.1 christos * conf/umount/umount_osf.c (umount_fs): refer to proper formal 1806 1.1 christos parameter name. 1807 1.1 christos (umount2_fs): pass second arg to umount(). 1808 1.1 christos 1809 1.1 christos * ALL: remove CVS ID and put actual file name in source. 1810 1.1 christos 1811 1.1 christos * conf/autofs/*.[hc]: proper copyright headers. 1812 1.1 christos 1813 1.1 christos * whitespace reformatting. Remove remaining '%W%' SCCS IDs. 1814 1.1 christos 1815 1.1 christos * amd/mntfs.c (free_mntfs): don't discard the last reference to an 1816 1.1 christos mntfs that had been mounted already. It won't have the 1817 1.1 christos MFF_RESTARTED flag on, as it gets turned off after the entry is 1818 1.1 christos mounted, but it will have the MFF_RSTKEEP flag on. 1819 1.1 christos 1820 1.1 christos * amd/autil.c (mf_mounted), amd/restart.c (restart_fake_mntfs): 1821 1.1 christos show the mntfs's flags. 1822 1.1 christos 1823 1.1 christos 2005-08-01 Erez Zadok <ezk (a] cs.sunysb.edu> 1824 1.1 christos 1825 1.1 christos * conf/mtab/mtab_linux.c: removed unused code. Cleanup. 1826 1.1 christos (handler): removed this bad signal handler. 1827 1.1 christos (lock_mtab): Redhat's original code set a signal handler called 1828 1.1 christos "handler()" for all non-ALRM signals. The handler called 1829 1.1 christos unlock_mntlist(), plog'ed the signal name, and then exit(1)! 1830 1.1 christos Never, ever, exit() from inside a utility function. This messed 1831 1.1 christos up Amd's careful signal-handling code, and caused Amd to abort 1832 1.1 christos uncleanly only any other "innocent" signal 1833 1.1 christos (even simple SIGUSR1), leaving behind a hung Amd mnt point. That 1834 1.1 christos code should have at least restored the signal handlers' states 1835 1.1 christos upon a successful mtab unlocking. Anyway, that handler was 1836 1.1 christos unnecessary, because will call unlock_mntlist() properly anyway on 1837 1.1 christos exit. 1838 1.1 christos 1839 1.1 christos * conf/mtab/mtab_{file,isc3,mach3,linux}.c (unlock_mntlist): dlog 1840 1.1 christos message that we're inside the unlock_mntlist function. 1841 1.1 christos 1842 1.1 christos * amd/amd.c (main): use new setup_sighandler() for Amd's four main 1843 1.1 christos signals (INT, TERM, HUP, and CHLD). 1844 1.1 christos (main) Add SIGINT and SIGTERM to masked_sigs, used in 1845 1.1 christos nfs_start.c:do_select() for setjmp/longjmp code; the MASK was set 1846 1.1 christos to all four signals if !HAVE_SIGACTION, but only to HUP+CHLD if we 1847 1.1 christos HAVE_SIGACTION. So this change makes Amd behave consistently. 1848 1.1 christos 1849 1.1 christos * include/am_utils.h: extern for new setup_sighandler(). 1850 1.1 christos 1851 1.1 christos * libamu/xutil.c (setup_sighandler): new utility function to setup 1852 1.1 christos a single signal-handler regardless of what method is supported by 1853 1.1 christos this OS. 1854 1.1 christos (going_down): call unlock_mntlist() when exiting, to ensure that 1855 1.1 christos Amd will remove any leftover mtab lock files, if any. 1856 1.1 christos 1857 1.1 christos * amd/restart.c (restart_automounter_nodes): cleanup function. 1858 1.1 christos 1859 1.1 christos * minor new port: i386-pc-linuxoldld-deb3.1. 1860 1.1 christos 1861 1.1 christos * configure.in: include <sys/types.h> before <linux/socket.h> to 1862 1.1 christos get the definition of size_t on Debian-3.1r0a. 1863 1.1 christos 1864 1.1 christos 2005-07-29 Erez Zadok <ezk (a] cs.sunysb.edu> 1865 1.1 christos 1866 1.1 christos * amd/srvr_nfs.c (find_nfs_srvr): don't blindly copy the hostent 1867 1.1 christos IP address. First check if it differs from the existing one of 1868 1.1 christos the fserver, and copy only if it changed. If it did change, flush 1869 1.1 christos the fhandle cache to avoid a stale fhandle being reused. This 1870 1.1 christos allows Amd to detect IP address changes even for an fserver that 1871 1.1 christos lost one or more NFS pings, but not enough to be declared totally 1872 1.1 christos down. We handle the "totally down" fserver case in 1873 1.1 christos check_fs_addr_change(). 1874 1.1 christos 1875 1.1 christos * amd/ops_nfs.c (nfs_umount), amd/sched.c (sched_task), 1876 1.1 christos amd/nfs_subr.c (nfs_quick_reply): code clarity. 1877 1.1 christos 1878 1.1 christos * conf/mount/mount_linux.c (linux_nfs_error): dlog mappings of 1879 1.1 christos errnos to NFS errors. 1880 1.1 christos 1881 1.1 christos * conf/umount/umount_linux.c (umount2_fs): cleanup code. Trying 1882 1.1 christos stat() seems doomed to hang at times, so don't try stat at all, 1883 1.1 christos because umount2() appears to be clever enough to never hang. 1884 1.1 christos 1885 1.1 christos 2005-07-25 Erez Zadok <ezk (a] cs.sunysb.edu> 1886 1.1 christos 1887 1.1 christos * amd/amd.h (FSF_FORCE_UNMOUNT): new flag used to indicate that a 1888 1.1 christos particular fserver may need forced/lazy unmounts when it's mntfs's 1889 1.1 christos are unmounted. 1890 1.1 christos 1891 1.1 christos * amd/ops_nfs.c (nfs_umount): a simple unmount returned EBUSY, and 1892 1.1 christos the user specified forced_unmounts=yes in amd.conf, and this 1893 1.1 christos fserver was flagged with FSF_FORCE_UNMOUNT, and the OS supports 1894 1.1 christos forced/lazy unmounts, then try forced/lazy unmounts. This should 1895 1.1 christos allow a hung mount point to be removed. 1896 1.1 christos 1897 1.1 christos * amd/srvr_nfs.c (find_nfs_srvr): move away IP-address change 1898 1.1 christos detection code to its own function. 1899 1.1 christos (check_fs_addr_change): new function to detect if the IP address 1900 1.1 christos of a downed host has changed, and do various cleanups and fixups 1901 1.1 christos to try and recover as best from that situation (e.g., flushing 1902 1.1 christos various caches). Also set the FSF_FORCE_UNMOUNT flag for the 1903 1.1 christos fserver in question. 1904 1.1 christos (flush_srvr_nfs_cache): pass fserver as argument, so we can 1905 1.1 christos selectively flush the NFS cache for a single fserver (or all of 1906 1.1 christos them, if you pass NULL). 1907 1.1 christos 1908 1.1 christos * libamu/xutil.c (switch_to_logfile): truncate a regular-file log 1909 1.1 christos file if user passed non-zero "truncate_log" flag. 1910 1.1 christos 1911 1.1 christos * include/am_utils.h: switch_to_logfile() now takes a 3rd arg. 1912 1.1 christos 1913 1.1 christos * amd/get_args.c (get_args): pass "truncate_log" flag as per 1914 1.1 christos amd.conf global settings. 1915 1.1 christos 1916 1.1 christos * amd/conf.c (gopt_truncate_log): store global value of 1917 1.1 christos truncate_log flag. 1918 1.1 christos 1919 1.1 christos * amd/amq_subr.c (amqproc_setopt_1_svc), hlfsd/hlfsd.c (main, 1920 1.1 christos reload): don't truncate log file when calling switch_to_logfile(). 1921 1.1 christos 1922 1.1 christos * amd/amd.h (CFM_TRUNCATE_LOG): new flag. Fix comment typo. 1923 1.1 christos 1924 1.1 christos * NEWS, doc/am-utils.texi (truncate_log Parameter), 1925 1.1 christos scripts/amd.conf.5, scripts/amd.conf-sample (log_file): document 1926 1.1 christos new truncate_log amd.conf parameter. 1927 1.1 christos 1928 1.1 christos * amd/conf.c (gopt_forced_unmounts): check Linux kernel version 1929 1.1 christos and alert if your version may be too old for MNT_FORCE to work 1930 1.1 christos (before 2.4.0) or for MNT_DETACH to work (before 2.6.0). 1931 1.1 christos Otherwise it may be impossible to pin down the exact kernel 1932 1.1 christos version in which we should enable this feature. 1933 1.1 christos 1934 1.1 christos * conf/umount/umount_linux.c (umount2_fs): if MNT_FORCE returned 1935 1.1 christos EBUSY, then don't try to stat(2) before MNT_DETACH because it 1936 1.1 christos could hang. 1937 1.1 christos 1938 1.1 christos 2005-07-21 Erez Zadok <ezk (a] cs.sunysb.edu> 1939 1.1 christos 1940 1.1 christos * conf/umount/umount_linux.c (umount_fs): cleanup this function, 1941 1.1 christos breaking long "if" statements using "goto out". 1942 1.1 christos 1943 1.1 christos * conf/umount/umount_{aix,bsd44,osf,default,linux}.c (umount_fs): 1944 1.1 christos call new utility function umount2_fs() as needed (EBUSY, EIO, or 1945 1.1 christos ESTALE). 1946 1.1 christos 1947 1.1 christos * conf/umount/umount_{aix,bsd44,osf,default,linux}.c (umount2_fs): 1948 1.1 christos define a new utility function to invoke forcible/lazy unmounts 1949 1.1 christos without touching any mtab files. This separate utility function 1950 1.1 christos is useful because it can be called from elsewhere. 1951 1.1 christos 1952 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_init): new function, called 1953 1.1 christos before Amd mounts toplvl mounts, which gives us a hook for cleanup 1954 1.1 christos of a previously dead Amd. In our case, if the user asked for 1955 1.1 christos forced_unmounts, and the OS supports it, then we try forced/lazy 1956 1.1 christos unmounts on any previous toplvl mounts. This is useful if a 1957 1.1 christos previous Amd died and left behind toplvl mount points (this Amd 1958 1.1 christos will clean them up!). WARNING: Don't use forced/lazy unmounts if 1959 1.1 christos you have another valid Amd running, because this code WILL force 1960 1.1 christos those valid toplvl mount points to be detached as well! 1961 1.1 christos 1962 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_umount): don't unconditionally 1963 1.1 christos try forced/lazy unmounts because it will prevent a normal Amd from 1964 1.1 christos terminating and cleaning up properly (self-deadlocking: detached 1965 1.1 christos mounts hang the parent Amd on a stat). Since we already do 1966 1.1 christos unmounts in the background, then try a safer policy: after trying 1967 1.1 christos the normal unmounts a few times (5 sec), escalate and try forced 1968 1.1 christos unmounts a few times (5 more seconds), and if even that failed, 1969 1.1 christos then try the ultimate -- detached unmounts (which always succeed). 1970 1.1 christos This allows Amd to first try and shutdown cleanly, and gradually 1971 1.1 christos try more forcible ways to shutdown. On Linux, this procedure will 1972 1.1 christos cleanly shutdown Amd even if there are processes with their CWD on 1973 1.1 christos Amd's mount points (which normally result in EBUSY). 1974 1.1 christos 1975 1.1 christos 2005-07-20 Erez Zadok <ezk (a] cs.sunysb.edu> 1976 1.1 christos 1977 1.1 christos * Makefile.am (EXTRA_DIST_CONF): add new umount_aix.c to distro. 1978 1.1 christos 1979 1.1 christos * conf/umount/umount_aix.c: easier if AIX has its own unmount 1980 1.1 christos helper file. 1981 1.1 christos 1982 1.1 christos * m4/macros/check_umount_style.m4: AIX needs its own unmount style 1983 1.1 christos file. 1984 1.1 christos 1985 1.1 christos * doc/am-utils.texi (forced_unmounts Parameter): @xref -> @pxref. 1986 1.1 christos 1987 1.1 christos 2005-07-19 Erez Zadok <ezk (a] cs.sunysb.edu> 1988 1.1 christos 1989 1.1 christos * conf/nfs_prot/nfs_prot_aix5_2.h: define compatible 1990 1.1 christos forced-unmount flag. 1991 1.1 christos 1992 1.1 christos * conf/umount/umount_default.c (umount_fs): if regular umount got 1993 1.1 christos EBUSY, EIO, or ESTALE, then try forced unmount, if supported. Try 1994 1.1 christos umount2 (Solaris) or uvmount (AIX). 1995 1.1 christos 1996 1.1 christos * conf/umount/umount_{bsd44,osf}.c (umount_fs): if default 1997 1.1 christos umount() failed with EIO or ESTALE, also try forced unmount. 1998 1.1 christos 1999 1.1 christos 2005-07-18 Erez Zadok <ezk (a] cs.sunysb.edu> 2000 1.1 christos 2001 1.1 christos * amd/autil.c (amfs_mount), amd/amfs_toplvl.c 2002 1.1 christos (amfs_toplvl_umount): enable forced/lazy unmounts only if user 2003 1.1 christos asked for it (and dlog it). 2004 1.1 christos 2005 1.1 christos * scripts/amd.conf.5: document new force_unmount global parameter. 2006 1.1 christos 2007 1.1 christos * doc/am-utils.texi (forced_unmounts Parameter): document new 2008 1.1 christos global parameter. 2009 1.1 christos 2010 1.1 christos * amd/conf.c (gopt_forced_unmounts): process forced_unmounts 2011 1.1 christos option (default "no"). Exit with an error if user specified the 2012 1.1 christos option as "yes" but configure couldn't find support for either the 2013 1.1 christos MNT_FORCE or MNT_DETACH flags. 2014 1.1 christos 2015 1.1 christos * scripts/amd.conf-sample (forced_unmounts): example usage of new 2016 1.1 christos option. 2017 1.1 christos 2018 1.1 christos * amd/amd.h (CFM_FORCED_UNMOUNTS): new flag for forced_unmounts 2019 1.1 christos option. 2020 1.1 christos 2021 1.1 christos * m4/macros/header_templates.m4: templates for _DETACH and _FORCE. 2022 1.1 christos 2023 1.1 christos * configure.in: check for generic u/mount options "detach" and 2024 1.1 christos "force". 2025 1.1 christos 2026 1.1 christos * include/am_utils.h (UMOUNT_FS, umount_fs): new prototypes. 2027 1.1 christos Define AMU_UMOUNT flags for force, detach, and autofs. 2028 1.1 christos 2029 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_umount): pass _FORCE and _DETACH 2030 1.1 christos unmount flags unconditionally. Pass them to UMOUNT_FS(). 2031 1.1 christos 2032 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: define MNT_FORCE and MNT_DETACH 2033 1.1 christos if needed, because some Linux systems don't define them 2034 1.1 christos (presumably because it would be too dangerous to expose these 2035 1.1 christos flags to users). 2036 1.1 christos 2037 1.1 christos * amd/autil.c (amfs_mount): if mount(2) failed with ESTALE or EIO, 2038 1.1 christos then assume that we're in trouble, possibly because a previous 2039 1.1 christos mount is hung. So, first try to force a lazy unmount of the old 2040 1.1 christos mount. If the forced unmount worked, then try again to mount the 2041 1.1 christos desired file system. If the forced unmount failed, then don't 2042 1.1 christos retry: just return an error. 2043 1.1 christos 2044 1.1 christos * amd/amfs_generic.c (amfs_generic_umount), amd/amfs_host.c 2045 1.1 christos (amfs_host_umount), amd/ops_cachefs.c (cachefs_umount), 2046 1.1 christos amd/ops_cdfs.c (cdfs_umount), amd/ops_efs.c (efs_umount), 2047 1.1 christos amd/ops_lofs.c (lofs_umount), amd/ops_nfs.c (nfs_umount), 2048 1.1 christos amd/ops_pcfs.c (pcfs_umount), amd/ops_ufs.c (ufs_umount), 2049 1.1 christos amd/ops_xfs.c (xfs_umount), conf/umount/umount_bsd44.c 2050 1.1 christos (umount_fs), conf/umount/umount_default.c (umount_fs), 2051 1.1 christos conf/umount/umount_linux.c (umount_fs), conf/umount/umount_osf.c 2052 1.1 christos (umount_fs): compute and use unmount specific flags. 2053 1.1 christos 2054 1.1 christos 2005-07-16 Erez Zadok <ezk (a] cs.sunysb.edu> 2055 1.1 christos 2056 1.1 christos * configure.in: better help for users, if nfs_args can't be found. 2057 1.1 christos 2058 1.1 christos 2005-07-15 Erez Zadok <ezk (a] cs.sunysb.edu> 2059 1.1 christos 2060 1.1 christos * BUGS: more details on AIX's need to install bos.net.nfs.adt 2061 1.1 christos before configuring am-utils (else configure cannot find struct 2062 1.1 christos nfs_args on AIX). 2063 1.1 christos 2064 1.1 christos 2005-07-10 Erez Zadok <ezk (a] cs.sunysb.edu> 2065 1.1 christos 2066 1.1 christos * amd/srvr_nfs.c (find_nfs_srvr): flush NFS handle cache if the IP 2067 1.1 christos address of a down server had changed. 2068 1.1 christos 2069 1.1 christos * amd/info_union.c (union_reload): use safer xsnprintf() routine. 2070 1.1 christos 2071 1.1 christos * amd/srvr_nfs.c (find_nfs_srvr): check to see if the IP address 2072 1.1 christos of a named but down fserver changed (i.e., the previous IP address 2073 1.1 christos is no longer responding). If so, then reset the fserver to the 2074 1.1 christos new IP address, and set the fserver's flags such that the function 2075 1.1 christos will fall through to doing the usual NFS version/proto checks and 2076 1.1 christos pinging. (This should fix one case of bug #308.) 2077 1.1 christos 2078 1.1 christos * conf/umount/umount_linux.c (umount_fs): warn if plain umount() 2079 1.1 christos failed, before we try to ignore any errors or try optional 2080 1.1 christos umount2(), possibly with forced/lazy unmount. 2081 1.1 christos (umount_fs): dlog when unmount succeeded. 2082 1.1 christos 2083 1.1 christos 2005-07-08 Erez Zadok <ezk (a] cs.sunysb.edu> 2084 1.1 christos 2085 1.1 christos * conf/mount/mount_linux.c: add a couple more NFSv2 error codes 2086 1.1 christos that are compatible with NFSv3. 2087 1.1 christos 2088 1.1 christos 2005-07-07 Erez Zadok <ezk (a] cs.sunysb.edu> 2089 1.1 christos 2090 1.1 christos * m4/macros/header_templates.m4: extern template for strlcat(). 2091 1.1 christos 2092 1.1 christos * amd/get_args.c (get_version_string): use safer strlcat (or 2093 1.1 christos replacement strlcat). Use new wrapper xsnprintf() function, which 2094 1.1 christos will use the safer vsnprintf() if available, else default to plain 2095 1.1 christos sprintf. 2096 1.1 christos 2097 1.1 christos * configure.in: check for existence of strlcat() and its extern, 2098 1.1 christos replacing with libamu/strlcat.c as needed. 2099 1.1 christos 2100 1.1 christos * libamu/Makefile.am (EXTRA_DIST): add strlcat.c to distro. 2101 1.1 christos 2102 1.1 christos * include/am_defs.h: optional strlcat() extern. 2103 1.1 christos 2104 1.1 christos * include/am_utils.h: extern for new xvsnprintf(). 2105 1.1 christos 2106 1.1 christos * configure.in: overdue new major libtool shlib version. 2107 1.1 christos Check for snprintf function and extern. 2108 1.1 christos 2109 1.1 christos 2005-07-06 Erez Zadok <ezk (a] cs.sunysb.edu> 2110 1.1 christos 2111 1.1 christos * conf/nfs_prot/nfs_prot_aix4_3.h: cleanup struct 2112 1.1 christos aix4_nfs_args_bis. 2113 1.1 christos 2114 1.1 christos * Makefile.am (EXTRA_DIST_CONF): include mount_aix3.c in 2115 1.1 christos distribution. 2116 1.1 christos 2117 1.1 christos * conf/mount/mount_aix.c: mount style for aix 5.x and newer. 2118 1.1 christos 2119 1.1 christos * conf/mount/mount_aix3.c: mount styles for aix 3.x/4.x. 2120 1.1 christos 2121 1.1 christos * m4/macros/check_mount_style.m4: split mount styles for 2122 1.1 christos aix3.x/4.x and the newer (and better) aix 5.x code. 2123 1.1 christos 2124 1.1 christos 2005-07-05 Erez Zadok <ezk (a] cs.sunysb.edu> 2125 1.1 christos 2126 1.1 christos * amq/pawd.c (getawd): avoid buffer overflow. Bug fix from Graeme 2127 1.1 christos Wilford <G.Wilford (a] surrey.ac.uk>. 2128 1.1 christos 2129 1.1 christos 2005-06-30 Erez Zadok <ezk (a] cs.sunysb.edu> 2130 1.1 christos 2131 1.1 christos * amd/map.c (get_next_exported_ap): Avoid running off the end of 2132 1.1 christos the exported_ap[] array. Patch from jon+amd-at-spock.org. Fixed 2133 1.1 christos bug #301. 2134 1.1 christos 2135 1.1 christos 2005-06-25 Erez Zadok <ezk (a] cs.sunysb.edu> 2136 1.1 christos 2137 1.1 christos * Makefile.am (EXTRA_DIST_CONF): distribute new mtab_linux.c. 2138 1.1 christos 2139 1.1 christos * conf/mtab/mtab_linux.c (rewrite_mtab): variable declarations 2140 1.1 christos must come before C code. 2141 1.1 christos 2142 1.1 christos * conf/mtab/mtab_linux.c: Linux-specific mount table hanlding 2143 1.1 christos that's safe (uses locks, handles symlinks to /proc/mounts, etc.). 2144 1.1 christos Patch from Red Hat, which they adapted from mtab_file.c. Minor 2145 1.1 christos fixes to this file. 2146 1.1 christos 2147 1.1 christos * m4/macros/check_mnttab_style.m4: Use Linux-specific mount table 2148 1.1 christos handling. 2149 1.1 christos 2150 1.1 christos 2005-06-24 Erez Zadok <ezk (a] cs.sunysb.edu> 2151 1.1 christos 2152 1.1 christos * conf/mount/mount_aix.c (mount_aix3): minor cleanup of filehandle 2153 1.1 christos copying code. 2154 1.1 christos 2155 1.1 christos 2005-06-23 Erez Zadok <ezk (a] cs.sunysb.edu> 2156 1.1 christos 2157 1.1 christos * conf/nfs_prot/nfs_prot_hpux.h: add extern for h_errno, which may 2158 1.1 christos be missing from older hpux10 systems. 2159 1.1 christos 2160 1.1 christos * configure.in: update bug-reporting address to list 2161 1.1 christos https://bugzilla.am-utils.org/ as well as the mailing list. 2162 1.1 christos 2163 1.1 christos * Makefile.am (EXTRA_DIST_M4): distribute new type_rpcvers_t.m4 2164 1.1 christos macro. 2165 1.1 christos 2166 1.1 christos * conf/transp/transp_tli.c (get_nfs_version): always use 2167 1.1 christos rpcvers_t, now that it'll be automatically discovered. 2168 1.1 christos 2169 1.1 christos * configure.in: check for rpcvers_t type. 2170 1.1 christos 2171 1.1 christos * m4/macros/type_rpcvers_t.m4: new macro to check for type of 2172 1.1 christos rpcvers_t (Some Solaris versions need it). 2173 1.1 christos 2174 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_8.h: don't define INADDR_NONE 2175 1.1 christos here, but in the actual source files that may need it. 2176 1.1 christos 2177 1.1 christos * libamu/wire.c (INADDR_NONE): define INADDR_NONE if not defined 2178 1.1 christos already. 2179 1.1 christos 2180 1.1 christos * include/am_defs.h: define extern for sleep(3) if needed. 2181 1.1 christos 2182 1.1 christos * m4/macros/header_templates.m4: template for sleep(3) extern. 2183 1.1 christos 2184 1.1 christos * configure.in: check for extern for sleep(3), which is missing 2185 1.1 christos from some old (and buggy) versions of gcc's fixinc'ed headers. 2186 1.1 christos 2187 1.1 christos * conf/nfs_prot/nfs_prot_aix4_3.h: update definition of struct 2188 1.1 christos nfs_args from actual system headers. 2189 1.1 christos 2190 1.1 christos * conf/mount/mount_aix.c (mount_aix3): fix name of aix4 "bis" 2191 1.1 christos structure. 2192 1.1 christos 2193 1.1 christos 2005-06-22 Erez Zadok <ezk (a] cs.sunysb.edu> 2194 1.1 christos 2195 1.1 christos * BUGS: update Solaris information about use of f/lex and 2196 1.1 christos yacc/bison. 2197 1.1 christos 2198 1.1 christos 2005-06-20 Erez Zadok <ezk (a] cs.sunysb.edu> 2199 1.1 christos 2200 1.1 christos * minor new port: i386-pc-linux-suse9.3. 2201 1.1 christos 2202 1.1 christos 2005-06-20 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 2203 1.1 christos 2204 1.1 christos * configure.in (linux/nfs_mount.h): Move __KERNEL__ definition up 2205 1.1 christos so u32 is available for <linux/sunrpc/msg_prot.h>. 2206 1.1 christos 2207 1.1 christos 2005-06-16 Erez Zadok <ezk (a] cs.sunysb.edu> 2208 1.1 christos 2209 1.1 christos * amd/mapc.c (maptypes): move MAP_EXEC after MAP_FILE, because 2210 1.1 christos exec maps will always match when users use amd with command line 2211 1.1 christos args (not amd.conf). Using that legacy way, unfortunately, means 2212 1.1 christos that Amd will use it's hard-coded info-service search path, which 2213 1.1 christos doesn't work for everyone. It's much better to use amd.conf and 2214 1.1 christos specify what you want exactly. 2215 1.1 christos 2216 1.1 christos 2005-06-15 Erez Zadok <ezk (a] cs.sunysb.edu> 2217 1.1 christos 2218 1.1 christos * minor new port: i386-pc-linux-fc4 (gcc4 catches more bugs). 2219 1.1 christos 2220 1.1 christos * m4/macros/type_recvfrom_fromlen.m4: linux systems use unsigned 2221 1.1 christos int as the type of recvfrom()'s 6th argument. 2222 1.1 christos 2223 1.1 christos * m4/macros/type_yp_order_outorder.m4: linux systems use unsigned 2224 1.1 christos int as the type of yp_order()'s 3rd argument. 2225 1.1 christos 2226 1.1 christos 2005-06-15 Erez Zadok <ezk (a] cs.sunysb.edu> 2227 1.1 christos 2228 1.1 christos * scripts/amd.conf-sample (map_type): typo, said mount_type 2229 1.1 christos instead of map_type for the 'exec' example. 2230 1.1 christos 2231 1.1 christos 2005-06-11 Erez Zadok <ezk (a] cs.sunysb.edu> 2232 1.1 christos 2233 1.1 christos ******************************************************************* 2234 1.1 christos *** Released am-utils-6.1 *** 2235 1.1 christos ******************************************************************* 2236 1.1 christos 2237 1.1 christos 2005-06-04 Erez Zadok <ezk (a] cs.sunysb.edu> 2238 1.1 christos 2239 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): set timeo/retrans mount options 2240 1.1 christos only if the user specified them in amd.conf or elsewhere. If they 2241 1.1 christos were not specified, don't do anything, which would let the OS use 2242 1.1 christos its own defaults. 2243 1.1 christos 2244 1.1 christos * amd/get_args.c (get_args): negative timeo/retrans are "good" in 2245 1.1 christos that they represent uninitialized values (meaning to let the OS 2246 1.1 christos use it's default values). So only check if user specified a value 2247 1.1 christos equal to zero (invalid). 2248 1.1 christos 2249 1.1 christos * amd/amd.h: define AMU_TYPE_NONE so we know when users didn't 2250 1.1 christos specify timeo/retrans at all. 2251 1.1 christos 2252 1.1 christos 2005-06-03 Erez Zadok <ezk (a] cs.sunysb.edu> 2253 1.1 christos 2254 1.1 christos ******************************************************************* 2255 1.1 christos *** Released am-utils-6.1-rc7 *** 2256 1.1 christos ******************************************************************* 2257 1.1 christos 2258 1.1 christos * m4/macros/os_cflags.m4 (CFLAGS): use custom-OS C flags for 2259 1.1 christos configuring, not just for building. That way the two phases 2260 1.1 christos (configure and compile) are in sync. This fixes getwire() on 2261 1.1 christos OSF/1 systems. 2262 1.1 christos 2263 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_8.h: define INADDR_NONE if not 2264 1.1 christos defined in system headers. 2265 1.1 christos 2266 1.1 christos 2005-06-01 Erez Zadok <ezk (a] cs.sunysb.edu> 2267 1.1 christos 2268 1.1 christos * libamu/Makefile.am (EXTRA_DIST): remove alloca.c as it's no 2269 1.1 christos longer needed. 2270 1.1 christos 2271 1.1 christos 2005-05-28 Erez Zadok <ezk (a] cs.sunysb.edu> 2272 1.1 christos 2273 1.1 christos * completed set of fixes for irix6.5. 2274 1.1 christos 2275 1.1 christos * Minor new ports alpha-unknown-linux-gentoo1.4.16 2276 1.1 christos alphaev56-dec-osf4.0f, mips-unknown-linux-gentoo1.4.16, and 2277 1.1 christos sparc64-unknown-linux-gentoo1.4.16, and mips-sgi-irix6.5. Test 2278 1.1 christos those systems with both cc and gcc, where possible. 2279 1.1 christos 2280 1.1 christos * include/am_xdr_func.h: remove trailing comma at end of enum 2281 1.1 christos list. 2282 1.1 christos 2283 1.1 christos * m4/macros/os_cflags.m4: with gcc 3.4.3 on irix-6.5, we get pte_t 2284 1.1 christos undefined. So give it a dummy value. 2285 1.1 christos 2286 1.1 christos * libamu/alloca.c: remove file from distro. 2287 1.1 christos 2288 1.1 christos * configure.in: don't call AC_FUNC_ALLOCA any more. 2289 1.1 christos 2290 1.1 christos * include/am_defs.h: remove header fixups for <alloca.h>, now that 2291 1.1 christos we don't need it. 2292 1.1 christos 2293 1.1 christos * amd/amq_svc.c (amqsvc_is_client_allowed): rewrite function to 2294 1.1 christos avoid only use of alloca() in am-utils, and to use strdup 2295 1.1 christos explicitly. This way we can avoid using alloca, a feature that's 2296 1.1 christos not portable on various systems. 2297 1.1 christos 2298 1.1 christos * amq/amq.c: remove unused lint/rcsid cruft. 2299 1.1 christos 2300 1.1 christos 2005-05-27 Erez Zadok <ezk (a] cs.sunysb.edu> 2301 1.1 christos 2302 1.1 christos * conf/checkmount/checkmount_osf.c (fixmount_check_mount): add 2303 1.1 christos extra parentheses around assignments in "if" expressions (gcc 2304 1.1 christos complains). 2305 1.1 christos 2306 1.1 christos * conf/nfs_prot/nfs_prot_osf4.h: add missing extern definitions 2307 1.1 christos for plock, hstrerror, getmntinfo, alloca, xdr_exportnode, and 2308 1.1 christos xdr_groups. 2309 1.1 christos 2310 1.1 christos * configure.in: check for <linux/socket.h>, which, if found, 2311 1.1 christos appears to be preferable to <sys/socket.h>. Use it to find 2312 1.1 christos <linux/nfs_mount.h>. On some Linux systems 2313 1.1 christos (Gentoo), both exist but only one must be included, or else you 2314 1.1 christos get redefined structure errors. 2315 1.1 christos 2316 1.1 christos * libamu/wire.c (is_network_member): check if masknum is 2317 1.1 christos INADDR_NONE, not "< 0" because it's an unsigned quantity. 2318 1.1 christos 2319 1.1 christos * libamu/util.c (xstrlcpy): remove useless test for size_t < 0, 2320 1.1 christos because it's an unsigned quantity. 2321 1.1 christos 2322 1.1 christos 2005-05-26 Erez Zadok <ezk (a] cs.sunysb.edu> 2323 1.1 christos 2324 1.1 christos ******************************************************************* 2325 1.1 christos *** Released am-utils-6.1-rc6 *** 2326 1.1 christos ******************************************************************* 2327 1.1 christos 2328 1.1 christos 2005-05-25 Erez Zadok <ezk (a] cs.sunysb.edu> 2329 1.1 christos 2330 1.1 christos * conf/nfs_prot/nfs_prot_aix5_2.h: AIX 5.3 complains about 2331 1.1 christos missing definition of struct thread_credentials in <sys/vfs.h> 2332 1.1 christos but trying to bring that definition in drags a whole lot of other 2333 1.1 christos messy stuff. So just provide a dummy definition for this 2334 1.1 christos structure. 2335 1.1 christos 2336 1.1 christos 2005-05-24 Erez Zadok <ezk (a] cs.sunysb.edu> 2337 1.1 christos 2338 1.1 christos * Makefile.am (EXTRA_DIST_M4): distribute m4/macros/libtool.m4. 2339 1.1 christos 2340 1.1 christos * m4/macros/header_templates.m4: template for HAVE_EXTERN_MNTCTL. 2341 1.1 christos 2342 1.1 christos * m4/macros/check_extern.m4: include <sys/vmount.h> on AIX 2343 1.1 christos systems, so we can find extern definition for mntctl(). 2344 1.1 christos 2345 1.1 christos * conf/mtab/mtab_aix.c, conf/checkmount/checkmount_aix.c: only 2346 1.1 christos define an extern for mntctl() if needed. 2347 1.1 christos 2348 1.1 christos * amd/ops_nfs.c (prime_nfs_fhandle_cache): never, ever, use C++ 2349 1.1 christos style comments in C code. Some C compilers don't accept it. 2350 1.1 christos 2351 1.1 christos * amd/info_ldap.c (amu_ldap_init, get_ldap_timestamp): force cast 2352 1.1 christos of "time_t *ts" to u_long, to avoid complaints on AIX 5.2 with 2353 1.1 christos xlC. 2354 1.1 christos 2355 1.1 christos * amd/get_args.c: rename symbol conf_file to amu_conf_file to 2356 1.1 christos avoid conflict with libldap.a from openldap-2.0.21 on AIX 5.2. 2357 1.1 christos Oh, when will people who develop libraries learn to always prefix 2358 1.1 christos their exported symbols with a library-specific name? 2359 1.1 christos 2360 1.1 christos * configure.in: check for mntctl() extern on AIX systems. 2361 1.1 christos 2362 1.1 christos * ltmain.sh: update from latest libtool-1.5.18, so we can properly 2363 1.1 christos build on AIX 5.2/5.3 with cc and with gcc. 2364 1.1 christos 2365 1.1 christos * m4/macros/libtool.m4: update from latest libtool-1.5.18. This 2366 1.1 christos time, and from now on, we must include libtool.m4 from the libtool 2367 1.1 christos distribution itself. That way we ensure that we use an ltmain.sh 2368 1.1 christos that matches the appropriate libtool M4 macros. This makes 2369 1.1 christos am-utils no longer dependent on having libtool installed on a 2370 1.1 christos given system on which you run bootstrap. 2371 1.1 christos 2372 1.1 christos 2005-05-23 Erez Zadok <ezk (a] cs.sunysb.edu> 2373 1.1 christos 2374 1.1 christos * minor new port: i386-pc-linux-deb3.0. 2375 1.1 christos 2376 1.1 christos 2005-05-22 Erez Zadok <ezk (a] cs.sunysb.edu> 2377 1.1 christos 2378 1.1 christos * minor new ports: i386-unknown-netbsdelf2.0.2 and 2379 1.1 christos i386-unknown-openbsd3.7. 2380 1.1 christos 2381 1.1 christos 2005-05-20 Erez Zadok <ezk (a] cs.sunysb.edu> 2382 1.1 christos 2383 1.1 christos * minor new ports: i386-pc-linux-gentoo1.4.16 and 2384 1.1 christos powerpc-unknown-linux-yellowdog2.3. 2385 1.1 christos 2386 1.1 christos * include/{mount_headers2.h, am_defs.h}: safer setup before 2387 1.1 christos inclusion of <linux/nfs_mount.h>, which is broken on several 2388 1.1 christos systems. 2389 1.1 christos 2390 1.1 christos * configure.in: test for <linux/nfs2.h>. Separate special test 2391 1.1 christos for <linux/nfs_mount.h> because we need to define __KERNEL__ for 2392 1.1 christos that test, as well as optionally define struct nfs2_fh for some 2393 1.1 christos systems (gentoo with 2.4 kernel, yellowdog 2.3, and others). 2394 1.1 christos 2395 1.1 christos * config.guess.long: support Gentoo and Yellow Dog Linux distros. 2396 1.1 christos 2397 1.1 christos 2005-05-18 Erez Zadok <ezk (a] cs.sunysb.edu> 2398 1.1 christos 2399 1.1 christos * minor new ports: i386-pc-linux-suse9.2 and 2400 1.1 christos i386-unknown-freebsd5.4. 2401 1.1 christos 2402 1.1 christos * amd/nfs_subr.c: use NFS_FHSIZE, not FHSIZE. 2403 1.1 christos 2404 1.1 christos 2005-05-17 Erez Zadok <ezk (a] cs.sunysb.edu> 2405 1.1 christos 2406 1.1 christos ******************************************************************* 2407 1.1 christos *** Released am-utils-6.1-rc5 *** 2408 1.1 christos ******************************************************************* 2409 1.1 christos 2410 1.1 christos * amd/info_ldap.c (amu_ldap_init): change plog to dlog, to avoid 2411 1.1 christos sending annoying warning for a minor issue. 2412 1.1 christos 2413 1.1 christos 2005-05-17 Ion Badulescu <ionut (a] moisil.badula.org> 2414 1.1 christos 2415 1.1 christos * amd/nfs_subr.c: check for NULL pointer before dereferencing it. 2416 1.1 christos 2417 1.1 christos 2005-05-16 Erez Zadok <ezk (a] cs.sunysb.edu> 2418 1.1 christos 2419 1.1 christos * minor new ports: powerpc-apple-darwin7.9.0. 2420 1.1 christos 2421 1.1 christos * m4/macros/host_macros.m4: if a NetBSD system, remove 'elf' part 2422 1.1 christos from OS name because it's no longer relevant. Also, don't include 2423 1.1 christos the major OS version number in the OS name because that's also 2424 1.1 christos unnecessary (and users can always use $osver in maps). 2425 1.1 christos 2426 1.1 christos * amd/nfs_subr.c: use [1] for out-of-band pointer at the end of 2427 1.1 christos struct am_fh, because it's the most portable method. Bug fix 2428 1.1 christos suggestion from Dan Riley <dsr at mail.lns.cornell.edu>. Better 2429 1.1 christos fix from Ion Badulescu: use [FHSIZE-sizeof(u_int)] which is the 2430 1.1 christos actual size we use. 2431 1.1 christos 2432 1.1 christos * amd/amfs_generic.c (amfs_lookup_mntfs): reset currently used 2433 1.1 christos def_opts to options given in -opts, appended with the /default 2434 1.1 christos options. Bug fix suggestion from Dan Riley <dsr at 2435 1.1 christos mail.lns.cornell.edu>. 2436 1.1 christos 2437 1.1 christos 2005-05-13 Erez Zadok <ezk (a] cs.sunysb.edu> 2438 1.1 christos 2439 1.1 christos ******************************************************************* 2440 1.1 christos *** Released am-utils-6.1-rc4 *** 2441 1.1 christos ******************************************************************* 2442 1.1 christos 2443 1.1 christos 2005-05-11 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 2444 1.1 christos 2445 1.1 christos * amd/amd.c (main) : fixed memory leak detected by valgrind 2446 1.1 christos 2447 1.1 christos * amd/info_ldap.c (amu_ldap_init) : fixed memory leak detected by 2448 1.1 christos valgrind 2449 1.1 christos 2450 1.1 christos 2005-05-11 Erez Zadok <ezk (a] cs.sunysb.edu> 2451 1.1 christos 2452 1.1 christos * m4/macros/{check_checkmount_style.m4, check_mnttab_style.m4, 2453 1.1 christos check_nfs_fh_dref.m4, check_nfs_prot_headers.m4, 2454 1.1 christos check_nfs_sa_dref.m4, check_umount_style.m4, os_cflags.m4}: check 2455 1.1 christos for "macosx" as valid OS string, so we compile properly on Darwin 2456 1.1 christos systems. 2457 1.1 christos 2458 1.1 christos ******************************************************************* 2459 1.1 christos *** Released am-utils-6.1-rc3 *** 2460 1.1 christos ******************************************************************* 2461 1.1 christos 2462 1.1 christos * rerun bootstrap to get a working configure script that actually 2463 1.1 christos checks for limits.h and dependent linux autofs/nfs headers. 2464 1.1 christos 2465 1.1 christos * configure.in: remove redundant check for limits.h. 2466 1.1 christos 2467 1.1 christos 2005-05-09 Erez Zadok <ezk (a] cs.sunysb.edu> 2468 1.1 christos 2469 1.1 christos ******************************************************************* 2470 1.1 christos *** Released am-utils-6.1-rc2 *** 2471 1.1 christos ******************************************************************* 2472 1.1 christos 2473 1.1 christos 2005-05-08 Erez Zadok <ezk (a] cs.sunysb.edu> 2474 1.1 christos 2475 1.1 christos * amd/amfs_generic.c (amfs_lookup_mntfs): removed redundant use of 2476 1.1 christos old_def_opts variable. 2477 1.1 christos 2478 1.1 christos 2005-05-08 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 2479 1.1 christos 2480 1.1 christos * amd/amfs_generic.c (amfs_lookup_mntfs) : Make sure when a map 2481 1.1 christos entry has a single dash '-', that the default options are reset. 2482 1.1 christos This functionality was somehow lost from earlier releases and 2483 1.1 christos reported by Dan Riley <dsr (a] mail.lns.cornell.edu>. 2484 1.1 christos 2485 1.1 christos 2005-05-05 Erez Zadok <ezk (a] cs.sunysb.edu> 2486 1.1 christos 2487 1.1 christos * config.guess.long: detect SuSE Enterprise Server and call it 2488 1.1 christos "sles" not "suse". 2489 1.1 christos 2490 1.1 christos 2005-05-02 Erez Zadok <ezk (a] cs.sunysb.edu> 2491 1.1 christos 2492 1.1 christos * doc/am-utils.texi (amd): document proper use of 2493 1.1 christos /etc/hosts.allow. Don't spawn a new Amd process because Amd will 2494 1.1 christos get confused if someone else waitpid's on its children (which 2495 1.1 christos often do important un/mount work). Issue reported by Francis 2496 1.1 christos Montagnac <Francis.Montagnac at sophia.inria.fr>. 2497 1.1 christos 2498 1.1 christos * minor new ports: powerpc64-unknown-linux-rhel4, and 2499 1.1 christos powerpc64-unknown-linux-sles9. 2500 1.1 christos 2501 1.1 christos 2005-05-01 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 2502 1.1 christos 2503 1.1 christos * amd/amfs_host.c (amfs_host_umount): We do not want to pass 2504 1.1 christos ENOENT as an error because if the directory does not exists our 2505 1.1 christos work is done anyway. 2506 1.1 christos 2507 1.1 christos * conf/umount/umount_linux.c (umount_fs): If we are successful or 2508 1.1 christos there was an ENOENT, remove the mount entry from the mtab file. 2509 1.1 christos 2510 1.1 christos 2005-05-01 Ion Badulescu <ionut (a] moisil.badula.org> 2511 1.1 christos 2512 1.1 christos * amd/nfs_subr.c: am_fh definition moved here from amd.h; 2513 1.1 christos restructured to better reflect its duality (old/new filehandles) 2514 1.1 christos (fh_to_mp3): fhh_gen is always used, even for new style f/h 2515 1.1 christos (mp_to_fh): ditto 2516 1.1 christos 2517 1.1 christos * amd/amd.h: moved am_fh definition to nfs_subr.c (which is the 2518 1.1 christos only place where it's used) 2519 1.1 christos 2520 1.1 christos 2005-04-30 Erez Zadok <ezk (a] cs.sunysb.edu> 2521 1.1 christos 2522 1.1 christos * m4/macros/host_macros.m4: use sw_vers on Apple machines to find 2523 1.1 christos out more appropriate OS name (macosx) and OS version (10.3.x) than 2524 1.1 christos uname(3) reports. 2525 1.1 christos 2526 1.1 christos 2005-04-29 Erez Zadok <ezk (a] cs.sunysb.edu> 2527 1.1 christos 2528 1.1 christos * config.guess, config.sub, doc/texinfo.tex: updates from latest 2529 1.1 christos official GNU distributions. 2530 1.1 christos 2531 1.1 christos * m4/macros/host_macros.m4: for macosx, change architecture value 2532 1.1 christos from "Power Macintosh" to "powerpc". 2533 1.1 christos 2534 1.1 christos * libamu/util.c (xstrlcpy): format 'len' parameter as u_long, not 2535 1.1 christos int (it's a size_t). 2536 1.1 christos 2537 1.1 christos 2005-04-16 Erez Zadok <ezk (a] cs.sunysb.edu> 2538 1.1 christos 2539 1.1 christos * scripts/amd.conf.5, doc/am-utils.texi (normalize_slashes 2540 1.1 christos Parameter), scripts/amd.conf-sample: document new 2541 1.1 christos normalize_slashes global configuration parameter. 2542 1.1 christos 2543 1.1 christos * amd/opts.c (deslashify, normalize_slash): don't touch trailing 2544 1.1 christos slashes, even if multiples of them, if user said 2545 1.1 christos normalize_slashes=no in amd.conf. 2546 1.1 christos 2547 1.1 christos * amd/conf.c (gopt_normalize_slashes): new function to record if 2548 1.1 christos to normalize slashes or not. 2549 1.1 christos 2550 1.1 christos * amd/amd.h (CFM_NORMALIZE_SLASHES): new flag to decide if to 2551 1.1 christos normalize double-slashes or not ("yes" by default). 2552 1.1 christos 2553 1.1 christos * amd/autil.c (am_mounted): pass TRUE when calling mf_mounted. 2554 1.1 christos This is the parent mntfs which does the mf->mf_fo 2555 1.1 christos (am_opts type), and we're passing TRUE here to tell mf_mounted to 2556 1.1 christos actually free the am_opts. 2557 1.1 christos 2558 1.1 christos * amd/autil.c (mf_mounted): Be careful when calling free_ops and 2559 1.1 christos XFREE here. Some pseudo file systems like nfsx call this 2560 1.1 christos function, even though it would be called by the lower-level amd 2561 1.1 christos file system functions. nfsx needs to call this function because 2562 1.1 christos of the other actions it takes. So we pass a boolean from the 2563 1.1 christos caller (yes, not so clean workaround) to determine if we should 2564 1.1 christos free or not. If we're not freeing (often because we're called 2565 1.1 christos from a callback function), then just to be sure, we'll zero out 2566 1.1 christos the am_opts structure and set the pointer to NULL. The parent 2567 1.1 christos mntfs node owns this memory and is going to free it with a call to 2568 1.1 christos mf_mounted(mntfs,TRUE). 2569 1.1 christos 2570 1.1 christos * amd/amd.h: pass flag to mf_mounted, to free or not to free the 2571 1.1 christos am_opts. 2572 1.1 christos 2573 1.1 christos * amd/amfs_nfsx.c (amfs_nfsx_cont): call mf_mounted with FALSE to 2574 1.1 christos tell it not to free the am_opts, to avoid double free. 2575 1.1 christos 2576 1.1 christos * include/am_defs.h: include limits.h if found. 2577 1.1 christos 2578 1.1 christos * configure.in: check for limits.h. Check for certain Linux 2579 1.1 christos headers such as auto_fs.h after checking for limits.h, and include 2580 1.1 christos the latter if it exists, because some Linux headers depend on 2581 1.1 christos limits.h. This prevents warnings during configure time. 2582 1.1 christos 2583 1.1 christos 2005-04-12 Erez Zadok <ezk (a] cs.sunysb.edu> 2584 1.1 christos 2585 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_mount): do NOT set retrans/timeo 2586 1.1 christos values from default global UDP settings, because it can cause 2587 1.1 christos unexpected timeouts in Amd on slow systems. The default that each 2588 1.1 christos OS provides for these toplvl NFS mounts should be OK, or else you 2589 1.1 christos can use the map_options entry. 2590 1.1 christos 2591 1.1 christos 2005-04-09 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 2592 1.1 christos 2593 1.1 christos * amd/nfs_subr.c (mp_to_fh): Replace xstrlcpy with memcpy because the 2594 1.1 christos source buffer is treated more as a filehandle than a string. 2595 1.1 christos 2596 1.1 christos * amd/nfs_subr.c (fh_to_mp3): Replace xstrlcpy with memcpy because the 2597 1.1 christos source buffer is treated more as a filehandle than a string. 2598 1.1 christos 2599 1.1 christos * amd/opts.c (free_op): No longer need to assign pointer to NULL 2600 1.1 christos after XFREE. 2601 1.1 christos 2602 1.1 christos * amd/opts.c (expand_op): Revert back to using strncpy() instead 2603 1.1 christos of xstrlcpy. The code is correct and relies on the semantics of 2604 1.1 christos strncpy. 2605 1.1 christos 2606 1.1 christos * libamu/mount_fs.c (compute_nfs_args): Leave XXX warning that use 2607 1.1 christos of xstrlcpy in NFS_HN_DREF may corrupt a struct nfs_args, or 2608 1.1 christos truncate our concocted "hostname:/path" string prematurely if the 2609 1.1 christos nap->hostname field is ever less than 64 bytes long 2610 1.1 christos (MAXHOSTNAMELEN). 2611 1.1 christos 2612 1.1 christos * libamu/util.c (xstrlcpy): Return immediately if len is 0 to 2613 1.1 christos avoid unnecessary work. Log an error and return if len is less 2614 1.1 christos than 0. 2615 1.1 christos 2616 1.1 christos 2005-04-07 Erez Zadok <ezk (a] cs.sunysb.edu> 2617 1.1 christos 2618 1.1 christos * include/am_utils.h (XFREE): XFREE() should nullify the pointer 2619 1.1 christos even when compiling without debugging. It's safer this way. 2620 1.1 christos 2621 1.1 christos * libamu/xutil.c (am_set_hostname), 2622 1.1 christos hlfsd/stubs.c (nfsproc_lookup_2_svc), 2623 1.1 christos fsinfo/fsinfo.c (fsi_get_args), 2624 1.1 christos fixmount/fixmount.c (is_same_host, remove_mount, main), 2625 1.1 christos conf/mtab/mtab_isc3.c (mnt_dup, mtab_of), 2626 1.1 christos conf/mount/mount_svr4.c (mount_svr4), 2627 1.1 christos conf/mount/mount_linux.c (setup_loop_device), 2628 1.1 christos conf/hn_dref/hn_dref_linux.h (NFS_HN_DREF), 2629 1.1 christos conf/hn_dref/hn_dref_isc3.h (NFS_HN_DREF), 2630 1.1 christos amd/opts.c (expand_op), 2631 1.1 christos amd/ops_nfs.c (mount_nfs_fh), 2632 1.1 christos amd/nfs_subr.c (fh_to_mp3, mp_to_fh), 2633 1.1 christos amd/amfs_host.c (amfs_host_mount), 2634 1.1 christos amd/am_ops.c (merge_opts): 2635 1.1 christos use the new xstrlcpy instead of strncpy. 2636 1.1 christos 2637 1.1 christos * conf/checkmount/checkmount_{default,svr4}.c 2638 1.1 christos (fixmount_check_mount): document why NOT to use xstrlcpy. 2639 1.1 christos 2640 1.1 christos * libamu/xutil.c: am_hostname need not be MAXHOSTNAMELEN+1 any 2641 1.1 christos more, just MAXHOSTNAMELEN. 2642 1.1 christos 2643 1.1 christos * libamu/xutil.c (real_plog): use strlcpy (not xstrlcpy to avoid 2644 1.1 christos recursion, since xstrlcpy may use plog). 2645 1.1 christos 2646 1.1 christos * libamu/util.c (xstrlcpy): truncating a string is serious. Use 2647 1.1 christos XLOG_ERROR not XLOG_WARNING. 2648 1.1 christos 2649 1.1 christos 2005-04-06 Erez Zadok <ezk (a] cs.sunysb.edu> 2650 1.1 christos 2651 1.1 christos * include/am_utils.h: external definition for new xstrlcpy 2652 1.1 christos function. 2653 1.1 christos 2654 1.1 christos * libamu/util.c (xstrlcpy): new function. Similar to strncpy, but 2655 1.1 christos uses strlcpy to guarantee that the resulting string is null 2656 1.1 christos terminated, and also warn if the resulting string was truncated. 2657 1.1 christos 2658 1.1 christos * libamu/xutil.c (get_server_pid): move this function from util.c 2659 1.1 christos which is for general-purpose utilities. 2660 1.1 christos 2661 1.1 christos * m4/macros/header_templates.m4: template for HAVE_EXTERN_STRLCPY. 2662 1.1 christos 2663 1.1 christos * include/am_defs.h: provide extern definition for strlcpy, if 2664 1.1 christos needed. 2665 1.1 christos 2666 1.1 christos * libamu/Makefile.am (EXTRA_DIST): include strlcpy.c in distro. 2667 1.1 christos 2668 1.1 christos * configure.in: search for strlcpy and its extern. 2669 1.1 christos 2670 1.1 christos * amq/pawd.c (find_mt): It only handles *some* filesystem types, 2671 1.1 christos so it breaks on direct xfs mounts for example. The fix (from 2672 1.1 christos Christos Zoulas) is simple: We need to exclude toplvl to avoid 2673 1.1 christos infinite recursion, but all other fs's are game. 2674 1.1 christos 2675 1.1 christos 2005-03-31 Erez Zadok <ezk (a] cs.sunysb.edu> 2676 1.1 christos 2677 1.1 christos * amd/nfs_subr.c (fh_to_mp3): strncpy may not null terminate if 2678 1.1 christos copying exactly len bytes, so add null just to be safe. 2679 1.1 christos 2680 1.1 christos 2005-03-30 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 2681 1.1 christos 2682 1.1 christos * amd/nfs_subr.c (fh_to_mp3): Increased the n of strncpy() 2683 1.1 christos to make sure it null terminates. 2684 1.1 christos 2685 1.1 christos 2005-03-29 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 2686 1.1 christos 2687 1.1 christos * amd/nfs_subr.c (fh_to_mp3): Fix memset bug. In this case 2688 1.1 christos the memset can be removed because strncpy() should padd the 2689 1.1 christos buffer with NULLs anyway. 2690 1.1 christos 2691 1.1 christos 2005-03-21 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 2692 1.1 christos 2693 1.1 christos * include/am_defs.h: Clarify comment. 2694 1.1 christos 2695 1.1 christos 2005-03-21 Erez Zadok <ezk (a] cs.sunysb.edu> 2696 1.1 christos 2697 1.1 christos * include/am_defs.h: undefine "GROUP" so Solaris 10 with gcc-2.96 2698 1.1 christos won't complain about a conflict for this definition between 2699 1.1 christos <rpcsvc/nis.h> and <sys/acl.h>. 2700 1.1 christos 2701 1.1 christos 2005-03-20 Erez Zadok <ezk (a] cs.sunysb.edu> 2702 1.1 christos 2703 1.1 christos * amd/readdir.c (amfs_readdir_browsable): use %p, not %lx. 2704 1.1 christos 2705 1.1 christos * libamu/mount_fs.c (print_nfs_args): print pointer with %p, not 2706 1.1 christos %lx. 2707 1.1 christos 2708 1.1 christos 2005-03-18 Erez Zadok <ezk (a] cs.sunysb.edu> 2709 1.1 christos 2710 1.1 christos ******************************************************************* 2711 1.1 christos *** Released am-utils-6.1-rc1 *** 2712 1.1 christos ******************************************************************* 2713 1.1 christos 2714 1.1 christos 2005-03-18 Erez Zadok <ezk (a] cs.sunysb.edu> 2715 1.1 christos 2716 1.1 christos * conf/transp/transp_tli.c (get_nfs_version): use proper type for 2717 1.1 christos versout on Solaris (rpcvcers_t). 2718 1.1 christos 2719 1.1 christos * amd/mapc.c (mapc_showtypes): if last map type to print, don't 2720 1.1 christos append newline or comma to it. 2721 1.1 christos 2722 1.1 christos * libamu/mount_fs.c (print_nfs_args): cast struct netbuf pointer 2723 1.1 christos to %lx because on Solaris 10 sparc gcc-3.4.3 complains about 2724 1.1 christos casting it to an int (size is different). 2725 1.1 christos 2726 1.1 christos * configure.in, NEWS: prepare for 6.1-rc1 release. 2727 1.1 christos 2728 1.1 christos 2005-03-17 Erez Zadok <ezk (a] cs.sunysb.edu> 2729 1.1 christos 2730 1.1 christos * scripts/amd2ldif.in, ldap.schema: fixes by Adam Morley 2731 1.1 christos <adam-at-gmi-dot-com> to synchronize what amd2ldif does vs. what 2732 1.1 christos the ldap.schema expects. 2733 1.1 christos 2734 1.1 christos * amd/map.c (exported_ap_free): We're using a free-list data 2735 1.1 christos structure and re-using malloc'ed objects. So, to be safe, memset 2736 1.1 christos entire structure when it's freed, not just the pointer. 2737 1.1 christos (umount_exported): bug fix to on-exit code. Don't run 2738 1.1 christos am_unmounted() unless unmount_mp() didn't run, since the latter 2739 1.1 christos already calls am_unmounted(). This way we avoid a double-free 2740 1.1 christos bug. 2741 1.1 christos 2742 1.1 christos 2005-03-15 Erez Zadok <ezk (a] cs.sunysb.edu> 2743 1.1 christos 2744 1.1 christos * tasks: updates. Executable maps is supported. NFSv4 and 2745 1.1 christos FreeBSD autofs isn't. 2746 1.1 christos 2747 1.1 christos * Makefile.am (EXTRA_DIST): include FAQ in distro. 2748 1.1 christos 2749 1.1 christos * doc/Makefile.am (alldocs): install README.lda and README.osx. 2750 1.1 christos 2751 1.1 christos * FAQ: new file, better late than never. 2752 1.1 christos 2753 1.1 christos 2005-03-14 Erez Zadok <ezk (a] cs.sunysb.edu> 2754 1.1 christos 2755 1.1 christos * scripts/amd2ldif.in: patch to add the amdMapName attribute to 2756 1.1 christos the amdMapTimestamp object when amd2ldif converts it. This is 2757 1.1 christos necessary if you are using type:=auto mounts and want those 2758 1.1 christos mountmaps looked up through LDAP. Patch from Jim Zajkowski 2759 1.1 christos <jim.zajkowski (a] gmail.com>. 2760 1.1 christos 2761 1.1 christos 2005-03-12 Erez Zadok <ezk (a] cs.sunysb.edu> 2762 1.1 christos 2763 1.1 christos * minor new ports: i386-pc-linux-rhel4. 2764 1.1 christos 2765 1.1 christos * minor new ports: powerpc-apple-darwin7.8.0. 2766 1.1 christos 2767 1.1 christos 2005-03-10 Erez Zadok <ezk (a] cs.sunysb.edu> 2768 1.1 christos 2769 1.1 christos * amd/ops_nfs.c (prime_nfs_fhandle_cache): rearrange code so it's 2770 1.1 christos cleaner. 2771 1.1 christos 2772 1.1 christos * ltmain.sh: upgrade from libtool-1.5.6. 2773 1.1 christos 2774 1.1 christos * m4/macros/check_{fs_mntent,mnttab_type,mount_type}.m4: check for 2775 1.1 christos Linux 2.6 kernel modules, which have a .ko extension, not .o. Now 2776 1.1 christos we can properly detect which file systems exist on Linux 2.6 based 2777 1.1 christos systems (SLES9, RHEL4, Fedora, etc.). 2778 1.1 christos 2779 1.1 christos 2005-03-09 Erez Zadok <ezk (a] cs.sunysb.edu> 2780 1.1 christos 2781 1.1 christos * m4/macros/host_macros.m4: find out what's the OS software 2782 1.1 christos distribution name, if any. 2783 1.1 christos 2784 1.1 christos * m4/macros/header_templates.m4: template for DISTRO_NAME. 2785 1.1 christos 2786 1.1 christos * amd/get_args.c (get_version_string): print again full_os, os, 2787 1.1 christos osver, and vendor (bug fix). 2788 1.1 christos (get_version_string): print distribution name, if known (e.g., 2789 1.1 christos rh9, suse8, etc.). 2790 1.1 christos 2791 1.1 christos * amd/mapc.c (mapc_showtypes): wrap around list of supported map. 2792 1.1 christos 2793 1.1 christos 2005-03-08 Erez Zadok <ezk (a] cs.sunysb.edu> 2794 1.1 christos 2795 1.1 christos * amd/map.c (umount_exported): when unmounting file systems on 2796 1.1 christos exit (when amd.conf global unmount_on_exit=yes), use unmount_mp() 2797 1.1 christos instead of unmount_node() because the latter always unmounts in 2798 1.1 christos the foreground, whereas the former unmounts in the bg/fg as 2799 1.1 christos needed. Unmounting always in the foreground has two problems: (1) 2800 1.1 christos if the unmount hangs, amd hangs, and (2) for type:=program, the 2801 1.1 christos unmount script is execve'd(!) thus replacing the main amd process, 2802 1.1 christos which never gets to finish up, leaving the amd mount points hung. 2803 1.1 christos 2804 1.1 christos * NEWS: mention new feature of executable maps. 2805 1.1 christos 2806 1.1 christos * AUTHORS: Acknowledge Erik Kline. 2807 1.1 christos 2808 1.1 christos * scripts/amd.conf.5: document executable maps and 2809 1.1 christos exec_map_timeout parameter. 2810 1.1 christos 2811 1.1 christos * scripts/amd.conf-sample: examples of an executable map and 2812 1.1 christos exec_map_timeout. 2813 1.1 christos 2814 1.1 christos * m4/macros/header_templates.m4: template for HAVE_MAP_EXEC. 2815 1.1 christos 2816 1.1 christos * doc/am-utils.texi: document Executable maps and exec_map_timeout 2817 1.1 christos parameter. 2818 1.1 christos 2819 1.1 christos * amd/conf.c (gopt_exec_map_timeout): function to parse 2820 1.1 christos exec_map_timeout [global] parameter. 2821 1.1 christos 2822 1.1 christos * amd/amd.h (AMFS_EXEC_MAP_TIMEOUT): define default executable map 2823 1.1 christos timeout to 10 seconds, and a global placeholder for the 2824 1.1 christos configurable value. 2825 1.1 christos 2826 1.1 christos * amd/amd.c (init_global_options): initialize default executable 2827 1.1 christos map timeout. 2828 1.1 christos 2829 1.1 christos * amd/Makefile.am (EXTRA_amd_SOURCES): include info_exec.c in 2830 1.1 christos tarball. 2831 1.1 christos 2832 1.1 christos * configure.in: enable executable maps. 2833 1.1 christos 2834 1.1 christos * amd/mapc.c: define executable map functions and behavior. 2835 1.1 christos 2836 1.1 christos * amd/info_exec.c: executable map implementation from Erik Kline 2837 1.1 christos <ekline at ekline dot com>, modified, cleaned-up, and fixed. 2838 1.1 christos 2839 1.1 christos 2005-03-07 Erez Zadok <ezk (a] cs.sunysb.edu> 2840 1.1 christos 2841 1.1 christos * amd/info_file.c (file_init_or_mtime): consolidate identical 2842 1.1 christos file_init and file_mtime into one function. 2843 1.1 christos 2844 1.1 christos 2005-03-05 Erez Zadok <ezk (a] cs.sunysb.edu> 2845 1.1 christos 2846 1.1 christos * doc/am-utils.texi (Program Filesystem): if umount/unmount are 2847 1.1 christos not specified, Amd uses "umount ${fs}" by default. 2848 1.1 christos 2849 1.1 christos * amd/amfs_program.c (amfs_program_match): if neither unmount nor 2850 1.1 christos umount parameters are specified, use the default userland umount 2851 1.1 christos program with "umount ${fs}". This way type:=program doesn't have 2852 1.1 christos to specify the umount program for basic unmounting actions. 2853 1.1 christos (amfs_program_init): save unmount program string in mf_private 2854 1.1 christos only if it's NULL, not based on mf_refc. 2855 1.1 christos 2856 1.1 christos * configure.in: auto-detect name of userland unmount program. 2857 1.1 christos 2858 1.1 christos * aux_conf.h.in (UNMOUNT_PROGRAM): macro for default userland 2859 1.1 christos unmount program. 2860 1.1 christos 2861 1.1 christos * amd/ops_cachefs.c (cachefs_init): save unmount program string in 2862 1.1 christos mf_private only if it's NULL, not based on mf_refc. 2863 1.1 christos 2864 1.1 christos * configure.in: don't "discover" inheritance file system any more, 2865 1.1 christos since we don't have the .c file for it. 2866 1.1 christos 2867 1.1 christos * amd/get_args.c (get_version_string): hack to still show that we 2868 1.1 christos support the inherit file system in output of amd -v. 2869 1.1 christos 2870 1.1 christos 2005-03-05 Ion Badulescu <ionut (a] moisil.badula.org> 2871 1.1 christos 2872 1.1 christos * amd/amfs_inherit.c: removed, dead code 2873 1.1 christos 2874 1.1 christos * amd/Makefile.am, 2875 1.1 christos amd/am_ops.c, 2876 1.1 christos amd/amd.h, 2877 1.1 christos conf/autofs/autofs_linux.h, 2878 1.1 christos conf/autofs/autofs_solaris_v1.h, 2879 1.1 christos conf/autofs/autofs_solaris_v2_v3.h, 2880 1.1 christos m4/macros/header_templates.m4: removed references to amfs_inherit.c 2881 1.1 christos 2882 1.1 christos 2005-03-05 Erez Zadok <ezk (a] cs.sunysb.edu> 2883 1.1 christos 2884 1.1 christos * amd/autil.c (am_mounted): completely rewrite the unmount 2885 1.1 christos no/timeout code to (1) make more sense for odd conditions, and (2) 2886 1.1 christos allow utimeout=N mount options to override FS_NOTIMEOUT default 2887 1.1 christos flags for disk-based file systems such as ufs, pcfs, cdfs, etc. 2888 1.1 christos 2889 1.1 christos * libamu/mount_fs.c (mount_fs): use safer XFREE() not free(). 2890 1.1 christos 2891 1.1 christos * conf/umount/umount_linux.c (umount_fs): strtok is destructive, 2892 1.1 christos so use strdup'ed string. 2893 1.1 christos 2894 1.1 christos * conf/mount/mount_linux.c (parse_opts): strtok is destructive, so 2895 1.1 christos use strdup'ed string. 2896 1.1 christos 2897 1.1 christos 2005-03-04 Erez Zadok <ezk (a] cs.sunysb.edu> 2898 1.1 christos 2899 1.1 christos * scripts/amd.conf.5, doc/am-utils.texi (cache_duration 2900 1.1 christos Parameter): clarify actual behavior: this Parameter affects 2901 1.1 christos initial mount timeout as well as the linear backoff what happens 2902 1.1 christos the initial failed EBUSY unmount. 2903 1.1 christos 2904 1.1 christos * doc/am-utils.texi (opts Option): better explanation of 2905 1.1 christos utimeout=N mount pseudo-option. 2906 1.1 christos 2907 1.1 christos * amd/amd.h (AM_TTL, AM_TTL_W): better comments, minor cleanup. 2908 1.1 christos 2909 1.1 christos 2005-03-02 Daniel P. Ottavio <dottavio (a] ic.sunysb.edu> 2910 1.1 christos 2911 1.1 christos * AUTHORS: add Dan Ottavio. 2912 1.1 christos 2913 1.1 christos * scripts/amd.conf.5: document new debug_mtab_file option. 2914 1.1 christos 2915 1.1 christos * scripts/amd.conf-sample (debug_mtab_file): show example. 2916 1.1 christos 2917 1.1 christos * doc/am-utils.texi (debug_mtab_file Parameter): document new 2918 1.1 christos option. 2919 1.1 christos 2920 1.1 christos * conf/mtab/mtab_{file,mach3}.c (open_locked_mtab): if mtab file 2921 1.1 christos doesn't exist by the time Amd tries to exist, return a 0 rather 2922 1.1 christos than hang indefinitely. 2923 1.1 christos 2924 1.1 christos * amd/conf.c (gopt_debug_mtab_file): new function to parse 2925 1.1 christos debug_mtab_file option. 2926 1.1 christos 2927 1.1 christos * amd/amd.h: placeholder for debug_mtab_file string. 2928 1.1 christos Define default debug_mtab_file to "/tmp/mtab". 2929 1.1 christos 2930 1.1 christos * NEWS: document new debug_mtab_file option. 2931 1.1 christos 2932 1.1 christos 2005-03-02 Erez Zadok <ezk (a] cs.sunysb.edu> 2933 1.1 christos 2934 1.1 christos * conf/transp/transp_{sockets,tli}.c (amu_get_myaddress): when 2935 1.1 christos users want Amd's NFS service to bind to some arbitrary "localhost" 2936 1.1 christos address, show which address was actually resolved and bound to. 2937 1.1 christos 2938 1.1 christos 2005-03-01 Erez Zadok <ezk (a] cs.sunysb.edu> 2939 1.1 christos 2940 1.1 christos * amd/srvr_nfs.c (start_nfs_pings): move code from elsewhere 2941 1.1 christos (update_nfs_pingval) that initializes the pinger, as well as turns 2942 1.1 christos it on/off as needed, and handles changing its value. This is to 2943 1.1 christos avoid races and other infinite-loop conditions that could result 2944 1.1 christos in ping storms. 2945 1.1 christos 2946 1.1 christos * amd/srvr_amfs_auto.c (amfs_generic_find_srvr): when creating a 2947 1.1 christos new file server structure, default the ping value to AM_PINGER 2948 1.1 christos (30sec) and set the FSF_PING_UNINIT flag. 2949 1.1 christos 2950 1.1 christos * amd/amd.h (FSF_PING_UNINIT): new flag to tell whether the NFS 2951 1.1 christos pinger had been initialized for a given file server. 2952 1.1 christos 2953 1.1 christos * scripts/ctl-amd.in (stop): no need to check if 2954 1.1 christos /var/lock/subsys/amd file exists if you do an rm -f afterward. 2955 1.1 christos Ensure that proper return value is returned from script. 2956 1.1 christos 2957 1.1 christos * NEWS, doc/am-utils.texi (opts Option): update meaning of ping=N 2958 1.1 christos so that if N=-1, pings are off; if N=0, pings are set to the 2959 1.1 christos default value (currently 30 seconds). 2960 1.1 christos 2961 1.1 christos 2005-02-28 Erez Zadok <ezk (a] cs.sunysb.edu> 2962 1.1 christos 2963 1.1 christos * amd/nfs_prot_svc.c (nfs_program_2): on TLI system, try to call 2964 1.1 christos __rpc_get_local_uid to verify if the RPC call through the 2965 1.1 christos local host interface came from UID 0. 2966 1.1 christos 2967 1.1 christos * configure.in: look for internal libnsl function 2968 1.1 christos __rpc_get_local_uid (seems to be available on all known TLI 2969 1.1 christos systems, Solaris and HP-UX 11). 2970 1.1 christos 2971 1.1 christos * conf/transp/transp_tli.c (amu_svc_getcaller): unnecessary 2972 1.1 christos function for TLI systems (and it violated a array's bounds, 2973 1.1 christos discovered with libumem.so). 2974 1.1 christos (bind_resv_port, bind_resv_port_only_udp, get_autofs_address): 2975 1.1 christos just to be on the safe side, set struct t_bind's qlen field to non 2976 1.1 christos zero (64 by default). This value cannot be zero for TCP 2977 1.1 christos connections, and it's unclear if it's good to have it zero for UDP 2978 1.1 christos connections, so setting it to 64 is safer. 2979 1.1 christos 2980 1.1 christos 2005-02-27 Erez Zadok <ezk (a] cs.sunysb.edu> 2981 1.1 christos 2982 1.1 christos * doc/am-utils.texi (opts Option, Keep-alives): update text on 2983 1.1 christos ping option. 2984 1.1 christos 2985 1.1 christos * amd/srvr_nfs.c (update_nfs_pingval): new function to update NFS 2986 1.1 christos server ping values, turn them off, or re-enable them. 2987 1.1 christos (find_nfs_srvr): call update_nfs_pingval() as needed. 2988 1.1 christos 2989 1.1 christos * hlfsd/hlfsd.c (reaper, cleanup): don't use exit(3) in a signal 2990 1.1 christos handler, but use _exit(2) instead. 2991 1.1 christos 2992 1.1 christos * amd/amd.c (parent_exit): This signal handler is called during 2993 1.1 christos Amd initialization. The parent forks a child to do all the hard 2994 1.1 christos automounting work, and waits for a SIGQUIT signal from the child. 2995 1.1 christos When the parent gets the signal it's supposed to call this handler 2996 1.1 christos and exit(3), thus completing the daemonizing process. Alas, on 2997 1.1 christos some systems, especially Linux 2.4/2.6 with Glibc, exit(3) doesn't 2998 1.1 christos always terminate the parent process. Worse, the parent process 2999 1.1 christos now refuses to accept any more SIGQUIT signals -- they are 3000 1.1 christos blocked. What's really annoying is that this doesn't happen all 3001 1.1 christos the time, suggesting a race condition somewhere. 3002 1.1 christos (This happens even if I change the logic to use another signal.) 3003 1.1 christos I traced this to something which exit(3) does in addition to 3004 1.1 christos exiting the process, probably some atexit() stuff or other 3005 1.1 christos side-effects related to signal handling. Either way, since at 3006 1.1 christos this stage the parent process just needs to terminate, I'm simply 3007 1.1 christos calling _exit(2). Note also that the OpenGroup doesn't list 3008 1.1 christos exit(3) as a recommended "Base Interface" but they do list 3009 1.1 christos _exit(2) as one. This fix seems to work reliably all the time. 3010 1.1 christos 3011 1.1 christos * scripts/wait4amd2die.in: change default to recognize that amd is 3012 1.1 christos down more quickly (check every 3 seconds instead of 5). 3013 1.1 christos 3014 1.1 christos 2005-02-26 Erez Zadok <ezk (a] cs.sunysb.edu> 3015 1.1 christos 3016 1.1 christos * libamu/xutil.c (amu_release_controlling_tty): warn if closing 3017 1.1 christos stdin/stdout/stderr failed. No need for tempfd. 3018 1.1 christos 3019 1.1 christos * scripts/ctl-{amd,hlfsd}.in: before running any real program in 3020 1.1 christos these shell scripts, chdir to "/" to avoid possible hangs with 3021 1.1 christos existing NFS mounts. This was causing ctl-amd's forked 3022 1.1 christos grand-child amd process to hang if restartable_mounts=no. Go 3023 1.1 christos figure. 3024 1.1 christos 3025 1.1 christos 2005-02-25 Erez Zadok <ezk (a] cs.sunysb.edu> 3026 1.1 christos 3027 1.1 christos * minor new port ia64-unknown-linux-rhel4 3028 1.1 christos 3029 1.1 christos * fsinfo/fsi_util.c (set_ether_if): avoid u_long casting to -1 3030 1.1 christos (RHEL4 gcc 3.4.3 ia64 compiler complains). 3031 1.1 christos 3032 1.1 christos 2005-02-24 Erez Zadok <ezk (a] cs.sunysb.edu> 3033 1.1 christos 3034 1.1 christos * minor new port i386-unknown-freebsd6.0 (6.0-CURRENT-SNAP001). 3035 1.1 christos 3036 1.1 christos 2005-02-23 Erez Zadok <ezk (a] cs.sunysb.edu> 3037 1.1 christos 3038 1.1 christos * minor new port: i386-pc-linux-rhel3. 3039 1.1 christos 3040 1.1 christos * INSTALL: major update of the compatibility list. 3041 1.1 christos 3042 1.1 christos * m4/macros/os_cflags.m4: set AMU_CFLAGS not AM_CFLAGS. 3043 1.1 christos 3044 1.1 christos 2005-02-22 Erez Zadok <ezk (a] cs.sunysb.edu> 3045 1.1 christos 3046 1.1 christos * scripts/amd.conf.5, doc/am-utils.texi (preferred_amq_port): 3047 1.1 christos document new preferred_amq_port [global] option. 3048 1.1 christos 3049 1.1 christos * scripts/amd.conf-sample (preferred_amq_port): example. 3050 1.1 christos 3051 1.1 christos * include/am_utils.h: add preferred_amq_port to prototype. 3052 1.1 christos 3053 1.1 christos * conf/transp/transp_tli.c (bind_preferred_amq_port): new function 3054 1.1 christos to bind the Amq RPC service for UDP and TCP to a preferred port 3055 1.1 christos (or to any port if preferred_amq_port==0). 3056 1.1 christos (create_amq_service): decide if to bind to RPC_ANYFD, or to a 3057 1.1 christos requested port. 3058 1.1 christos 3059 1.1 christos * conf/transp/transp_sockets.c (create_amq_service): if 3060 1.1 christos preferred_amq_port is greater than 0, then bind to that port for 3061 1.1 christos both UDP and TCP. If preferred_amq_port==0, then bind to any 3062 1.1 christos port. 3063 1.1 christos 3064 1.1 christos * amd/nfs_start.c (mount_automounter): pass global 3065 1.1 christos preferred_amq_port value to create_amq_service(). 3066 1.1 christos 3067 1.1 christos * amd/conf.c (gopt_preferred_amq_port): new function to parse 3068 1.1 christos amd.conf value for preferred_amq_port. 3069 1.1 christos 3070 1.1 christos * amd/amd.h: placeholder for preferred_amq_port. 3071 1.1 christos 3072 1.1 christos 2005-02-21 Erez Zadok <ezk (a] cs.sunysb.edu> 3073 1.1 christos 3074 1.1 christos * conf/transp/transp_tli.c (bind_resv_port_only_udp): rename old 3075 1.1 christos bindnfs_port to a more proper name. This function binds the NFS 3076 1.1 christos service to a specified port, and only for UDP. 3077 1.1 christos 3078 1.1 christos * conf/transp/transp_tli.c: cleanup some code, rename some 3079 1.1 christos functions, in preparation for RPC amq port specification code. 3080 1.1 christos 3081 1.1 christos 2005-02-19 Erez Zadok <ezk (a] cs.sunysb.edu> 3082 1.1 christos 3083 1.1 christos * */Makefile.am: don't redefine CFLAGS or LDFLAGS; they are 3084 1.1 christos reserved for users to pass them on the command line. Instead, use 3085 1.1 christos autoconf's internal AM_CFLAGS and AM_LDFLAGS. 3086 1.1 christos 3087 1.1 christos * depcomp, install-sh, missing, mkinstalldirs: update from latest 3088 1.1 christos versions of Automake 1.9.2. 3089 1.1 christos 3090 1.1 christos * m4/macros/*.m4: properly quote AC_DEFUN'ed macro name, and fix 3091 1.1 christos regexp/patsubst M4 commands. Newer versions of autoconf (e.g., 3092 1.1 christos v2.59) complain about those. 3093 1.1 christos 3094 1.1 christos 2005-02-17 Erez Zadok <ezk (a] cs.sunysb.edu> 3095 1.1 christos 3096 1.1 christos * amd/opts.c (f_xhost): if we don't have hstrerror, just print the 3097 1.1 christos value of h_errno. 3098 1.1 christos 3099 1.1 christos * configure.in: include -lresolv if it defines the hstrerror() 3100 1.1 christos function and not already available in existing libraries. 3101 1.1 christos 3102 1.1 christos * minor new port: powerpc-apple-darwin7.7.0. 3103 1.1 christos 3104 1.1 christos * amd/nfs_subr.c (mp_to_fh): pathlen should be u_int because it is 3105 1.1 christos later compared against an unsigned quantity (complaint from gcc 3106 1.1 christos 3.3 on SuSE 8.2) 3107 1.1 christos 3108 1.1 christos * include/am_utils.h: remove unnecessary (and conflicting) extern 3109 1.1 christos for bind_resv_port2(), which is declared as static in 3110 1.1 christos transp_tli.c. 3111 1.1 christos 3112 1.1 christos * doc/am-utils.texi, scripts/amd.conf.5, scripts/amd.conf-sample, 3113 1.1 christos NEWS: document four new amd.conf options: nfs_retry_interval_udp, 3114 1.1 christos nfs_retransmit_counter_udp nfs_retry_interval_tcp, and 3115 1.1 christos nfs_retransmit_counter_tcp. 3116 1.1 christos 3117 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): set timeo/retrans values based on 3118 1.1 christos wether nfs_proto was "udp" or "tcp". 3119 1.1 christos 3120 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_mount): set retrans/timeo values 3121 1.1 christos from default UDP settings (because toplvl mounts are UDP for now). 3122 1.1 christos 3123 1.1 christos * amd/get_args.c (get_args): use parameters to -t option to set 3124 1.1 christos both UDP and TCP timeo/retrans values. 3125 1.1 christos 3126 1.1 christos * amd/conf.c: (gopt_nfs_retransmit_counter_udp, 3127 1.1 christos (gopt_nfs_retransmit_counter_tcp, gopt_nfs_retry_interval_udp 3128 1.1 christos (gopt_nfs_retry_interval_tcp): new functions to parse UDP and TCP 3129 1.1 christos retrans/timeo parameters separately. 3130 1.1 christos (gopt_nfs_retry_interval, gopt_nfs_retransmit_counter): if 3131 1.1 christos specified, use it to set defaults for both UDP and TCP. 3132 1.1 christos 3133 1.1 christos * amd/amd.c (init_global_options): initialize default values of 3134 1.1 christos both UDP and TCP retrans/timeo values to -1. 3135 1.1 christos 3136 1.1 christos * amd/amd.h (AMU_TYPE_{TCP,UDP,MAX}): define separate retrans and 3137 1.1 christos timeo values, one for udp mounts and another for tcp mounts. 3138 1.1 christos 3139 1.1 christos 2005-02-16 Erez Zadok <ezk (a] cs.sunysb.edu> 3140 1.1 christos 3141 1.1 christos * README.osx: new file with some instructions for Mac OS-X users, 3142 1.1 christos courtesy Kevin Layer. 3143 1.1 christos 3144 1.1 christos * amd/get_args.c (get_args): move call to switch_to_logfile() 3145 1.1 christos after processing -v, so we don't print "no logfile defined; using 3146 1.1 christos stderr" when we're about to print version info and exit anyway. 3147 1.1 christos 3148 1.1 christos * minor new port: powerpc-ibm-aix5.3.0.0. 3149 1.1 christos 3150 1.1 christos * hlfsd/hlfsd.c (main): rewrite code to avoid negative array 3151 1.1 christos references. 3152 1.1 christos 3153 1.1 christos * conf/checkmount/checkmount_aix.c: remove extern definition for 3154 1.1 christos mntctl(), since AIX 5.3 has it in <sys/vmount.h>. 3155 1.1 christos 3156 1.1 christos * amd/info_union.c (union_reload): rewrite code to avoid negative 3157 1.1 christos array references. 3158 1.1 christos 3159 1.1 christos * amd/opts.c (split_opts, expand_op): rewrite code to avoid 3160 1.1 christos negative array references. 3161 1.1 christos 3162 1.1 christos * conf/mtab/mtab_aix.c: remove extern definition for mntctl(), 3163 1.1 christos since AIX 5.3 has it in <sys/vmount.h>. 3164 1.1 christos 3165 1.1 christos * libamu/xutil.c (real_plog): rewrite code to avoid negative array 3166 1.1 christos references. 3167 1.1 christos 3168 1.1 christos * libamu/wire.c (is_network_member): rearrange code slightly to 3169 1.1 christos avoid negative array references (AIX 5.3 xlC 7.0 compiler 3170 1.1 christos complains about it). 3171 1.1 christos 3172 1.1 christos 2005-01-26 Erez Zadok <ezk (a] cs.sunysb.edu> 3173 1.1 christos 3174 1.1 christos * doc/am-utils.texi (xhost Selector Function): document new 3175 1.1 christos selector function. 3176 1.1 christos 3177 1.1 christos * amd/opts.c (f_xhost): new function for use when matching the 3178 1.1 christos "host" selector for the current host's name. This function will 3179 1.1 christos now match the primary host name as well as all known aliases 3180 1.1 christos (CNAMES) that gethostbyname() returns. This function now supports 3181 1.1 christos a new function selector called xhost(ARG); the old host==ARG 3182 1.1 christos selector is unharmed. 3183 1.1 christos 3184 1.1 christos 2005-01-17 Ion Badulescu <ionut (a] moisil.badula.org> 3185 1.1 christos 3186 1.1 christos * NEWS: document the ability to restart old mount points 3187 1.1 christos 3188 1.1 christos * amd/map.c (mount_auto_node): force the fileid of the 3189 1.1 christos root to be 1, so that it won't change between restarts; use the 3190 1.1 christos root filesystem's own methods instead of hard-coding the use of 3191 1.1 christos the default methods 3192 1.1 christos 3193 1.1 christos * conf/transp/transp_tli.c (create_nfs_service): better cleanup on 3194 1.1 christos error conditions. 3195 1.1 christos (bind_resv_port2): allow the caller to request a certain port. 3196 1.1 christos 3197 1.1 christos * conf/transp/transp_sockets.c (bind_resv_port): allow the caller 3198 1.1 christos to request a certain port. 3199 1.1 christos (create_nfs_service): better cleanup on error conditions. 3200 1.1 christos 3201 1.1 christos * amd/restart.c (restart_automounter_nodes): new function, takes 3202 1.1 christos care of restarting automounter NFS mount points (autofs will come 3203 1.1 christos later). 3204 1.1 christos (restart): skip all automounter mount points. 3205 1.1 christos 3206 1.1 christos * amd/nfs_subr.c (fh_to_mp3, mp_to_fh): new filehandle 3207 1.1 christos implementation: if the path to the node is shorter than sizeof(fh) 3208 1.1 christos chars (currently 32 chars for a NFSv2 fh), simply store it inside 3209 1.1 christos the fh. For longer paths, keep the old implementation. 3210 1.1 christos 3211 1.1 christos * amd/nfs_start.c (mount_automounter): reorder things so that 3212 1.1 christos restarting the toplvl filesystems occurs before anything else (so 3213 1.1 christos that we can grab all the ports we need before we accidentally use 3214 1.1 christos them for something else). 3215 1.1 christos 3216 1.1 christos * amd/mntfs.c (locate_mntfs): remove dead code; add special 3217 1.1 christos handling of restarted toplvl filesystems. 3218 1.1 christos 3219 1.1 christos * amd/mapc.c (root_keyiter): fix up a comment. 3220 1.1 christos 3221 1.1 christos * amd/map.c (path_to_exported_ap): new function, searches for and 3222 1.1 christos returns a node by the path to it. 3223 1.1 christos (get_root_nfs_fh): remove unnecessary fiddling with the root fh. 3224 1.1 christos 3225 1.1 christos * config.guess.long: support Red Hat Enterprise Linux 3226 1.1 christos 3227 1.1 christos 2005-01-17 Erez Zadok <ezk (a] cs.sunysb.edu> 3228 1.1 christos 3229 1.1 christos * libamu/util.c (rmdirs): prevent amd from logging 'Read-only 3230 1.1 christos filesystem' errors when the mount point has an ancestor (i.e. '/') 3231 1.1 christos that is mounted read-only. Patch from David Rage <rage (a] ucl.ac.uk>. 3232 1.1 christos 3233 1.1 christos 2005-01-17 Ion Badulescu <ionut (a] moisil.badula.org> 3234 1.1 christos 3235 1.1 christos * conf/umount/umount_linux.c (umount_fs): Linux doesn't need the 3236 1.1 christos autofs space hack 3237 1.1 christos 3238 1.1 christos * conf/umount/umount_default.c (umount_fs): there is no need for 3239 1.1 christos HAVE_LOOP_DEV, now that Linux has its own dedicated umount_linux.c 3240 1.1 christos 3241 1.1 christos 2005-01-17 Erez Zadok <ezk (a] cs.sunysb.edu> 3242 1.1 christos 3243 1.1 christos * doc/am-utils.texi (Automatic Unmounting): document new umount2() 3244 1.1 christos behavior on Linux. 3245 1.1 christos 3246 1.1 christos * conf/umount/umount_linux.c (umount_fs): new file. On Linux, if 3247 1.1 christos umount(2) failed with EIO or ESTALE, try umount2(2) with 3248 1.1 christos MNT_FORCE+MNT_DETACH. Based on patch from Christos Zoulas 3249 1.1 christos <christos (a] zoulas.com>. 3250 1.1 christos 3251 1.1 christos * m4/macros/check_umount_style.m4: pick new linux umount style. 3252 1.1 christos 3253 1.1 christos * Makefile.am (EXTRA_DIST_CONF): distribute new umount_linux.c 3254 1.1 christos file. 3255 1.1 christos 3256 1.1 christos 2005-01-16 Erez Zadok <ezk (a] cs.sunysb.edu> 3257 1.1 christos 3258 1.1 christos * conf/nfs_prot/nfs_prot_aix{4_2,4_3,5_1,5_2}.h, 3259 1.1 christos m4/macros/struct_nfs_args.m4: minor cleanups for quicker execution 3260 1.1 christos of "nfs_args" test. 3261 1.1 christos 3262 1.1 christos 2005-01-13 Erez Zadok <ezk (a] cs.sunysb.edu> 3263 1.1 christos 3264 1.1 christos * amd/get_args.c (show_usage): separate function to print usage 3265 1.1 christos string. 3266 1.1 christos (get_args) Call show_usage() from get_args when needed, then exit. 3267 1.1 christos 3268 1.1 christos * amd/get_args.c (get_version_string): print also domain, host, 3269 1.1 christos and hostd. 3270 1.1 christos (get_args): print version string at the very end, after all other 3271 1.1 christos values had been initialized. Patch from Christos Zoulas 3272 1.1 christos <christos (a] zoulas.com>. 3273 1.1 christos 3274 1.1 christos * conf/transp/transp_sockets.c (check_pmap_up, get_nfs_version), 3275 1.1 christos conf/transp/transp_tli.c (check_pmap_up): correct an inconsistency 3276 1.1 christos in timeouts in the RPC code between socket and TLI 3277 1.1 christos implementations. The clntudp_create timeout has a different 3278 1.1 christos meaning than the clnt_call timeout. Set the timeout of the create 3279 1.1 christos to 2 seconds which means retry if no answer in two seconds, and 3280 1.1 christos the timeout call to 6 seconds, which will give us consistently 2 3281 1.1 christos to 3 pings. This is useful on occasional network UDP loss where a 3282 1.1 christos single packet loss would wrongfully mark a server down. (The TLI 3283 1.1 christos code is the one that had the problem occurs.) Patch from Christos 3284 1.1 christos Zoulas <christos (a] zoulas.com>. 3285 1.1 christos 3286 1.1 christos * libamu/mount_fs.c (compute_nfs_attrcache_flags): make sure code 3287 1.1 christos compiles even for systems that don't have the nfs_args 3288 1.1 christos ac{reg,dir}{min,max} fields. 3289 1.1 christos 3290 1.1 christos * amd/amfs_toplvl.c (set_auto_attrcache_timeout): just to be safe, 3291 1.1 christos add "noac" if amd.conf option auto_attrcache was set to 0. This 3292 1.1 christos should hopefully make the compute_nfs_attrcache_flags patch even 3293 1.1 christos safer. 3294 1.1 christos 3295 1.1 christos * libamu/mount_fs.c (compute_nfs_attrcache_flags): separate 3296 1.1 christos function to compute attribute-cache values. This function now 3297 1.1 christos computes attribute-cache flags for BOTH Amd's automount points 3298 1.1 christos (NFS) as well as any normal NFS mount that Amd performs. 3299 1.1 christos (compute_nfs_args, compute_automounter_nfs_args): call 3300 1.1 christos compute_nfs_attrcache_flags to figure out attribute-cache related 3301 1.1 christos flags. Patch from Christos Zoulas <christos (a] zoulas.com>. 3302 1.1 christos 3303 1.1 christos * scripts/amd.conf-sample: show examples of new global options 3304 1.1 christos domain_strip and auto_attrcache. 3305 1.1 christos 3306 1.1 christos * scripts/amd.conf.5: document new global options domain_strip and 3307 1.1 christos auto_attrcache. Add warning to auto_attrcache use in case of 3308 1.1 christos ESTALE. 3309 1.1 christos 3310 1.1 christos * doc/am-utils.texi: minor cleanups and document new global 3311 1.1 christos options domain_strip and auto_attrcache. Add warning to 3312 1.1 christos auto_attrcache use in case of ESTALE. 3313 1.1 christos 3314 1.1 christos * amd/conf.c (gopt_auto_attrcache): parse new global amd.conf 3315 1.1 christos option auto_attrcache. 3316 1.1 christos (gopt_domain_strip): parse new global amd.conf option 3317 1.1 christos domain_strip. Part of a patch from Christos Zoulas 3318 1.1 christos <christos (a] zoulas.com>. 3319 1.1 christos 3320 1.1 christos * amd/autil.c (host_normalize): don't call domain_strip() 3321 1.1 christos unconditionally, but depend on the new global amd.conf flag 3322 1.1 christos domain_strip. 3323 1.1 christos 3324 1.1 christos * amd/amfs_toplvl.c (set_auto_attrcache_timeout): new function to 3325 1.1 christos set attribute cache timeout value given other configured global 3326 1.1 christos defaults. 3327 1.1 christos (amfs_toplvl_mount): set automount point attribute cache option 3328 1.1 christos value to "noac" if attrcache=0, else set it to whatever 3329 1.1 christos set_auto_attrcache_timeout() returns. 3330 1.1 christos 3331 1.1 christos * amd/amd.h (CFM_DOMAIN_STRIP, CFM_DEFAULT_FLAGS): flag to decide 3332 1.1 christos if to strip the domain from the host name or not, default options 3333 1.1 christos set to strip the domain. 3334 1.1 christos Store global value of automount attribute cache timeout value. 3335 1.1 christos 3336 1.1 christos * amd/amd.c (init_global_options): add flag to record automount 3337 1.1 christos point attribute cache value. 3338 1.1 christos 3339 1.1 christos * amd/amd.c (do_memory_locking): new function to encapsulate all 3340 1.1 christos of the memory-locking functionality, which was in main() before. 3341 1.1 christos Also added a call to madvise(), just in case. 3342 1.1 christos (main): call do_memory_locking() to pin process memory if amd.conf 3343 1.1 christos asked for it, but do so after the main Amd process daemonizes, 3344 1.1 christos because mlock/mlockall is not inherited by fork() by default. 3345 1.1 christos Slightly restructured patch from Jonathan Chen 3346 1.1 christos <jon+amd (a] spock.org>. 3347 1.1 christos 3348 1.1 christos * configure.in: check for madvise(2). 3349 1.1 christos 3350 1.1 christos * config.guess, config.sub: updates for latest official GNU 3351 1.1 christos versions. 3352 1.1 christos 3353 1.1 christos * m4/GNUmakefile: update paths to "make update" 3354 1.1 christos 3355 1.1 christos 2005-01-12 Erez Zadok <ezk (a] cs.sunysb.edu> 3356 1.1 christos 3357 1.1 christos * conf/nfs_prot/nfs_prot_hpux11.h: define an nfs_fh3 structure 3358 1.1 christos that's compatible for HPUX11 as well as NFSv3. 3359 1.1 christos 3360 1.1 christos * include/am_defs.h: On AIX 5.2, both <resolv.h> and 3361 1.1 christos <arpa/nameser_compat.h> define MAXDNAME, if compiling with gcc 3362 1.1 christos -D_USE_IRS (so that we get extern definitions for hstrerror() and 3363 1.1 christos others). So undef MAXDNAME before it gets redefined. 3364 1.1 christos 3365 1.1 christos * include/am_defs.h: Solaris 10 (build 72) defines GROUP_OBJ in 3366 1.1 christos <sys/acl.h>, which is included in many other header files. 3367 1.1 christos <rpcsvc/nis.h> uses GROUP_OBJ inside enum zotypes. So if you're 3368 1.1 christos unlucky enough to include both headers, you get a compile error 3369 1.1 christos because the two symbols conflict. Temp hack: undefine acl.h's 3370 1.1 christos GROUP_OBJ before including nis.h, because we don't need acl.h for 3371 1.1 christos am-utils. 3372 1.1 christos 3373 1.1 christos * m4/macros/os_cflags.m4: turn -D_USE_IRS for AIX5+ so that 3374 1.1 christos certain extern definitions of resolver functions become available. 3375 1.1 christos 3376 1.1 christos * amd/opts.c (expand_op): use #define for expand_error string 3377 1.1 christos because some compilers complain about the use of static const 3378 1.1 christos char[] inside a varargs function. 3379 1.1 christos 3380 1.1 christos * minor new port i386-unknown-netbsdelf1.6.2. 3381 1.1 christos 3382 1.1 christos * new port i386-unknown-netbsdelf2.0. 3383 1.1 christos 3384 1.1 christos * minor port i386-unknown-freebsd5.3. 3385 1.1 christos 3386 1.1 christos * libamu/mount_fs.c (compute_nfs_args): don't compare 3387 1.1 christos nap->maxgrouplist against NULL but against 0 directly, because on 3388 1.1 christos FreeBSD 4.3, NULL is defined is (void *)0 and gcc 3.4 complains 3389 1.1 christos about a type mismatch. 3390 1.1 christos 3391 1.1 christos * minor port i386-pc-linux-fc3 (Fedora Core 3). 3392 1.1 christos 3393 1.1 christos 2005-01-11 Erez Zadok <ezk (a] cs.sunysb.edu> 3394 1.1 christos 3395 1.1 christos * hlfsd/hlfsd.c (main): use sigsuspend() over sigpause(), because 3396 1.1 christos FC3 doesn't have proper extern definition for the defunct 3397 1.1 christos sigpause(). 3398 1.1 christos 3399 1.1 christos * configure.in: look for sigsuspend(). 3400 1.1 christos 3401 1.1 christos 2005-01-01 Erez Zadok <ezk (a] cs.sunysb.edu> 3402 1.1 christos 3403 1.1 christos * updated copyright year to 2005 on all files. 3404 1.1 christos 3405 1.1 christos 2004-11-29 Erez Zadok <ezk (a] cs.sunysb.edu> 3406 1.1 christos 3407 1.1 christos * scripts/amd.conf.5: Small fixes to typos in man page, from 3408 1.1 christos Thomas Klausner <tk (a] giga.or.at>. 3409 1.1 christos 3410 1.1 christos 2004-10-22 Erez Zadok <ezk (a] cs.sunysb.edu> 3411 1.1 christos 3412 1.1 christos * ldap.schema: add this file to distribution. 3413 1.1 christos 3414 1.1 christos 2004-09-15 Erez Zadok <ezk (a] cs.sunysb.edu> 3415 1.1 christos 3416 1.1 christos * doc/am-utils.texi: fix old URLs. 3417 1.1 christos 3418 1.1 christos 2004-09-01 Erez Zadok <ezk (a] cs.sunysb.edu> 3419 1.1 christos 3420 1.1 christos * conf/mtab/mtab_aix.c (read_mtab): avoid a race condition between 3421 1.1 christos multiple calls to mntctl(). Patch suggested by Michael van Elst 3422 1.1 christos <M.van.Elst (a] science-computing.de>. 3423 1.1 christos 3424 1.1 christos 2004-08-07 Erez Zadok <ezk (a] cs.sunysb.edu> 3425 1.1 christos 3426 1.1 christos * doc/am-utils.texi (Program Filesystem): document how to get 3427 1.1 christos double slashes in Amd maps. 3428 1.1 christos 3429 1.1 christos * amd/opts.c (normalize_slash): support escaped slashes, needed 3430 1.1 christos for SMB mounts. Use '\\\/\\\/' in a string to get a double slash. 3431 1.1 christos 3432 1.1 christos 2004-08-06 Erez Zadok <ezk (a] cs.sunysb.edu> 3433 1.1 christos 3434 1.1 christos * amd/amfs_program.c (amfs_program_match): bug fix. Complain if 3435 1.1 christos both opt_unmount and opt_umount are missing, not when just one of 3436 1.1 christos them is missing. 3437 1.1 christos 3438 1.1 christos 2004-08-03 Erez Zadok <ezk (a] cs.sunysb.edu> 3439 1.1 christos 3440 1.1 christos * amq/pawd.c (find_mt): recognize "linkx" type mounts. Patch from 3441 1.1 christos Hauke Fath <hauke (a] Espresso.Rhein-Neckar.DE>. Support "nfsx" while 3442 1.1 christos we're at it. 3443 1.1 christos 3444 1.1 christos * doc/am-utils.texi: mention bugzilla. Fix broken URL HREF's. 3445 1.1 christos 3446 1.1 christos 2004-08-02 Erez Zadok <ezk (a] cs.sunysb.edu> 3447 1.1 christos 3448 1.1 christos * amq/pawd.c (find_mt): recognize "host" type mounts. Patch from 3449 1.1 christos Dan Nelson <dnelson (a] allantgroup.com>. 3450 1.1 christos 3451 1.1 christos 2004-07-30 Erez Zadok <ezk (a] cs.sunysb.edu> 3452 1.1 christos 3453 1.1 christos * doc/am-utils.texi, NEWS: minor typos fixed. 3454 1.1 christos 3455 1.1 christos 2004-07-30 Erez Zadok <ezk (a] play.cs.columbia.edu> 3456 1.1 christos 3457 1.1 christos * include/am_xdr_func.h: cannot have field-less structure; put a 3458 1.1 christos dummy field in. 3459 1.1 christos 3460 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (xdr_autofs_rddirargs): cast 3461 1.1 christos 2nd arg of xdr_u_int to a u_int*, not int*. 3462 1.1 christos (autofs_mount_2_req): don't use C++ // comments. 3463 1.1 christos 3464 1.1 christos 2004-07-30 Erez Zadok <ezk (a] cs.sunysb.edu> 3465 1.1 christos 3466 1.1 christos * m4/macros/{try_compile_anyfs,check_field}.m4: include 3467 1.1 christos <fs/msdosfs/msdosfsmount.h> if it exists. Part of a set of 3468 1.1 christos FreeBSD 5 patches from Martin Blapp <mb (a] imp.ch>. 3469 1.1 christos 3470 1.1 christos * include/am_defs.h: include <fs/msdosfs/msdosfsmount.h> if it 3471 1.1 christos exists. 3472 1.1 christos 3473 1.1 christos * amd/ops_pcfs.c (mount_pcfs): set pcfs_args_t.dirmask field to 3474 1.1 christos 0777 by default. 3475 1.1 christos 3476 1.1 christos * configure.in: check for pcfs_args_t.dirmask field. Check for 3477 1.1 christos existence of <fs/msdosfs/msdosfsmount.h>, new on FreeBSD 5. 3478 1.1 christos 3479 1.1 christos 2004-07-29 Erez Zadok <ezk (a] cs.sunysb.edu> 3480 1.1 christos 3481 1.1 christos * minor new port: i386-pc-linux-fc2 (Fedora Core 2). 3482 1.1 christos 3483 1.1 christos * amd/info_ldap.c (amu_ldap_rebind): don't use ldap_enable_cache() 3484 1.1 christos unless the function exists in libldap and the extern is in 3485 1.1 christos <ldap.h>. Recently, openldap removed the extern from ldap.h, but 3486 1.1 christos left the function in libldap, for binary compatibility; however 3487 1.1 christos ldap_enable_cache and related functions have been deprecated (and 3488 1.1 christos no longer listed in the header files), and therefore should be 3489 1.1 christos avoided. 3490 1.1 christos 3491 1.1 christos * m4/macros/check_extern_ldap.m4: new macro to check for 3492 1.1 christos LDAP-specific externs. This is separate from check_extern.m4 so 3493 1.1 christos as to avoid breaking the general-purpose macro with LDAP-specific 3494 1.1 christos headers. 3495 1.1 christos 3496 1.1 christos * m4/macros/header_templates.m4: extern template for new 3497 1.1 christos HAVE_EXTERN_LDAP_ENABLE_CACHE. 3498 1.1 christos 3499 1.1 christos * configure.in: call new check_extern_ldap.m4 macro. 3500 1.1 christos 3501 1.1 christos * Makefile.am (EXTRA_DIST_M4): distribute new check_extern_ldap.m4 3502 1.1 christos macro. 3503 1.1 christos 3504 1.1 christos * config.guess.long: distinguish between redhat and fedora-core 3505 1.1 christos releases. 3506 1.1 christos 3507 1.1 christos 2004-07-23 Erez Zadok <ezk (a] cs.sunysb.edu> 3508 1.1 christos 3509 1.1 christos * Minor new port i386-pc-linux-suse8.2: minor new port to SuSE 3510 1.1 christos 8.2. This systems' latest GCC (gcc version 3.3 20030226 3511 1.1 christos prerelease) correctly caught a lot of possibly bad comparisons 3512 1.1 christos between signed and unsigned quantities. 3513 1.1 christos 3514 1.1 christos * hlfsd/homedir.c (table_add, plt_search): changed first arg of 3515 1.1 christos both functions to u_int. 3516 1.1 christos 3517 1.1 christos * hlfsd/hlfsd.h, hlfsd/hlfsd.c: change 'cache_interval' to u_int. 3518 1.1 christos Changed proto for plt_search arg to u_int. 3519 1.1 christos 3520 1.1 christos * amq/amq.c (show_mi, main): change 'i' to u_int. 3521 1.1 christos 3522 1.1 christos * amq/pawd.c (find_mlp): change 'i' to u_int. 3523 1.1 christos 3524 1.1 christos * amd/srvr_nfs.c (find_nfs_srvr): change proto_nfs_version to 3525 1.1 christos u_int. 3526 1.1 christos 3527 1.1 christos * amd/amd.h: change prototype of vreaddir and amfs_error_readdir 3528 1.1 christos to use u_int count parameter. 3529 1.1 christos 3530 1.1 christos * amd/ops_TEMPLATE.c (foofs_readdir), amd/amfs_error.c 3531 1.1 christos (amfs_error_readdir): change 'count' parameter in proto to u_int. 3532 1.1 christos 3533 1.1 christos * amd/amd.h: change proto of amfs_generic_readdir() to use u_int 3534 1.1 christos count parameter. 3535 1.1 christos 3536 1.1 christos * amd/readdir.c (make_entry_chain): preflen should be u_int. 3537 1.1 christos (amfs_readdir_browsable): change 'count' to u_int. 3538 1.1 christos (amfs_generic_readdir): change 'count' to u_int. 3539 1.1 christos 3540 1.1 christos * amd/amd.h: amu_global_options's portmap_program field should be 3541 1.1 christos u_long, not int (to match RPC conventions). Change am_fh's 3542 1.1 christos fhh_gen field to u_int, to match am_gen field in struct am_node. 3543 1.1 christos 3544 1.1 christos * amd/conf.c (gopt_portmap_program): use atol() instead of atoi() 3545 1.1 christos to avoid size differences. 3546 1.1 christos 3547 1.1 christos * conf/mount/mount_linux.c (find_unused_loop_device): cast to int 3548 1.1 christos to avoid comparison between chars and integers. 3549 1.1 christos 3550 1.1 christos * libamu/mount_fs.c (get_hex_string): change 'i' to u_int to avoid 3551 1.1 christos comparisons between signed and unsigned integers. 3552 1.1 christos 3553 1.1 christos 2004-07-13 Erez Zadok <ezk (a] cs.sunysb.edu> 3554 1.1 christos 3555 1.1 christos * minor new port: i386-pc-linux-suse9.1. 3556 1.1 christos 3557 1.1 christos * include/am_defs.h: don't use __kernel_dev_t for dev_t on Linux, 3558 1.1 christos because SuSE wants __kernel_old_dev_t. Instead, just define it 3559 1.1 christos directly to what they both use: an unsigned short. 3560 1.1 christos 3561 1.1 christos 2004-05-27 Erez Zadok <ezk (a] cs.sunysb.edu> 3562 1.1 christos 3563 1.1 christos * minor new port: i386-unknown-freebsd4.10 3564 1.1 christos 3565 1.1 christos 2004-04-29 Ion Badulescu <ionut (a] moisil.badula.org> 3566 1.1 christos 3567 1.1 christos * amd/amfs_generic.c (amfs_lookup_one_mntfs): fix the creation of 3568 1.1 christos mountpoints for autofs-based sublinks the right way 3569 1.1 christos 3570 1.1 christos 2004-04-28 Ion Badulescu <ionut (a] moisil.badula.org> 3571 1.1 christos 3572 1.1 christos Fixes for various memory management problems discovered by 3573 1.1 christos Rainer's purify run: 3574 1.1 christos 3575 1.1 christos * conf/transp/transp_tli.c (check_pmap_up): zero out struct 3576 1.1 christos timeval before using; 3577 1.1 christos (get_nfs_version): ditto 3578 1.1 christos 3579 1.1 christos * amd/map.c (umount_exported): make sure we don't try to free the 3580 1.1 christos same am_node multiple times, by setting its corresponding 3581 1.1 christos exported_ap slot to null 3582 1.1 christos 3583 1.1 christos * amd/get_args.c (get_version_string): a static pointer is pretty 3584 1.1 christos pointless, make it automatic 3585 1.1 christos 3586 1.1 christos * amd/conf.c (gopt_debug_options): remove unnecessary strdup(); 3587 1.1 christos (gopt_log_options): ditto 3588 1.1 christos (gopt_print_version): free version string after using it 3589 1.1 christos 3590 1.1 christos * amd/autil.c (mf_mounted): free mntfs->mf_fo instead of leaking 3591 1.1 christos it 3592 1.1 christos 3593 1.1 christos * amd/amfs_generic.c (amfs_lookup_one_mntfs): use the CALLOC macro 3594 1.1 christos (amfs_lookup_mntfs): free def_opts on return 3595 1.1 christos 3596 1.1 christos * amd/amd.c (daemon_mode): zero out struct sigaction before using 3597 1.1 christos it; 3598 1.1 christos (main): ditto 3599 1.1 christos 3600 1.1 christos 2004-04-27 Ion Badulescu <ionut (a] moisil.badula.org> 3601 1.1 christos 3602 1.1 christos * amd/amfs_generic.c (amfs_lookup_one_mntfs): force FS_MKMNT on 3603 1.1 christos the real mount of an autofs-based sublink 3604 1.1 christos 3605 1.1 christos 2004-04-25 Ion Badulescu <ionut (a] moisil.badula.org> 3606 1.1 christos 3607 1.1 christos * amd/map.c (free_map_if_success): avoid dereferencing a pointer 3608 1.1 christos to potentially freed memory 3609 1.1 christos 3610 1.1 christos 2004-02-26 Erez Zadok <ezk (a] cs.sunysb.edu> 3611 1.1 christos 3612 1.1 christos * minor new port: i386-unknown-freebsd5.2.1. 3613 1.1 christos 3614 1.1 christos 2004-01-30 Ion Badulescu <ion (a] guppy.limebrokerage.com> 3615 1.1 christos 3616 1.1 christos * scripts/ctl-hlfsd.in: don't run hlfsd with -D fork 3617 1.1 christos 3618 1.1 christos 2004-01-25 Erez Zadok <ezk (a] cs.sunysb.edu> 3619 1.1 christos 3620 1.1 christos * minor new port: sparc64-unknown-linux-deb3.0 3621 1.1 christos 3622 1.1 christos * config.guess.long: recoognize Debian Linux. 3623 1.1 christos 3624 1.1 christos 2004-01-22 Erez Zadok <ezk (a] cs.sunysb.edu> 3625 1.1 christos 3626 1.1 christos * conf/transp/transp_tli.c (amu_get_myaddress): use 3627 1.1 christos htonl(INADDR_LOOPBACK) and define INADDR_LOOPBACK if not already 3628 1.1 christos available. 3629 1.1 christos 3630 1.1 christos 2004-01-21 Erez Zadok <ezk (a] cs.sunysb.edu> 3631 1.1 christos 3632 1.1 christos * wire-test/wire-test.c, hlfsd/hlfsd.c (main): pass NULL as second 3633 1.1 christos parameter to amu_get_myaddress(). 3634 1.1 christos 3635 1.1 christos * conf/transp/transp_tli.c (amu_get_myaddress): resolve value of 3636 1.1 christos localhost_address amd.conf parameter, if defined (else default to 3637 1.1 christos HOST_SELF_CONNECT). 3638 1.1 christos Removed htonl() around socket address copying (I think it was 3639 1.1 christos wrong) since plog("My IP address is...") in amd.c was printing 3640 1.1 christos addresses wrong on Solaris x86.. 3641 1.1 christos 3642 1.1 christos * conf/transp/transp_sockets.c (amu_get_myaddress): comment out 3643 1.1 christos old DEBUG code that warns if 127.0.0.1 isn't the same as what 3644 1.1 christos get_myaddress() reports. Add code to resolve value of 3645 1.1 christos localhost_address amd.conf parameter, if defined (else default to 3646 1.1 christos 127.0.0.1). 3647 1.1 christos 3648 1.1 christos * amd/conf.c (gopt_localhost_address): new function to parse 3649 1.1 christos amd.conf parameter localhost_address. 3650 1.1 christos 3651 1.1 christos * amd/amd.h: global field to store amd.conf localhost_address 3652 1.1 christos parameter. 3653 1.1 christos 3654 1.1 christos * amd/amd.c (main): call amu_get_myaddress with global option, 3655 1.1 christos which could have been set in amd.conf. 3656 1.1 christos 3657 1.1 christos * NEWS, doc/am-utils.texi, scripts/amd.conf-sample, 3658 1.1 christos scripts/amd.conf.5: document new option localhost_address. 3659 1.1 christos 3660 1.1 christos 2004-01-20 Ion Badulescu <ionut (a] moisil.badula.org> 3661 1.1 christos 3662 1.1 christos * amd/conf.c (gopt_nfs_allow_insecure_port): support function for 3663 1.1 christos the new "nfs_allow_insecure_port" amd.conf directive 3664 1.1 christos 3665 1.1 christos * amd/nfs_prot_svc.c (nfs_program_2): complain about the insecure 3666 1.1 christos port and drop the request only if the "nfs_allow_insecure_port" 3667 1.1 christos option is not set in amd.conf 3668 1.1 christos 3669 1.1 christos * doc/am-utils.texi (Global Parameters): documented the new 3670 1.1 christos amd.conf directive "nfs_allow_insecure_port" 3671 1.1 christos 3672 1.1 christos * scripts/amd.conf.5 (nfs_allow_insecure_port): ditto 3673 1.1 christos 3674 1.1 christos * scripts/amd.conf-sample (nfs_allow_insecure_port): added the 3675 1.1 christos "nfs_allow_insecure_port" directive 3676 1.1 christos 3677 1.1 christos 2004-01-20 Erez Zadok <ezk (a] cs.sunysb.edu> 3678 1.1 christos 3679 1.1 christos * doc/am-utils.texi: amd-workers is defunct. 3680 1.1 christos 3681 1.1 christos 2004-01-19 Erez Zadok <ezk (a] cs.sunysb.edu> 3682 1.1 christos 3683 1.1 christos * cvs-server.txt: updated instructions 3684 1.1 christos 3685 1.1 christos 2004-01-18 Erez Zadok <ezk (a] cs.sunysb.edu> 3686 1.1 christos 3687 1.1 christos * minor new port: i386-unknown-freebsd5.2. 3688 1.1 christos 3689 1.1 christos 2004-01-05 Erez Zadok <ezk (a] cs.sunysb.edu> 3690 1.1 christos 3691 1.1 christos * MIRRORS.{txt,html}: verify each mirror site, update to new 3692 1.1 christos locations (if found), and remove stale mirrors URLs. 3693 1.1 christos 3694 1.1 christos * updated copyright year to 2004 on all files. 3695 1.1 christos 3696 1.1 christos 2004-01-03 Erez Zadok <ezk (a] cs.sunysb.edu> 3697 1.1 christos 3698 1.1 christos * MIRRORS.txt: track status. 3699 1.1 christos 3700 1.1 christos * Makefile.am (install-snapshot): new directory to install 3701 1.1 christos snapshots (now that am-utils home page is moved). 3702 1.1 christos 3703 1.1 christos 2004-01-02 Erez Zadok <ezk (a] cs.sunysb.edu> 3704 1.1 christos 3705 1.1 christos * INSTALL, README.autofs: remove forced text-mode. 3706 1.1 christos 3707 1.1 christos * doc/am-utils.texi: fix Amd book URL. 3708 1.1 christos 3709 1.1 christos * Makefile.am (EXTRA_DIST): include new mirror files in tarball. 3710 1.1 christos 3711 1.1 christos * AUTHORS, BUGS, README, README.y2k, configure.in, 3712 1.1 christos doc/am-utils.texi: revisions to use newer URLs for Web site, FTP, 3713 1.1 christos and mailing lists. 3714 1.1 christos 3715 1.1 christos * MIRRORS.{html,txt}: updates. 3716 1.1 christos 3717 1.1 christos * doc/Makefile.am: install mirror lists officially. 3718 1.1 christos 3719 1.1 christos 2004-01-01 Erez Zadok <ezk (a] cs.sunysb.edu> 3720 1.1 christos 3721 1.1 christos * tasks: things to do after migrating ftp/Web sites. 3722 1.1 christos 3723 1.1 christos 2003-12-09 Erez Zadok <ezk (a] cs.sunysb.edu> 3724 1.1 christos 3725 1.1 christos * fsinfo/fsinfo.8: fixed typo (unbalanced []) in man page. Bug 3726 1.1 christos report from Eric S. Raymond <esr (a] thyrsus.com>. 3727 1.1 christos 3728 1.1 christos 2003-11-18 Erez Zadok <ezk (a] cs.sunysb.edu> 3729 1.1 christos 3730 1.1 christos * Makefile.am (EXTRA_DIST_M4): exclude removed file 3731 1.1 christos m4/macros/struct_nfs_fh3.m4 from distro. 3732 1.1 christos 3733 1.1 christos 2003-10-24 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3734 1.1 christos 3735 1.1 christos * libamu/xdr_func.c (xdr_am_nfs_fh3): Use AM_FHSIZE3 instead of 3736 1.1 christos FHSIZE3 (may be undefined). 3737 1.1 christos 3738 1.1 christos 2003-10-24 Ion Badulescu <ion (a] guppy.limebrokerage.com> 3739 1.1 christos 3740 1.1 christos Compile fix for Solaris7 with LDAP: 3741 1.1 christos 3742 1.1 christos * include/am_defs.h: moved the ldap headers before am_nfs_prot.h 3743 1.1 christos to facilitate using ldap types in it 3744 1.1 christos 3745 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_7.h: add a couple of ldap 3746 1.1 christos definitions that Sun left out of their headers 3747 1.1 christos 3748 1.1 christos 2003-10-24 Ion Badulescu <ionut (a] moisil.badula.org> 3749 1.1 christos 3750 1.1 christos * conf/nfs_prot/nfs_prot_*.h: remove all NFSv3-related 3751 1.1 christos definitions, they are now defined globally 3752 1.1 christos 3753 1.1 christos * libamu/xdr_func.c: unconditionally define all xdr functions 3754 1.1 christos needed for NFSv3, but with an am_ prefix to prevent namespace 3755 1.1 christos collisions 3756 1.1 christos 3757 1.1 christos * amd/amfs_host.c, amd/ops_nfs.c, amd/srvr_nfs.c, 3758 1.1 christos libamu/mount_fs.c: added the am_ prefix to all 3759 1.1 christos structures and functions having to do with NFSv3 to prevent 3760 1.1 christos namespace collisions 3761 1.1 christos 3762 1.1 christos * include/am_utils.h: moved definition of am_nfs_handle to ... 3763 1.1 christos 3764 1.1 christos * include/am_xdr_func.h: ... here. Also define AM_FHSIZE3, 3765 1.1 christos am_nfs_fh3, AM_NFSPROC3_LOOKUP, am_nfsstat3, am_fhandle3, 3766 1.1 christos am_mountstat3, am_mountres3_ok, am_mountres3, am_filename3, 3767 1.1 christos am_diropargs3, am_LOOKUP3args, am_LOOKUP3resok, am_LOOKUP3resfail, 3768 1.1 christos am_LOOKUP3res here; remove cross-platform compile helper macros 3769 1.1 christos AMU_LOOKUP3RES_*. 3770 1.1 christos 3771 1.1 christos * include/am_defs.h: include am_xdr_func.h before am_utils.h to 3772 1.1 christos provide definitions for NFS filehandles 3773 1.1 christos 3774 1.1 christos * amd/amd.h: removed declaration for xdr_mountres3 3775 1.1 christos 3776 1.1 christos * doc/am-utils.text: minor warning fix 3777 1.1 christos 3778 1.1 christos * BUGS: document the autoconf warnings when trying to compile 3779 1.1 christos system header files in isolation 3780 1.1 christos 3781 1.1 christos 2003-10-23 Ion Badulescu <ionut (a] moisil.badula.org> 3782 1.1 christos 3783 1.1 christos * m4/macros/struct_nfs_fh3.m4: removed, not needed 3784 1.1 christos 3785 1.1 christos * configure.in: check if struct mounta has the optptr field; 3786 1.1 christos removed all NFSv3-related checks, we implement everything 3787 1.1 christos internally now 3788 1.1 christos 3789 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_mount_2_free): don't 3790 1.1 christos touch mnt->optptr unless HAVE_MOUNTA_OPTPTR is defined 3791 1.1 christos 3792 1.1 christos 2003-10-22 Ion Badulescu <ionut (a] moisil.badula.org> 3793 1.1 christos 3794 1.1 christos * m4/macros/struct_nfs_fh3.m4: removed, not used anymore 3795 1.1 christos 3796 1.1 christos * libamu/xdr_func.c (xdr_am_nfs_fh3): update xdr_am_nfs_fh3 3797 1.1 christos comments 3798 1.1 christos 3799 1.1 christos * configure.in: don't check for xdr_nfs_fh3 and struct nfs_fh3, we 3800 1.1 christos always use our own 3801 1.1 christos 3802 1.1 christos 2003-10-22 Ion Badulescu <ion (a] guppy.limebrokerage.com> 3803 1.1 christos 3804 1.1 christos * BUGS: document the limitations of bind mounts on Linux 3805 1.1 christos 3806 1.1 christos 2003-10-21 Ion Badulescu <ionut (a] moisil.badula.org> 3807 1.1 christos 3808 1.1 christos * buildall: added support for -i (make install) 3809 1.1 christos 3810 1.1 christos 2003-10-16 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3811 1.1 christos 3812 1.1 christos * NEWS: New minor port i386-pc-solaris2.10 (Solaris 10). 3813 1.1 christos * INSTALL: Mention its test status. 3814 1.1 christos 3815 1.1 christos 2003-10-16 Erez Zadok <ezk (a] cs.sunysb.edu> 3816 1.1 christos 3817 1.1 christos * amd/ops_nfs.c (nfs_init): declare as static to match forward 3818 1.1 christos definition at top of file. 3819 1.1 christos 3820 1.1 christos * conf/nfs_prot/nfs_prot_{hpux11, netbsd1_4,openbsd,aix5_2}.h: 3821 1.1 christos added missing definitions for LOOKUP3res, diropargs3, etc. 3822 1.1 christos 3823 1.1 christos 2003-10-15 Erez Zadok <ezk (a] cs.sunysb.edu> 3824 1.1 christos 3825 1.1 christos * libamu/xdr_func.c (xdr_LOOKUP3res, xdr_am_nfs_fh3), 3826 1.1 christos libamu/mount_fs.c (compute_nfs_args), amd/ops_nfs.c 3827 1.1 christos (got_nfs_fh_mount, got_nfs_fh_webnfs, prime_nfs_fhandle_cache, 3828 1.1 christos webnfs_lookup), amd/amfs_host.c (fetch_fhandle): Attempt to 3829 1.1 christos cleanup some inconsistencies with how we treat NFSv3 file handles. 3830 1.1 christos Whenever we need to get data out of a filehandle given to us, we 3831 1.1 christos assume that it uses the OS's native fhandle structure 3832 1.1 christos (often struct nfs_fh3). When we store the fhandle data for our 3833 1.1 christos own use, however, we store it in one of two ways. The first, is 3834 1.1 christos that we use the system's default nfs_fh3 structure; the second is 3835 1.1 christos that we define out own struct am_nfs_fh3 in nfs_prot.h (and go 3836 1.1 christos through an elaborate autoconf song-and-dance to "discover" it as a 3837 1.1 christos native fh3 handle structure). It appears that we do the latter, 3838 1.1 christos instead of using the system's default fhandle structure, simply to 3839 1.1 christos avoid extra malloc's and free's, because whereas nfsv2's fhandle 3840 1.1 christos structure is a simple 32-byte buffer, nfsv3's fhandle structures 3841 1.1 christos often just define a "char *" for the fhandle data, and the caller 3842 1.1 christos must malloc/free the space inside as needed. Our code was never 3843 1.1 christos written with constructor/destructor callbacks for these nfsv3 3844 1.1 christos filehandles. Moreover, we carefully wrote our own am_nfs_fh3 3845 1.1 christos structure so IT JUST SO HAPPENS to align with most (hopefully all) 3846 1.1 christos of the fhandle structures for v3: first four bytes are the length 3847 1.1 christos fields and the next four bytes are the fhandle data. Sigh. 3848 1.1 christos Having this inconsistent use of v3 filehandles can be a real bear, 3849 1.1 christos because we simply cannot avoid using the system's default fhandle 3850 1.1 christos structure indirectly, through things like diropargs3 in 3851 1.1 christos xdr_diropargs3(), which has inside of it a reference to the 3852 1.1 christos system's default nfs_fh3 structure. ANYWAY, the current fix I've 3853 1.1 christos come up with is to generalize the way we dereference field names 3854 1.1 christos within the nfs_fh3 structure (whether ours or the system's) and 3855 1.1 christos the same for the system's LOOKUP3res structure. I'm not pleased 3856 1.1 christos with this fix; I'd rather we don't use our own am_nfs_fh3 3857 1.1 christos structure at all. 3858 1.1 christos 3859 1.1 christos * libamu/xdr_func.c (xdr_am_nfs_fh3): always define this 3860 1.1 christos function if we have NFS3, because we often use our own, 3861 1.1 christos incompatible am_nfs_fh3 structure. 3862 1.1 christos 3863 1.1 christos * include/am_xdr_func.h: We cannot use the native system's 3864 1.1 christos xdr_nfs_fh3 because we are defining our own incompatible 3865 1.1 christos am_hfs_fh3 structure for some systems. 3866 1.1 christos 3867 1.1 christos * include/am_xdr_func.h: Define default values for field names of 3868 1.1 christos struct nfs_fh3 and LOOKUP3res. 3869 1.1 christos 3870 1.1 christos * doc/am-utils.texi (debug_options Parameter): minor typo fixed. 3871 1.1 christos 3872 1.1 christos * conf/nfs_prot/nfs_prot_freebsd3.h: FreeBSD uses different fields 3873 1.1 christos names for struct nfs_fh3 and LOOKUP3res, so override the default 3874 1.1 christos names here. 3875 1.1 christos 3876 1.1 christos * configure.in: AMU_CHECK_FS_MNTENT(nfs3) test before 3877 1.1 christos AMU_STRUCT_NFS_FH3, because the latter depends on the former. 3878 1.1 christos 3879 1.1 christos * amd/ops_nfs.c (prime_nfs_fhandle_cache): add {} to disambiguate 3880 1.1 christos and clarify if-the-else clauses. 3881 1.1 christos 3882 1.1 christos 2003-10-13 Ion Badulescu <ionut (a] moisil.badula.org> 3883 1.1 christos 3884 1.1 christos * amd/get_args.c (get_version_string): change "Built by" to 3885 1.1 christos "Configured by", and add a new "Built by" line using the variables 3886 1.1 christos below 3887 1.1 christos 3888 1.1 christos * m4/update_build_version (vers): add BUILD_USER, BUILD_HOST, and 3889 1.1 christos BUILD_DATE to build_version.h 3890 1.1 christos 3891 1.1 christos * amd/mntfs.c (locate_mntfs): fix restarted filesystems: mf_fo 3892 1.1 christos must be initialized even for them, otherwise we lose opt_sublink 3893 1.1 christos (and perhaps other options as well). Report from Rainer Orth. 3894 1.1 christos 3895 1.1 christos * amd/amfs_generic.c (amfs_bgmount): The fix for the mf_fo NULL 3896 1.1 christos pointer dereferencing was a bit too aggressive and could end up 3897 1.1 christos not processing the sublink option if the filesystem was already 3898 1.1 christos mounted. 3899 1.1 christos 3900 1.1 christos 2003-10-11 Ion Badulescu <ionut (a] moisil.badula.org> 3901 1.1 christos 3902 1.1 christos Fix restarted filesystem by disabling the amfs_inherit filesystem 3903 1.1 christos and moving the restarting logic into the generic code. The old 3904 1.1 christos code is still there, will be removed sometime in the near future. 3905 1.1 christos 3906 1.1 christos * amd/mntfs.c (locate_mntfs): disable amfs_inherit and simply 3907 1.1 christos return the pointer to the restarted filesystem 3908 1.1 christos (free_mntfs): check for the MFF_RESTART flag instead of the 3909 1.1 christos amfs_inherit ops 3910 1.1 christos 3911 1.1 christos * amd/autil.c (mf_mounted): remove the MFF_RESTART flag once the 3912 1.1 christos filesystem is in use 3913 1.1 christos 3914 1.1 christos * amd/amfs_nfsx.c (amfs_nfsx_init): only call fs_init() if the 3915 1.1 christos filesystem is not being restarted 3916 1.1 christos (amfs_nfsx_remount): if the filesystem is already mounted, 3917 1.1 christos short-circuit the code and just continue 3918 1.1 christos 3919 1.1 christos * amd/amfs_generic.c (amfs_bgmount): only call fs_init() if the 3920 1.1 christos filesystem is not being restarted; remove hack that was used to 3921 1.1 christos work around an amfs_inherit problem 3922 1.1 christos 3923 1.1 christos 2003-10-09 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3924 1.1 christos 3925 1.1 christos Use WebNFS to obtain file handles for mount(2). 3926 1.1 christos 3927 1.1 christos * NEWS: Document WebNFS support. 3928 1.1 christos 3929 1.1 christos * configure.in: Check for public mount option. 3930 1.1 christos * include/am_compat.h (MNTTAB_OPT_PUBLIC): Define if missing. 3931 1.1 christos * doc/am-utils.texi (opts Option): Renamed webnfs to public, 3932 1.1 christos update description. 3933 1.1 christos 3934 1.1 christos * amd/amd.h (FSF_WEBNFS): New mntfs flag. 3935 1.1 christos * include/am_utils.h (RPC_XID_WEBNFS): New XID type. 3936 1.1 christos 3937 1.1 christos * amd/amfs_host.c (amfs_host_mount, amfs_host_umounted): Reject 3938 1.1 christos WebNFS mount/umount attempts. 3939 1.1 christos * amd/ops_nfs.c (got_nfs_fh_mount): Renamed from got_nfs_fh. 3940 1.1 christos (got_nfs_fh_webnfs): New function. 3941 1.1 christos (flush_nfs_fhandle_cache): Don't invalidate port for WebNFS servers. 3942 1.1 christos (prime_nfs_fhandle_cache): Likewise. 3943 1.1 christos Remove unconditional return of public file handle for WebNFS, but 3944 1.1 christos get NFS file handles via mountd or WebNFS instead. 3945 1.1 christos (webnfs_lookup): New function. 3946 1.1 christos (nfs_umounted): Don't inform mountd if MFF_WEBNFS. 3947 1.1 christos * amd/rpc_fwd.c (fwd_packet, fwd_reply): Send/receive WebNFS 3948 1.1 christos packets. 3949 1.1 christos * amd/srvr_nfs.c (recompute_portmap): Don't contact portmap for 3950 1.1 christos WebNFS servers. 3951 1.1 christos Mention host in info message. 3952 1.1 christos (find_nfs_srvr): Handle public mount option. 3953 1.1 christos Prefer NFSv3/tcp if the client supports it. 3954 1.1 christos Allow port mount option to override default or result from portmap 3955 1.1 christos lookup. 3956 1.1 christos 3957 1.1 christos * libamu/xdr_func.c (xdr_diropargs3, xdr_filename3, 3958 1.1 christos xdr_LOOKUP3args, xdr_LOOKUP3res, xdr_LOOKUP3resfail, 3959 1.1 christos xdr_LOOKUP3resok, xdr_nfs_fh3, xdr_nfsstat3): New functions. 3960 1.1 christos * include/am_xdr_func.h: Declare them. 3961 1.1 christos * configure.in: Check for them. 3962 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: Provide missing NFSv3 3963 1.1 christos definitions and types. 3964 1.1 christos 3965 1.1 christos 2003-10-09 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3966 1.1 christos 3967 1.1 christos Support IRIX 6 private mount option. 3968 1.1 christos 3969 1.1 christos * configure.in (AC_CHECK_MNTTAB_OPTS): Check for private option 3970 1.1 christos name string. 3971 1.1 christos (AC_CHECK_MNT2_NFS_OPTS): Check for private NFS mount option (IRIX 6). 3972 1.1 christos * aux/macros/header_templates.m4 (MNTTAB_OPT_PRIVATE, 3973 1.1 christos MNT2_NFS_OPT_PRIVATE): Provide templates. 3974 1.1 christos * include/am_compat.h (MNTTAB_OPT_PRIVATE): Define if missing. 3975 1.1 christos * doc/am-utils.texi (opts Option): Document it. 3976 1.1 christos 3977 1.1 christos 2003-10-09 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3978 1.1 christos 3979 1.1 christos * doc/am-utils.texi (opts Option): Fix Tru64 UNIX name in proplist 3980 1.1 christos mount option. 3981 1.1 christos 3982 1.1 christos 2003-10-09 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3983 1.1 christos 3984 1.1 christos * libamu/mount_fs.c (compute_nfs_args) [HAVE_NFS_ARGS_T_FH_LEN]: 3985 1.1 christos Don't reference removed fh3. 3986 1.1 christos 3987 1.1 christos 2003-10-09 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 3988 1.1 christos 3989 1.1 christos * NEWS: New minor port sparc-sun-solaris2.10 (Solaris 10). 3990 1.1 christos 3991 1.1 christos * INSTALL: Mention test status of various ports. 3992 1.1 christos Describe IRIX 6 autofs status. 3993 1.1 christos 3994 1.1 christos 2003-10-09 Ion Badulescu <ionut (a] moisil.badula.org> 3995 1.1 christos 3996 1.1 christos * NEWS: updated 3997 1.1 christos 3998 1.1 christos * amd/amfs_generic.c (amfs_bgmount): don't use mf_fo until after 3999 1.1 christos we've done all the tests and we know we have a valid and mountable 4000 1.1 christos mntfs. Otherwise we could end up dereferencing null pointers. 4001 1.1 christos 4002 1.1 christos * amd/amd.h: fixed a copy&paste comment bug 4003 1.1 christos 4004 1.1 christos * amd/am_ops.c (ops_match): minor code cleanup 4005 1.1 christos 4006 1.1 christos * doc/am-utils.texi: fixed various typos; added warning about the 4007 1.1 christos racy nature of nfsx; removed duplicated listing of debug options; 4008 1.1 christos added paragraph about signals supported by hlfsd; removed the long 4009 1.1 christos list of (maybe) supported platforms since it duplicates the list 4010 1.1 christos in INSTALL. 4011 1.1 christos 4012 1.1 christos 2003-10-02 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4013 1.1 christos 4014 1.1 christos Simplify FD_SET etc. use. 4015 1.1 christos 4016 1.1 christos * include/am_defs.h (FD_SET, FD_ISSET, FD_CLR, FD_ZERO): Provide 4017 1.1 christos if missing. 4018 1.1 christos (rpc_pending_now, run_rpc): Use them. 4019 1.1 christos * configure.in: Check for fds_bits field in fd_set. 4020 1.1 christos * amd/nfs_start.c (run_rpc): Use it. 4021 1.1 christos 4022 1.1 christos 2003-10-02 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4023 1.1 christos 4024 1.1 christos Improve RPC XID handling. 4025 1.1 christos 4026 1.1 christos * amd/rpc_fwd.c (fwd_packet, fwd_reply): Always log xid. 4027 1.1 christos Convert xid to/from host/network byte order. 4028 1.1 christos 4029 1.1 christos 2003-10-02 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4030 1.1 christos 4031 1.1 christos Use NFS V2/V3 file handles instead of mount results. 4032 1.1 christos 4033 1.1 christos * include/am_utils.h (am_nfs_fhandle): Use NFS V2/V3 file handles 4034 1.1 christos only, not MOUNTPROC_MNT results. 4035 1.1 christos * amd/amfs_host.c (fetch_fhandle): Use local variables to store 4036 1.1 christos MOUNTPROC_MNT results. 4037 1.1 christos * amd/autil.c (amfs_mount): Use new am_nfs_fhandle_t. 4038 1.1 christos * amd/ops_nfs.c (struct fh_cache): New member fh_status. 4039 1.1 christos (got_nfs_fh): Use local variables to store MOUNTPROC_MNT results. 4040 1.1 christos Store MOUNTPROC_MNT errors in fh_status. 4041 1.1 christos (prime_nfs_fhandle_cache): Get fh_error from fh_status. 4042 1.1 christos * hlfsd/hlfsd.c (main): Use new am_nfs_fhandle_t. 4043 1.1 christos * libamu/mount_fs.c (compute_nfs_args): Copy NFS V2/V3 file 4044 1.1 christos handles straight from new am_nfs_fhandle_t. 4045 1.1 christos 4046 1.1 christos 2003-10-02 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4047 1.1 christos 4048 1.1 christos * amd/clock.c (CID_ALLOC): Remove unused argument. 4049 1.1 christos (timeout): Likewise. 4050 1.1 christos 4051 1.1 christos * amd/ops_nfs.c (FHID_ALLOC): Remove unused argument. 4052 1.1 christos (prime_nfs_fhandle_cache): Likewise. 4053 1.1 christos (call_mountd): Use UDPMSGSIZE instead of magic constant. 4054 1.1 christos 4055 1.1 christos * amd/rpc_fwd.c (XID_ALLOC): Remove unused argument. 4056 1.1 christos (fwd_packet): Likewise. 4057 1.1 christos Handle TLOOK error from t_rcvudata(). 4058 1.1 christos 4059 1.1 christos 2003-09-30 Ion Badulescu <ionut (a] moisil.badula.org> 4060 1.1 christos 4061 1.1 christos * NEWS: updated 4062 1.1 christos 4063 1.1 christos * libamu/mount_fs.c (mount_fs): don't try to recreate the mount 4064 1.1 christos point if the mount fails with ENOENT: in the best case we would be 4065 1.1 christos papering over a bug, and in the worst case we could cause a 4066 1.1 christos deadlock (with autofs). If there are races, they need to be 4067 1.1 christos exposed and fixed properly. 4068 1.1 christos 4069 1.1 christos * conf/autofs/autofs_solaris_v1.h, 4070 1.1 christos conf/autofs/autofs_solaris_v2_v3.h, 4071 1.1 christos conf/autofs/autofs_linux.h: (AUTOFS_NFSX_FS_FLAGS): autofs 4072 1.1 christos semantics don't allow us to mount nfsx directly onto an autofs 4073 1.1 christos mountpoint, so disallow it 4074 1.1 christos 4075 1.1 christos * amd/amfs_nfsx.c (amfs_nfsx_match): more restrictive sanity check 4076 1.1 christos to avoid trying to memmove(foo, bar, (unsigned)-1) due to invalid 4077 1.1 christos map entries... 4078 1.1 christos (amfs_nfsx_cont): amfs_retry does most of the cleanup work for us 4079 1.1 christos in the upper layer, so don't do anything else beside wakeup() on 4080 1.1 christos success 4081 1.1 christos (amfs_nfsx_remount): only create the mountpoints as we need them, 4082 1.1 christos avoids creating them on the wrong filesystem in the case of 4083 1.1 christos hierarchical mounts; fix crash-generating typo (m should really be 4084 1.1 christos mf and I swear I hate single-character variable names) 4085 1.1 christos 4086 1.1 christos * amd/amfs_generic.c (amfs_cont): one more dlog 4087 1.1 christos (amfs_bgmount): amazingly enough, even foreground mounts can be 4088 1.1 christos backgrounded (in the case of nfsx), so account for this 4089 1.1 christos possibility and permit retries 4090 1.1 christos 4091 1.1 christos * m4/macros/check_autofs_style.m4 (AMU_AUTOFS_PROT_HEADER): define 4092 1.1 christos and AC_SUBST it as ${top_builddir}/amu_autofs_prot.h 4093 1.1 christos 4094 1.1 christos * amd/Makefile.am ($(amd_OBJECTS) $(EXTRA_amd_OBJECTS)): depend on 4095 1.1 christos @AMU_AUTOFS_PROT_HEADER@ 4096 1.1 christos 4097 1.1 christos 2003-09-29 Erez Zadok <ezk (a] urd.fsl.cs.sunysb.edu> 4098 1.1 christos 4099 1.1 christos * minor new port mipsel-unknown-linux-rhPS2 (Linux on Sony 4100 1.1 christos PlayStation 2) 4101 1.1 christos 4102 1.1 christos * amd/srvr_nfs.c (find_nfs_srvr): don't run code that expects 4103 1.1 christos "char protocols[]" unless MNTTAB_OPT_PROTO is defined. 4104 1.1 christos 4105 1.1 christos 2003-09-26 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4106 1.1 christos 4107 1.1 christos Consolidate alloca support. 4108 1.1 christos 4109 1.1 christos * amd/amq_svc.c: Move alloca support ... 4110 1.1 christos * include/am_defs.h: ... here. 4111 1.1 christos * amd/conf_parse.y: Remove alloca support. 4112 1.1 christos * fsinfo/fsi_gram.y: Likewise. 4113 1.1 christos 4114 1.1 christos 2003-09-25 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4115 1.1 christos 4116 1.1 christos Handle Solaris 10. 4117 1.1 christos * m4/macros/check_nfs_prot_headers.m4 4118 1.1 christos (AMU_CHECK_NFS_PROT_HEADERS): Don't use wildcards for 4119 1.1 christos sunos5.[0-3], solaris 2.[0-3], there were no micro releases. 4120 1.1 christos Explicitly match sunos5*, solaris2* for Solaris 8 and beyond. 4121 1.1 christos 4122 1.1 christos * m4/macros/os_cflags.m4 (AMU_OS_CFLAGS): Dont use wildcards for 4123 1.1 christos solaris2.[0-5], sunos5.[0-5], but explicitly handle Solaris 2.5 4124 1.1 christos micro releases to cope with Solaris 2.5.1. 4125 1.1 christos Explicitly match solaris2*, sunos5*. 4126 1.1 christos 4127 1.1 christos 2003-09-25 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4128 1.1 christos 4129 1.1 christos * amd/amq_svc.c: Provide alloca prerequisites. 4130 1.1 christos 4131 1.1 christos * conf/transp/transp_tli.c (register_autofs_service): Fix typo. 4132 1.1 christos 4133 1.1 christos 2003-09-23 Ion Badulescu <ion (a] opteron.tower-research.com> 4134 1.1 christos 4135 1.1 christos * minor new port: x86_64-unknown-linux-rh2.9.5AS. (Red Hat 4136 1.1 christos Enterprise Linux 3.0 beta running on a 64-bit AMD64 platform) 4137 1.1 christos 4138 1.1 christos 2003-09-22 Ion Badulescu <ionut (a] buggy.badula.org> 4139 1.1 christos 4140 1.1 christos * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): compile fix 4141 1.1 christos 4142 1.1 christos 2003-09-19 Ion Badulescu <ionut (a] moisil.badula.org> 4143 1.1 christos 4144 1.1 christos * amd/amfs_nfsl.c (amfs_nfsl_match): checking opt_fs is not always 4145 1.1 christos enough, we should lstat() the sublink if it's defined. 4146 1.1 christos (amfs_nfsl_ffserver): ditto 4147 1.1 christos (ALL): Removed some obsolete comments. The nfsl code is now little 4148 1.1 christos more than a very straight-forward switch between link and nfs. 4149 1.1 christos 4150 1.1 christos * amd/amfs_link.c (amfs_link_match): more up-to-date explanation 4151 1.1 christos for the prepend-the-dot hack for type link; also, the sublink is 4152 1.1 christos already normalized and absolute, so take advantage of that 4153 1.1 christos 4154 1.1 christos * amd/amfs_generic.c (amfs_lookup_one_mntfs): the sublink is 4155 1.1 christos already normalized and absolute, so take advantage of that 4156 1.1 christos 4157 1.1 christos * amd/am_ops.c (ops_match): normalize the sublink here, early into 4158 1.1 christos the matching process 4159 1.1 christos 4160 1.1 christos * amd/autil.c (am_mounted): be consistent and accept both 4161 1.1 christos "nounmount" and "noumount" as pseudo mount options (same as 4162 1.1 christos "unmount" and "umount" nearby) 4163 1.1 christos 4164 1.1 christos * amd/Makefile.am (build_version.h): fixed dependencies (depends 4165 1.1 christos on amd_OBJECTS, not OBJECTS -- which doesn't even exist) 4166 1.1 christos 4167 1.1 christos 2003-09-19 Erez Zadok <ezk (a] dhcp8.fsl.cs.sunysb.edu> 4168 1.1 christos 4169 1.1 christos * amd/amq_subr.c (amqproc_export_1_svc): force double casting to 4170 1.1 christos avoid gcc-3.3 complaints on Solaris 9 about "dereferencing 4171 1.1 christos type-punned pointer will break strict-aliasing rules". 4172 1.1 christos 4173 1.1 christos 2003-09-16 Ion Badulescu <ionut (a] moisil.badula.org> 4174 1.1 christos 4175 1.1 christos * Released beta version 6.1b4 4176 1.1 christos 4177 1.1 christos 2003-09-15 Ion Badulescu <ionut (a] moisil.badula.org> 4178 1.1 christos 4179 1.1 christos * doc/am-utils.texi (opts Option): removed documentation for old 4180 1.1 christos ignore_portmapper mount option, documented the new webnfs option 4181 1.1 christos 4182 1.1 christos * NEWS: webnfs support 4183 1.1 christos 4184 1.1 christos * amd/srvr_nfs.c (find_nfs_srvr): set MFF_WEBNFS if the "webnfs" 4185 1.1 christos (former "ignore_portmapper") mount option is present 4186 1.1 christos 4187 1.1 christos * amd/ops_nfs.c (prime_nfs_fhandle_cache): generate a public 4188 1.1 christos filehandle (all zeros) if MFF_WEBNFS is set 4189 1.1 christos (nfs_umounted): don't talk to mountd if MFF_WEBNFS is set 4190 1.1 christos 4191 1.1 christos * amd/amd.h (MFF_WEBNFS): new flag, obvious meaning 4192 1.1 christos 4193 1.1 christos 2003-09-13 Ion Badulescu <ionut (a] moisil.badula.org> 4194 1.1 christos 4195 1.1 christos * amd/srvr_nfs.c: renamed np_xid to global_xid; sanitized the 4196 1.1 christos NPXID_ALLOC macro and renamed it to XID_ALLOC; renamed start_ping 4197 1.1 christos to create_ping_payload; renamed nfs_pinged to 4198 1.1 christos nfs_keepalive_callback; renamed nfs_timed_out to 4199 1.1 christos nfs_keepalive_timeout; renamed nfs_srvr_port to get_mountd_port; 4200 1.1 christos made ping_buf and ping_len arrays with one element for each 4201 1.1 christos supported nfs version 4202 1.1 christos 4203 1.1 christos * amd/amd.h: renamed nfs_srvr_port() to get_mountd_port() 4204 1.1 christos 4205 1.1 christos * amd/amfs_host.c (amfs_host_init): ditto 4206 1.1 christos 4207 1.1 christos * amd/ops_nfs.c (call_mountd): ditto 4208 1.1 christos 4209 1.1 christos 2003-09-03 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4210 1.1 christos 4211 1.1 christos * BUGS: Mention fix for broken Solaris 8 <rpcsvc/autofs_prot.h> 4212 1.1 christos patches. 4213 1.1 christos 4214 1.1 christos 2003-08-31 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 4215 1.1 christos 4216 1.1 christos * amd/autil.c (strealloc): don't call malloc_verify() unless it 4217 1.1 christos exists. 4218 1.1 christos 4219 1.1 christos * configure.in: move "OPTION PROCESSING" section (opt_debug etc.) 4220 1.1 christos after we figure out PROG_CC and other compiler features, because 4221 1.1 christos some of the option processing macros need a compiler to function. 4222 1.1 christos 4223 1.1 christos * libamu/xutil.c: don't define variables that won't be used unless 4224 1.1 christos mallinfo() and malloc_verify() exist. 4225 1.1 christos (real_plog): don't call checkup_mem unless 4226 1.1 christos mallocinfo() and malloc_verify() exist. 4227 1.1 christos (checkup_mem): don't define this function unless mallocinfo() and 4228 1.1 christos malloc_verify() exist. 4229 1.1 christos 4230 1.1 christos * m4/macros/opt_debug.m4: check for functions malloc_verify and 4231 1.1 christos mallinfo in general libraries and then in libmapmalloc and 4232 1.1 christos libmalloc. These seem to have disappeared in FreeBSD 5.x. 4233 1.1 christos 4234 1.1 christos * libamu/xutil.c (dxfree): print pointer using %p 4235 1.1 christos 4236 1.1 christos 2003-08-29 Erez Zadok <ezk (a] a-opendarwin.fsl.cs.sunysb.edu> 4237 1.1 christos 4238 1.1 christos * configure.in: start 6.1b4-pre officially (belated) 4239 1.1 christos 4240 1.1 christos * minor new port: i686-apple-darwin6.6 4241 1.1 christos 4242 1.1 christos 2003-08-27 Ion Badulescu <ionut (a] moisil.badula.org> 4243 1.1 christos 4244 1.1 christos * conf/autofs/autofs_solaris_v1.c: convert relative targets to 4245 1.1 christos absolute paths when using lofs mounts 4246 1.1 christos 4247 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c: ditto 4248 1.1 christos 4249 1.1 christos * conf/autofs/autofs_linux.c: ditto 4250 1.1 christos 4251 1.1 christos 2003-08-27 Ion Badulescu <ionut (a] buggy.badula.org> 4252 1.1 christos 4253 1.1 christos * README.autofs: added a paragraph about the resource consumption 4254 1.1 christos of auto maps over autofs 4255 1.1 christos 4256 1.1 christos * amd/amfs_generic.c (amfs_lookup_one_mntfs): moved the setting of 4257 1.1 christos the MFF_IS_AUTOFS flag from init_mntfs() to 4258 1.1 christos amfs_lookup_one_mntfs(), where it belongs 4259 1.1 christos 4260 1.1 christos * amd/mntfs.c (init_mntfs): ditto 4261 1.1 christos 4262 1.1 christos 2003-08-27 Ion Badulescu <ion (a] guppy.limebrokerage.com> 4263 1.1 christos 4264 1.1 christos * amd/ops_nfs.c (got_nfs_fh): make the error EACCES if we are 4265 1.1 christos denied a filehandle by the server (used to be EIO) 4266 1.1 christos 4267 1.1 christos 2003-08-27 Erez Zadok <ezk (a] a-bsdi42.fsl.cs.sunysb.edu> 4268 1.1 christos 4269 1.1 christos * conf/nfs_prot/nfs_prot_bsdi3.h: support na_uid and na_gid. 4270 1.1 christos 4271 1.1 christos 2003-08-27 Ion Badulescu <ionut (a] moisil.badula.org> 4272 1.1 christos 4273 1.1 christos * conf/autofs/autofs_linux.c (autofs_mount_succeeded): force 4274 1.1 christos daemon-initiated timeouts on autofs filesystems, since apparently 4275 1.1 christos they appear as "always busy" to the kernel-based expiration routine 4276 1.1 christos 4277 1.1 christos 2003-08-26 Ion Badulescu <ionut (a] buggy.badula.org> 4278 1.1 christos 4279 1.1 christos * NEWS: updated 4280 1.1 christos 4281 1.1 christos * conf/autofs/autofs_linux.h (AUTOFS_LINK_FS_FLAGS): remove 4282 1.1 christos FS_ON_AUTOFS 4283 1.1 christos (AUTOFS_LINKX_FS_FLAGS): ditto 4284 1.1 christos 4285 1.1 christos * conf/autofs/autofs_solaris_v1.h (AUTOFS_LINK_FS_FLAGS): remove 4286 1.1 christos FS_ON_AUTOFS 4287 1.1 christos (AUTOFS_LINKX_FS_FLAGS): ditto 4288 1.1 christos 4289 1.1 christos * conf/autofs/autofs_solaris_v2_v3.h (AUTOFS_LINK_FS_FLAGS): remove 4290 1.1 christos FS_ON_AUTOFS 4291 1.1 christos (AUTOFS_LINKX_FS_FLAGS): ditto 4292 1.1 christos 4293 1.1 christos * amd/amfs_generic.c (amfs_lookup_one_mntfs): don't modify the 4294 1.1 christos original opt_fs, instead store the new mount point for autofs in a 4295 1.1 christos temporary variable and pass it around. Fixes a problem with the 4296 1.1 christos link side of nfsl. 4297 1.1 christos 4298 1.1 christos 2003-08-25 Ion Badulescu <ionut (a] moisil.badula.org> 4299 1.1 christos 4300 1.1 christos * NEWS: updated 4301 1.1 christos 4302 1.1 christos * amd/ops_nfs.c (prime_nfs_fhandle_cache): use get_mntfs_wchan to 4303 1.1 christos initialize the fh_wchan member of the cache entry 4304 1.1 christos (prime_nfs_fhandle_cache): use get_mntfs_wchan for the wchan_t 4305 1.1 christos argument of call_mountd() 4306 1.1 christos 4307 1.1 christos * amd/map.c (free_map_if_success): use get_mntfs_wchan for the 4308 1.1 christos wchan_t argument of wakeup() 4309 1.1 christos 4310 1.1 christos * amd/amfs_nfsx.c (amfs_nfsx_cont): use get_mntfs_wchan for the 4311 1.1 christos wchan_t argument of wakeup_task() and wakeup() 4312 1.1 christos 4313 1.1 christos * amd/amfs_host.c (amfs_host_init): use get_mntfs_wchan for the 4314 1.1 christos wchan_t argument of nfs_srvr_port() 4315 1.1 christos 4316 1.1 christos * amd/amfs_generic.c (ALL): use get_mntfs_wchan for the wchan_t 4317 1.1 christos argument of sched_task() and wakeup() 4318 1.1 christos (amfs_retry): minor cleanup 4319 1.1 christos (amfs_bgmount): call nfs_quick_reply on failure 4320 1.1 christos 4321 1.1 christos * amd/sched.c (get_mntfs_wchan): new function which calls the 4322 1.1 christos member function get_wchan if defined, otherwise returns the mntfs 4323 1.1 christos pointer itself 4324 1.1 christos 4325 1.1 christos * amd/amfs_inherit.c (amfs_inherit_get_wchan): new function, 4326 1.1 christos calls get_mntfs_wchan() on the inherited filesystem 4327 1.1 christos 4328 1.1 christos * amd/amfs_*.c, amd/ops_*.c: initialize the new get_wchan member 4329 1.1 christos of the ops to 0 4330 1.1 christos 4331 1.1 christos * amd/amd.h: new function type vget_wchan 4332 1.1 christos (struct mntfs): new member get_wchan which returns the waiting 4333 1.1 christos channel associated with the mntfs (normally itself) 4334 1.1 christos 4335 1.1 christos 2003-08-22 Ion Badulescu <ion (a] guppy.limebrokerage.com> 4336 1.1 christos 4337 1.1 christos * conf/mount/mount_linux.c (parse_opts): minor cleanup 4338 1.1 christos 4339 1.1 christos * conf/autofs/autofs_linux.c (autofs_handle_fdset): added missing 4340 1.1 christos break in case autofs_ptype_expire_multi 4341 1.1 christos 4342 1.1 christos 2003-08-22 Ion Badulescu <ionut (a] moisil.badula.org> 4343 1.1 christos 4344 1.1 christos * conf/autofs/autofs_solaris_v1.h: undefine autofs support if 4345 1.1 christos autofs_args_t cannot be determined (hopefully fixes a reported 4346 1.1 christos IRIX 6.5.4 problem). 4347 1.1 christos 4348 1.1 christos * conf/autofs/autofs_solaris_v1.c: wrap entire file in #ifdef 4349 1.1 christos HAVE_FS_AUTOFS / #endif (see above) 4350 1.1 christos 4351 1.1 christos * conf/autofs/autofs_linux.h: undefine autofs support if the 4352 1.1 christos necessary header files are not found (fixes a reported RedHat 6.2 4353 1.1 christos Sparc problem). 4354 1.1 christos 4355 1.1 christos * conf/autofs/autofs_linux.c: wrap entire file in #ifdef 4356 1.1 christos HAVE_FS_AUTOFS / #endif (see above) 4357 1.1 christos 4358 1.1 christos * libamu/mount_fs.c (compute_nfs_args): only use MNT2_NFS_OPT_SOFT 4359 1.1 christos if autoconf detected it (fixes a reported RedHat 6.2 Alpha problem). 4360 1.1 christos 4361 1.1 christos * amd/map.c (unmount_mp, unmount_exported): move the code that 4362 1.1 christos changes the fattr from NFLNK to NFDIR from unmount_mp to 4363 1.1 christos unmount_exported, it was causing troubles (ESTALE) after failed 4364 1.1 christos unmounts. This is still very very unclean, but it's the same as the 4365 1.1 christos old 6.0 code. 4366 1.1 christos 4367 1.1 christos 2003-08-22 Nick Williams <Nick.Williams (a] morganstanley.com> 4368 1.1 christos 4369 1.1 christos * amd/info_ldap.c (amu_ldap_init): don't try to pass a null 4370 1.1 christos pointer as a string to plog, Solaris (and other OS's) don't like 4371 1.1 christos it and will dump core. 4372 1.1 christos 4373 1.1 christos 2003-08-13 Ion Badulescu <ion (a] guppy.limebrokerage.com> 4374 1.1 christos 4375 1.1 christos * amd/amd.h: introduced two new types, wchan_t and opaque_t, as 4376 1.1 christos aliases of voidp. This makes reading the code easier on the eyes. :) 4377 1.1 christos 4378 1.1 christos * ALL: replace various instances of voidp with wchan_t and 4379 1.1 christos opaque_t, as appropriate 4380 1.1 christos 4381 1.1 christos 2003-08-13 Ion Badulescu <ionut (a] nicu.badula.org> 4382 1.1 christos 4383 1.1 christos * NEWS, configure.in: bumped version up to 6.1b4-pre 4384 1.1 christos 4385 1.1 christos 2003-08-13 Ion Badulescu <ionut (a] moisil.badula.org> 4386 1.1 christos 4387 1.1 christos * Released beta version 6.1b3 4388 1.1 christos 4389 1.1 christos 2003-08-13 Ion Badulescu <ion (a] guppy.limebrokerage.com> 4390 1.1 christos 4391 1.1 christos * conf/autofs/autofs_linux.c (autofs_mount_fs): HACK: always use 4392 1.1 christos symlinks for host mounts; assorted fixes for the symlink mode 4393 1.1 christos 4394 1.1 christos 2003-08-05 Ion Badulescu <ionut (a] moisil.badula.org> 4395 1.1 christos 4396 1.1 christos * conf/umount/umount_default.c (umount_fs): enable space hack 4397 1.1 christos handling for autofs v1 4398 1.1 christos 4399 1.1 christos * amd/map.c (get_first_exported_ap, get_next_exported_ap): new 4400 1.1 christos functions that facilitate iterating through the list of 4401 1.1 christos mountpoints 4402 1.1 christos 4403 1.1 christos * amd/amfs_union.c (amfs_union_mounted): use get_first_exported_ap 4404 1.1 christos and get_next_exported_ap 4405 1.1 christos 4406 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_unmount_2_req): ditto 4407 1.1 christos 4408 1.1 christos 2003-08-04 Erez Zadok <ezk (a] ulkesh.dyn.optonline.net> 4409 1.1 christos 4410 1.1 christos * configure.in: check if system stores mount tables in files 4411 1.1 christos (usually in /etc), and configure couldn't find a definition for 4412 1.1 christos either struct mntent or struct mnttab. If so, abort configure 4413 1.1 christos because this could be a new/misconfigured system, or a bug in 4414 1.1 christos am-utils. 4415 1.1 christos 4416 1.1 christos 2003-08-04 Ion Badulescu <ionut (a] moisil.badula.org> 4417 1.1 christos 4418 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_umount_fs): fix 4419 1.1 christos compile warning 4420 1.1 christos 4421 1.1 christos 2003-08-04 Ion Badulescu <ionut (a] buggy.badula.org> 4422 1.1 christos 4423 1.1 christos * conf/autofs/autofs_linux.c (autofs_mount_fs): don't call 4424 1.1 christos ops->mount_fs() for an already mounted filesystem 4425 1.1 christos (autofs_umount_fs): only call ops->umount_fs() if we're holding 4426 1.1 christos the last reference to the filesystem 4427 1.1 christos 4428 1.1 christos * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): ditto 4429 1.1 christos (autofs_umount_fs): ditto 4430 1.1 christos 4431 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_mount_fs): ditto 4432 1.1 christos (autofs_umount_fs): ditto 4433 1.1 christos 4434 1.1 christos * amd/amfs_generic.c (amfs_lookup_mntfs): remove the shortcut for 4435 1.1 christos already-mounted filesystems 4436 1.1 christos (amfs_cont): only release the autofs_fh if the filesystem is not 4437 1.1 christos mounted; add another comment about the NFS_SCALEDOWN hack 4438 1.1 christos (amfs_bgmount): if the mntfs is already mounted, skip just the 4439 1.1 christos filesystem initialization, but do call mount_node() 4440 1.1 christos 4441 1.1 christos * amd/map.c (mount_node): always call autofs_mount_fs(), but only 4442 1.1 christos call ops->mount_fs() if the mntfs is not yet mounted 4443 1.1 christos (unmount_node): always call autofs_umount_fs(), but only call 4444 1.1 christos ops->umount_fs() if the refcount on the mntfs equals 1. 4445 1.1 christos 4446 1.1 christos 2003-08-02 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 4447 1.1 christos 4448 1.1 christos * conf/nfs_prot/nfs_prot_openbsd.h: include <ufs/ufs/ufsmount.h> 4449 1.1 christos here with the proper workarounds for openbsd3.3 (define MAXQUOTAS, 4450 1.1 christos define dummy struct netexport, and include <ufs/ufs/extattr.h> 4451 1.1 christos wrapped in _KERNEL). 4452 1.1 christos 4453 1.1 christos * conf/nfs_prot/nfs_prot_freebsd3.h: include <ufs/ufs/ufsmount.h> 4454 1.1 christos here with the proper workarounds for freebsd5.1 (define dummy 4455 1.1 christos struct ufs_extattr_per_mount). 4456 1.1 christos 4457 1.1 christos * conf/nfs_prot/nfs_prot_bsdi2.h: include <ufs/ufs/ufsmount.h> 4458 1.1 christos here with the proper workarounds for bsdi2 (define MAXQUOTAS and 4459 1.1 christos dummy struct netexport). 4460 1.1 christos 4461 1.1 christos * include/mount_headers1.h: do not include <ufs/ufs/ufsmount.h> 4462 1.1 christos here, b/c every *BSD system has some sort of problem in including 4463 1.1 christos this header file, which includes ugly workarounds. Inclusion of 4464 1.1 christos this header was already moved out of am_defs.h (used to compile 4465 1.1 christos amd), but we forgot to move it out of mount_headers1.h (used to 4466 1.1 christos configure). The specific inclusion of ufsmount.h is now in the OS 4467 1.1 christos specific nfs_prot.h file. 4468 1.1 christos 4469 1.1 christos * configure.in: if configure could not find any definition for 4470 1.1 christos "struct nfs_args", abort configure with an explanatory message. 4471 1.1 christos There's no point in continuing, as this could be a system bug, 4472 1.1 christos buggy am-utils, or a new system to which am-utils wasn't ported to 4473 1.1 christos yet. 4474 1.1 christos 4475 1.1 christos * minor new port: i386-pc-solaris2.9 4476 1.1 christos 4477 1.1 christos 2003-08-01 Ion Badulescu <ionut (a] buggy.badula.org> 4478 1.1 christos 4479 1.1 christos * doc/am-utils.texi (NFS-Link Filesystem): make the documentation 4480 1.1 christos match the code (as well as basic logic operations: the negation of 4481 1.1 christos 'a or b' is 'not a and not b', not 'not a or not b') 4482 1.1 christos 4483 1.1 christos 2003-08-01 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 4484 1.1 christos 4485 1.1 christos * minor new port: i386-unknown-openbsd3.3. 4486 1.1 christos 4487 1.1 christos * m4/macros/check_libwrap_severity.m4: new macro to check if 4488 1.1 christos libwrap includes the integer variables deny_severity and 4489 1.1 christos allow_severity, since some libwrap implementations do and others 4490 1.1 christos don't. The test tries to compile and run a simple empty main() 4491 1.1 christos program, then the same program while defining these two variables: 4492 1.1 christos comparing the results of the two tests, we can tell whether we 4493 1.1 christos should define NEED_LIBWRAP_SEVERITY_VARIABLES. 4494 1.1 christos 4495 1.1 christos * Makefile.am (EXTRA_DIST_M4): distribute new macro 4496 1.1 christos check_libwrap_severity.m4. 4497 1.1 christos 4498 1.1 christos * m4/macros/header_templates.m4: template for HAVE_LIBWRAP (which 4499 1.1 christos we must define explicitly since we've overridden the 4500 1.1 christos action-if-found in AC_CHECK_LIB(wrap). Also template for 4501 1.1 christos NEED_LIBWRAP_SEVERITY_VARIABLES. 4502 1.1 christos 4503 1.1 christos * amd/amq_svc.c: if libwrap does not include the severity 4504 1.1 christos variables, then define and initialize them here. 4505 1.1 christos 4506 1.1 christos * amd/Makefile.am (LIBS): explicitly include @WRAPLIB@ only for 4507 1.1 christos Amd binary. Other am-utils binaries don't need -lwrap. 4508 1.1 christos 4509 1.1 christos * configure.in: if libwrap is found, only define it in @WRAPLIB@, 4510 1.1 christos so we don't automatically link every am-utils binary with -lwrap. 4511 1.1 christos Run test for existence of severity variables in libwrap. 4512 1.1 christos 4513 1.1 christos 2003-07-31 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 4514 1.1 christos 4515 1.1 christos * conf/nfs_prot/nfs_prot_openbsd.h: define struct fattr fields uid 4516 1.1 christos and gid. 4517 1.1 christos 4518 1.1 christos * configure.in: move check for AC_CHECK_LIB(libwrap) as far down 4519 1.1 christos as possible because on modern tcpwrapper systems such as openbsd, 4520 1.1 christos the caller must provide two symbols: deny_severity and 4521 1.1 christos allow_severity, which determine the logging level of rejected and 4522 1.1 christos requested requests, respectively. If this check happens too 4523 1.1 christos early, then $LIBS includes -lwrap, which causes many subsequent 4524 1.1 christos tests that need to run a compiled program to fail with missing 4525 1.1 christos symbols. 4526 1.1 christos 4527 1.1 christos * m4/macros/header_templates.m4: fix typo in template for 4528 1.1 christos readdirplus. 4529 1.1 christos 4530 1.1 christos * configure.in: check for <ufs/ufs/extattr.h> (OpenBSD 3.3) 4531 1.1 christos 4532 1.1 christos * minor new port: i386-unknown-netbsdelf1.6.1. 4533 1.1 christos 4534 1.1 christos * configure.in: save state before system-specific tests are run. 4535 1.1 christos 4536 1.1 christos * m4/macros/check_gnu_getopt.m4: do NOT abort ./configure just 4537 1.1 christos because the compiled test program failed to run. 4538 1.1 christos 4539 1.1 christos 2003-08-01 Ion Badulescu <ionut (a] buggy.badula.org> 4540 1.1 christos 4541 1.1 christos * NEWS, README.autofs: updated 4542 1.1 christos 4543 1.1 christos * libamu/mount_fs.c (mount_fs): added support for the space hack 4544 1.1 christos 4545 1.1 christos * doc/am-utils.texi: mention than UFS/XFS/EFS/CacheFS filesystems 4546 1.1 christos are not expired by default; correct and expand the section 4547 1.1 christos describing the program filesystem 4548 1.1 christos 4549 1.1 christos * conf/autofs/autofs_solaris_v2_v3.h (AUTOFS_*_FS_FLAGS): add 4550 1.1 christos FS_ON_AUTOFS for supported filesystems 4551 1.1 christos 4552 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_mount_fs): call 4553 1.1 christos mf->mount_fs() 4554 1.1 christos (autofs_umount_fs): call mf->umount_fs() 4555 1.1 christos 4556 1.1 christos * conf/autofs/autofs_solaris_v1.h (autofs_strdup_space_hack): add 4557 1.1 christos prototype for malloc() 4558 1.1 christos (AUTOFS_*_FS_FLAGS): lose the FS_MKMNT flags, add FS_ON_AUTOFS for 4559 1.1 christos supported filesystems 4560 1.1 christos 4561 1.1 christos * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): add support 4562 1.1 christos for the space hack; call mf->mount_fs() 4563 1.1 christos (autofs_umount_fs): add support for the space hack; call 4564 1.1 christos mf->umount_fs() 4565 1.1 christos (autofs_mount_succeeded): add support for the space hack 4566 1.1 christos 4567 1.1 christos * conf/autofs/autofs_linux.h: lose the FS_MKMNT flags, add 4568 1.1 christos FS_ON_AUTOFS for supported filesystems 4569 1.1 christos 4570 1.1 christos * conf/autofs/autofs_linux.c (AUTOFS_MAX_VERSION): define to 4571 1.1 christos AUTOFS_MAX_PROTO_VERSION instead of hardcoding to 4 4572 1.1 christos (autofs_mounted): host mounts are now supported on all autofs 4573 1.1 christos versions, remove the hack to turn it off on v3 4574 1.1 christos (autofs_mount_fs): call mf->mount_fs(), create/remove mountpoints 4575 1.1 christos as needed 4576 1.1 christos (autofs_umount_fs): call mf->umount_fs(), remove mountpoints on 4577 1.1 christos success 4578 1.1 christos (ALL): use '#if AUTOFS_MAX_VERSION >= 4' instead of 4579 1.1 christos '#ifdef autofs_ptype_expire_multi' 4580 1.1 christos 4581 1.1 christos * amd/map.c (mount_node): autofs_mount_fs() now calls 4582 1.1 christos mf->mount_fs() internally 4583 1.1 christos (unmount_node): autofs_umount_fs() now calls mf->umount_fs() 4584 1.1 christos internally 4585 1.1 christos 4586 1.1 christos * amd/autil.c (am_mounted): minor cleanup 4587 1.1 christos 4588 1.1 christos * amd/amfs_program.c (amfs_program_ops): added FS_MKMNT to 4589 1.1 christos nfs_fs_flags 4590 1.1 christos 4591 1.1 christos * amd/amfs_generic.c (amfs_lookup_one_mntfs): use the FS_ON_AUTOFS 4592 1.1 christos flag instead of hardcoding filesystem types 4593 1.1 christos (amfs_bgmount): better mount_type logging 4594 1.1 christos 4595 1.1 christos * amd/amd.h (FS_ON_AUTOFS): new flag which tells the code that 4596 1.1 christos this filesystem can be mounted directly onto an autofs mountpoint 4597 1.1 christos 4598 1.1 christos 2003-07-31 Ion Badulescu <ionut (a] buggy.badula.org> 4599 1.1 christos 4600 1.1 christos * amd/amfs_nfsl.c (amfs_nfsl_umount): fix copy&paste error (was 4601 1.1 christos calling amfs_link_ops.umount_fs() for NFS filesystems) 4602 1.1 christos (amfs_nfsl_umounted): remove rmdirs() hack, it is now handled 4603 1.1 christos properly elsewhere 4604 1.1 christos (amfs_nfsl_ffserver): remove FS_MKMNT from mf_fsflags if we're 4605 1.1 christos using link (not NFS) 4606 1.1 christos 4607 1.1 christos 2003-07-31 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4608 1.1 christos 4609 1.1 christos * README.autofs: Correct IRIX spelling. 4610 1.1 christos AutoFS support exists only on IRIX 6. 4611 1.1 christos Update IRIX 6 status. 4612 1.1 christos 4613 1.1 christos Allow AutoFS V1 support to compile on IRIX 6. 4614 1.1 christos * conf/autofs/autofs_solaris_v1.c (autofs_mount_1_req): Add 4615 1.1 christos SVCXPRT * arg. 4616 1.1 christos Remove superfluous \n from dlog messages. 4617 1.1 christos (autofs_unmount_1_req): Likewise. 4618 1.1 christos Switch to get_exported_ap. 4619 1.1 christos (autofs_program_1): Invoke handlers with additional transp arg. 4620 1.1 christos * conf/autofs/autofs_solaris_v1.h: Use autofs_args_t to define 4621 1.1 christos autofs_fh_t, struct auto_args doesn't exist on IRIX 6. 4622 1.1 christos 4623 1.1 christos * conf/mount/mount_irix6.c (mount_irix) [HAVE_FS_AUTOFS]: Support 4624 1.1 christos AutoFS mounts. 4625 1.1 christos [HAVE_FS_LOFS]: Likewise for lofs mounts. 4626 1.1 christos 4627 1.1 christos * conf/nfs_prot/nfs_prot_irix6.h (AUTOFS_CONFTYPE): Define. 4628 1.1 christos Don't disable AutoFS support any more. 4629 1.1 christos 4630 1.1 christos * conf/transp/transp_sockets.c [HAVE_FS_AUTOFS && AUTOFS_PROG] 4631 1.1 christos (register_autofs_service): Define autofs_xprt. 4632 1.1 christos 4633 1.1 christos * m4/macros/check_autofs_style.m4 (AMU_CHECK_AUTOFS_STYLE): Update 4634 1.1 christos Solaris 8+ comment to mention AutoFS V4. 4635 1.1 christos (irix6*): Enable AutoFS V1 support on IRIX 6. 4636 1.1 christos 4637 1.1 christos 2003-07-30 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 4638 1.1 christos 4639 1.1 christos * NEWS, doc/am-utils.texi, scripts/amd.conf.5: revised explanation 4640 1.1 christos of autofs_use_lofs. 4641 1.1 christos 4642 1.1 christos 2003-07-30 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4643 1.1 christos 4644 1.1 christos * amd/ops_efs.c (efs_mount): Replace on_autofs arg with 4645 1.1 christos MFF_ON_AUTOFS flag. 4646 1.1 christos (efs_umount): Likewise. 4647 1.1 christos 4648 1.1 christos 2003-07-30 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 4649 1.1 christos 4650 1.1 christos * conf/umount/umount_bsd44.c (umount_fs): convert to new way of 4651 1.1 christos unmounting which takes autofs into account. 4652 1.1 christos 4653 1.1 christos 2003-07-30 Ion Badulescu <ionut (a] moisil.badula.org> 4654 1.1 christos 4655 1.1 christos * ALL: renamed MFF_AUTOFS to MFF_IS_AUTOFS; removed mf_real_mount 4656 1.1 christos hack; pass a new on_autofs argument to mount/umount function, 4657 1.1 christos based on the MFF_ON_AUTOFS mntfs flag 4658 1.1 christos 4659 1.1 christos * NEWS, README.autofs: updated 4660 1.1 christos 4661 1.1 christos * scripts/amd.conf.5: document new option autofs_use_lofs 4662 1.1 christos 4663 1.1 christos * scripts/amd.conf-sample (autofs_use_lofs): document new option 4664 1.1 christos 4665 1.1 christos * m4/macros/check_autofs_style.m4 (am_utils_link_files): symlink 4666 1.1 christos the autofs header as amu_autofs_prot.h instead of slurping it into 4667 1.1 christos aux_conf.h 4668 1.1 christos 4669 1.1 christos * libamu/mount_fs.c (mount_fs): removed old stub, renamed 4670 1.1 christos mount_fs2 to mount_fs, added new argument on_autofs 4671 1.1 christos 4672 1.1 christos * doc/am-utils.texi (Direct Automount Filesystem): document 4673 1.1 christos problems with nfs direct mounts on modern kernels, document good 4674 1.1 christos autofs support for direct mounts on Solaris 4675 1.1 christos (autofs_use_lofs Parameter): document this new option 4676 1.1 christos (browsable_dirs Parameter): note that mount storms are avoided 4677 1.1 christos when using autofs 4678 1.1 christos 4679 1.1 christos * conf/umount/umount_bsd44.c (umount_fs): removed old stub, 4680 1.1 christos renamed umount_fs2 to umount_fs 4681 1.1 christos 4682 1.1 christos * conf/umount/umount_osf.c (umount_fs): removed old stub, 4683 1.1 christos renamed umount_fs2 to umount_fs, added new argument on_autofs 4684 1.1 christos 4685 1.1 christos * conf/umount/umount_default.c (umount_fs): ditto as above; return 4686 1.1 christos an error on ENOENT instead of faking success 4687 1.1 christos 4688 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_lookup_2_req): much 4689 1.1 christos simplified, now only consults the map for existance of the key and 4690 1.1 christos returns success if key is found 4691 1.1 christos (autofs_mount_2_req): request symlinks if CFM_AUTOFS_USE_LOFS is 4692 1.1 christos not on; 4693 1.1 christos (autofs_mount_2_free): implemented 4694 1.1 christos (autofs_unmount_2_req): use get_exported_ap() instead of 4695 1.1 christos referencing export_ap directly 4696 1.1 christos (autofs_mount_succeeded): remove code for replying to lookup 4697 1.1 christos requests, now only mount requests can end up here 4698 1.1 christos (autofs_mount_failed): ditto 4699 1.1 christos 4700 1.1 christos * conf/autofs/autofs_solaris_v1.h (AUTOFS_HOST_FS_FLAGS): removed 4701 1.1 christos FS_AUTOFS 4702 1.1 christos (AUTOFS_DIRECT_FS_FLAGS): added FS_DIRECTORY 4703 1.1 christos 4704 1.1 christos * conf/autofs/autofs_solaris_v2_v3.h (AUTOFS_HOST_FS_FLAGS): removed 4705 1.1 christos FS_AUTOFS 4706 1.1 christos (AUTOFS_DIRECT_FS_FLAGS): added FS_DIRECTORY 4707 1.1 christos (AUTOFS_LINK_FS_FLAGS): added FS_MBACKGROUND 4708 1.1 christos 4709 1.1 christos * conf/autofs/autofs_linux.c (autofs_bind_umount): new function, 4710 1.1 christos factored out of autofs_umount_fs() 4711 1.1 christos (autofs_mount_fs): renamed from autofs_link_mount() and expanded 4712 1.1 christos to deal with filesystems mounted indirectly (via lofs/bind 4713 1.1 christos mounts) on autofs and to observe the new CFM_AUTOFS_USE_LOFS flag 4714 1.1 christos (autofs_umount_fs): ditto, from autofs_link_umount() 4715 1.1 christos 4716 1.1 christos * conf/autofs/autofs_solaris_v1.c (autofs_mount_fs): ditto 4717 1.1 christos * (autofs_umount_fs): ditto 4718 1.1 christos 4719 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_mount_fs): ditto 4720 1.1 christos * (autofs_umount_fs): ditto 4721 1.1 christos 4722 1.1 christos * amd/opts.c: made fs_static static 4723 1.1 christos 4724 1.1 christos * amd/ops_nfs.c: made nfs_init, nfs_match, nfs_mount, nfs_umount 4725 1.1 christos and nfs_umounted static 4726 1.1 christos (mount_nfs_fh): removed unnecessary arguments 4727 1.1 christos 4728 1.1 christos * amd/ops_cachefs.c (cachefs_ops): use amfs_generic_find_srvr for 4729 1.1 christos the ffserver method, because using NULL causes problems 4730 1.1 christos 4731 1.1 christos * amd/ops_cdfs.c (cdfs_ops): ditto 4732 1.1 christos 4733 1.1 christos * amd/ops_efs.c (efs_ops): ditto 4734 1.1 christos 4735 1.1 christos * amd/ops_lofs.c (lofs_ops): ditto 4736 1.1 christos 4737 1.1 christos * amd/ops_pcfs.c (pcfs_ops): ditto 4738 1.1 christos 4739 1.1 christos * amd/ops_ufs.c (ufs_ops): ditto 4740 1.1 christos 4741 1.1 christos * amd/ops_xfs.c (xfs_ops): ditto 4742 1.1 christos 4743 1.1 christos * amd/nfs_subr.c (fh_to_mp3, fh_to_mp, mp_to_fh): moved here from 4744 1.1 christos map.c 4745 1.1 christos 4746 1.1 christos * amd/nfs_start.c: use get_exported_ap() instead of referencing 4747 1.1 christos exported_ap directly 4748 1.1 christos 4749 1.1 christos * amd/mntfs.c (locate_mntfs): new function, factored out of 4750 1.1 christos find_mntfs 4751 1.1 christos (locate_mntfs): special-case FS_DIRECT filesystems: for direct 4752 1.1 christos mounts we will have two filesystems mounted on the same m/p 4753 1.1 christos (realloc_mntfs): removed the old EZK hack for failovers 4754 1.1 christos 4755 1.1 christos * amd/map.c (get_exported_ap): new function that returns an 4756 1.1 christos exported_ap member by its index 4757 1.1 christos (root_node,exported_ap,exported_ap_size,first_free_map,last_used_map): 4758 1.1 christos made static 4759 1.1 christos (fh_to_mp3, fh_to_mp, mp_to_fh): moved to nfs_subr.c 4760 1.1 christos (get_root_ap): removed unused second argument 4761 1.1 christos (unmount_mp): moved the mk_fattr(NFDIR) here from umount_exported 4762 1.1 christos to catch more cases 4763 1.1 christos (mount_node): call autofs_mount_fs after ops->mount_fs for autofs 4764 1.1 christos nodes 4765 1.1 christos (unmount_node): call autofs_umount_fs before ops->umount_fs for 4766 1.1 christos autofs nodes 4767 1.1 christos 4768 1.1 christos * amd/conf.c: new global option "autofs_use_lofs", takes yes/no 4769 1.1 christos values 4770 1.1 christos 4771 1.1 christos * amd/autil.c (amfs_mount): take an extra argument (mf) 4772 1.1 christos (amfs_mount): call autofs_compute_mount_flags() for mounts 4773 1.1 christos directly on autofs m/p 4774 1.1 christos (am_unmounted): document and avoid the race between am_umounted() 4775 1.1 christos at shutdown time and amfs_cont() 4776 1.1 christos 4777 1.1 christos * amd/amfs_union.c (amfs_union_mounted): use get_exported_ap() 4778 1.1 christos instead of referencing internal map variables directly 4779 1.1 christos 4780 1.1 christos * amd/amq_subr.c (amqproc_export_1_svc): ditto 4781 1.1 christos 4782 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_ops): removed FS_AUTOFS from 4783 1.1 christos nfs_fs_flags 4784 1.1 christos (amfs_toplvl_mount): pass extra argument (mf) to amfs_mount() 4785 1.1 christos (amfs_toplvl_umount): refuse to attempt the unmount if the 4786 1.1 christos mountpoint is not a directory 4787 1.1 christos 4788 1.1 christos * amd/amfs_nfsx.c (amfs_nfsx_init): propagate the MFF_ON_AUTOFS 4789 1.1 christos flag into the nfs f/s at the bottom of the stack 4790 1.1 christos 4791 1.1 christos * amd/amfs_nfsl.c: call nfs and link member functions through 4792 1.1 christos their respective am_ops structures, not directly 4793 1.1 christos 4794 1.1 christos * amd/amfs_linkx.c (amfs_linkx_umount): new static stub 4795 1.1 christos 4796 1.1 christos * amd/amfs_link.c: made amfs_link_mount() and amfs_link_umount() 4797 1.1 christos static functions 4798 1.1 christos (amfs_link_mount): removed call to autofs_link_mount() 4799 1.1 christos (amfs_link_umount): removed call to autofs_link_umount() 4800 1.1 christos 4801 1.1 christos * amd/amfs_host.c (amfs_host_ops): removed FS_AUTOFS from 4802 1.1 christos nfs_fs_flags 4803 1.1 christos (do_mount): removed superfluous function arguments 4804 1.1 christos 4805 1.1 christos * amd/amfs_direct.c (amfs_direct_ops): removed FS_AUTOFS from 4806 1.1 christos nfs_fs_flags 4807 1.1 christos 4808 1.1 christos * amd/amfs_auto.c (amfs_auto_ops): removed FS_AUTOFS from 4809 1.1 christos nfs_fs_flags 4810 1.1 christos (amfs_auto_mount): pass extra argument (mf) to amfs_mount 4811 1.1 christos 4812 1.1 christos * amd/amd.h (CFM_AUTOFS_USE_LOFS): new flag, tells amd whether to 4813 1.1 christos use lofs-mounts or symlinks when mounting on autofs 4814 1.1 christos (CFM_DEFAULT_FLAGS): added CFM_AUTOFS_USE_LOFS 4815 1.1 christos (VLOOK_LOOKUP): new flag, will merely check if a key exists 4816 1.1 christos (MFF_IS_AUTOFS): renamed from MFF_AUTOFS 4817 1.1 christos (MFF_ON_AUTOFS): new flag, tells amd if a f/s is mounted directly 4818 1.1 christos on an autofs m/p, or indirectly via a lofs mount/symlink 4819 1.1 christos (fh_to_mp2): macro expanded throughout the code and removed 4820 1.1 christos (mntfs): removed mf_real_mount hack 4821 1.1 christos (autofs_mount_fs): renamed from autofs_link_mount 4822 1.1 christos (autofs_umount_fs): renamed from autofs_link_umount 4823 1.1 christos (mount_lofs): exposed 4824 1.1 christos various other cleanups, functions/variables made static and removed 4825 1.1 christos 4826 1.1 christos * aux_conf.h.in: removed @am_utils_autofs_style@, it is now 4827 1.1 christos included directly as amu_autofs_prot.h 4828 1.1 christos 4829 1.1 christos 2003-07-24 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 4830 1.1 christos 4831 1.1 christos * doc/am-utils.texi, scripts/amd.conf.5: document that 4832 1.1 christos use_tcpwrappers is "yes" by default. 4833 1.1 christos 4834 1.1 christos * amd/amd.c (init_global_options): set default global options. 4835 1.1 christos 4836 1.1 christos * amd/amd.h (CFM_DEFAULT_FLAGS): define default options which 4837 1.1 christos are always on (plock and use_tcpwrappers). 4838 1.1 christos 4839 1.1 christos * scripts/amd.conf-sample: reorganize values per option so default 4840 1.1 christos one is listed first. 4841 1.1 christos 4842 1.1 christos 2003-07-23 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 4843 1.1 christos 4844 1.1 christos * tasks: trim old stuff. Discuss new parser. 4845 1.1 christos 4846 1.1 christos * amd/conf.c (set_conf_kv): initialize the very first map in conf 4847 1.1 christos file from global defaults. Bug fix which was introduced after 4848 1.1 christos conf.c code restructuring. 4849 1.1 christos 4850 1.1 christos 2003-07-18 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 4851 1.1 christos 4852 1.1 christos * m4/macros/header_templates.m4: template for 4853 1.1 christos HAVE_EXTERN_HOSTS_CTL. 4854 1.1 christos 4855 1.1 christos * include/am_defs.h: define extern for hosts_ctl() if needed. 4856 1.1 christos 4857 1.1 christos * configure.in (AMU_CHECK_EXTERNS): check for extern definition 4858 1.1 christos for libwrap's hosts_ctl() (FreeBSD 5.0 doesn't have it). 4859 1.1 christos 4860 1.1 christos * m4/macros/check_extern.m4: include tcpd.h if it and libwrap exist. 4861 1.1 christos 4862 1.1 christos 2003-07-18 Erez Zadok <ezk (a] cs.sunysb.edu> 4863 1.1 christos 4864 1.1 christos * hlfsd/hlfsd.h: redundant extern for mboxfile removed. 4865 1.1 christos 4866 1.1 christos * amd/amq_svc.c (amq_program_1): only check for tcpwrappers if 4867 1.1 christos amd.conf global option use_tcpwrappers=yes. 4868 1.1 christos 4869 1.1 christos * scripts/amd.conf.5, scripts/amd.conf-sample (use_tcpwrappers), 4870 1.1 christos doc/am-utils.texi (use_tcpwrappers Parameter): document new 4871 1.1 christos amd.conf global option. 4872 1.1 christos 4873 1.1 christos * amd/conf.c (gopt_use_tcpwrappers): define a new amd.conf global 4874 1.1 christos option called use_tcpwrappers ("no" by default). 4875 1.1 christos 4876 1.1 christos * amd/amq_svc.c (amqsvc_is_client_allowed): include tcpd/libwrap 4877 1.1 christos code only if both libwrap and tcpd.h exist. 4878 1.1 christos (amq_program_1): log warning when an Amq service client is denied, 4879 1.1 christos and a debug message when a client is allowed. 4880 1.1 christos 4881 1.1 christos * amd/amd.h (CFM_USE_TCPWRAPPERS): define [global] amd.conf flag. 4882 1.1 christos (AMD_SERVICE_NAME): define AMD_SERVICE_NAME for tcpd/libwrap. 4883 1.1 christos 4884 1.1 christos * include/am_defs.h: include tcpd.h if available and libwrap 4885 1.1 christos available. 4886 1.1 christos 4887 1.1 christos * configure.in: check for tcpd.h. 4888 1.1 christos 4889 1.1 christos 2003-07-18 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 4890 1.1 christos 4891 1.1 christos * scripts/expn.1, amd/amd.8 amq/amq.8, fixmount/fixmount.8, 4892 1.1 christos hlfsd/hlfsd.8, scripts/expn.1: remove ".PD 0" nroff command 4893 1.1 christos because it removes useful spaces in between paragraphs. Based on 4894 1.1 christos smaller patch from Philippe Troin <phil (a] fifi.org>. 4895 1.1 christos 4896 1.1 christos 2003-07-17 Philippe Troin <phil (a] fifi.org> 4897 1.1 christos 4898 1.1 christos * amq/amq.8: Document the libwrap/amd behavior. 4899 1.1 christos 4900 1.1 christos * amd/amq_svc.c (libwrap_check_client): New function to validate 4901 1.1 christos an amq connection with libwrap. 4902 1.1 christos (amq_program_1): Call libwrap_check_client() and close the 4903 1.1 christos connection if libwrap does not allow it. 4904 1.1 christos 4905 1.1 christos * configure.in: Check for the tcp wrappers library. 4906 1.1 christos 4907 1.1 christos 2003-07-17 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 4908 1.1 christos 4909 1.1 christos * amd/amq_subr.c (amqproc_mnttree_1_svc, amqproc_stats_1_svc, 4910 1.1 christos amqproc_getmntfs_1_svc, xdr_amq_mount_tree), hlfsd/hlfsd.c 4911 1.1 christos (hlfsd_init): cast pointers to void* before casting them to 4912 1.1 christos another type, to avoid gcc-3.3 -Wall warnings. 4913 1.1 christos 4914 1.1 christos * fsinfo/*.[hc]: rename fsinfo function log() to fsi_log(), to 4915 1.1 christos avoid conflict with builtin function in gcc-3.3. 4916 1.1 christos 4917 1.1 christos 2003-07-17 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4918 1.1 christos 4919 1.1 christos * scripts/amd.conf-sample: Remove obsolete comment. 4920 1.1 christos 4921 1.1 christos 2003-07-16 Erez Zadok <ezk (a] cs.sunysb.edu> 4922 1.1 christos 4923 1.1 christos * amd/info_file.c (read_line): check for errors from fgets(). 4924 1.1 christos Although rare, they can occur upon disk or network failures. 4925 1.1 christos Patch from Nick Williams <Nick.Williams (a] morganstanley.com>. 4926 1.1 christos 4927 1.1 christos 2003-07-16 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4928 1.1 christos 4929 1.1 christos * BUGS (Solaris 8): Update patch revisions, mention old autofs 4930 1.1 christos patches, fix filenames and rpcgen command. 4931 1.1 christos 4932 1.1 christos 2003-07-15 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 4933 1.1 christos 4934 1.1 christos * doc/am-utils.texi (map_defaults Parameter): document new 4935 1.1 christos map_defaults option. 4936 1.1 christos 4937 1.1 christos * scripts/amd.conf.5: document new map_defaults option. 4938 1.1 christos 4939 1.1 christos * scripts/amd.conf-sample (map_type): show examples of new 4940 1.1 christos map_defaults option. 4941 1.1 christos 4942 1.1 christos * amd/mapc.c (mapc_create): initialize mnt_map->cfm field to NULL. 4943 1.1 christos 4944 1.1 christos * amd/get_args.c (get_args): call process_all_regular_maps(). 4945 1.1 christos 4946 1.1 christos * amd/conf.c: keep head and tail of cfm list. 4947 1.1 christos (init_cf_map): reworked reset_cf_map. This one doesn't reset a 4948 1.1 christos globaly reused cfm, but rather just inherits [global] options. 4949 1.1 christos (set_conf_kv): just store global/map options without actually 4950 1.1 christos creating any mnt_map's. Essentially, we now parse the whole 4951 1.1 christos amd.conf file, and then try to process the maps one at a time. 4952 1.1 christos (process_one_regular_map): new function to process one map, just 4953 1.1 christos renamed from process_regular_map. 4954 1.1 christos (process_all_regular_maps): new exported function to process all 4955 1.1 christos maps. No need for hacky process_last_map(). 4956 1.1 christos (find_cf_map): new exported function to return a cf_map_t given a 4957 1.1 christos map's mount point (e.g., /home or /net). 4958 1.1 christos 4959 1.1 christos * amd/amfs_generic.c (amfs_parse_defaults): find if amd.conf 4960 1.1 christos specificed a map_defaults for a given map. If so, use that 4961 1.1 christos instead of the /defaults that came from the map itself. Also 4962 1.1 christos restructure code a bit so it's not one huge long "if" statement. 4963 1.1 christos 4964 1.1 christos HACK ALERT: there's no easy way to find out what the map mount 4965 1.1 christos point is at this point, so I am forced to initialize the 4966 1.1 christos mnt_map->cfm field here for the first time, upon the very first 4967 1.1 christos search for a /defaults entry in this map. This initialization is 4968 1.1 christos much better done in mapc_create(), but it's impossible to do that 4969 1.1 christos there with the current code structure. 4970 1.1 christos 4971 1.1 christos * amd/amd.h: struct cf_map becomes linked list. struct mnt_map 4972 1.1 christos includes pointer to cf_map_t, amd.conf defaults and options for a 4973 1.1 christos given map. extern cleanups. 4974 1.1 christos 4975 1.1 christos 2003-07-15 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 4976 1.1 christos 4977 1.1 christos * amd/info_hesiod.c (hesiod_search): It's not possible to have a 4978 1.1 christos key such as ".access" in a hesiod map as that would imply a null 4979 1.1 christos node in the DNS tree. So a lookup for such a key must clearly 4980 1.1 christos fail. With the current info_hesiod.c it does (after calling 4981 1.1 christos hes{,iod}_resolve) but returns an error that confuses some 4982 1.1 christos programs - eg. apache. This patch shortcuts the process and just 4983 1.1 christos returns ENOENT for any key starting with ".". Patch submitted by 4984 1.1 christos by Mark Davies <mark (a] mcs.vuw.ac.nz>. 4985 1.1 christos 4986 1.1 christos * include/am_utils.h (CALLOC): redefine macro to use xzalloc, not 4987 1.1 christos fsinfo's own xcalloc. 4988 1.1 christos 4989 1.1 christos * fsinfo/fsi_util.c (xcalloc): remove redundant function. 4990 1.1 christos 4991 1.1 christos 2003-07-14 Erez Zadok <ezk (a] cs.sunysb.edu> 4992 1.1 christos 4993 1.1 christos * include/am_compat.h (MNTTAB_OPT_XLATECOOKIE): The NetBSD 4994 1.1 christos xlatecookie NFS option doesn't work as MNTTAB_OPT_XLATECOOKIE is 4995 1.1 christos never defined. Define it as needed. Patch from Mark Davies 4996 1.1 christos <mark (a] mcs.vuw.ac.nz>. 4997 1.1 christos 4998 1.1 christos 2003-07-14 Ion Badulescu <lionut (a] gonzales.badula.org> 4999 1.1 christos 5000 1.1 christos * BUGS (Note): document the Solaris 8 bug (the upgrade to autofs 5001 1.1 christos v4 without updating all the header files) 5002 1.1 christos 5003 1.1 christos 2003-07-13 Ion Badulescu <lionut (a] gonzales.badula.org> 5004 1.1 christos 5005 1.1 christos * NEWS, tasks: updated 5006 1.1 christos 5007 1.1 christos * amd/amfs_generic.c (free_continuation): free _all_ mntfs's in 5008 1.1 christos the am_mfarray, unconditionally 5009 1.1 christos (amfs_bgmount): call free_mntfs when we're done with a mntfs, call 5010 1.1 christos dup_mntfs when starting processing of a new one; make sure we 5011 1.1 christos always go through 'goto failed' for a failed mntfs; use the error 5012 1.1 christos code returned by autofs_get_fh() 5013 1.1 christos 5014 1.1 christos * conf/autofs/autofs_linux.c (autofs_get_fh): return proper error 5015 1.1 christos codes in case of problems 5016 1.1 christos 5017 1.1 christos 2003-07-13 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 5018 1.1 christos 5019 1.1 christos * BUGS: Document buggy behavior of Solaris /usr/ccs/bin/lex. In 5020 1.1 christos short, use flex. 5021 1.1 christos 5022 1.1 christos 2003-07-13 Erez Zadok <ezk (a] a-hpux11.fsl.cs.sunysb.edu> 5023 1.1 christos 5024 1.1 christos * fsinfo/fsi_lex.l, amd/conf_tok.l: allocate more output slots so 5025 1.1 christos lex scanners don't run out of mem. 5026 1.1 christos 5027 1.1 christos 2003-07-13 Ion Badulescu <lionut (a] gonzales.badula.org> 5028 1.1 christos 5029 1.1 christos * amd/amfs_generic.c (amfs_lookup_mntfs): ditto as below for the 5030 1.1 christos special provision 5031 1.1 christos 5032 1.1 christos * amd/mntfs.c (find_mntfs): compare the filesystem type 5033 1.1 christos (i.e. mf_ops) in addition to mf_info; the special provision 5034 1.1 christos mentioned below is really for any filesystem already mounted on 5035 1.1 christos our mount point, not just for inherited filesystems 5036 1.1 christos 5037 1.1 christos 2003-07-13 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 5038 1.1 christos 5039 1.1 christos * doc/Makefile.am (install-html): build per-chapter HTML manual, 5040 1.1 christos as well as manual in one big HTML file. 5041 1.1 christos 5042 1.1 christos * doc/am-utils.texi: Minor corrections. Ack Ion's autofs work. 5043 1.1 christos Ack maintainers. New section on How to get additionl info, 5044 1.1 christos including the Amd book. Correct stale URLs and Emails. 5045 1.1 christos 5046 1.1 christos * amd/amd.8, amq/amq.8, amq/pawd.1, fixmount/fixmount.8, 5047 1.1 christos fsinfo/fsinfo.8, hlfsd/hlfsd.8, mk-amd-map/mk-amd-map.8, 5048 1.1 christos scripts/amd.conf.5, scripts/automount2amd.8, 5049 1.1 christos wire-test/wire-test.8: include references to info pages, proper 5050 1.1 christos authors, am-utils Web page, and amd book. 5051 1.1 christos 5052 1.1 christos 2003-07-13 Ion Badulescu <lionut (a] gonzales.badula.org> 5053 1.1 christos 5054 1.1 christos * amd/mntfs.c (find_mntfs): re-add the check for mf_info, but with 5055 1.1 christos a special provision for inherited filesystems. This unbreaks the 5056 1.1 christos handling of parallel mounts 5057 1.1 christos 5058 1.1 christos * amd/amfs_generic.c (amfs_lookup_mntfs): for restarted 5059 1.1 christos filesystems, there can be no alternative mntfs to try to mount 5060 1.1 christos 5061 1.1 christos 2003-07-13 Erez Zadok <ezk (a] cs.sunysb.edu> 5062 1.1 christos 5063 1.1 christos * amd/amd.8: reference am-utils info page in amd man page, as per 5064 1.1 christos Thomas Klausner <wiz (a] danbala.ifoer.tuwien.ac.at>. 5065 1.1 christos 5066 1.1 christos * fsinfo/fsinfo.h, fsinfo/fsinfo.c (fsi_get_args): don't use 5067 1.1 christos yywrap() if it doesn't exist. 5068 1.1 christos 5069 1.1 christos * amd/conf_parse.y, amd/conf_tok.l, fsinfo/fsi_gram.y, 5070 1.1 christos fsinfo/fsi_lex.l: fixes to support old flex 2.5.4, as well as the 5071 1.1 christos newer flex 2.5.31 (beta development). These include resolving 5072 1.1 christos conflicts with yylineno, unput() vs. nounput(), etc. 5073 1.1 christos 5074 1.1 christos 2003-07-13 Ion Badulescu <lionut (a] gonzales.badula.org> 5075 1.1 christos 5076 1.1 christos * amd/amfs_generic.c (amfs_cont): check for (am_error > 0) before 5077 1.1 christos calling assign_error_mntfs() 5078 1.1 christos (amfs_generic_mount_child): ditto 5079 1.1 christos 5080 1.1 christos * amd/autil.c (assign_error_mntfs): move the check for 5081 1.1 christos (am_error > 0) up into the caller, it's less confusing that way 5082 1.1 christos 5083 1.1 christos * tasks: some updates 5084 1.1 christos 5085 1.1 christos * conf/transp/transp_tli.c (check_pmap_up): new function which 5086 1.1 christos detects if the remote portmapper is functional 5087 1.1 christos (amu_clnt_create_best_version): removed 5088 1.1 christos (get_nfs_version): use a much simplified version of the old 5089 1.1 christos amu_clnt_create_best_version(), based on clnt_create_vers() and 5090 1.1 christos its _timed() counterpart 5091 1.1 christos 5092 1.1 christos * conf/transp/transp_sockets.c (check_pmap_up): new function which 5093 1.1 christos detects if the remote portmapper is functional 5094 1.1 christos (pmap_ping): deleted 5095 1.1 christos (get_nfs_version): removed calls to pmap_ping, already done by 5096 1.1 christos caller 5097 1.1 christos 5098 1.1 christos * amd/srvr_nfs.c: call check_pmap_up() before continuing with 5099 1.1 christos get_nfs_version() 5100 1.1 christos 5101 1.1 christos * amd/amfs_generic.c: updated a couple of log messages 5102 1.1 christos 5103 1.1 christos * configure.in: detect clnt_create_vers and clnt_create_vers_timed; 5104 1.1 christos changed LIBTOOL versioning to 3:0:0 5105 1.1 christos 5106 1.1 christos 2003-07-12 Ion Badulescu <lionut (a] gonzales.badula.org> 5107 1.1 christos 5108 1.1 christos * conf/autofs/autofs_linux.h (AUTOFS_HOST_FS_FLAGS): removed 5109 1.1 christos FS_AUTOFS because the host mount cannot be a top level mount 5110 1.1 christos (AUTOFS_DIRECT_FS_FLAGS): removed FS_AUTOFS because Linux autofs 5111 1.1 christos doesn't support direct mounts 5112 1.1 christos 5113 1.1 christos 2003-07-12 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 5114 1.1 christos 5115 1.1 christos * amd/conf_parse.y, amd/conf_tok.l: pretty comments on # cpp 5116 1.1 christos macros. 5117 1.1 christos 5118 1.1 christos 2003-07-10 Ion Badulescu <ionut (a] buggy.badula.org> 5119 1.1 christos 5120 1.1 christos * include/am_utils.h (dlog): improved version for gcc, using 5121 1.1 christos vararg macros 5122 1.1 christos 5123 1.1 christos * amd/rpc_fwd.c (fwd_packet): unused variable when compiling 5124 1.1 christos without debugging 5125 1.1 christos 5126 1.1 christos 2003-07-10 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 5127 1.1 christos 5128 1.1 christos * include/am_utils.h (dlog): change the #define of non-debugging 5129 1.1 christos dlog to "nothing" so that all that'll be left behind is a list of 5130 1.1 christos args in parenthesis (arg,arg,...). GCC and other native C 5131 1.1 christos compilers seem OK with it, even if it doesn't optimize away the 5132 1.1 christos whole debugging line. 5133 1.1 christos 5134 1.1 christos * ltmain.sh: was from libtool 1.4.2. updated to libtool 1.4.3, 5135 1.1 christos the latest on RH9 systems (but is not the latest libtool 5136 1.1 christos available). Stay with stable version in preparation for 6.1 5137 1.1 christos release. 5138 1.1 christos 5139 1.1 christos * config.{guess,sub}, doc/texinfo.tex: update to latest off of 5140 1.1 christos ftp.gnu.org. 5141 1.1 christos 5142 1.1 christos 2003-07-09 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 5143 1.1 christos 5144 1.1 christos * amd/amfs_inherit.c (amfs_inherit_inherit): don't use // C++ 5145 1.1 christos style comments: breaks non-C++ compilers (like AIX xlC 6) 5146 1.1 christos 5147 1.1 christos 2003-07-02 Ion Badulescu <ionut (a] buggy.badula.org> 5148 1.1 christos 5149 1.1 christos * doc/am-utils.texi (opts Option): document ignore_portmapper option 5150 1.1 christos 5151 1.1 christos * conf/transp/transp_sockets.c (get_nfs_version): better 5152 1.1 christos protocol/version cycling while probing remote server; better log 5153 1.1 christos messages 5154 1.1 christos 5155 1.1 christos * amd/srvr_nfs.c (start_ping): improved log message 5156 1.1 christos (find_nfs_srvr): always use requested nfs_version/nfs_proto; make 5157 1.1 christos sure we have a valid NFS port; start the server as "valid, down" if 5158 1.1 christos the remote portmapper tells us the NFS service is not running; 5159 1.1 christos implement the "ignore_portmapper" pseudo-mount option 5160 1.1 christos 5161 1.1 christos * amd/rpc_fwd.c (fwd_packet): better debug messages 5162 1.1 christos 5163 1.1 christos * amd/ops_nfs.c (got_nfs_fh): log a messages if a root fh is 5164 1.1 christos denied; call wakeup even if mountd call fails 5165 1.1 christos 5166 1.1 christos * amd/amq_subr.c (xdr_amq_mount_info_qelem): use FSRV_ISUP/ISDOWN 5167 1.1 christos instead of checking the flags directly 5168 1.1 christos * amd/srvr_amfs_auto.c (free_srvr): ditto 5169 1.1 christos 5170 1.1 christos * amd/amfs_generic.c (amfs_bgmount): refined some error/debug 5171 1.1 christos messages 5172 1.1 christos 5173 1.1 christos * amd/amd.h (FSRV_ERROR): new macro 5174 1.1 christos (FSRV_ISDOWN, FSRV_ISUP): a server that doesn't exist (i.e. it's a 5175 1.1 christos local filesystem) is always up 5176 1.1 christos 5177 1.1 christos 2003-06-30 Erez Zadok <ezk (a] cs.sunysb.edu> 5178 1.1 christos 5179 1.1 christos * amd/autil.c (am_mounted): set AMF_NOTIMEOUT if either unmount or 5180 1.1 christos umount options are present. 5181 1.1 christos 5182 1.1 christos * doc/am-utils.texi (Program Filesystem): document alias options 5183 1.1 christos to unmount:=, umount:=. 5184 1.1 christos 5185 1.1 christos * amd/opts.c (expansions): initialize opt_umount. 5186 1.1 christos (to_free): initialize opt_umount. 5187 1.1 christos 5188 1.1 christos * amd/amfs_program.c (amfs_program_match): ensure that only one of 5189 1.1 christos umount:= or unmount:= options are specified, but that at least one 5190 1.1 christos of them is listed. 5191 1.1 christos 5192 1.1 christos * amd/amd.h: support unmount:=XXX as well as umount:=XXX (too 5193 1.1 christos annoying in type:program, when one forgets the 'n' in "unmount"). 5194 1.1 christos They are two separate fields, so we can catch mistakes when 5195 1.1 christos someone tries to define both options. 5196 1.1 christos 5197 1.1 christos * doc/am-utils.texi (Program Filesystem): explain that both mount 5198 1.1 christos and unmount options must be specified. Correct example to show 5199 1.1 christos both. 5200 1.1 christos 5201 1.1 christos 2003-06-25 Erez Zadok <ezk (a] cs.sunysb.edu> 5202 1.1 christos 5203 1.1 christos * XXX: beginning of new amd.conf option map_defaults: will parse 5204 1.1 christos the option and set remember it in the right places. Need to 5205 1.1 christos document this and actually hook it up with the rest of the code. 5206 1.1 christos Any volunteers? :-) 5207 1.1 christos 5208 1.1 christos * scripts/amd.conf-sample (map_defaults): example of map_defaults 5209 1.1 christos amd.conf option. 5210 1.1 christos 5211 1.1 christos * amd/conf.c (reset_cf_map): initialize global and per-mount 5212 1.1 christos map_defaults. 5213 1.1 christos (gopt_map_defaults): parse global map_defaults. 5214 1.1 christos (process_regular_option,ropt_map_defaults): parse per-map 5215 1.1 christos map_defaults amd.conf option. 5216 1.1 christos 5217 1.1 christos * amd/amd.h: a place to store global and per-mount map_defaults. 5218 1.1 christos 5219 1.1 christos * BUGS: more notes about AIX 5.2 problems and how to overcome 5220 1.1 christos them. 5221 1.1 christos 5222 1.1 christos 2003-06-10 Erez Zadok <ezk (a] cs.sunysb.edu> 5223 1.1 christos 5224 1.1 christos * doc/Makefile.am: force version.texi to be rebuilt regardless of 5225 1.1 christos maintainer mode. Silly Automake will not build version.texi if 5226 1.1 christos maintainer mode is off (this is hardcoded into the automake perl 5227 1.1 christos script!). According to the Automake maintainers, users should 5228 1.1 christos always build in CVS trees with maintainer-mode on; but what if I 5229 1.1 christos don't want to?! I don't want to distribute Makefiles with 5230 1.1 christos maintained rules in them to users. The Automake maintainers also 5231 1.1 christos say that "make dist" will rebuild version.texi no matter what. I 5232 1.1 christos find that not to be the case. It failed to run a "make" before 5233 1.1 christos "make dist" because version.texi doesn't exist! Chicken and Egg 5234 1.1 christos situation. So, until Automake deals with version.texi in a more 5235 1.1 christos flexible and friendly manner, I adapted a rule to build 5236 1.1 christos version.texi and inserted it in this Makefile.am. 5237 1.1 christos 5238 1.1 christos 2003-06-09 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5239 1.1 christos 5240 1.1 christos * mk-amd-map/mk-amd-map.c (main): open temp db file using O_EXCL, 5241 1.1 christos next best thing to using mkstemp(). Patch from Hendrik Scholz 5242 1.1 christos <hscholz (a] raisdorf.net>. 5243 1.1 christos 5244 1.1 christos 2003-05-08 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5245 1.1 christos 5246 1.1 christos * libamu/mount_fs.c (compute_automounter_mount_flags): use 5247 1.1 christos MNT2_GEN_OPT_AUTOMNTFS if available; minor cleanup 5248 1.1 christos 5249 1.1 christos * m4/macros/header_templates.m4: added template for 5250 1.1 christos MNT2_GEN_OPT_AUTOMOUNTED 5251 1.1 christos 5252 1.1 christos 2003-05-01 Ion Badulescu <ionut (a] nicu.badula.org> 5253 1.1 christos 5254 1.1 christos * amd/ops_xfs.c (mount_xfs): compile fix (s/genflags/flags/) 5255 1.1 christos 5256 1.1 christos 2003-04-23 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5257 1.1 christos 5258 1.1 christos * conf/transp/transp_sockets.c (create_amq_service): minor cpp 5259 1.1 christos directive indentation and commenting. 5260 1.1 christos 5261 1.1 christos 2003-04-22 Ion Badulescu <ionut (a] moisil.badula.org> 5262 1.1 christos 5263 1.1 christos * conf/transp/transp_sockets.c (create_amq_service): Ugly *BSD fix 5264 1.1 christos for an RPC library DoS issue (original patch from Martin Blapp, 5265 1.1 christos massaged into something more digestable by me) 5266 1.1 christos 5267 1.1 christos 2003-04-14 Ion Badulescu <ionut (a] moisil.badula.org> 5268 1.1 christos 5269 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c: removed autofs_free_data(), 5270 1.1 christos left over from the recent cleanup 5271 1.1 christos 5272 1.1 christos 2003-04-13 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5273 1.1 christos 5274 1.1 christos * doc/Makefile.am (DVIPS): use proper options for dvips. 5275 1.1 christos 5276 1.1 christos * doc/am-utils.texi (opts Option): document new 'unmount' option, 5277 1.1 christos and better explain the 'nounmount' option. Also some misc options 5278 1.1 christos for better generation of html manual. 5279 1.1 christos 5280 1.1 christos * doc/Makefile.am (install-html): support newer texi2html 4.0 5281 1.1 christos options, as older options were renamed or changed behavior. 5282 1.1 christos 5283 1.1 christos * amd/autil.c (am_mounted): support new 'unmount' option, to allow 5284 1.1 christos all file system mounts to timeout and thus expire. This option is 5285 1.1 christos useful for removable local media such as CD-ROMs, USB drives, 5286 1.1 christos etc. so they can expire when not in use, and get unmounted (such 5287 1.1 christos drives can get work out when they keep spinning). Patch from 5288 1.1 christos Christos Zoulas <christos (a] zoulas.com> (originally from Koji 5289 1.1 christos Imada). 5290 1.1 christos 5291 1.1 christos 2003-04-10 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5292 1.1 christos 5293 1.1 christos * configure.in: use AM_MAINTAINER_MODE, so maintainer-only rules 5294 1.1 christos do not get added to Makefiles by default (they are confusing to 5295 1.1 christos users who don't have autotools installed). 5296 1.1 christos 5297 1.1 christos 2003-04-09 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5298 1.1 christos 5299 1.1 christos * amd/mntfs.c (find_mntfs): revert the "change of philosophy" (see 5300 1.1 christos the 2001-05-23 entry) back to the 6.0 code 5301 1.1 christos 5302 1.1 christos 2003-04-04 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5303 1.1 christos 5304 1.1 christos * libamu/xutil.c (switch_to_logfile): don't try to print logfile 5305 1.1 christos if it is null (strlen core dump on solaris). Bug report from John 5306 1.1 christos P. Rouillard <rouilj (a] ieee.org>. 5307 1.1 christos 5308 1.1 christos 2003-03-31 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5309 1.1 christos 5310 1.1 christos * fsinfo/fsinfo.8: typo co-ordinate -> coordinate. Typo report 5311 1.1 christos from Perry E. Metzger" <perry (a] piermont.com>. 5312 1.1 christos 5313 1.1 christos 2003-03-25 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 5314 1.1 christos 5315 1.1 christos * include/am_defs.h: Don't include malloc.h if stdlib.h exists, 5316 1.1 christos because modern systems (e.g., BSD) complain if you use malloc.h 5317 1.1 christos instead of stdlib.h. Let's hope there are no systems out 5318 1.1 christos there that need both. 5319 1.1 christos 5320 1.1 christos 2003-03-20 Erez Zadok <ezk (a] suse73.fsl.cs.sunysb.edu> 5321 1.1 christos 5322 1.1 christos * minor new port: sparc64-unknown-linux-suse7.3. 5323 1.1 christos 5324 1.1 christos 2003-03-20 Erez Zadok <ezk (a] a-freebsd5.fsl.cs.sunysb.edu> 5325 1.1 christos 5326 1.1 christos * minor new port: i386-unknown-freebsd5.0. 5327 1.1 christos 5328 1.1 christos * configure.in: detect nfsclient/nfsargs.h. 5329 1.1 christos 5330 1.1 christos * conf/nfs_prot/nfs_prot_freebsd3.h: include 5331 1.1 christos <nfsclient/nfsargs.h>, needed in FreeBSD 5.0. 5332 1.1 christos 5333 1.1 christos 2003-03-15 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5334 1.1 christos 5335 1.1 christos * amd/amd.8, amd/amd.8, fixmount/fixmount.8, hlfsd/hlfsd.8, 5336 1.1 christos scripts/amd.conf.5, scripts/expn.1: minor spell checking and 5337 1.1 christos extraneous space elimination. 5338 1.1 christos 5339 1.1 christos 2003-03-07 Ion Badulescu <ionut (a] buggy.badula.org> 5340 1.1 christos 5341 1.1 christos * conf/autofs/autofs_linux.c (autofs_get_fh): don't leak file 5342 1.1 christos descriptors if limit exceeded 5343 1.1 christos (autofs_mounted): call autofs_get_mp(); init am_autofs_ttl 5344 1.1 christos (autofs_release_fh): release pending_mounts and pending_umounts 5345 1.1 christos queues 5346 1.1 christos (autofs_timeout_mp): update am_autofs_ttl instead of am_ttl 5347 1.1 christos 5348 1.1 christos * amd/mntfs.c (init_mntfs): delete initialization of removed 5349 1.1 christos mf_autofs_fh 5350 1.1 christos (uninit_mntfs): delete call to autofs_release_fh() 5351 1.1 christos 5352 1.1 christos * amd/map.c (init_map): init autofs_fh to 0, delete initialization 5353 1.1 christos of removed autofs_data 5354 1.1 christos (free_map): release autofs_fh after unmounting map; delete call to 5355 1.1 christos autofs_free_data() 5356 1.1 christos (umount_exported): call autofs_release_mp() prior to unmounting 5357 1.1 christos autofs f/s 5358 1.1 christos (unmount_mp): ditto 5359 1.1 christos (free_map_if_success): call autofs_get_mp() if unmounting fails 5360 1.1 christos (timeout_mp): use the dedicated am_autofs_ttl timeout for f/s-wide 5361 1.1 christos timeouts instead of the per-mountpoint am_ttl 5362 1.1 christos 5363 1.1 christos * amd/autil.c (am_unmounted): release autofs_fh after unmounting 5364 1.1 christos autofs f/s 5365 1.1 christos 5366 1.1 christos * amd/amfs_generic.c (amfs_cont): release autofs_fh if mounting 5367 1.1 christos autofs f/s fails; 5368 1.1 christos (amfs_bgmount): ditto 5369 1.1 christos 5370 1.1 christos * amd/amd.h: moved autofs_fh from mntfs to am_node, since it's 5371 1.1 christos more related to the mount point than to the f/s mounted; 5372 1.1 christos added am_autofs_ttl to am_node, for running expirations on entire 5373 1.1 christos filesystems 5374 1.1 christos 5375 1.1 christos * conf/autofs/autofs_*: autofs_get_fh() returns int instead of 5376 1.1 christos autofs_fh_t *; autofs_release_fh() now takes an am_node * parameter 5377 1.1 christos instead of autofs_fh_t *, in an effort to not deal with 5378 1.1 christos autofs-specific data structures outside autofs code; 5379 1.1 christos new methods autofs_get_mp() and autofs_release_mp(), which 5380 1.1 christos acquire/release autofs resources to allow clean unmount attempts; 5381 1.1 christos nuke autofs_data_t, never used 5382 1.1 christos 5383 1.1 christos * amd/amd.h: prototypes for new and changed autofs functions 5384 1.1 christos 5385 1.1 christos 2003-03-07 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5386 1.1 christos 5387 1.1 christos * amd/nfs_subr.c (do_readlink): eliminate third argument, never used 5388 1.1 christos (nfsproc_getattr_2_svc): reorganize the code a bit 5389 1.1 christos 5390 1.1 christos * amd/map.c (mk_fattr): take a nfsfattr * argument instead of an 5391 1.1 christos am_node * argument 5392 1.1 christos 5393 1.1 christos * amd/amd.h: changed prototype for mk_fattr() 5394 1.1 christos 5395 1.1 christos * amd/autil.c (am_unmounted): when remounting, use the parent 5396 1.1 christos node's lookup_child() and mount_child() operations, not the 5397 1.1 christos generic ones 5398 1.1 christos 5399 1.1 christos * amd/amfs_generic.c (amfs_cont): minor code optimization 5400 1.1 christos 5401 1.1 christos 2003-03-06 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5402 1.1 christos 5403 1.1 christos * amd/amfs_auto.c: lots of renames and code moving: 5404 1.1 christos amfs_auto_match() -> amfs_generic_match(), moved to generic; 5405 1.1 christos amfs_auto_mkcacheref() -> amfs_mkcacheref(), moved to autil.c; 5406 1.1 christos amfs_auto_mounted() -> amfs_generic_mounted(), moved to generic; 5407 1.1 christos amfs_auto_umount() -> amfs_generic_umount(), moved to generic; 5408 1.1 christos free_continuation(): moved to generic, made static; 5409 1.1 christos assign_error_mntfs(): moved to autil.c; 5410 1.1 christos amfs_auto_cont() -> amfs_cont(), moved to generic, made static; 5411 1.1 christos amfs_auto_retry() -> amfs_retry(), moved to generic, made static; 5412 1.1 christos try_mount() + mount_node() -> mount_node(), moved to map.c 5413 1.1 christos amfs_auto_bgmount() -> amfs_bgmount(), moved to generic; 5414 1.1 christos amfs_parse_defaults(): moved to generic; 5415 1.1 christos amfs_auto_lookup_node() -> amfs_lookup_node(), moved to generic; 5416 1.1 christos amfs_auto_lookup_one_mntfs() -> amfs_lookup_one_mntfs(), in generic; 5417 1.1 christos amfs_auto_lookup_mntfs() -> amfs_lookup_mntfs(), moved to generic; 5418 1.1 christos amfs_auto_mount_child() -> amfs_generic_mount_child(), in generic; 5419 1.1 christos amfs_auto_lookup_child() -> amfs_generic_lookup_child(), in generic; 5420 1.1 christos next_nonerror_node(): moved to autil.c; 5421 1.1 christos amfs_auto_readdir() -> amfs_generic_readdir(), moved to readdir; 5422 1.1 christos amfs_auto_readdir_browsable() -> amfs_readdir_browsable(), in readdir; 5423 1.1 christos 5424 1.1 christos * amd/amfs_toplvl.c: mount_amfs_toplvl() renamed to amfs_mount() 5425 1.1 christos and moved to autil.c 5426 1.1 christos 5427 1.1 christos * amd/readdir.c, amd/amfs_generic.c: new files with stuff ripped 5428 1.1 christos out of amd/amfs_auto.c 5429 1.1 christos 5430 1.1 christos * amd/amd.h: struct continuation moved to generic.c; prototypes 5431 1.1 christos for the renamed functions; NumChild renamed to NumChildren 5432 1.1 christos 5433 1.1 christos * amd/map.c: collaped unmount_node_wrap() and unmount_node() into 5434 1.1 christos the latter 5435 1.1 christos 5436 1.1 christos * amd/mapc.c: key_already_in_chain(): moved to readdir.c; 5437 1.1 christos make_entry_chain(): moved to readdir.c; 5438 1.1 christos 5439 1.1 christos * amd/srvr_amfs_auto.c: find_amfs_auto_srvr() renamed to 5440 1.1 christos amfs_generic_find_srvr() 5441 1.1 christos 5442 1.1 christos * amd/amfs_*.c: adjustments for the renames above 5443 1.1 christos 5444 1.1 christos * amd/ops_*.c: low-level filesystems don't need a find_server() 5445 1.1 christos method 5446 1.1 christos 5447 1.1 christos * amd/Makefile.am: added amfs_generic.c and readdir.c 5448 1.1 christos 5449 1.1 christos * doc/am-utils.texi: minor clarification for auto maps 5450 1.1 christos 5451 1.1 christos 2003-03-06 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5452 1.1 christos 5453 1.1 christos * amd/amd.h: moved lots and lots of amd-only stuff here, from 5454 1.1 christos include/am_utils.h; changed task_fun, cb_fun and fwd_fun typedefs 5455 1.1 christos to be function typedefs, not pointer to function typedefs 5456 1.1 christos 5457 1.1 christos * include/am_utils.h: see above 5458 1.1 christos 5459 1.1 christos * amd/ops_nfs.c, amd/rpc_fwd.c, amd/sched.c: adjustments for 5460 1.1 christos function typedef changes 5461 1.1 christos 5462 1.1 christos 2003-03-05 Erez Zadok <ezk (a] cs.sunysb.edu> 5463 1.1 christos 5464 1.1 christos * BUGS: record IBM's patch number for the AIX 5.2 NFS over IPv6 5465 1.1 christos bug. 5466 1.1 christos 5467 1.1 christos 2003-02-02 Erez Zadok <ezk (a] siamese.fsl.cs.sunysb.edu> 5468 1.1 christos 5469 1.1 christos * NEWS: minor new port: ia64-unknown-linux-rh2.1AS 5470 1.1 christos 5471 1.1 christos 2003-01-31 Ion Badulescu <ion (a] console.limebrokerage.com> 5472 1.1 christos 5473 1.1 christos * m4/macros/os_cflags.m4: rhapsody and darwin are the same 5474 1.1 christos 5475 1.1 christos * amd/autil.c (mount_node): vastly simplified, just a wrapper now 5476 1.1 christos 5477 1.1 christos * amd/amfs_inherit.c (amfs_inherit_mount): remove the am_mounted() 5478 1.1 christos hack, we now do it properly in the generic code 5479 1.1 christos 5480 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): get the autofs_fh _before_ 5481 1.1 christos forking the child; set and reset MFF_MOUNTING here, not in 5482 1.1 christos mount_node(), because the latter might be running in child 5483 1.1 christos context; call am_mounted() after a successful foreground mount 5484 1.1 christos 5485 1.1 christos 2003-01-29 Ion Badulescu <ionut (a] moisil.badula.org> 5486 1.1 christos 5487 1.1 christos * configure.in: new flag --with[out]-ndbm; don't pull in libldap 5488 1.1 christos if building --without-ldap; look for the gdbm/ndbm.h header; make 5489 1.1 christos explicit the dependency between the ndbm headers and libraries; 5490 1.1 christos define NEW_DBM_H as the ndbm header that should be used 5491 1.1 christos 5492 1.1 christos * include/am_defs.h: simply include NEW_DBM_H for ndbm stuff, 5493 1.1 christos instead of trying to second-guess configure 5494 1.1 christos 5495 1.1 christos * m4/macros/header_templates.m4: new template for NEW_DBM_H 5496 1.1 christos 5497 1.1 christos * m4/macros/check_map_funcs.m4: 5498 1.1 christos (ac_upcase_map_name): use the third argument correctly 5499 1.1 christos 5500 1.1 christos * ltmain.sh: working version from libtool-1.4.2-7 5501 1.1 christos 5502 1.1 christos * buildall: print the entire configure command, including extra 5503 1.1 christos arguments; pass each of the extra arguments separately, not 5504 1.1 christos commingled into one 5505 1.1 christos 5506 1.1 christos 2003-01-28 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5507 1.1 christos 5508 1.1 christos * include/am_utils.h (DEBUG_MNTTAB): define outside of #ifdef 5509 1.1 christos DEBUG; it is not used without DEBUG, but it is referenced at 5510 1.1 christos compile time. Bug report from John Kilburg <john (a] physics.unlv.edu>. 5511 1.1 christos (D_ALL): don't include D_XDRTRACE, too verbose and normally 5512 1.1 christos unnecessary 5513 1.1 christos 5514 1.1 christos 2003-01-28 Erez Zadok <ezk (a] cs.sunysb.edu> 5515 1.1 christos 5516 1.1 christos * ltmain.sh, config.guess, config.sub, doc/texinfo.tex: updates 5517 1.1 christos from latest official GNU versions. 5518 1.1 christos 5519 1.1 christos 2003-01-25 Erez Zadok <ezk (a] cs.sunysb.edu> 5520 1.1 christos 5521 1.1 christos * BUGS (Note): document AIX-5.1 NFS-client side bug (hangs in 5522 1.1 christos vmount). 5523 1.1 christos 5524 1.1 christos 2003-01-25 Ion Badulescu <ionut (a] moisil.badula.org> 5525 1.1 christos 5526 1.1 christos * Released beta version 6.1b2 5527 1.1 christos 5528 1.1 christos 2003-01-24 Ion Badulescu <ionut (a] moisil.badula.org> 5529 1.1 christos 5530 1.1 christos * amd/autil.c (am_unmounted): reset MFF_MKMNT from mf_flags when 5531 1.1 christos calling rmdirs() on mountpoint 5532 1.1 christos 5533 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): ditto 5534 1.1 christos 5535 1.1 christos * amd/amfs_nfsl.c (amfs_nfsl_umounted): ditto 5536 1.1 christos 5537 1.1 christos * doc/am-utils.texi (opts Option): "sftlookup" -> "softlookup" 5538 1.1 christos 5539 1.1 christos * NEWS: "sftlookup" -> "softlookup" 5540 1.1 christos 5541 1.1 christos * amd/ops_nfs.c (nfs_mount): "sftlookup" -> "softlookup", also 5542 1.1 christos check for "nosoftlookup" in combination with "soft" 5543 1.1 christos 5544 1.1 christos 2003-01-23 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5545 1.1 christos 5546 1.1 christos * m4/macros/check_nfs_fh_dref.m4: darwin/rhapsody is another 5547 1.1 christos freebsd22 derivative 5548 1.1 christos 5549 1.1 christos * NEWS: updated for Darwin changes 5550 1.1 christos 5551 1.1 christos * .cvsignore: added A.i386-apple-darwin6.0 5552 1.1 christos 5553 1.1 christos * m4/macros/os_cflags.m4: add -D_P1003_1B_VISIBLE to cflags for 5554 1.1 christos Darwin 5555 1.1 christos 5556 1.1 christos 2003-01-23 Erez Zadok <ezk (a] cs.sunysb.edu> 5557 1.1 christos 5558 1.1 christos * conf/mount/mount_aix.c (mount_aix3): clean back this file from 5559 1.1 christos all the debugging cruft that is no longer needed (and really was 5560 1.1 christos never needed in the first place). 5561 1.1 christos 5562 1.1 christos 2003-01-10 Erez Zadok <ezk (a] cs.sunysb.edu> 5563 1.1 christos 5564 1.1 christos * scripts/test-amd.{misc,conf}: simple amd.conf and amd.misc 5565 1.1 christos (map) files for testing basic amd functionality such as whether it 5566 1.1 christos can mount its own mount NFS points. 5567 1.1 christos 5568 1.1 christos 2002-12-28 Ion Badulescu <ionut (a] moisil.badula.org> 5569 1.1 christos 5570 1.1 christos * amd/srvr_nfs.c (start_nfs_pings): don't set FSF_PINGING if 5571 1.1 christos pings are disabled 5572 1.1 christos 5573 1.1 christos * libamu/xdr_func.c (xdr_ftype): use a local enum_t variable 5574 1.1 christos instead of casting the pointer to (enum_t *) 5575 1.1 christos (xdr_mountstat3): ditto 5576 1.1 christos (xdr_nfsstat): ditto 5577 1.1 christos 5578 1.1 christos * libamu/misc_rpc.c (make_rpc_packet): fix make_rpc_packet() on 5579 1.1 christos 64-bit big-endian platforms, bug report from Bill Fenner 5580 1.1 christos <fenner (a] research.att.com> 5581 1.1 christos 5582 1.1 christos * configure.in: increase library patchlevel 5583 1.1 christos 5584 1.1 christos * libamu/xutil.c (amu_release_controlling_tty): close and reopen 5585 1.1 christos file descriptors 0,1,2 before calling setsid() 5586 1.1 christos 5587 1.1 christos 2002-12-27 Erez Zadok <ezk (a] cs.sunysb.edu> 5588 1.1 christos 5589 1.1 christos * updated copyright year to 2003 on all files 5590 1.1 christos 5591 1.1 christos 2002-12-10 Erez Zadok <ezk (a] localhost.localdomain> 5592 1.1 christos 5593 1.1 christos * rename "aux/" subdir into "m4/" so as to avoid problems with 5594 1.1 christos MS-DOS systems (where "AUX" is a reserved name). This required 5595 1.1 christos fixing numerous files. 5596 1.1 christos 5597 1.1 christos 2002-12-10 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 5598 1.1 christos 5599 1.1 christos * configure.in: don't check for bad hasmntopt() function if 5600 1.1 christos hasmntopt() doesn't exist on the system, because we will replace 5601 1.1 christos it with our own version anyway. 5602 1.1 christos 5603 1.1 christos * conf/transp/transp_sockets.c (amu_get_myaddress): use "%lx" in 5604 1.1 christos dlog because htonl() returns a u_long. 5605 1.1 christos 5606 1.1 christos 2002-12-10 Erez Zadok <ezk (a] localhost.localdomain> 5607 1.1 christos 5608 1.1 christos * include/am_defs.h: use system's hasmntopt() only if it is found 5609 1.1 christos and it is not buggy. 5610 1.1 christos 5611 1.1 christos * libamu/hasmntopt.c (nextmntopt): isspace() takes an int, not a 5612 1.1 christos char. 5613 1.1 christos 5614 1.1 christos * amd/am_ops.c, amd/amfs_auto.c, amd/autil.c, amd/nfs_subr.c, 5615 1.1 christos amd/ops_cdfs.c, amd/ops_nfs.c, amd/srvr_nfs.c, libamu/hasmntopt.c, 5616 1.1 christos libamu/mount_fs.c, libamu/mtab.c: rename all uses of hasmntopt() 5617 1.1 christos to amu_hasmntopt(). Don't use hasmntopt() directly any more! 5618 1.1 christos 5619 1.1 christos * aux/macros/func_bad_hasmntopt.m4: new M4 macro to test for a bad 5620 1.1 christos hasmntopt() function, which incorrectly finds the option "soft" in 5621 1.1 christos a string "hard,softlookup,ro". 5622 1.1 christos 5623 1.1 christos * libamu/hasmntopt.c (hasmntopt): use 'const' on two args to 5624 1.1 christos hasmntopt(), to match what most systems use. 5625 1.1 christos 5626 1.1 christos * aux/macros/header_templates.m4: template for HAVE_BAD_HASMNTOPT. 5627 1.1 christos 5628 1.1 christos * configure.in: invoke test for bad hasmntopt() 5629 1.1 christos 5630 1.1 christos * NEWS: minor new port, i386-pc-linux-rh8.0. 5631 1.1 christos Mention autofs-v4 on solaris9 works. 5632 1.1 christos 5633 1.1 christos * bootstrap: remove any autom4te-*.cache directories, now that 5634 1.1 christos autoconf uses a version number for them. 5635 1.1 christos 5636 1.1 christos 2002-12-09 Ion Badulescu <ionut (a] moisil.badula.org> 5637 1.1 christos 5638 1.1 christos Patches from Christos Zoulas: 5639 1.1 christos 5640 1.1 christos -1- am_utils.h: add full prototypes 5641 1.1 christos -2- amfs_auto.c make functions static and add prototypes 5642 1.1 christos -3- map.c: kill double free 5643 1.1 christos -5- transp_sockets.c: add full prototypes 5644 1.1 christos 5645 1.1 christos 2002-12-09 Ion Badulescu <ionut (a] moisil.badula.org> 5646 1.1 christos 5647 1.1 christos * NEWS: updated 5648 1.1 christos 5649 1.1 christos * doc/am-utils.texi (opts Option): document sftlookup 5650 1.1 christos 5651 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c: compile fixes 5652 1.1 christos 5653 1.1 christos 2002-11-22 Erez Zadok <ezk (a] filer.fsl.cs.sunysb.edu> 5654 1.1 christos 5655 1.1 christos * amd/info_ldap.c (amu_ldap_rebind): gopt.ldap_cache_seconds is 5656 1.1 christos %ld not %d. 5657 1.1 christos 5658 1.1 christos 2002-11-21 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5659 1.1 christos 5660 1.1 christos * {amd,fsinfo}/Makefile.am: remove special rules for processing 5661 1.1 christos yacc/lex files, now that autoconf/automake properly handle them 5662 1.1 christos better (esp. now that bison 1.75 behaves differently than older 5663 1.1 christos bison versions). 5664 1.1 christos 5665 1.1 christos 2002-11-21 Erez Zadok <ezk (a] cs.sunysb.edu> 5666 1.1 christos 5667 1.1 christos * config.guess.long: updated script so it will properly find the 5668 1.1 christos version number of the new Itanium 2 machines running "Red Hat 5669 1.1 christos Linux Advanced Workstation release 2.1AW (Derry)". The script now 5670 1.1 christos will report ia64-unknown-linux-rh2.1AW. 5671 1.1 christos 5672 1.1 christos 2002-11-20 Ion Badulescu <ionut (a] moisil.badula.org> 5673 1.1 christos 5674 1.1 christos * amfs_auto_bgmount(): almost complete rewrite 5675 1.1 christos 5676 1.1 christos * fixed amfs_inherit to do the right thing and not dereference 5677 1.1 christos freed mntfs'es 5678 1.1 christos 5679 1.1 christos * #if 0'ed bogus code in fh_to_mp3() -- it is now done properly in 5680 1.1 christos amfs_autofs_lookup_child() 5681 1.1 christos 5682 1.1 christos * release the autofs_fh only in one place 5683 1.1 christos 5684 1.1 christos * remove the mountpoint only if mf_refc == 1 5685 1.1 christos 5686 1.1 christos * print the mntfs type in free_mntfs() 5687 1.1 christos 5688 1.1 christos * new pseudo-mount option 'sftlookup' which causes lookups to 5689 1.1 christos mounted shares from downed servers to return EIO; the default 5690 1.1 christos depends on whether the mount is 'hard' or 'soft' 5691 1.1 christos 5692 1.1 christos * improved querying of supported NFS versions on the server -- 5693 1.1 christos don't even try if it's known to be down 5694 1.1 christos 5695 1.1 christos * solaris autofs mount code moved to transp_{sockets,tli}.c 5696 1.1 christos 5697 1.1 christos * incipient (non-functional) AIX autofs support 5698 1.1 christos 5699 1.1 christos 2002-11-11 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5700 1.1 christos 5701 1.1 christos * doc/am-utils.texi (Keep-alives): removed outdated info about not 5702 1.1 christos maintaining the state of TCP NFS servers 5703 1.1 christos 5704 1.1 christos 2002-11-04 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5705 1.1 christos 5706 1.1 christos * include/am_utils.h: prototype for ops_search() 5707 1.1 christos 5708 1.1 christos * amd/am_ops.c (ops_search): new function for searching the right 5709 1.1 christos set of ops for a given filesystem type 5710 1.1 christos 5711 1.1 christos * amd/restart.c (restart): cleanup and split into two functions in 5712 1.1 christos preparation for handling the restart of amd's own mount points 5713 1.1 christos (restart_fake_mntfs): new function, factored out from restart() 5714 1.1 christos 5715 1.1 christos 2002-11-04 Ion Badulescu <ionut (a] buggy.badula.org> 5716 1.1 christos 5717 1.1 christos * amd/ops_cdfs.c (mount_cdfs): remove special code for loop device 5718 1.1 christos (cdfs_umount): ditto 5719 1.1 christos 5720 1.1 christos * conf/mount/mount_linux.c (mount_linux): factor it out to 5721 1.1 christos mount_linux_nfs() and mount_linux_nonfs() 5722 1.1 christos (mount_linux_nonfs): generalize loop device support to all 5723 1.1 christos filesystems (not just cdfs); make it automatic for anything that's 5724 1.1 christos a regular file 5725 1.1 christos (parse_opts): deprecate the explicit "loop" mount option 5726 1.1 christos (do_mount_linux): minor cleanup 5727 1.1 christos 5728 1.1 christos * conf/umount/umount_default.c (umount_fs2): release loop device 5729 1.1 christos on umount() 5730 1.1 christos 5731 1.1 christos 2002-11-03 Erez Zadok <ezk@cnm20> 5732 1.1 christos 5733 1.1 christos * include/am_defs.h: moved #include of net/if.h above net/route.h, 5734 1.1 christos because on AIX 5.2 if.h is needed for route.h (let's hope it 5735 1.1 christos doesn't break things on other systems). 5736 1.1 christos 5737 1.1 christos * include/am_defs.h: AIX 5.2 needs struct sigevent from signal.h 5738 1.1 christos to be defined, but I don't want to move the inclusion of signal.h 5739 1.1 christos this early into this file. Luckily, amd doesn't need the size of 5740 1.1 christos this structure in any other structure that it uses. So we 5741 1.1 christos sidestep it for now. 5742 1.1 christos 5743 1.1 christos * conf/nfs_prot/nfs_prot_aix5_2.h: AIX 5.2 wants 'struct pathcnf', 5744 1.1 christos but I couldn't find its definition anywhere. Luckily, amd doesn't 5745 1.1 christos need the size of this structure in any other structure that it 5746 1.1 christos uses. So we sidestep it for now. 5747 1.1 christos 5748 1.1 christos 2002-11-02 Erez Zadok <ezk (a] cs.sunysb.edu> 5749 1.1 christos 5750 1.1 christos * config.guess, config.sub, doc/texinfo.tex: updates from 5751 1.1 christos the latest GNU distributions (2002-09-05). 5752 1.1 christos 5753 1.1 christos 2002-10-30 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5754 1.1 christos 5755 1.1 christos * conf/nfs_prot/nfs_prot_aix5_2.h: add more definitions from 5756 1.1 christos mount.h for NFSOPT_* and NFSMNT_*. 5757 1.1 christos Don't use typedefs that aren't found in system header files. 5758 1.1 christos 5759 1.1 christos 2002-10-30 Erez Zadok <ezk (a] cs.sunysb.edu> 5760 1.1 christos 5761 1.1 christos * Makefile.am (EXTRA_DIST_CONF): distribute nfs_prot_aix5_2.h. 5762 1.1 christos 5763 1.1 christos * conf/nfs_prot/nfs_prot_aix5_2.h: new file. 5764 1.1 christos 5765 1.1 christos * aux/macros/struct_nfs_args.m4 (ac_cv_have_struct_nfs_args): look 5766 1.1 christos for "struct aux52_nfs_args". 5767 1.1 christos 5768 1.1 christos * aux/macros/check_nfs_prot_headers.m4: define new header file for 5769 1.1 christos AIX 5.2. 5770 1.1 christos 5771 1.1 christos 2002-10-21 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5772 1.1 christos 5773 1.1 christos * scripts/amd.conf.5 (ldap_proto_version): document in amd.conf 5774 1.1 christos man page. 5775 1.1 christos 5776 1.1 christos * scripts/amd.conf-sample (ldap_proto_version): show example of use 5777 1.1 christos 5778 1.1 christos * doc/am-utils.texi (ldap_proto_version Parameter): document new 5779 1.1 christos amd.conf option. 5780 1.1 christos 5781 1.1 christos * amd/conf.c (gopt_ldap_proto_version): new conf function to 5782 1.1 christos support ldap_proto_version amd.conf parameter. 5783 1.1 christos 5784 1.1 christos * amd/amd.h: field to hold LDAP protocol version. 5785 1.1 christos 5786 1.1 christos * amd/amd.c (init_global_options): set default for 5787 1.1 christos ldap_proto_version. ldap_proto_version patch from George Ross 5788 1.1 christos <gdmr (a] dcs.ed.ac.uk> and Tim Colles <timc (a] inf.ed.ac.uk>. 5789 1.1 christos 5790 1.1 christos * amd/info_ldap.c (amu_ldap_unbind): ignore SIGPIPE errors while 5791 1.1 christos unbinding from an LDAP server that may have been restarted. Fix 5792 1.1 christos from George Ross <gdmr (a] dcs.ed.ac.uk>. 5793 1.1 christos 5794 1.1 christos 2002-09-17 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5795 1.1 christos 5796 1.1 christos * remove all autoconf stuff added for sys_nerr 5797 1.1 christos 5798 1.1 christos * amq/amq.c, libamu/xutil.c, hlfsd/hlfsd.c: always use strerror 5799 1.1 christos 5800 1.1 christos * libamu/strerror.c: more explicit text for unknown errno's 5801 1.1 christos 5802 1.1 christos 2002-10-01 Erez Zadok <ezk (a] cs.sunysb.edu> 5803 1.1 christos 5804 1.1 christos * include/am_defs.h: define "extern int sys_err" if needed. 5805 1.1 christos 5806 1.1 christos * aux/macros/header_templates.m4: template for 5807 1.1 christos HAVE_EXTERN_SYS_NERR. 5808 1.1 christos 5809 1.1 christos * hlfsd/hlfsd.h, libamu/xutil.c (expand_error), amq/amq.c 5810 1.1 christos (show_mi): remove "extern int sys_err" 5811 1.1 christos 5812 1.1 christos * configure.in: execute test for "extern int sys_err" 5813 1.1 christos 5814 1.1 christos * Makefile.am (EXTRA_DIST_AUX): distribute new extern_sys_err.m4 file. 5815 1.1 christos 5816 1.1 christos * aux/macros/extern_sys_nerr.m4: new test to check for existence 5817 1.1 christos of "extern int sys_nerr" definition in system headers. 5818 1.1 christos 5819 1.1 christos 2002-09-17 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5820 1.1 christos 5821 1.1 christos * libamu/xutil.c (dbg_opt): bring comments in line with the code 5822 1.1 christos 5823 1.1 christos * hlfsd/hlfsd.c (main): use amuDebug() instead of touching 5824 1.1 christos debug_flags directly 5825 1.1 christos 5826 1.1 christos * amd/amd.c (main): don't init debug_flags, leave it as zero (no 5827 1.1 christos debugging by default) 5828 1.1 christos 5829 1.1 christos 2002-09-11 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5830 1.1 christos 5831 1.1 christos Debug code sanitization: 5832 1.1 christos 5833 1.1 christos - amuDebug() becomes an expression, and explicit if() statements 5834 1.1 christos are added around it throughout the code 5835 1.1 christos - amuDebugNo() goes away (ugh!) 5836 1.1 christos - D_AMQ, D_DAEMON and D_FORK reverse their meaning 5837 1.1 christos - D_ALL contains only options that don't affect amd's functionality 5838 1.1 christos 5839 1.1 christos 2002-09-04 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5840 1.1 christos 5841 1.1 christos * amd/amfs_auto.c (free_continuation): avoid double-free'ing the 5842 1.1 christos mntfs if there was an error/timeout 5843 1.1 christos 5844 1.1 christos 2002-09-04 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5845 1.1 christos 5846 1.1 christos * amd/amfs_auto.c (amfs_auto_lookup_mntfs): use ereturn() instead 5847 1.1 christos of "return NULL" to signal an error to the upper layers 5848 1.1 christos (amfs_auto_mount): use strdup so the string can be free'd later on 5849 1.1 christos [Debian bug report from Matt Chapman <matthewc (a] cse.unsw.edu.au>] 5850 1.1 christos 5851 1.1 christos 2002-09-03 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5852 1.1 christos 5853 1.1 christos Patches from George Ross <gdmr (a] dcs.ed.ac.uk>: 5854 1.1 christos 5855 1.1 christos * amd/amfs_auto.c (assign_error_mntfs): do not discard old mntfs, 5856 1.1 christos it will be done in free_continuation(); assorted debugging messages 5857 1.1 christos 5858 1.1 christos * amd/srvr_nfs.c (nfs_timed_out): allocate a new XID on server 5859 1.1 christos timeout to avoid problems with late ping replies 5860 1.1 christos 5861 1.1 christos * amd/mntfs.c (free_mntfs): sanity check for mf_refc; assorted 5862 1.1 christos debugging messages 5863 1.1 christos 5864 1.1 christos * amd/map.c (unmount_node): more verbose debug message 5865 1.1 christos 5866 1.1 christos 2002-07-29 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5867 1.1 christos 5868 1.1 christos * amd/amfs_auto.c (amfs_auto_lookup_mntfs): prevent deferencing 5869 1.1 christos de-allocated memory in str3cat 5870 1.1 christos (amfs_auto_lookup_mntfs): check for buffer overflow 5871 1.1 christos 5872 1.1 christos 2002-07-11 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5873 1.1 christos 5874 1.1 christos * scripts/expn.{1,in}: fixed typos as reported by Thomas Klausner 5875 1.1 christos <wiz (a] danbala.ifoer.tuwien.ac.at>. 5876 1.1 christos 5877 1.1 christos 2002-06-26 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 5878 1.1 christos 5879 1.1 christos * doc/Makefile.am (install-html): don't use locally hacked 5880 1.1 christos texi2html features. 5881 1.1 christos 5882 1.1 christos * conf/transp/transp_sockets.c (amu_get_myaddress): Most modern 5883 1.1 christos systems should use 127.0.0.1 as the localhost address over which 5884 1.1 christos you can do NFS mounts. In the past we found that some NFS clients 5885 1.1 christos may not allow mounts from localhost. So we used get_myaddress() 5886 1.1 christos and that seemed to work. Alas, on some other systems, 5887 1.1 christos get_myaddress() may return one of the interface addresses at 5888 1.1 christos random, and thus use a less efficient IP address than 127.0.0.1. 5889 1.1 christos The solution is to hard-code 127.0.0.1, but still check if 5890 1.1 christos get_myaddress() returns a different value and warn about it. 5891 1.1 christos 5892 1.1 christos * doc/am-utils.texi: don't use ':' in @cindex entries. 5893 1.1 christos 5894 1.1 christos 2002-06-25 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5895 1.1 christos 5896 1.1 christos * Released beta version 6.1b1 5897 1.1 christos 5898 1.1 christos 2002-06-24 Ion Badulescu <ionut (a] moisil.badula.org> 5899 1.1 christos 5900 1.1 christos * aux/macros/struct_nfs_args.m4: added test for aix51_nfs_args 5901 1.1 christos 5902 1.1 christos * conf/nfs_prot/nfs_prot_aix5_1.h: rename aix42_nfs_args to 5903 1.1 christos aix51_nfs_args, rename unknown fields to u<number>, add the 5904 1.1 christos unknown new field into the middle of the old 4.2 structure 5905 1.1 christos 5906 1.1 christos 2002-06-24 Ion Badulescu <ion (a] guppy.limebrokerage.com> 5907 1.1 christos 5908 1.1 christos * include/am_compat.h: better test for struct netconfig 5909 1.1 christos (!HAVE_NETCONFIG_H && !HAVE_SYS_NETCONFIG_H) 5910 1.1 christos 5911 1.1 christos * aux/macros/check_nfs_prot_headers.m4: added new header for aix5.1+ 5912 1.1 christos 5913 1.1 christos * buildall: fix 'buildall -b' on hpux9 and aix5.1 5914 1.1 christos 5915 1.1 christos 2002-06-24 Ion Badulescu <ionut (a] buggy.badula.org> 5916 1.1 christos 5917 1.1 christos * INSTALL: updated 5918 1.1 christos 5919 1.1 christos * conf/autofs/autofs_solaris_v1.c (autofs_link_mount): compile fix 5920 1.1 christos (autofs_link_umount): ditto 5921 1.1 christos 5922 1.1 christos * amd/mntfs.c (init_mntfs): don't use autofs if !amd_use_autofs 5923 1.1 christos 5924 1.1 christos 2002-06-23 Ion Badulescu <ionut (a] moisil.badula.org> 5925 1.1 christos 5926 1.1 christos * conf/autofs/autofs_linux.c: compile fixes for autofs v3 5927 1.1 christos 5928 1.1 christos 2002-06-23 Ion Badulescu <ionut (a] moisil.badula.org> 5929 1.1 christos 5930 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_mounted): no 5931 1.1 christos expirations needed; 5932 1.1 christos (autofs_timeout_mp): likewise 5933 1.1 christos 5934 1.1 christos * conf/autofs/autofs_solaris_v1.c (autofs_mounted): no expirations 5935 1.1 christos needed; 5936 1.1 christos (autofs_timeout_mp): likewise 5937 1.1 christos 5938 1.1 christos * conf/autofs/autofs_linux.c (autofs_mounted): set the first 5939 1.1 christos expiration interval 5940 1.1 christos 5941 1.1 christos * amd/autil.c (am_mounted): call autofs_mounted here, instead of 5942 1.1 christos in mf_mounted() 5943 1.1 christos 5944 1.1 christos * amd/amd.h (NEVER): moved here from map.c 5945 1.1 christos (autofs_mounted): change argument from mntfs* to am_node* 5946 1.1 christos 5947 1.1 christos 2002-06-23 Ion Badulescu <lionut (a] gonzales.badula.org> 5948 1.1 christos 5949 1.1 christos * conf/autofs/autofs_linux.c (autofs_mounted): set the kernel 5950 1.1 christos timeout on the autofs mountpoint to cache_duration (gopt.am_timeo) 5951 1.1 christos (autofs_timeout_mp): don't update the ttl if we're going down 5952 1.1 christos 5953 1.1 christos * amd/map.c (timeout_mp): don't call autofs_timeout_mp unless the 5954 1.1 christos timeout on that particular am_node has expired 5955 1.1 christos 5956 1.1 christos * conf/autofs/autofs_linux.c (autofs_timeout_mp): really update 5957 1.1 christos the ttl, as per the comment (compilers are not very good at 5958 1.1 christos translating comments into code...) 5959 1.1 christos 5960 1.1 christos * amd/amfs_auto.c (amfs_auto_lookup_one_mntfs): strdup am_path 5961 1.1 christos instead of opt_rfs into opt_fs for autofs, thus avoiding conflicts 5962 1.1 christos between link mounts pointing to the same target 5963 1.1 christos 5964 1.1 christos 2002-06-23 Ion Badulescu <lionut (a] gonzales.badula.org> 5965 1.1 christos 5966 1.1 christos * conf/autofs/autofs_linux.c (send_fail, send_ready): new helper 5967 1.1 christos functions for sending messages back to the kernel 5968 1.1 christos (autofs_expire_one): initial implementation of the kernel-based 5969 1.1 christos expiration handler 5970 1.1 christos (autofs_handle_expire): call autofs_expire_one() 5971 1.1 christos (autofs_handle_expire_multi): ditto 5972 1.1 christos (autofs_umount_succeeded): search pending_umounts, send message 5973 1.1 christos back to the kernel 5974 1.1 christos (autofs_umount_failed): ditto 5975 1.1 christos (autofs_mount_succeeded): tell amd core not to expire autofs entries 5976 1.1 christos (autofs_timeout_mp): expiration function for autofs filesystems 5977 1.1 christos (autofs_timeout_mp_task): helper function for autofs_timeout_mp 5978 1.1 christos 5979 1.1 christos * conf/autofs/autofs_linux.h: new struct autofs_pending_umount for 5980 1.1 christos keeping tracking of pending umounts 5981 1.1 christos (autofs_fh_t) rename pending to pending_mounts, add pending_umounts 5982 1.1 christos 5983 1.1 christos * conf/autofs/autofs_solaris_v1.c (autofs_timeout_mp): stub 5984 1.1 christos 5985 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_timeout_mp): stub 5986 1.1 christos 5987 1.1 christos * amd/map.c (timeout_mp): call autofs_timeout_mp() for autofs 5988 1.1 christos filesystems 5989 1.1 christos 5990 1.1 christos * amd/autil.c (mf_mounted): move here the call autofs_mounted() 5991 1.1 christos from amfs_auto_mounted(). 5992 1.1 christos 5993 1.1 christos 2002-06-22 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 5994 1.1 christos 5995 1.1 christos * amd/nfs_start.c (mount_automounter): Security fix. if user sets 5996 1.1 christos -D noamq, don't even create listening socket. Suggestion by Ed 5997 1.1 christos Ravin <eravin (a] panix.com>. 5998 1.1 christos 5999 1.1 christos 2002-06-22 Ion Badulescu <lionut (a] gonzales.badula.org> 6000 1.1 christos 6001 1.1 christos * hlfsd/homedir.c (homedir): use setgid() instead of setegid() 6002 1.1 christos 6003 1.1 christos * ALL: #ifdef cleanups, unify some TLI/socket function prototypes 6004 1.1 christos 6005 1.1 christos 2002-06-22 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 6006 1.1 christos 6007 1.1 christos * conf/nfs_prot/nfs_prot_netbsd1_4.h: minor port to support 6008 1.1 christos na_gid and na_uid. NetBSD patch from Jun-ichiro itojun Hagino 6009 1.1 christos <itojun (a] iijlab.net>. 6010 1.1 christos 6011 1.1 christos * doc/am-utils.texi (Option): document xlatecookie mount option. 6012 1.1 christos 6013 1.1 christos * libamu/mount_fs.c (compute_nfs_args): support "xlatecookie" 6014 1.1 christos NFS mount option. Patch from Matthias Scheler <tron (a] zhadum.de> 6015 1.1 christos for NetBSD. 6016 1.1 christos 6017 1.1 christos 2002-06-22 Ion Badulescu <ionut (a] edgar.badula.org> 6018 1.1 christos 6019 1.1 christos * conf/autofs/autofs_solaris_v1.h: add FS_MBACKGROUND to 6020 1.1 christos AUTOFS_LINK_FS_FLAGS 6021 1.1 christos 6022 1.1 christos * conf/autofs/autofs_solaris_v1.c: convert link mounts to lofs 6023 1.1 christos mounts in autofs_link_mount/umount 6024 1.1 christos 6025 1.1 christos 2002-06-22 Ion Badulescu <lionut (a] gonzales.badula.org> 6026 1.1 christos 6027 1.1 christos * configure.in: check for devid inside struct umntrequest 6028 1.1 christos 6029 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (xdr_umntrequest): handle the 6030 1.1 christos new umntrequest structure in v4. 6031 1.1 christos (autofs_unmount_2_req): ditto 6032 1.1 christos 6033 1.1 christos * README.autofs: updated for Solaris 2.5/2.5.1 6034 1.1 christos 6035 1.1 christos 2002-06-22 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 6036 1.1 christos 6037 1.1 christos * configure.in: only define LDAP/Hesiod if both the headers and 6038 1.1 christos the libraries exist, and the user didn't explicitly disable those 6039 1.1 christos maps. 6040 1.1 christos 6041 1.1 christos 2002-06-22 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6042 1.1 christos 6043 1.1 christos * doc/am-utils.texi: fix typos. Can't use ":" in @cindex entries. 6044 1.1 christos 6045 1.1 christos 2002-06-22 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 6046 1.1 christos 6047 1.1 christos * doc/am-utils.texi, scripts/amd.conf.5, scripts/amd.conf-sample, 6048 1.1 christos amd/amd.8, amd/get_args.c (get_args): document amd -A option. 6049 1.1 christos 6050 1.1 christos * amd/get_args.c (get_args): support "amd -A arg" option to 6051 1.1 christos override the system's detected architecture. Patch from George 6052 1.1 christos Ross <gdmr (a] dcs.ed.ac.uk>. 6053 1.1 christos 6054 1.1 christos * amd/info_ldap.c (amu_ldap_rebind): don't use ldap_enable_cache() 6055 1.1 christos if the system doesn't have it. 6056 1.1 christos 6057 1.1 christos * configure.in: detect existence of ldap_enable_cache function, 6058 1.1 christos because it doesn't exist on Solaris 9's latest ldap libraries. 6059 1.1 christos 6060 1.1 christos * amd/info_ldap.c: LDAP patches from George Ross 6061 1.1 christos <gdmr (a] dcs.ed.ac.uk>. Rework of old code, support for wildcards in 6062 1.1 christos LDAP queries, and an FD leak fix. 6063 1.1 christos 6064 1.1 christos 2002-06-22 Ion Badulescu <lionut (a] gonzales.badula.org> 6065 1.1 christos 6066 1.1 christos * buildall: use ksh for configure on aix5.1; pass the extra 6067 1.1 christos arguments after "--" to configure, not to make 6068 1.1 christos 6069 1.1 christos * Makefile.am: added nfs_prot_aix4_3.h to EXTRA_DIST_CONF 6070 1.1 christos 6071 1.1 christos * conf/mount/mount_aix.c (mount_aix3): if the NFSv3 mount fails 6072 1.1 christos with EINVAL and we have MOUNT_TYPE_NFS3_BIS defined, retry the 6073 1.1 christos mount with the alternative nfs3_args structure 6074 1.1 christos 6075 1.1 christos * conf/nfs_prot/nfs_prot_aix4_3.h: added alternative nfs3_args 6076 1.1 christos structure, similar to that in aix5.1, for a hack that tries to 6077 1.1 christos compensate for IBM's brain fart 6078 1.1 christos 6079 1.1 christos * conf/nfs_prot/nfs_prot_aix5_1.h: new nfs_prot header for aix5.1+ 6080 1.1 christos 6081 1.1 christos * aux/macros/check_nfs_prot_headers.m4: added new header for aix5.1+ 6082 1.1 christos 6083 1.1 christos * BUGS: update for direct mounts on Linux; document the brokenness 6084 1.1 christos of /bin/sh on AIX 5.1 and HP-UX 9 6085 1.1 christos 6086 1.1 christos * NEWS: aix5.1 port, aix4.3 workaround 6087 1.1 christos 6088 1.1 christos 2002-06-22 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6089 1.1 christos 6090 1.1 christos * ltmain.sh: use libtool 1.4d, needed support for newer AIX. 6091 1.1 christos 6092 1.1 christos 2002-06-21 Ion Badulescu <ion (a] guppy.limebrokerage.com> 6093 1.1 christos 6094 1.1 christos * aux/macros/check_autofs_style.m4: enable autofs_v2_v3 for 6095 1.1 christos all solaris2.6+, not just for 2.[6-8] 6096 1.1 christos 6097 1.1 christos * conf/autofs/autofs_default.h: disable autofs if configure 6098 1.1 christos detects it 6099 1.1 christos 6100 1.1 christos 2002-06-21 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6101 1.1 christos 6102 1.1 christos * aux/macros/with_addon.m4: correct M4 quoting. 6103 1.1 christos 6104 1.1 christos * aux/macros/cache_check_dynamic.m4: correct M4 quoting. 6105 1.1 christos 6106 1.1 christos * bootstrap: show version of autotools being used. Helps 6107 1.1 christos maintainer debugging. 6108 1.1 christos 6109 1.1 christos * configure.in: new proper syntax for libtool and 6110 1.1 christos ansi2knr-filtering rules, required by autoconf 1.53 and higher. 6111 1.1 christos 6112 1.1 christos 2002-06-21 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 6113 1.1 christos 6114 1.1 christos * aux/GNUmakefile: new search paths for "update" target. 6115 1.1 christos 6116 1.1 christos * config.guess, config.sub, doc/texinfo.tex, ltmain: updates from 6117 1.1 christos the latest GNU distributions. 6118 1.1 christos 6119 1.1 christos 2002-06-11 Ion Badulescu <ion (a] guppy.limebrokerage.com> 6120 1.1 christos 6121 1.1 christos * amd/amfs_auto.c (amfs_auto_lookup_child): split part of this 6122 1.1 christos function into the new amfs_auto_lookup_one_child function; return 6123 1.1 christos null if all ivecs failed to match 6124 1.1 christos 6125 1.1 christos 2002-05-30 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6126 1.1 christos 6127 1.1 christos * config.guess.long: support SuSE version names in long 6128 1.1 christos config.guess format. 6129 1.1 christos 6130 1.1 christos 2002-05-01 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 6131 1.1 christos 6132 1.1 christos * scripts/lostaltmail.in (vrfy_user): unlink temp files if too 6133 1.1 christos small. 6134 1.1 christos 6135 1.1 christos 2002-04-07 Ion Badulescu <ionut (a] moisil.badula.org> 6136 1.1 christos 6137 1.1 christos * hlfsd/hlfsd.c (main): compile fix for --enable-debug=no 6138 1.1 christos 6139 1.1 christos 2002-03-29 Ion Badulescu <ionut (a] moisil.badula.org> 6140 1.1 christos 6141 1.1 christos * README.autofs: solaris 2.5/2.5.1 info, other minor changes 6142 1.1 christos 6143 1.1 christos * doc/am-utils.texi (History): document solaris 2.5+ support 6144 1.1 christos 6145 1.1 christos * include/am_utils.h: new member in struct mntfs: mfs_real_mount; 6146 1.1 christos autofs_fs_flags becomes conditional of HAVE_AUTOFS_FS; new 6147 1.1 christos prototype for umount_fs2(); extra argument for UMOUNT_FS() 6148 1.1 christos 6149 1.1 christos * hlfsd/hlfsd.c: use the new mount_fs2() and UMOUNT_FS() 6150 1.1 christos 6151 1.1 christos * libamu/mount_fs.c (mount_fs): wrapper around the new mount_fs2() 6152 1.1 christos function; swap mntdir and real_mntdir as necessary for solaris 2.5 6153 1.1 christos autofs support 6154 1.1 christos 6155 1.1 christos * conf/umount/umount_default.c (umount_fs2): swap mntdir and 6156 1.1 christos real_mntdir as necessary for solaris 2.5 autofs support 6157 1.1 christos 6158 1.1 christos * conf/umount/umount_*.c (umount_fs): wrapper around the new 6159 1.1 christos umount_fs2() function 6160 1.1 christos (umount_fs2): new function which takes the real mountpoint as an 6161 1.1 christos extra argument 6162 1.1 christos 6163 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_5.h: allow autofs support to be 6164 1.1 christos compiled in 6165 1.1 christos 6166 1.1 christos * conf/autofs/autofs_solaris_v1.h (autofs_strdup_space_hack): new 6167 1.1 christos function that appends a space at the end of a string (the famous 6168 1.1 christos "Autofs Space Protocol") 6169 1.1 christos 6170 1.1 christos * conf/autofs/autofs_solaris_v1.c: almost complete reimplementation 6171 1.1 christos 6172 1.1 christos * conf/autofs/autofs_*.h (AUTOFS_*_FS_FLAGS): add 6173 1.1 christos system-specific definitions for these macros 6174 1.1 christos 6175 1.1 christos * conf/autofs/autofs_linux.c (create_autofs_service): remove hacks 6176 1.1 christos which are now handled properly by more generic code 6177 1.1 christos (autofs_link_umount): complain if umount_fs() fails, rmdir the 6178 1.1 christos mountpoint on success 6179 1.1 christos (autofs_umount_succeeded): remove the rmdirs() code, now handled 6180 1.1 christos by generic code 6181 1.1 christos (autofs_mount_succeeded): ditto 6182 1.1 christos 6183 1.1 christos * amd/nfs_start.c (checkup): implement it as an emtpy stub if 6184 1.1 christos DEBUG is not defined 6185 1.1 christos (run_rpc): call autofs_add_fdset() after umount_exported() to 6186 1.1 christos avoid passing invalid file descriptors to select(); use plog() 6187 1.1 christos instead of perror() 6188 1.1 christos 6189 1.1 christos * amd/mntfs.c (init_mntfs): initialize mf_real_mount from mp 6190 1.1 christos (uninit_mntfs): free mf_real_mount 6191 1.1 christos 6192 1.1 christos * amd/autil.c (am_unmounted): don't remove the mount point if a 6193 1.1 christos remount is pending, also don't make the removal conditional on not 6194 1.1 christos being an autofs mount point 6195 1.1 christos 6196 1.1 christos * amd/amfs_nfsx.c (amfs_nfsx_remount): call mkdirs() on 6197 1.1 christos mf->mf_real_mount instead of mf->mf_mount 6198 1.1 christos 6199 1.1 christos * amd/amfs_nfsl.c, amd/amfs_nfsx.c: (amfs_nfsl_umounted): call 6200 1.1 christos rmdirs() on mf->mf_real_mount instead of mf->mf_mount 6201 1.1 christos 6202 1.1 christos * amd/amfs_host.c (make_mntpt): change the third argument to be 6203 1.1 christos the mountpoint, not the entire mntfs structure 6204 1.1 christos (do_mount): takes real_mntdir as an extra argument 6205 1.1 christos 6206 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): move the creation of the 6207 1.1 christos mountpoint here from try_mount(), otherwise the change to mf_flags 6208 1.1 christos is lost for background mounts; remove the mountpoint if we created 6209 1.1 christos it and the mount fails 6210 1.1 christos (amfs_auto_lookup_mntfs): re-initialize mf->mf_real_mount using 6211 1.1 christos autofs_strdup_space_hack() if NEED_AUTOFS_SPACE_HACK is defined 6212 1.1 christos 6213 1.1 christos * amfs_*.c, ops_*.c: initialize autofs_fs_flags using the 6214 1.1 christos AUTOFS_*_FS_FLAGS macro defined in the system-specific autofs 6215 1.1 christos header; UMOUNT_FS() takes mf->mf_real_mount as an extra argument; 6216 1.1 christos mount_fs() becomes mount_fs2() and takes mf->mf_real_mount as an 6217 1.1 christos extra argument 6218 1.1 christos 6219 1.1 christos * amd/amd.h, amd/ops_nfs.c, amd/amfs_host.c: mount_nfs_fh takes 6220 1.1 christos the real mountpoint as an additional argument 6221 1.1 christos 6222 1.1 christos 2002-03-28 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6223 1.1 christos 6224 1.1 christos * amd/ops_cdfs.c (mount_cdfs): correctly interpret error return 6225 1.1 christos values back from mount_fs(). Return correct error number from 6226 1.1 christos this function. 6227 1.1 christos 6228 1.1 christos * conf/mount/mount_linux.c (do_mount_linux): cleanup loop mount 6229 1.1 christos cruft from this function, moved elsewhere. 6230 1.1 christos (mount_linux): prepare for loop-device mounts of ISO images. 6231 1.1 christos 6232 1.1 christos 2002-03-28 Ion Badulescu <ionut (a] buggy.badula.org> 6233 1.1 christos 6234 1.1 christos * libamu/Makefile.am (EXTRA_DIST): added strerror.c 6235 1.1 christos 6236 1.1 christos * libamu/strerror.c: strerror() implementation for systems lacking it 6237 1.1 christos 6238 1.1 christos * doc/am-utils.texi (History): rewrote the history :) about autofs 6239 1.1 christos support 6240 1.1 christos 6241 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c: updated copyright; 6242 1.1 christos (autofs_unmount_2_req): minor cleanup 6243 1.1 christos (create_autofs_service): print log message 6244 1.1 christos (destroy_autofs_service): ditto 6245 1.1 christos 6246 1.1 christos * conf/autofs/autofs_linux.c: updated copyright 6247 1.1 christos 6248 1.1 christos * amd/nfs_start.c (mount_automounter): move the debug message into 6249 1.1 christos create_autofs_service() 6250 1.1 christos 6251 1.1 christos * amd/amd.c (main): call destroy_autofs_service() before 6252 1.1 christos going_down(), not after 6253 1.1 christos 6254 1.1 christos * configure.in: added strerror to AC_CHECK_FUNCS(); disable ldap 6255 1.1 christos if the ldap headers are not found 6256 1.1 christos 6257 1.1 christos 2002-03-28 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6258 1.1 christos 6259 1.1 christos * amd/info_ldap.c: patch from "Sebastien Bahloul" 6260 1.1 christos <sebastien.bahloul (a] medasys.org> to fix a simple initialization bug 6261 1.1 christos and change "HE" to HE_ENT so as to compile on HPUX. 6262 1.1 christos 6263 1.1 christos 2002-02-26 Erez Zadok <ezk (a] t3.fsl.cs.sunysb.edu> 6264 1.1 christos 6265 1.1 christos * conf/nfs_prot/nfs_prot_freebsd3.h (na_uid): freebsd4.5 uses nfs 6266 1.1 christos atttributes field named "uid". So #define na_uid to it. 6267 1.1 christos 6268 1.1 christos 2002-02-12 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6269 1.1 christos 6270 1.1 christos * scripts/lostaltmail.in: don't verify user if -noverify option 6271 1.1 christos was turned on. fix comment typo. 6272 1.1 christos 6273 1.1 christos 2002-02-11 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6274 1.1 christos 6275 1.1 christos * amd/Makefile.am (TESTS): enable one test script, test1.sh. 6276 1.1 christos 6277 1.1 christos * amd/test1.sh: re-commit simple test script. 6278 1.1 christos 6279 1.1 christos 2002-02-11 Ion Badulescu <ion (a] guppy.limebrokerage.com> 6280 1.1 christos 6281 1.1 christos * Released snapshot 6.1a5 6282 1.1 christos 6283 1.1 christos * NEWS: Solaris autofs readdir() support, Linux autofs sublink fix 6284 1.1 christos 6285 1.1 christos * README: require newer auto-tools, update mailing list address 6286 1.1 christos 6287 1.1 christos * README.autofs: major update 6288 1.1 christos 6289 1.1 christos * configure.in: version changed to 6.1a5 6290 1.1 christos 6291 1.1 christos 2002-02-11 Ion Badulescu <ionut (a] moisil.badula.org> 6292 1.1 christos 6293 1.1 christos * conf/autofs/autofs_linux.c (autofs_link_mount): don't do a 6294 1.1 christos stat() on the am_link if called from the parent amd, to prevent 6295 1.1 christos deadlocks 6296 1.1 christos 6297 1.1 christos * amd/autil.c (am_unmounted): call amfs_link_ops.umount_fs if the 6298 1.1 christos fstype is not link but we have a sublink (Linux autofs needs this) 6299 1.1 christos (am_mounted): call amfs_link_ops.mount_fs if the fstype is not 6300 1.1 christos link but we have a sublink (Linux autofs needs this) 6301 1.1 christos 6302 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): print the real mountpoint, 6303 1.1 christos not the amd entry point 6304 1.1 christos 6305 1.1 christos 2002-02-09 Ion Badulescu <ionut (a] moisil.badula.org> 6306 1.1 christos 6307 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (amd_rddirres): new custom 6308 1.1 christos structure for returning the results from readdir_2() 6309 1.1 christos (xdr_amd_putrddirres): renamed from xdr_autofs_putrddirres, 6310 1.1 christos changed to process our internal format (which is essentially the 6311 1.1 christos NFS readdir format) 6312 1.1 christos (xdr_autofs_getrddirres): not needed, deleted 6313 1.1 christos (xdr_amd_rddirres): renamed from xdr_autofs_rddirres, other 6314 1.1 christos changes to handle amd_rddirres instead of autofs_rddirres 6315 1.1 christos (autofs_lookup_2_req): return AUTOFS_NONE instead of 6316 1.1 christos AUTOFS_MOUNT_RQ, to prevent mount storms during ls -F 6317 1.1 christos (autofs_readdir_2_req): implemented 6318 1.1 christos (autofs_readdir_2_free): not needed, deleted 6319 1.1 christos (autofs_program_2): changes from autofs_rddirres to amd_rddirres 6320 1.1 christos (autofs_get_fh): changed initialization of the fh->map member, it 6321 1.1 christos now gets the mountpoint path because it makes it easier to 6322 1.1 christos implement readdir 6323 1.1 christos (autofs_release_fh): put #ifdef HAVE_AUTOFS_ARGS_T_ADDR around 6324 1.1 christos code touching fh->addr 6325 1.1 christos (destroy_autofs_service): new function, deregister the autofs 6326 1.1 christos service with the portmapper on exit 6327 1.1 christos 6328 1.1 christos * conf/autofs/autofs_linux.c (autofs_handle_missing): update 6329 1.1 christos statistics 6330 1.1 christos (destroy_autofs_service): new stub 6331 1.1 christos 6332 1.1 christos * amd/mapc.c (mapc_find): fixed indentation 6333 1.1 christos 6334 1.1 christos * amd/map.c (find_ap_recursive): renamed from find_ap2(), made 6335 1.1 christos static 6336 1.1 christos 6337 1.1 christos * amd/amd.h: removed prototype for find_ap2(), added prototype for 6338 1.1 christos destroy_autofs_service() 6339 1.1 christos 6340 1.1 christos * amd/amd.c (main): call destroy_autofs_service() before going 6341 1.1 christos down 6342 1.1 christos 6343 1.1 christos 2002-02-07 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 6344 1.1 christos 6345 1.1 christos * aux/macros/check_field.m4: need also a new version of 6346 1.1 christos AC_CHECK_MEMBERS (plural). 6347 1.1 christos 6348 1.1 christos 2002-02-06 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 6349 1.1 christos 6350 1.1 christos * aux/macros/check_field.m4: include a fixed version of 6351 1.1 christos AC_CHECK_MEMBER. g/cc will fail to check a member if the .member 6352 1.1 christos is itself a data structure, because you cannot compare, in C, a 6353 1.1 christos data structure against NULL; you can compare a native data type 6354 1.1 christos (int, char) or a pointer. Solution: do what I did in my original 6355 1.1 christos member checking macro: try to take the address of the member. You 6356 1.1 christos can always take the address of anything. 6357 1.1 christos 6358 1.1 christos 2002-01-31 Erez Zadok <ezk (a] localhost.localdomain> 6359 1.1 christos 6360 1.1 christos * remove old '%W%' SCCS IDs from all sources. 6361 1.1 christos 6362 1.1 christos 2002-01-21 Ion Badulescu <ionut (a] moisil.badula.org> 6363 1.1 christos 6364 1.1 christos * conf/mount/mount_linux.c (mount_linux): fix breakage introduced 6365 1.1 christos by the loop device mount support. Linux mount takes a real string 6366 1.1 christos as the last argument, unless the mount type is NFS, NCP, or SMB. 6367 1.1 christos 6368 1.1 christos 2002-01-20 Erez Zadok <ezk (a] localhost.localdomain> 6369 1.1 christos 6370 1.1 christos * hlfsd/hlfsd.h (HLFSD_VERSION): up version of hlfsd to 1.2, 6371 1.1 christos because we made some important changes. 6372 1.1 christos 6373 1.1 christos 2002-01-20 Ion Badulescu <lionut (a] gonzales.badula.org> 6374 1.1 christos 6375 1.1 christos * include/am_utils.h (D_ALL): do not include D_MTAB and D_HRTIME 6376 1.1 christos by default 6377 1.1 christos 6378 1.1 christos * NEWS: document latest changes 6379 1.1 christos 6380 1.1 christos * amd/map.c (unmount_mp): same fix as for hlfsd, update the 6381 1.1 christos seconds field in mtime because Linux ignores the useconds field 6382 1.1 christos 6383 1.1 christos * hlfsd/homedir.c: made some global vars static 6384 1.1 christos (plt_init): remove all trailing '/' chars from root's home; 6385 1.1 christos use root's home, not the username (silly bugfix) 6386 1.1 christos 6387 1.1 christos 2002-01-20 Ion Badulescu <lionut (a] gonzales.badula.org> 6388 1.1 christos 6389 1.1 christos * hlfsd/homedir.c (homedir): don't special case uid 0 as having / 6390 1.1 christos as home; instead use the root account's home 6391 1.1 christos (plt_init): properly initialize root_home from the root account's 6392 1.1 christos home directory, or as "" if root doesn't exist 6393 1.1 christos (plt_reset): free root_home 6394 1.1 christos 6395 1.1 christos 2002-01-20 Erez Zadok <ezk (a] localhost.localdomain> 6396 1.1 christos 6397 1.1 christos * hlfsd/stubs.c (nfsproc_{lookup,getattr}_2_svc): non-SYMTTL code. 6398 1.1 christos Increment seconds, not microseconds (which are ignored by NFS). 6399 1.1 christos Set symlink owner to euid. 6400 1.1 christos 6401 1.1 christos * hlfsd/homedir.c (homedir): pass gid to this function, so we can 6402 1.1 christos also change the effective GID of the process writing to the user's 6403 1.1 christos home dir, as well as the group of the hlfsd symlink. 6404 1.1 christos (homedir): run setegid in the right places. 6405 1.1 christos 6406 1.1 christos 2002-01-15 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6407 1.1 christos 6408 1.1 christos * scripts/redhat-ctl-amd.in: refer to @sbindir@ not 6409 1.1 christos ${prefix}/sbin. 6410 1.1 christos 6411 1.1 christos * scripts/ctl-{amd,hlfsd}.in: refer to @sysconfdir@ not 6412 1.1 christos ${prefix}/etc. Bug report from "A Braunsdorf" 6413 1.1 christos <ab (a] eas.purdue.edu>. 6414 1.1 christos 6415 1.1 christos 2002-01-13 Erez Zadok <ezk (a] localhost.localdomain> 6416 1.1 christos 6417 1.1 christos * configure.in: only check for clock_gettime if --enable-debug was 6418 1.1 christos used. 6419 1.1 christos 6420 1.1 christos * aux/macros/opt_debug.m4: define a cache variable to record value 6421 1.1 christos of debug option used. 6422 1.1 christos 6423 1.1 christos * libamu/xutil.c (show_time_host_and_name): do not use 6424 1.1 christos clock_gettime unless debugging was compiled in. This way, if 6425 1.1 christos debugging is not compiled, we don't bother linking with librt, 6426 1.1 christos libpthread, and a whole lot of other libraries that aren't that 6427 1.1 christos necessary (esp. on Linux). 6428 1.1 christos 6429 1.1 christos 2002-01-12 Erez Zadok <ezk (a] wavy.dyn.optonline.net> 6430 1.1 christos 6431 1.1 christos * doc/am-utils.texi (opts Option): document loop option. 6432 1.1 christos 6433 1.1 christos * include/am_utils.h: each mounted file system (mntfs) should 6434 1.1 christos optionally store the loop device used in the field mf_loopdev. 6435 1.1 christos 6436 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: define HAVE_LOOP_DEVICE and some 6437 1.1 christos loop function extern definitions. For now this code is here 6438 1.1 christos because we only support loop devices on Linux. 6439 1.1 christos 6440 1.1 christos * conf/mount/mount_linux.c: recognize "loop" as a valid iso9660 6441 1.1 christos mount option. 6442 1.1 christos (parse_opts): when skipping over unknown mount options, skip over 6443 1.1 christos "loop" (since it was given in amd map entry), but not over 6444 1.1 christos loop=/dev/loopX, because the latter will go into /etc/mtab. 6445 1.1 christos (do_mount_linux): override actual cdfs mounted device name 6446 1.1 christos because with loop devices you don't mount the .iso file directly, 6447 1.1 christos but the /dev/loopX device that was setup for it. 6448 1.1 christos (show_loop, is_loop_device, find_unused_loop_device, 6449 1.1 christos setup_loop_device, delete_loop_device): support code for loop 6450 1.1 christos devices. 6451 1.1 christos 6452 1.1 christos * amd/ops_cdfs.c (mount_cdfs): pass loop device name to function. 6453 1.1 christos setup loop device before isofs mount, if "loop" option was given, 6454 1.1 christos before actual mount(2). 6455 1.1 christos (cdfs_mount): pass loopdev name to mount_cdfs(). 6456 1.1 christos (cdfs_umount): delete/unset loop device after a successful 6457 1.1 christos unmount, if a loop device was used. 6458 1.1 christos 6459 1.1 christos * amd/mntfs.c (init_mntfs): initialize mf_loopdev to NULL. 6460 1.1 christos 6461 1.1 christos * include/am_compat.h: If loop device (header file) exists, define 6462 1.1 christos mount table option MNTTTAB_OPT_LOOP. 6463 1.1 christos 6464 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: hack: define HAVE_LOOP_DEVICE 6465 1.1 christos here until we have a better way to detect /dev/loop devices. 6466 1.1 christos 6467 1.1 christos * include/am_defs.h: include <linux/loop.h> if it exists. Define 6468 1.1 christos LARGEFILE support macros, possibly needed for loop devices. 6469 1.1 christos Redefine dev_t apropriately for loop devices. 6470 1.1 christos 6471 1.1 christos * configure.in: check for <linux/loop.h>. 6472 1.1 christos 6473 1.1 christos 2002-01-10 Ion Badulescu <ion (a] guppy.limebrokerage.com> 6474 1.1 christos 6475 1.1 christos * conf/mount/mount_linux.c (mount_linux): tcp _must_ have a timeo 6476 1.1 christos parameter 2 orders of magnitude larger than udp (patch from Trond 6477 1.1 christos Myklebust) 6478 1.1 christos 6479 1.1 christos 2002-01-09 Erez Zadok <ezk (a] localhost.localdomain> 6480 1.1 christos 6481 1.1 christos * aux/macros/linux_headers.m4: properly [quote] a long string in 6482 1.1 christos m4 and use AC_MSG_WARN. 6483 1.1 christos 6484 1.1 christos * ALL: put /* comments */ on #else/#endif lines everywhere. 6485 1.1 christos 6486 1.1 christos * configure.in, aux/macros/with_addon.m4: due to limitation of 6487 1.1 christos AC_HELP_STRING, pass 2nd arg to AMU_WITH_ADDON, listing name of 6488 1.1 christos package for help string. 6489 1.1 christos 6490 1.1 christos * doc/am-utils.texi (FSinfo): fixed various texinfo errors in the 6491 1.1 christos FSinfo section of the manual. 6492 1.1 christos (map_reload_interval Parameter): document new amd.conf global 6493 1.1 christos parameter. 6494 1.1 christos 6495 1.1 christos * scripts/amd.conf.5 document new global option 6496 1.1 christos map_reload_interval. Sort entries for nfs_vers and nfs_proto 6497 1.1 christos alphabetically. 6498 1.1 christos 6499 1.1 christos * amd/nfs_start.c (do_select): increment do_mapc_reload's value by 6500 1.1 christos global map_reload_interval value, not by fixed ONE_HOUR. 6501 1.1 christos 6502 1.1 christos * amd/amd.c (main): increment do_mapc_reload's value by global 6503 1.1 christos map_reload_interval value, not by fixed ONE_HOUR. 6504 1.1 christos 6505 1.1 christos * scripts/amd.conf-sample (map_reload_interval): usage example 6506 1.1 christos 6507 1.1 christos * amd/amd.c (init_global_options): initialize map_reload_interval 6508 1.1 christos to 3600 seconds. 6509 1.1 christos 6510 1.1 christos * amd/conf.c (gopt_map_reload_interval): support a new global 6511 1.1 christos amd.conf option map_reload_interval, to determine how often (in 6512 1.1 christos seconds) Amd should check if the map source has changed and then 6513 1.1 christos reload it it. This value was hard-coded to one hour, now it's the 6514 1.1 christos default if not otherwise specified. 6515 1.1 christos 6516 1.1 christos * doc/am-utils.texi (plock Parameter): document plock=yes option 6517 1.1 christos as using mlockall(2) if found. 6518 1.1 christos 6519 1.1 christos * scripts/amd.conf.5: document -S option as using mlockall(2) if 6520 1.1 christos found. 6521 1.1 christos 6522 1.1 christos * include/am_defs.h: include <sys/mman.h> if it exists. 6523 1.1 christos 6524 1.1 christos * configure.in: check for mlockall() function. Check for 6525 1.1 christos sys/mman.h. 6526 1.1 christos 6527 1.1 christos * amd/amd.c (main): support mlockall() on systems that have it and 6528 1.1 christos don't have plock(3) for plock=yes. On systems that have both, 6529 1.1 christos will try plock() first and then mlockall(), until one of them (if 6530 1.1 christos any) succeeds. 6531 1.1 christos 6532 1.1 christos 2002-01-09 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 6533 1.1 christos 6534 1.1 christos * aux/macros/opt_debug.m4, opt_cppflags.m4, opt_amu_cflags.m4, 6535 1.1 christos with_addon.m4 (ac_upcase): fix help string formatting using 6536 1.1 christos AC_HELP_STRING. 6537 1.1 christos 6538 1.1 christos * amd/test1.sh: simple test script for "make check". Runs "amd 6539 1.1 christos -v". 6540 1.1 christos 6541 1.1 christos * amd/Makefile.am (TESTS): add one simple test script, running 6542 1.1 christos "amd -v" and checking its return value. More tests can be added. 6543 1.1 christos 6544 1.1 christos * aux/macros/linux_headers.m4: use AC_MSG_WARN directly. 6545 1.1 christos 6546 1.1 christos * aux/macros/*.m4: avoid the cumbersome "changequote" M4 command. 6547 1.1 christos Instead, list bracketed regexp patterns in [[double brackets]]. 6548 1.1 christos 6549 1.1 christos * aux/macros/header_templates.m4: remove all unnecessary 6550 1.1 christos HAVE_FIELD_* definitions, now that we're using autoconf's new 6551 1.1 christos AC_CHECK_MEMBERS. 6552 1.1 christos 6553 1.1 christos * aux/macros/field_mntent_t_mnt_time_string.m4: don't call 6554 1.1 christos 6555 1.1 christos * configure.in: use new syntax for AMU_CHECK_FIELD 6556 1.1 christos 6557 1.1 christos * aux/macros/check_field.m4: use new and simpler macro 6558 1.1 christos AC_CHECK_MEMBERS. Change all sources to use HAVE_aggregate.member 6559 1.1 christos instead of HAVE_FIELD_aggregate.member. 6560 1.1 christos 6561 1.1 christos * aux/amdgrep: simple utility script to egrep the am-utils sources 6562 1.1 christos for any pattern. 6563 1.1 christos 6564 1.1 christos * aux/macros/{check_mnttab_style.m4, check_mount_style.m4, 6565 1.1 christos check_umount_style.m4, check_network_transport_type.m4}: use newer 6566 1.1 christos AC_LIBOBJ macros instead of modifying $LIBOBJS directly 6567 1.1 christos 6568 1.1 christos * aux/macros/func_bad_memcmp.m4: redefine to use native 6569 1.1 christos AC_FUNC_MEMCMP, and then define HAVE_BAD_MEMCMP as needed. 6570 1.1 christos 6571 1.1 christos * fsinfo/fsi_gram.y, amd/conf_parse.y: indent #pragma command so 6572 1.1 christos pre-ANSI C compilers will ignore it. 6573 1.1 christos 6574 1.1 christos * conf/autofs/autofs_linux.c (autofs_link_mount): call s/getpgrp() 6575 1.1 christos correctly depending on whether it takes a void or a 0. 6576 1.1 christos 6577 1.1 christos * configure.in: check if s/getpgrp() takes void or a 0. 6578 1.1 christos 6579 1.1 christos 2002-01-08 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 6580 1.1 christos 6581 1.1 christos * configure.in: use the newer AC_CONFIG_LINKS instead of 6582 1.1 christos AC_LINK_FILES. 6583 1.1 christos 6584 1.1 christos * aux/macros/check_autofs_style.m4, check_checkmount_style.m4, 6585 1.1 christos check_mnttab_style.m4, check_mount_style.m4, 6586 1.1 christos check_network_transport_type.m4, check_umount_style.m4, 6587 1.1 christos check_nfs_prot_headers.m4: removed backward compatible code for 6588 1.1 christos pre-autoconf-2.14. 6589 1.1 christos 6590 1.1 christos 2002-01-07 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 6591 1.1 christos 6592 1.1 christos * doc/Makefile.am: define @SET_MAKE@ for AC_PROG_MAKE_SET macro, since 6593 1.1 christos this Makefile could explicitly chdir to other directories and run 6594 1.1 christos make there. 6595 1.1 christos (install-ps): use ${MAKE} with ${MFLAGS}. 6596 1.1 christos 6597 1.1 christos * Makefile.am (EXTRA_DIST_AUX): distribute new package_*.m4 files. 6598 1.1 christos Define @SET_MAKE@ for AC_PROG_MAKE_SET macro, since this Makefile 6599 1.1 christos could explicitly chdir to other directories and run make there. 6600 1.1 christos (install-snapshot): use ${MAKE} ${MFLAGS}, not hardcoded "make". 6601 1.1 christos 6602 1.1 christos * configure.in: call AC_PROG_MAKE_SET to check if make program 6603 1.1 christos defines $MAKE variable. 6604 1.1 christos 6605 1.1 christos * amd/get_args.c (get_version_string): use new PACKAGE_* macros 6606 1.1 christos and also report the bug-reporting address. 6607 1.1 christos 6608 1.1 christos * aux/macros/package_{name,version}.m4, header_templates.m4: using 6609 1.1 christos new PACKAGE_{NAME,VERSION,BUGREPORT} macros. 6610 1.1 christos 6611 1.1 christos * aux/macros/name_bugreport.m4: simple macro to print out the 6612 1.1 christos bug-reporting address which was configured in AC_INIT. 6613 1.1 christos 6614 1.1 christos * bootstrap: remove new autoconf messages about misuse of 6615 1.1 christos m4_patsubst and m4_regexp (internal GNU M4 macros). 6616 1.1 christos 6617 1.1 christos * configure.in: remove old comment above AC_OUTPUT. 6618 1.1 christos Use AC_CONFIG_FILES and AC_OUTPUT separately. 6619 1.1 christos Fix AC_REVISION use. 6620 1.1 christos Add AC_COPYRIGHT. 6621 1.1 christos Use new style for AC_INIT, listing package name, version, and 6622 1.1 christos bug-reporting address. 6623 1.1 christos Call new AMU_PACKAGE_* macros. 6624 1.1 christos 6625 1.1 christos * updated copyright year to 2002 on all files 6626 1.1 christos 6627 1.1 christos * configure.in: using newly renamed am-utils macros (AMU_*) 6628 1.1 christos 6629 1.1 christos * aux/macros/*.m4: renamed ALL am-utils specific macros so they 6630 1.1 christos start with AMU_*, not AC_*. That way it is easier to distinguish 6631 1.1 christos between macros that come with am-utils and those that are part of 6632 1.1 christos Autoconf or Automake. It helps to identify those am-utils macros 6633 1.1 christos that can be removed once there is generic support for them in a 6634 1.1 christos future version of Autoconf. 6635 1.1 christos 6636 1.1 christos * bootstrap: run automake --copy 6637 1.1 christos remove autom4te.cache dir before rerunning autoconf 6638 1.1 christos 6639 1.1 christos 2001-12-13 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6640 1.1 christos 6641 1.1 christos * scripts/amd.conf.5: correct title to section 5, not 8. Correct 6642 1.1 christos reversed meaning of nfs_proto and nfs_vers parameters. Typos 6643 1.1 christos reported by Peter Breitenlohner <peb (a] mppmu.mpg.de>. 6644 1.1 christos 6645 1.1 christos 2001-12-02 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6646 1.1 christos 6647 1.1 christos * scripts/ctl-amd.in: run "test" or "[" in front of -x/-f 6648 1.1 christos 6649 1.1 christos * scripts/ctl-hlfsd.in: run "test" or "[" in front of -x/-f 6650 1.1 christos 6651 1.1 christos 2001-12-02 Ion Badulescu <ionut (a] moisil.badula.org> 6652 1.1 christos 6653 1.1 christos * hlfsd/homedir.c (plt_print): fix typo (s/plot/plog/) in 6654 1.1 christos non-mkstemp code 6655 1.1 christos 6656 1.1 christos * scripts/ctl-amd.in: touch/remove /var/lock/subsys/amd to make RH 6657 1.1 christos happy 6658 1.1 christos 6659 1.1 christos * scripts/ctl-hlfsd.in: ditto (for hlfsd) 6660 1.1 christos 6661 1.1 christos * conf/mtab/mtab_file.c (rewrite_mtab): fchmod(644) the file we 6662 1.1 christos get from mkstemp(), otherwise samba becomes very unhappy (sigsegv) 6663 1.1 christos 6664 1.1 christos * conf/mtab/mtab_mach3.c (rewrite_mtab): ditto 6665 1.1 christos 6666 1.1 christos 2001-11-29 Ion Badulescu <ion (a] guppy.limebrokerage.com> 6667 1.1 christos 6668 1.1 christos * tasks: updated 6669 1.1 christos 6670 1.1 christos * NEWS: document the fixed autofs fd leak 6671 1.1 christos 6672 1.1 christos * amq/amq.8: better document the -f option 6673 1.1 christos 6674 1.1 christos 2001-11-29 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6675 1.1 christos 6676 1.1 christos * libamu/mount_fs.c (mnt_flags): same this as for nolock option 6677 1.1 christos handling, do for maxgrps. 6678 1.1 christos 6679 1.1 christos 2001-11-29 Ion Badulescu <ion (a] guppy.limebrokerage.com> 6680 1.1 christos 6681 1.1 christos * conf/autofs/autofs_linux.c (hash_init): determine the max number 6682 1.1 christos of fd's at runtime, use it to dynamically scale the hash and list 6683 1.1 christos arrays 6684 1.1 christos (autofs_get_fh): sanity check, don't allow a pipe() fd greater 6685 1.1 christos than autofs_max_fds 6686 1.1 christos (autofs_release_fh): close our end of the pipe here (no clue why 6687 1.1 christos or when it got commented out) 6688 1.1 christos (autofs_mounted): set kernelfd to -1 after closing it 6689 1.1 christos 6690 1.1 christos 2001-11-28 Philippe Troin <phil (a] fifi.org> 6691 1.1 christos 6692 1.1 christos * libamu/mount_fs.c (mnt_flags): Drop nolock from generic mount 6693 1.1 christos opts. 6694 1.1 christos (compute_nfs_args): Added nolock handling. 6695 1.1 christos Adapted from an original patch from Avery Pennarun <apenwarr (a] nit.ca>. 6696 1.1 christos 6697 1.1 christos 2001-11-27 Erez Zadok <ezk (a] a-hpux11i.fsl.cs.sunysb.edu> 6698 1.1 christos 6699 1.1 christos * ported to ia64-hp-hpux11.20 using HP's ANSI/C compiler. 6700 1.1 christos Couldn't use bison/flex because of 32-bit vs. 64-bit binaries 6701 1.1 christos issues. Had to use HP's own yacc/lex. 6702 1.1 christos 6703 1.1 christos 2001-11-26 Erez Zadok <ezk (a] a-hpux11i.fsl.cs.sunysb.edu> 6704 1.1 christos 6705 1.1 christos * */Makefile.am: don't use $(OBJECTS) directly because it is no 6706 1.1 christos longer automatically defined now that Automake has automatic 6707 1.1 christos dependency tracking (which I turn off). Instead, hard-code 6708 1.1 christos minimal dependencies on am-utils' header files to depend on 6709 1.1 christos PROG_OBJECTS (where PROG is the program name being built). This 6710 1.1 christos was discovered by using HP's non-GNU make program. 6711 1.1 christos 6712 1.1 christos * amd/nfs_start.c (checkup): cast getpagesize() return val to 6713 1.1 christos long, to avoid conflicts in division of a long by an int (on 6714 1.1 christos hpux11i, with their ANSI/C compiler). 6715 1.1 christos 6716 1.1 christos * INSTALL, doc/am-utils.texi: port updates 6717 1.1 christos 6718 1.1 christos * minor new ports: ia64-hp-hpux11.20, i386-unknown-freebsd5.0, 6719 1.1 christos i386-unknown-freebsd4.4, i386-pc-linux-rh7.2, 6720 1.1 christos ia64-unknown-linux-rh7.1. 6721 1.1 christos 6722 1.1 christos * include/am_defs.h: actually declare extern definition for 6723 1.1 christos xdr_callmsg() if it doesn't already exist. 6724 1.1 christos 6725 1.1 christos * aux/macros/header_templates.m4: declare template for 6726 1.1 christos HAVE_EXTERN_XDR_CALLMSG. 6727 1.1 christos 6728 1.1 christos * configure.in: check for extern definition for xdr_callmsg() 6729 1.1 christos because hpux11 has that function but a bad <rpc/xdr.h> header file 6730 1.1 christos that doesn't define it in the right place. 6731 1.1 christos 6732 1.1 christos * libamu/mount_fs.c (print_nfs_args): cast ->rdev to u_long b/c 6733 1.1 christos on hpux11 its type is dev_t. 6734 1.1 christos 6735 1.1 christos * conf/nfs_prot/nfs_prot_hpux11.h: don't support autofs on hpux11 6736 1.1 christos yet. 6737 1.1 christos 6738 1.1 christos 2001-11-16 Erez Zadok <ezk (a] fsl-gw.fsl.cs.sunysb.edu> 6739 1.1 christos 6740 1.1 christos * buildall (Usage): separate $cnf_flags and $extra_cnf_flags due 6741 1.1 christos to /bin/sh limitations. 6742 1.1 christos 6743 1.1 christos * bootstrap (cmd): turn back on --ignore-deps (this Automake may 6744 1.1 christos have problems) 6745 1.1 christos 6746 1.1 christos * libamu/xutil.c: remove __attribute__ format_arg statement for 6747 1.1 christos expand_error() because this function, although taking a 6748 1.1 christos printf-like string, does not use it in a printf function; it only 6749 1.1 christos expands a non-printf amd-special syntax %m. 6750 1.1 christos 6751 1.1 christos 2001-11-14 Erez Zadok <ezk (a] fsl-gw.fsl.cs.sunysb.edu> 6752 1.1 christos 6753 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: define KERNEL_VERSION macro 6754 1.1 christos before using it because older Linux systems don't define this 6755 1.1 christos (e.g., Red Hat 4.2) 6756 1.1 christos 6757 1.1 christos 2001-11-13 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6758 1.1 christos 6759 1.1 christos * configure.in: convert to using autoconfig 2.52. Use new macros. 6760 1.1 christos AC_MSG_NOTICE for messages; AH_TOP and AH_BOTTOM to top and bottom 6761 1.1 christos parts of autogenerated config.h.in; increase autoconf 6762 1.1 christos pre-requisite to version 2.50; use AC_DISABLE_SHARED not 6763 1.1 christos AM_DISABLE_SHARED. 6764 1.1 christos 6765 1.1 christos * aux/macros/cache_check_dynamic.m4: finally I can use the new 6766 1.1 christos $ECHO_N syntax in macros instead of $ac_n, since I'm using a new 6767 1.1 christos autoconf. Isn't it nice to be such forward looking and having 6768 1.1 christos placed a comment "XXX: use the next line for autoconf-2.14 and 6769 1.1 christos newer"... :-) 6770 1.1 christos 6771 1.1 christos * aux/macros/save_state.m4: highlight message with ***'s 6772 1.1 christos 6773 1.1 christos * aux/macros/host_macros.m4: use proper M4 quoting ([], not "") 6774 1.1 christos 6775 1.1 christos * config.{guess,sub}: upated from latest prep ftp distributions 6776 1.1 christos 6777 1.1 christos * depcomp, missing, mkinstalldirs: upated from latest Automake 1.5 6778 1.1 christos 6779 1.1 christos * ltmain.sh: updated from latest Libtool 1.4.2 6780 1.1 christos 6781 1.1 christos * bootstrap: finally, new autoconf doesn't print silly "AC_TRY_RUN 6782 1.1 christos called without default to allow cross compiling" warnings. And, 6783 1.1 christos it only took like 3+ years to fix this. But, now it has anoter, 6784 1.1 christos albeit less annoying warning (which the manual says to ignore): 6785 1.1 christos "AC_PROG_LEX invoked multiple times". 6786 1.1 christos When autoheader is run, don't treat the "all clear" message 6787 1.1 christos "config.h.in is update" as an error. 6788 1.1 christos 6789 1.1 christos * ltconfig: removed. not needed with latest version of libtool 6790 1.1 christos 6791 1.1 christos * aux/macros/header_templates.m4: replaces acconfig.h and defines 6792 1.1 christos all CPP macros we use in this package, including their 6793 1.1 christos accompanying C /* comments */. 6794 1.1 christos 6795 1.1 christos * acconfig.h: removed. replaced by new autoconf system to generate 6796 1.1 christos header templates using AH_TEMPLATE macros and such. 6797 1.1 christos 6798 1.1 christos * aux/macros/msg.m4: removed. Replaced with new macro 6799 1.1 christos AC_MSG_NOTICE 6800 1.1 christos 6801 1.1 christos * Makefile.am (EXTRA_DIST_AUX): remove aux/macros/msg.m4. Add 6802 1.1 christos aux/macros/header_templates.m4 6803 1.1 christos 6804 1.1 christos * configure.in: early, in host_macros.m4, I'm renaming silly linux 6805 1.1 christos $host_os names such as linux-gnu and lignux to plain "linux". 6806 1.1 christos Alas, RMS finally had his way and libtool will NOT recognize 6807 1.1 christos "linux" as a valid system, only "linux-gnu". Sigh. Rich, I know 6808 1.1 christos you're responsible to Linux's fame. Kudos to you and your 6809 1.1 christos cohorts. But please don't force the rest of us to use those ugly 6810 1.1 christos or long names. Solution: temporarily name $host_os to "linux-gnu" 6811 1.1 christos before calling the AC_PROG_LIBTOOL macro, then name it back to 6812 1.1 christos "linux". (That way I don't have to maintain my own version of 6813 1.1 christos ltmain.sh. 6814 1.1 christos 6815 1.1 christos * buildall: force running configure -C (to create and use a local 6816 1.1 christos config.cache file). New default behavior for autoconf is NOT to 6817 1.1 christos use cache files. Yeah, that's gonna fly real well with am-utils, 6818 1.1 christos with its 700+ automatic tests. 6819 1.1 christos 6820 1.1 christos * conf/mtab/mtab_mach3.c (rewrite_mtab): use mkstemp instead of 6821 1.1 christos mktemp, if the former is available. 6822 1.1 christos 6823 1.1 christos * conf/mtab/mtab_file.c (rewrite_mtab): use mkstemp instead of 6824 1.1 christos mktemp, if the former is available. 6825 1.1 christos 6826 1.1 christos * mk-amd-map/mk-amd-map.c (main): use mkstemp instead of mktemp, 6827 1.1 christos if the former is available. 6828 1.1 christos 6829 1.1 christos * aux/macros/check_nfs_socket_connection.m4: AC_DEFINE calls must 6830 1.1 christos be on a separate line, as per new Autoconf manual, to avoid some 6831 1.1 christos Bourne Shell syntactical bizarreness. 6832 1.1 christos 6833 1.1 christos 2001-11-13 Erez Zadok <ezk (a] a-rh71i.fsl.cs.suunysb.edu> 6834 1.1 christos 6835 1.1 christos * amd/amfs_auto.c (amfs_auto_readdir_browsable): cast to u_long, 6836 1.1 christos for IA64 Linux. 6837 1.1 christos 6838 1.1 christos 2001-11-12 Ion Badulescu <ionut (a] buggy.badula.org> 6839 1.1 christos 6840 1.1 christos * libamu/mtab.c (hasmntval): strtol can return a non-NULL pointer 6841 1.1 christos pointing to '\0' on success, so we need to allow for it. This 6842 1.1 christos fixes the problem with rejecting numerical mount options if they 6843 1.1 christos are the last option in the string. 6844 1.1 christos 6845 1.1 christos * configure.in: increased library patchlevel 6846 1.1 christos 6847 1.1 christos * NEWS: document the parsing bug 6848 1.1 christos 6849 1.1 christos 2001-10-29 Ion Badulescu <ionut (a] moisil.badula.org> 6850 1.1 christos 6851 1.1 christos * configure.in: bumped version up to 6.1a5-pre 6852 1.1 christos 6853 1.1 christos * NEWS: fixed speeling mistaike 6854 1.1 christos 6855 1.1 christos 2001-10-29 Ion Badulescu <ionut (a] moisil.badula.org> 6856 1.1 christos 6857 1.1 christos * released snapshot am-utils-6.1a4 6858 1.1 christos 6859 1.1 christos 2001-10-26 Ion Badulescu <ionut (a] moisil.badula.org> 6860 1.1 christos 6861 1.1 christos These changes fix autofs support for sublinks. While it is not 6862 1.1 christos perfect by any means and is hardly better than non-autofs, at 6863 1.1 christos least it works. 6864 1.1 christos 6865 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_lookup_2_req): don't 6866 1.1 christos reply if the mount is in progress 6867 1.1 christos (autofs_mount_succeeded): handle both delayed lookups and mounts 6868 1.1 christos (autofs_mount_failed): ditto 6869 1.1 christos 6870 1.1 christos * amd/amfs_auto.c (amfs_auto_lookup_mntfs): don't dispose of the 6871 1.1 christos original opt_fs if we have a sublink 6872 1.1 christos 6873 1.1 christos 2001-10-23 Ion Badulescu <ionut (a] moisil.badula.org> 6874 1.1 christos 6875 1.1 christos * amd/amfs_auto.c (amfs_auto_lookup_mntfs): fixed silly typo (mf 6876 1.1 christos instead of new_mf) which was causing null pointer error when 6877 1.1 christos sublinks were being used 6878 1.1 christos 6879 1.1 christos 2001-10-22 Ion Badulescu <ionut (a] moisil.badula.org> 6880 1.1 christos 6881 1.1 christos * README.autofs: updated 6882 1.1 christos 6883 1.1 christos * NEWS: updated 6884 1.1 christos 6885 1.1 christos * INSTALL: updated 6886 1.1 christos 6887 1.1 christos * AUTHORS: added myself 6888 1.1 christos 6889 1.1 christos * doc/am-utils.texi: updated 6890 1.1 christos 6891 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (xdr_autofs_rddirargs): use 6892 1.1 christos xdr_u_int() and cast things to (int) to appease Solaris 2.7 compile 6893 1.1 christos (autofs_readdir_2_req): cast req->rda_offset to (int), same as 6894 1.1 christos above 6895 1.1 christos 6896 1.1 christos 2001-10-22 Ion Badulescu <ionut (a] moisil.badula.org> 6897 1.1 christos 6898 1.1 christos Autofs direct mounts have been verified to work on Solaris2.[67]. 6899 1.1 christos 6900 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_lookup_2_req): 6901 1.1 christos retrieve the uid and gid from the lookup request 6902 1.1 christos (autofs_mount_2_req): skip the first char in the name (it's a 6903 1.1 christos leading '/') if this is a direct mount 6904 1.1 christos 6905 1.1 christos * amd/amfs_direct.c (amfs_direct_ops): use amfs_auto_lookup_child 6906 1.1 christos and amfs_auto_mount_child for amfs_direct's methods 6907 1.1 christos 6908 1.1 christos * amd/amfs_auto.c (amfs_auto_lookup_child): don't leak an am_node 6909 1.1 christos if the mntfs lookup fails 6910 1.1 christos 6911 1.1 christos 2001-10-21 Ion Badulescu <ionut (a] moisil.badula.org> 6912 1.1 christos 6913 1.1 christos * include/am_utils.h (AMF_REMOUNT): new flag, marks the node as 6914 1.1 christos pending a remount 6915 1.1 christos (mntfs): new member mf_fsflags, holds a copy of the filesystem's 6916 1.1 christos fs_flags 6917 1.1 christos (am_ops): new member autofs_fs_flags, holds the filesystem's flags 6918 1.1 christos when mounted onto an autofs node; fs_flags renamed to nfs_fs_flags 6919 1.1 christos 6920 1.1 christos * conf/autofs/autofs_linux.c (create_autofs_service): turn on 6921 1.1 christos FS_MKMNT for amfs_auto and FS_MBACKGROUND for amfs_link 6922 1.1 christos (autofs_umount_succeeded): don't rmdir the mountpoint if a remount 6923 1.1 christos is needed [lest the access that triggered the remount will fail] 6924 1.1 christos 6925 1.1 christos * amd/mntfs.c (init_mntfs): copy the filesystem's nfs_fs_flags 6926 1.1 christos into mf_fsflags on initialization 6927 1.1 christos 6928 1.1 christos * amd/autil.c (am_unmounted): start the remounting right away if 6929 1.1 christos the node is marked as needing a remount [fixes the Linux autofs 6930 1.1 christos deadlock when mount/unmount collide] 6931 1.1 christos 6932 1.1 christos * amd/amfs_auto.c (amfs_auto_lookup_node): mark the node as 6933 1.1 christos needing a remount if a mount request comes in while we're 6934 1.1 christos unmounting it 6935 1.1 christos (amfs_auto_lookup_mntfs): copy the filesystem's autofs_fs_flags 6936 1.1 christos into mf_fsflags if this is an autofs node 6937 1.1 christos 6938 1.1 christos * amd/amfs_*.c, amd/ops_*.c: added initialization for the new 6939 1.1 christos autofs_fs_flags member of am_ops 6940 1.1 christos 6941 1.1 christos 2001-10-20 Ion Badulescu <ionut (a] moisil.badula.org> 6942 1.1 christos 6943 1.1 christos With these changes, Solaris 2.[67] autofs support is finally 6944 1.1 christos functional! 6945 1.1 christos 6946 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_readdir_2_req): stub 6947 1.1 christos (autofs_readdir_2_free, xdr_autofs_rddirargs, xdr_autofs_putrddirres, 6948 1.1 christos xdr_autofs_getrddirres, xdr_autofs_rddirres): new functions 6949 1.1 christos (autofs_lookup_2_req): do an actual lookup here, and tell the 6950 1.1 christos kernel to create a symlink if necessary 6951 1.1 christos (autofs_mount_2_req): no need to am_autofs_data 6952 1.1 christos (autofs_program_2): enable AUTOFS_READDIR 6953 1.1 christos (autofs_link_mount): no code needed here 6954 1.1 christos (autofs_link_umount): return success 6955 1.1 christos (autofs_mount_succeeded): lstat real mount points; don't mark 6956 1.1 christos symlinks as NOTIMEOUT 6957 1.1 christos 6958 1.1 christos * amd/mntfs.c (init_mntfs): mf_dev and mf_rdev don't exist anymore 6959 1.1 christos 6960 1.1 christos * amd/map.c (init_map): init am_dev and am_rdev to -1 6961 1.1 christos (free_map): free am_mfarray and all mntfs's listed 6962 1.1 christos 6963 1.1 christos * amd/autil.c (mf_mounted): move the lstat of the node to the 6964 1.1 christos autofs-specific code 6965 1.1 christos 6966 1.1 christos * amd/amfs_link.c (amfs_link_ops): don't background symlink creation 6967 1.1 christos 6968 1.1 christos 2001-10-18 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 6969 1.1 christos 6970 1.1 christos * aux/macros/os_cflags.m4 (irix6*): Enforce N32 ABI/mips3 ISA with cc. 6971 1.1 christos * BUGS: Explain this. 6972 1.1 christos 6973 1.1 christos 2001-10-02 Erez Zadok <ezk (a] agora.fsl.cs.sunysb.edu> 6974 1.1 christos 6975 1.1 christos * doc/am-utils.texi (redhat-ctl-amd): document new script. 6976 1.1 christos 6977 1.1 christos * scripts/Makefile.am: build redhat-ctl-amd but do not install it. 6978 1.1 christos 6979 1.1 christos * scripts/redhat-ctl-amd.in: new script, useful to correctly 6980 1.1 christos control Amd on Red Hat Linux systems. Script adapted from ctl-amd 6981 1.1 christos and Red Hat's own rc.d script. 6982 1.1 christos 6983 1.1 christos 2001-10-02 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 6984 1.1 christos 6985 1.1 christos * conf/nfs_prot/nfs_prot_osf5.h: Renamed from nfs_prot_osf5_1.h. 6986 1.1 christos (MNT2_NFS_OPT_AUTO): Disable. 6987 1.1 christos * Makefile.am (EXTRA_DIST_CONF): Reflect new name. 6988 1.1 christos * aux/macros/check_nfs_prot_headers.m4: Use this file for all 6989 1.1 christos Tru64 UNIX V5 and up releases. 6990 1.1 christos 6991 1.1 christos 2001-09-24 Ion Badulescu <ionut (a] moisil.badula.org> 6992 1.1 christos 6993 1.1 christos * include/mount_headers1.h (MFS): define as 1 instead of nothing, 6994 1.1 christos to fix compile problems on OS X (patch from Ahmon Dancy) 6995 1.1 christos 6996 1.1 christos * aux/macros/try_compile_anyfs.m4 (MFS): ditto 6997 1.1 christos 6998 1.1 christos 2001-08-13 Erez Zadok <ezk (a] fsl-gw.fsl.cs.sunysb.edu> 6999 1.1 christos 7000 1.1 christos * doc/am-utils.texi (in_network Selector Variable): document 7001 1.1 christos expanded syntax 7002 1.1 christos 7003 1.1 christos * libamu/wire.c (is_network_member): support for network/netmask 7004 1.1 christos as well as network/bits syntax in in_network() 7005 1.1 christos 7006 1.1 christos 2001-08-11 Erez Zadok <ezk (a] a-linux64.fsl.cs.sunysb.edu> 7007 1.1 christos 7008 1.1 christos * amq/amq.c (show_mti): print full four digits for year, and print 7009 1.1 christos it in MM/DD/YYYY format, not in YY/MM/DD format. 7010 1.1 christos 7011 1.1 christos 2001-08-11 Ion Badulescu <lionut (a] gonzales.badula.org> 7012 1.1 christos 7013 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_lookup_2_req): 7014 1.1 christos initial attempt to do something useful -- but commented out for now 7015 1.1 christos (autofs_link_mount): create an action structure with a link 7016 1.1 christos request and pass it up 7017 1.1 christos (autofs_mount_2_req): pass the link request to the kernel 7018 1.1 christos (autofs_free_data): new helper function 7019 1.1 christos 7020 1.1 christos * conf/autofs/autofs_linux.h: added definition for autofs_data_t 7021 1.1 christos 7022 1.1 christos * conf/autofs/autofs_solaris_v2_v3.h: ditto 7023 1.1 christos 7024 1.1 christos * amd/map.c (init_map): initialize am_autofs_data 7025 1.1 christos (free_map): call the autofs cleanup function if necessary 7026 1.1 christos 7027 1.1 christos * include/am_utils.h (am_node): added private data and cleanup 7028 1.1 christos function for autofs 7029 1.1 christos 7030 1.1 christos * tasks: removed some obsolete entries 7031 1.1 christos 7032 1.1 christos 2001-08-11 Erez Zadok <ezk (a] a-solaris8.fsl.cs.sunysb.edu> 7033 1.1 christos 7034 1.1 christos * amd/map.c (free_map_if_success): run autofs_umount_failed() only 7035 1.1 christos if this mount node is of type autofs. 7036 1.1 christos 7037 1.1 christos 2001-08-11 Ion Badulescu <lionut (a] gonzales.badula.org> 7038 1.1 christos 7039 1.1 christos * amd/amd.h: removed mf_array from struct continuation (moved into 7040 1.1 christos am_node) 7041 1.1 christos 7042 1.1 christos * include/am_utils.h: removed VLOOK_LOOKUP; renamed vlookuppn to 7043 1.1 christos vlookup_child; added vmount_child; added mount_child to the fs_ops 7044 1.1 christos API; added prototypes for amfs_auto_mount_child and 7045 1.1 christos amfs_error_mount_child 7046 1.1 christos 7047 1.1 christos * amd/map.c (init_map): initialize am_mfarray to 0 7048 1.1 christos 7049 1.1 christos * amd/amfs_*, amd/ops_*: new API function mount_child, old API 7050 1.1 christos function lookuppn renamed to lookup_child 7051 1.1 christos 7052 1.1 christos * amd/amfs_auto.c: renamed amfs_auto_lookuppn1 to 7053 1.1 christos amfs_auto_lookup_node; renamed amfs_auto_lookuppn2 to 7054 1.1 christos amfs_auto_lookup_mntfs; renamed amfs_auto_lookuppn3 to 7055 1.1 christos amfs_auto_mount_child; moved the freeing of the error mntfs in the 7056 1.1 christos newly allocated am_node from lookup_mntfs to mount_child; make 7057 1.1 christos sure lookup_child returns a negative error if the node needs to be 7058 1.1 christos mounted; removed the call to lookuppn3 from lookup_child 7059 1.1 christos 7060 1.1 christos * amd/amfs_error.c: added stub implementations of 7061 1.1 christos amfs_error_lookup_child and amfs_error_mount_child 7062 1.1 christos 7063 1.1 christos * amd/amfs_direct.c, amd/amfs_union.c, amd/map.c, amd/nfs_subr.c, 7064 1.1 christos conf/autofs/autofs_linux.c, conf/autofs/autofs_solaris_v2_v3.c: 7065 1.1 christos call both lookup_child and mount_child, instead of the old 7066 1.1 christos lookuppn API method 7067 1.1 christos 7068 1.1 christos 2001-07-19 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7069 1.1 christos 7070 1.1 christos * amd/get_args.c (get_args): a better way to handle GNU and 7071 1.1 christos non-GNU getopts without strdup-ing the getopt string. 7072 1.1 christos 7073 1.1 christos 2001-07-04 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7074 1.1 christos 7075 1.1 christos * amd/info_ldap.c (amu_ldap_rebind): The first time you called 7076 1.1 christos amu_ldap_init, aldh->ldap is not set. So when amu_ldap_rebind is 7077 1.1 christos called, this function is absolutely sure to return 0. Then 7078 1.1 christos amu_ldap_init return 0 without having opened any LDAP connection. 7079 1.1 christos This is not the correct behavior. 7080 1.1 christos (get_ldap_timestamp, amu_ldap_search): error to free an object 7081 1.1 christos ("entry") that is automatically freed by the library. Patch from 7082 1.1 christos Sebastien Bahloul <sebastien.bahloul (a] mangoosta.fr>. 7083 1.1 christos 7084 1.1 christos 2001-07-19 Ion Badulescu <ionut (a] moisil.badula.org> 7085 1.1 christos 7086 1.1 christos * AUTHORS (variables): added Philippe Troin 7087 1.1 christos 7088 1.1 christos * Makefile.am (EXTRA_DIST): added bootstrap 7089 1.1 christos 7090 1.1 christos * include/am_compat.h (xfs_args_t): define as u_int if the 7091 1.1 christos filesystem is supported but we can't autodetect the type for 7092 1.1 christos xfs_args_t. This allows Linux to mount xfs filesystems. 7093 1.1 christos 7094 1.1 christos 2001-07-12 Philippe Troin <phil (a] fifi.org> 7095 1.1 christos 7096 1.1 christos * doc/am-utils.texi: Added @dircategory Administration. 7097 1.1 christos 7098 1.1 christos 2001-07-12 Philippe Troin <phil (a] fifi.org> 7099 1.1 christos 7100 1.1 christos * aux/macros/with_addon.m4: Created. Wrapper around AC_ARG_WITH 7101 1.1 christos with only the `yes' and `no' as possible answers. 7102 1.1 christos 7103 1.1 christos * configure.in: Added support for disabling LDAP and HESIOD even 7104 1.1 christos if the supporting libraries are found. 7105 1.1 christos 7106 1.1 christos * Makefile.am (EXTRA_DIST_AUX): Added with_addon.m4 macro file. 7107 1.1 christos 7108 1.1 christos 2001-07-12 Philippe Troin <phil (a] fifi.org> 7109 1.1 christos 7110 1.1 christos * include/am_compat.h: Removed forced definition of MNTTAB_OPT_DEV 7111 1.1 christos if MNT2_GEN_OPT_NODEV was found. Actually, the dev= (SVR4) options 7112 1.1 christos and the linux nodev options are different beasts. 7113 1.1 christos 7114 1.1 christos * conf/mount/mount_linux.c (opt_map): Removed the MNTTAB_OPT_DEV 7115 1.1 christos entry (not really necessary on linux). 7116 1.1 christos 7117 1.1 christos 2001-07-12 Philippe Troin <phil (a] fifi.org> 7118 1.1 christos 7119 1.1 christos * amd/get_args.c (get_args): Prepend "+" to the getopt string if 7120 1.1 christos HAVE_GNU_GETOPT to avoid getting all options (even the ones after 7121 1.1 christos the first non-option argument) slurped in by GNU getopt. 7122 1.1 christos 7123 1.1 christos * aux/macros/check_gnu_getopt.m4: Created. Defines HAVE_GNU_GETOPT 7124 1.1 christos if GNU/glibc getopt implementation is detected. 7125 1.1 christos 7126 1.1 christos * configure.in: Added call to AC_CHECK_GNU_GETOPT. 7127 1.1 christos 7128 1.1 christos * acconfig.h: Document HAVE_GNU_GETOPT. 7129 1.1 christos 7130 1.1 christos * Makefile.am (EXTRA_DIST_AUX): Added check_gnu_getopt.m4 macro file. 7131 1.1 christos 7132 1.1 christos 2001-06-25 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7133 1.1 christos 7134 1.1 christos * LSM.am-utils, NEWS, README.y2k, ChangeLog: make sure all 7135 1.1 christos am-utils URL references use www.am-utils.org, not the columbia 7136 1.1 christos URL. 7137 1.1 christos 7138 1.1 christos 2001-06-08 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7139 1.1 christos 7140 1.1 christos * conf/transp/transp_sockets.c (create_nfs_service): cast to 7141 1.1 christos u_long to ensure clean compile on freebsd5 and bsdi2. 7142 1.1 christos 7143 1.1 christos 2001-05-23 Ion Badulescu <ionut (a] moisil.badula.org> 7144 1.1 christos 7145 1.1 christos WARNING: WORK IN PROGRESS 7146 1.1 christos 7147 1.1 christos It works for me on Linux (both autofs and nfs mounts), for nfs and 7148 1.1 christos link, but I won't make any guarantees outside those. 7149 1.1 christos 7150 1.1 christos * amd/mntfs.c (find_mntfs): reuse the mntfs only if both the mount 7151 1.1 christos point and the device/fileserver are the same. This is an important 7152 1.1 christos change of philosophy, watch out for memory leaks! 7153 1.1 christos 7154 1.1 christos * amd/map.c (get_ap_child): helper function for 7155 1.1 christos amfs_auto_lookuppn, creates a new am_node for key fname, inits it, 7156 1.1 christos and inserts it into all necessary structures 7157 1.1 christos 7158 1.1 christos * amd/amfs_auto.c (free_continuation): free unused mntfs's; don't 7159 1.1 christos free any of the removed fields 7160 1.1 christos (amfs_auto_lookuppn, amfs_auto_bgmount): split lookuppn into three 7161 1.1 christos subfunctions, including some code stolen from bgmount; lookuppn 7162 1.1 christos now generates an array of possible mntfs to try mounting, and 7163 1.1 christos bgmount will actually try to mount each of them. 7164 1.1 christos (amfs_auto_lookuppn[123]): the three new subfunctions for lookuppn 7165 1.1 christos (amfs_parse_defaults): new helper function for lookuppn 7166 1.1 christos 7167 1.1 christos 2001-05-19 Erez Zadok <ezk (a] kosh.dyn.optonline.net> 7168 1.1 christos 7169 1.1 christos * conf/mount/mount_linux.c: typo: added comma after '0' element. 7170 1.1 christos 7171 1.1 christos 2001-05-19 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7172 1.1 christos 7173 1.1 christos * conf/autofs/autofs_linux.c (AUTOFS_MAX_VERSION): allow using 7174 1.1 christos autofs-v4 again 7175 1.1 christos (autofs_get_opts): don't pass pgrp, the kernel will get it 7176 1.1 christos automatically anyway, not to mention that we were passing bogus 7177 1.1 christos data if amd was not daemonized. 7178 1.1 christos 7179 1.1 christos * conf/mount/mount_linux.c (linux_nfs_error): don't special case 7180 1.1 christos the 0 result, just put it into the translation list 7181 1.1 christos 7182 1.1 christos 2001-05-19 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7183 1.1 christos 7184 1.1 christos * conf/mount/mount_linux.c (linux_nfs_error): don't report success 7185 1.1 christos (0) as error (NE_IO)! 7186 1.1 christos 7187 1.1 christos 2001-05-18 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7188 1.1 christos 7189 1.1 christos * amd/amfs_host.c (amfs_host_mount): don't fail the mount if at 7190 1.1 christos least one share is already mounted 7191 1.1 christos 7192 1.1 christos 2001-05-17 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7193 1.1 christos 7194 1.1 christos * libamu/util.c (str3cat): updated comment 7195 1.1 christos 7196 1.1 christos * include/am_utils.h: added VLOOK_LOOKUP and FS_DIRECT 7197 1.1 christos 7198 1.1 christos * conf/autofs/autofs_linux.c (autofs_get_fh): removed obsolete comment 7199 1.1 christos (autofs_mounted): disable autofs support for host f/s if version < 4 7200 1.1 christos (create_autofs_service): turn on FS_MKMNT on auto f/s if using autofs 7201 1.1 christos (autofs_umount_succeeded): use rmdirs instead of rmdir 7202 1.1 christos (autofs_mount_failed): ditto 7203 1.1 christos 7204 1.1 christos * amd/opts.c (expand_op): align the debugging messages 7205 1.1 christos 7206 1.1 christos * amd/map.c (mount_auto_node): use am_node *mp instead of casting 7207 1.1 christos the void *arg; update the comment 7208 1.1 christos 7209 1.1 christos * amd/autil.c (am_mounted): check the FS_DIRECT flag instead of 7210 1.1 christos comparing to &amfs_direct_ops 7211 1.1 christos (mount_node): ifs_mount doesn't exist, make note of it in the 7212 1.1 christos comment 7213 1.1 christos 7214 1.1 christos * amd/amfs_direct.c (amfs_direct_ops): added FS_DIRECT to fs_flags 7215 1.1 christos 7216 1.1 christos * amd/amfs_auto.c (amfs_auto_mount): removed the autofs hack to 7217 1.1 christos create the mountpoint directory for auto f/s; it is now handled in 7218 1.1 christos autofs_linux.c 7219 1.1 christos (amfs_auto_bgmount): renamed the mpe parameter to mp_error; 7220 1.1 christos renamed dont_retry to retry and reverted its meaning as well; 7221 1.1 christos moved the mp variable up one scope and made use of it throughout 7222 1.1 christos the function; 7223 1.1 christos (amfs_auto_readdir): whitespace 7224 1.1 christos (amfs_auto_readdir_browsable): whitespace, also some debugging 7225 1.1 christos 7226 1.1 christos * amd/am_ops.c (vops): updated a comment 7227 1.1 christos 7228 1.1 christos * .cvsignore: added A.i386-pc-linux-rh7.[01] 7229 1.1 christos 7230 1.1 christos 2001-05-01 Ion Badulescu <ionut (a] gonzales.dev.hydraweb.com> 7231 1.1 christos 7232 1.1 christos * conf/mount/mount_linux.c: fixed stupid error in the linux 7233 1.1 christos nfs_errormap[], which was mapping ENOENT to success!!! 7234 1.1 christos 7235 1.1 christos 2001-04-28 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7236 1.1 christos 7237 1.1 christos * BUGS: added info about the direct mount problems on Linux and 7238 1.1 christos about the kernel patches on www.am-utils.org. 7239 1.1 christos 7240 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_unmount_2_req): 7241 1.1 christos removed obsolete comment 7242 1.1 christos 7243 1.1 christos * amd/autil.c (forcibly_timeout_mp): always log a message when the 7244 1.1 christos forced unmount request is ignored 7245 1.1 christos (mf_mounted): don't lstat unless this is an autofs mount point, 7246 1.1 christos lest we deadlock 7247 1.1 christos 7248 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): don't gratuitously add 7249 1.1 christos MFF_MKMNT to the flags, it causes deadlocks later on when 7250 1.1 christos unmounting 7251 1.1 christos 7252 1.1 christos 2001-04-14 Erez Zadok <ezk (a] whitestar.dyn.optonline.net> 7253 1.1 christos 7254 1.1 christos * COPYING: update copyright year 7255 1.1 christos 7256 1.1 christos * amd/amfs_auto.c, amd/amfs_host.c, amd/amfs_nfsx.c, 7257 1.1 christos amd/amfs_toplvl.c, amd/amfs_union.c, amd/conf.c, amd/info_nis.c, 7258 1.1 christos amd/info_nisplus.c, amd/mapc.c, amd/nfs_subr.c, amd/ops_nfs.c, 7259 1.1 christos amd/rpc_fwd.c, amd/srvr_amfs_auto.c, amd/srvr_nfs.c, 7260 1.1 christos conf/autofs/autofs_solaris_v1.c, conf/mtab/mtab_file.c, 7261 1.1 christos conf/mtab/mtab_isc3.c, conf/mtab/mtab_svr4.c, 7262 1.1 christos conf/transp/transp_sockets.c, conf/transp/transp_tli.c, 7263 1.1 christos libamu/mount_fs.c, libamu/mtab.c: rewritten various dlog/plog 7264 1.1 christos messages for clarity, to avoid duplication, to better recognize 7265 1.1 christos what the message means and where it ran, and to fix typos. 7266 1.1 christos 7267 1.1 christos * amd/nfs_subr.c (nfsproc_lookup_2_svc): moved trace message of 7268 1.1 christos function's name to the beginning of the function, before any other 7269 1.1 christos messages are logged. 7270 1.1 christos 7271 1.1 christos 2001-04-14 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7272 1.1 christos 7273 1.1 christos * conf/mount/mount_linux.c (do_mount_linux): removed plog() of 7274 1.1 christos binary data 7275 1.1 christos 7276 1.1 christos 2001-04-05 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7277 1.1 christos 7278 1.1 christos * include/am_defs.h: define NFSCLIENT, NFS, PCFS, LOFS, RFS, 7279 1.1 christos MSDOSFS, MFS and CD9660 to 1, so that both #if FOO and #ifdef FOO 7280 1.1 christos work (needed for MacOS X); removed duplicate definition of NFS. 7281 1.1 christos 7282 1.1 christos 2001-03-29 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7283 1.1 christos 7284 1.1 christos * amd/amd.h, amd/amfs_auto.c, amd/conf.c, 7285 1.1 christos doc/am-utils.texi, 7286 1.1 christos scripts/amd.conf-sample, scripts/amd.conf.5: 7287 1.1 christos renamed selectors_on_default to selectors_in_defaults, 7288 1.1 christos kept the former as a deprecated option; 7289 1.1 christos renamed CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS; 7290 1.1 christos renamed gopt_selectors_on_default() to gopt_selectors_in_defaults() 7291 1.1 christos 7292 1.1 christos 2001-03-19 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7293 1.1 christos 7294 1.1 christos * amd/amfs_toplvl.c, amd/amfs_auto.c, amd/srvr_nfs.c, 7295 1.1 christos include/am_utils.h: compile fixes for --enable-debug=no 7296 1.1 christos 7297 1.1 christos 2001-03-15 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7298 1.1 christos 7299 1.1 christos * NEWS: updated 7300 1.1 christos 7301 1.1 christos * README.autofs: updated 7302 1.1 christos 7303 1.1 christos * conf/mount/mount_linux.c (linux_version_code): export the fn 7304 1.1 christos 7305 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: ditto 7306 1.1 christos 7307 1.1 christos * conf/autofs/autofs_linux.c (create_autofs_service): verify the 7308 1.1 christos kernel version here, and turn off bind_works if the kernel is 7309 1.1 christos older than 2.4.0. 7310 1.1 christos (autofs_link_mount): don't touch bind_works here, it's useless 7311 1.1 christos b/c we're in a child process; remove the mountpoint directory if 7312 1.1 christos the bind mount fails 7313 1.1 christos 7314 1.1 christos * amd/opts.c (eval_fs_opts): changed some annoying debugging plogs 7315 1.1 christos into dlogs 7316 1.1 christos 7317 1.1 christos * conf/autofs/autofs_linux.c (autofs_link_mount): zero out the 7318 1.1 christos mntent struct before initializing it 7319 1.1 christos 7320 1.1 christos 2001-03-14 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7321 1.1 christos 7322 1.1 christos * conf/mount/mount_linux.c (parse_opts): added support for lofs 7323 1.1 christos (mount_linux): support lofs through bind mounts and/or FiST lofs 7324 1.1 christos 7325 1.1 christos * scripts/ctl-hlfsd.in: search for /var/spool/mail in addition to 7326 1.1 christos /var/mail and /usr/spool/mail 7327 1.1 christos 7328 1.1 christos * conf/nfs_prot/nfs_prot_linux.h (MS_BIND): add define for it, if 7329 1.1 christos kernel is newer than 2.4.0 7330 1.1 christos (MNTTYPE_LOFS): ditto 7331 1.1 christos 7332 1.1 christos * conf/autofs/autofs_solaris_v2_v3.c (autofs_link_umount): new stub 7333 1.1 christos (autofs_lookup_failed): removed stub 7334 1.1 christos 7335 1.1 christos * conf/autofs/autofs_linux.c (autofs_lookup_failed): moved up in 7336 1.1 christos the file, made static; 7337 1.1 christos (autofs_link_mount): activate MNT2_GEN_OPT_BIND code; use stat() 7338 1.1 christos and friends to determine if bind mounts can be used and to trigger 7339 1.1 christos further cascading mounts; return proper error codes 7340 1.1 christos (autofs_link_umount): distinguish between symlinks and bind mounts 7341 1.1 christos and handle both correctly 7342 1.1 christos (autofs_umount_succeeded): remove call to autofs_link_umount() 7343 1.1 christos 7344 1.1 christos * amd/map.c (umount_exported): try to unmount all mount points on 7345 1.1 christos an autofs filesystem; this isn't really needed and will be removed 7346 1.1 christos when we start handling restarting autofs mounts 7347 1.1 christos 7348 1.1 christos * amd/amfs_link.c (amfs_link_[u]mount): call autofs_link_[u]mount, 7349 1.1 christos if necessary 7350 1.1 christos 7351 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): fixed a bug that was 7352 1.1 christos causing the wrong mntfs to be selected when using autofs; removed 7353 1.1 christos call to autofs_link_mount() (moved where it belongs, in 7354 1.1 christos amfs_link.c) 7355 1.1 christos 7356 1.1 christos * amd/amfs_link.c: added FS_MBACKGROUND to fs flags -- cleaner 7357 1.1 christos solution is needed, because background mounting is only necessary 7358 1.1 christos for linux autofs + bind mounts 7359 1.1 christos 7360 1.1 christos * amd/amd.h: removed prototype for autofs_lookup_failed (internal 7361 1.1 christos static function for linux autofs); added prototype for 7362 1.1 christos autofs_link_umount 7363 1.1 christos 7364 1.1 christos * configure.in: bump up library patchlevel 7365 1.1 christos 7366 1.1 christos 2001-02-28 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7367 1.1 christos 7368 1.1 christos * aux/macros/check_mount_trap.m4, 7369 1.1 christos aux/macros/check_nfs_fh_dref.m4, 7370 1.1 christos aux/macros/check_nfs_prot_headers.m4, 7371 1.1 christos aux/macros/type_recvfrom_fromlen.m4, 7372 1.1 christos aux/macros/type_yp_order_outorder.m4: 7373 1.1 christos Fixed newer freebsd's fh type, expanded more aix3, osf2, hpux9 to 7374 1.1 christos aix[1-3], osf[1-3] and hpux[6-9]. 7375 1.1 christos 7376 1.1 christos 2001-02-28 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7377 1.1 christos 7378 1.1 christos * check_mount_style.m4, check_mount_trap.m4, 7379 1.1 christos check_network_transport_type.m4, check_nfs_fh_dref.m4, 7380 1.1 christos check_nfs_prot_headers.m4, check_nfs_sa_dref.m4, 7381 1.1 christos check_nfs_socket_connection.m4, os_cflags.m4, 7382 1.1 christos type_yp_order_outorder.m4: small fixes to Ion's cleanup, and more 7383 1.1 christos cleanup (use [[0-1]] instead of M4 changequote commands). 7384 1.1 christos 7385 1.1 christos * Makefile.am: removed unused conf/trap/trap_hpux11.h 7386 1.1 christos 7387 1.1 christos 2001-02-27 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7388 1.1 christos 7389 1.1 christos * aux/macros/check_network_transport_type.m4, 7390 1.1 christos aux/macros/check_mount_style.m4, 7391 1.1 christos aux/macros/check_mount_trap.m4, 7392 1.1 christos aux/macros/check_network_transport_type.m4, 7393 1.1 christos aux/macros/check_nfs_fh_dref.m4, 7394 1.1 christos aux/macros/check_nfs_prot_headers.m4, 7395 1.1 christos aux/macros/check_nfs_sa_dref.m4, 7396 1.1 christos aux/macros/check_nfs_socket_connection.m4, 7397 1.1 christos aux/macros/os_cflags.m4, 7398 1.1 christos aux/macros/type_auth_create_gidlist.m4, 7399 1.1 christos aux/macros/type_recvfrom_fromlen.m4, 7400 1.1 christos aux/macros/type_yp_order_outorder.m4: 7401 1.1 christos Reworked the scripts, so that a new _unknown_ version of a known OS 7402 1.1 christos will use the option for the newest _known_ version of that OS. For 7403 1.1 christos example, when freebsd6 comes out, it will use the stuff for 7404 1.1 christos freebsd5, not the stuff for freebsd2. This makes configure more 7405 1.1 christos likely to succeed on new systems/versions. 7406 1.1 christos 7407 1.1 christos * Makefile.am (EXTRA_DIST_AUX): added check_autofs_style.m4 (grr) 7408 1.1 christos 7409 1.1 christos 2001-02-24 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7410 1.1 christos 7411 1.1 christos * Makefile.am (install-snapshot): use a different symlink target 7412 1.1 christos for the experimental snapshots. 7413 1.1 christos 7414 1.1 christos 2001-02-23 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7415 1.1 christos 7416 1.1 christos * Makefile.am (EXTRA_DIST_CONF): include nfs_prot_darwin.h in 7417 1.1 christos distributions. 7418 1.1 christos 7419 1.1 christos 2001-02-22 Erez Zadok <ezk (a] earth.cs.columbia.edu> 7420 1.1 christos 7421 1.1 christos * released snapshot am-utils-6.1a3 7422 1.1 christos 7423 1.1 christos * amd/Makefile.am (EXTRA_amd_SOURCES): don't forget to distribute 7424 1.1 christos get_args.c 7425 1.1 christos 7426 1.1 christos 2001-02-21 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7427 1.1 christos 7428 1.1 christos * libamu/mtab.c: added the functions hasmnteq and haseq to 7429 1.1 christos ease checks for non-numeric values in opt=value strings. 7430 1.1 christos Recoded hasmntval to qualify input as numeric, allow hex and 7431 1.1 christos octal strings on rhs of =, and log when the value is missing 7432 1.1 christos or invalid. 7433 1.1 christos 7434 1.1 christos * conf/mount/mount_linux.c: revised mount_linux to use new 7435 1.1 christos hasmnteq function to extract type of non-nfs mounts, and added 7436 1.1 christos a log message to catch possible failure of strdup. 7437 1.1 christos 7438 1.1 christos * amd/am_ops.c: revised merge_ops to use new haseq function 7439 1.1 christos 7440 1.1 christos * amd/srvr_nfs.c: revised find_nfs_srvr to use hasmnteq to 7441 1.1 christos discover protocol setting. 7442 1.1 christos 7443 1.1 christos * include/am_utils.h: added function prototypes for hasmnteq 7444 1.1 christos and haseq 7445 1.1 christos 7446 1.1 christos 2001-02-19 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7447 1.1 christos 7448 1.1 christos * include/mount_headers2.h (_LINUX_NFS3_H): define it, to avoid 7449 1.1 christos pulling in unwanted declarations from 2.2.19pre and 2.4.1ac 7450 1.1 christos 7451 1.1 christos * include/am_defs.h (_LINUX_NFS3_H): ditto 7452 1.1 christos 7453 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: whitespace, comments 7454 1.1 christos 7455 1.1 christos 2001-02-19 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7456 1.1 christos 7457 1.1 christos * aux/macros/check_fs_mntent.m4 (ac_safe): remove debugging "echo" 7458 1.1 christos command. 7459 1.1 christos 7460 1.1 christos 2001-02-18 Erez Zadok <ezk (a] earth.cs.columbia.edu> 7461 1.1 christos 7462 1.1 christos * aux/macros/mount_headers.m4, include/mount_headers[12].h: split 7463 1.1 christos mount_headers.h in two because one relative header (nfs_prot.h) 7464 1.1 christos file cannot be included inside another from the start directory of 7465 1.1 christos the first (it's relative to the directory of the first). 7466 1.1 christos 7467 1.1 christos 2001-02-09 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7468 1.1 christos 7469 1.1 christos * AUTHORS: added Ahmon Dancy <dancy (a] franz.com> 7470 1.1 christos 7471 1.1 christos * (all): added Darwin/Rhapsody/Apple OS X support from Ahmon Dancy 7472 1.1 christos 7473 1.1 christos * aux/macros/mount_headers.m4: moved all the C code into a 7474 1.1 christos separate file, include/mount_headers.h; the effect is that 7475 1.1 christos configure goes down in size by a factor of 2.5! 7476 1.1 christos 7477 1.1 christos * include/mount_headers.h: new file, with C code from 7478 1.1 christos aux/macros/mount_headers.m4 7479 1.1 christos 7480 1.1 christos 2001-02-01 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7481 1.1 christos 7482 1.1 christos * conf/mount/mount_linux.c: made linux_nfs_error() more robust. 7483 1.1 christos 7484 1.1 christos 2001-02-01 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7485 1.1 christos 7486 1.1 christos * released snapshot am-utils-6.1a2 7487 1.1 christos 7488 1.1 christos * updated ltmain.sh and ltconfig from latest stable version of 7489 1.1 christos libtool-1.3.5 7490 1.1 christos 7491 1.1 christos 2001-02-01 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7492 1.1 christos 7493 1.1 christos * conf/nfs_prot/nfs_prot_linux.h (nfs_error): moved the definition 7494 1.1 christos of nfs_error here, from mount_linux.c, so that it can actually be 7495 1.1 christos used. 7496 1.1 christos 7497 1.1 christos * conf/mount/mount_linux.c: added unused errno 41 to the 7498 1.1 christos nfs_errormap array, lest the following errno's get shifted up by 7499 1.1 christos one! 7500 1.1 christos 7501 1.1 christos Sat Jan 13 00:04:38 2001 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 7502 1.1 christos 7503 1.1 christos * amd/amd.h (autofs_lookuppn): Fixup whitespace. 7504 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): Likewise. 7505 1.1 christos * amd/amfs_error.c: (amfs_error_match): Likewise. 7506 1.1 christos * amd/amfs_host.c (fetch_fhandle): Fixup whitespace. Remove 7507 1.1 christos unnecessary temporary variable. 7508 1.1 christos * amd/info_file.c (read_line): Likewise. 7509 1.1 christos (search_or_reload_file): Likewise. 7510 1.1 christos * amd/info_ldap.c (get_ldap_timestamp): Likewise. 7511 1.1 christos * amd/map.c (get_root_ap): Likewise. 7512 1.1 christos * amd/nfs_prot_svc.c: Likewise. 7513 1.1 christos * amd/ops_TEMPLATE.c (foofs_match, foofs_lookuppn, 7514 1.1 christos foofs_readlink, foofs_ffserver): Likewise. 7515 1.1 christos * amd/ops_autofs.c (autofs_bgmount): Likewise. 7516 1.1 christos * amd/ops_lofs.c (lofs_match): Likewise. 7517 1.1 christos * amd/ops_nfs.c (got_nfs_fh): Fixup whitespace. 7518 1.1 christos * amd/ops_xfs.c (xfs_match): Likewise. 7519 1.1 christos * amd/srvr_amfs_auto.c (srvrlog): Line break. 7520 1.1 christos * amd/srvr_nfs.c (got_portmap, call_portmap, nfs_pinged, 7521 1.1 christos nfs_srvr_port): Fixup whitespace. 7522 1.1 christos * conf/nfs_prot/nfs_prot_bsdi2.h: Likewise. 7523 1.1 christos * conf/nfs_prot/nfs_prot_hpux.h: Likewise. 7524 1.1 christos * conf/nfs_prot/nfs_prot_hpux11.h: Likewise. 7525 1.1 christos * conf/nfs_prot/nfs_prot_irix5.h: Likewise. 7526 1.1 christos * conf/nfs_prot/nfs_prot_irix6.h: Likewise. 7527 1.1 christos * conf/nfs_prot/nfs_prot_nextstep.h: Likewise. 7528 1.1 christos * conf/nfs_prot/nfs_prot_osf2.h: Likewise. 7529 1.1 christos * conf/nfs_prot/nfs_prot_osf4.h: Likewise. 7530 1.1 christos * conf/nfs_prot/nfs_prot_osf5_1.h: Likewise. 7531 1.1 christos * conf/nfs_prot/nfs_prot_sunos3.h: Likewise. 7532 1.1 christos * conf/nfs_prot/nfs_prot_sunos4.h: Likewise. 7533 1.1 christos * conf/nfs_prot/nfs_prot_ultrix.h: Likewise. 7534 1.1 christos * conf/transp/transp_tli.c (get_mount_client): Likewise. 7535 1.1 christos * hlfsd/nfs_prot_svc.c: Likewise. 7536 1.1 christos * include/am_defs.h (sys_errlist): Likewise. 7537 1.1 christos * include/am_utils.h (am_get_progname, am_get_hostname, 7538 1.1 christos amq_program_1): Likewise. 7539 1.1 christos (nfsxprt): Moved declaration. 7540 1.1 christos 7541 1.1 christos Fri Jan 12 23:31:45 2001 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 7542 1.1 christos 7543 1.1 christos Removed support for amq -M. 7544 1.1 christos 7545 1.1 christos * acconfig.h (ENABLE_AMQ_MOUNT): Removed. 7546 1.1 christos * aux/macros/opt_amq_mount.m4: Removed. 7547 1.1 christos * Makefile.am (EXTRA_DIST_AUX): Don't distribute 7548 1.1 christos opt_amq_mount.m4. 7549 1.1 christos * configure.in (AC_OPT_AMQ_MOUNT): Removed invocation. 7550 1.1 christos 7551 1.1 christos * amd/amq_subr.c (ok_security, amqproc_mount_1_svc): Removed. 7552 1.1 christos * amd/amq_svc.c (amq_program_1): Removed amq -M support. 7553 1.1 christos * amq/amq.c (mount_map): Removed. 7554 1.1 christos (main): Removed -M option handling. 7555 1.1 christos Removed transport-type specific CLIENT creation. 7556 1.1 christos (get_secure_amd_client, amq_bind_resv_port, privsock): Removed. 7557 1.1 christos 7558 1.1 christos * amq/amq.8: Removed -M documentation. 7559 1.1 christos * doc/am-utils.texi (Top-level Filesystem): Removed amq -M 7560 1.1 christos reference, but retain comment on mount -t amd. 7561 1.1 christos (Controlling Amd): Likewise. 7562 1.1 christos 7563 1.1 christos * tasks: Removed this task. 7564 1.1 christos 7565 1.1 christos Fri Jan 12 23:18:26 2001 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 7566 1.1 christos 7567 1.1 christos * conf/autofs/autofs_*.c: Bump copyright year to 2001. 7568 1.1 christos * hlfsd/hlfsd.h (HLFSD_VERSION): Likewise. 7569 1.1 christos 7570 1.1 christos * aux/macros/check_autofs_style.m4: Renamed solaris[12] styles to 7571 1.1 christos solaris_v1, solaris_v2_v3 to reflect that these are AutoFS 7572 1.1 christos protocol version numbers, not solaris versions. 7573 1.1 christos * conf/autofs/autofs_solaris[12].[ch]: Renamed to 7574 1.1 christos autofs_solaris_{v1, 2_v3}.[ch] to reflect this. 7575 1.1 christos * Makefile.am (EXTRA_DIST_CONF): Likewise. 7576 1.1 christos 7577 1.1 christos * aux/macros/check_autofs_style.m4: Use solaris2 style for both 7578 1.1 christos versions 2 and 3 of the AutoFS protocol. 7579 1.1 christos 7580 1.1 christos Handle missing AUTOFS_POSTUNMOUNT, AUTOFS_POSTMOUNT (unnecessary 7581 1.1 christos with Solaris 8 mntfs). 7582 1.1 christos 7583 1.1 christos * conf/autofs/autofs_solaris2.c (xdr_postumntreq, xdr_postumntres, 7584 1.1 christos xdr_postmountreq, xdr_postmountres, autofs_postunmount_2_req, 7585 1.1 christos autofs_postmount_2_req ): Don't define for version 3. 7586 1.1 christos (autofs_program_2): Don't handle AUTOFS_POSTUNMOUNT, 7587 1.1 christos AUTOFS_POSTMOUNT if missing. 7588 1.1 christos 7589 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_8.h: Enable AutoFS support. 7590 1.1 christos 7591 1.1 christos * aux/macros/check_autofs_style.m4: Use empty autofs_default.[ch] 7592 1.1 christos files on systems without existing autofs port. 7593 1.1 christos * conf/autofs/autofs_default.[ch]: New files, empty. 7594 1.1 christos * Makefile.am (EXTRA_DIST_CONF): Distribute them. 7595 1.1 christos * INSTALL: With this change, Solaris 8 and Tru64 5.1 compile and 7596 1.1 christos link. 7597 1.1 christos 7598 1.1 christos 2001-01-12 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7599 1.1 christos 7600 1.1 christos * Makefile.am (EXTRA_DIST): distribute new LDAP files. 7601 1.1 christos 7602 1.1 christos * README.ldap, ldap-id.txt, ldap-id.ms: LDAP status information, 7603 1.1 christos proposed Schema, and internet draft. 7604 1.1 christos 7605 1.1 christos Fri Jan 12 22:27:07 2001 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 7606 1.1 christos 7607 1.1 christos * Support Tru64 UNIX V5.1: 7608 1.1 christos 7609 1.1 christos * conf/nfs_prot/nfs_prot_osf5_1.h: New file. 7610 1.1 christos 7611 1.1 christos * Makefile.am (EXTRA_DIST_CONF): Distribute it. 7612 1.1 christos 7613 1.1 christos * aux/macros/check_nfs_prot_headers.m4: Tru64 UNIX V5.1 has 7614 1.1 christos AutoFS, need to disable it until a port exists. 7615 1.1 christos 7616 1.1 christos * INSTALL, doc/am-utils.texi (Supported Platforms): Mention new 7617 1.1 christos minor port. 7618 1.1 christos 7619 1.1 christos 2001-01-09 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7620 1.1 christos 7621 1.1 christos * ALL: bump copyright year to 2001. 7622 1.1 christos 7623 1.1 christos 2001-01-05 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7624 1.1 christos 7625 1.1 christos * acconfig.h: correct comments for NODEV/NONDEV mount options 7626 1.1 christos 7627 1.1 christos Fri Jan 5 05:12:02 2001 Erez Zadok <ezk (a] subzero.cs.columbia.edu> 7628 1.1 christos 7629 1.1 christos * libamu/xdr_func.c: removed ugly casts to "groups*", now that 7630 1.1 christos irix6's nfs_prot.h is fixed. 7631 1.1 christos 7632 1.1 christos * conf/nfs_prot/nfs_prot_irix6.h: copied relevant parts of 7633 1.1 christos <rpcsvc/mount.h> here so we don't have to include this header. 7634 1.1 christos 7635 1.1 christos 2001-01-04 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7636 1.1 christos 7637 1.1 christos * conf/nfs_prot/nfs_prot_irix6.h: redefine "groups" typedef to 7638 1.1 christos struct groups, not the pointer to this struct. 7639 1.1 christos 7640 1.1 christos * include/am_xdr_func.h: prototype should take "groups *" as 2nd 7641 1.1 christos arg. 7642 1.1 christos 7643 1.1 christos * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): change 7644 1.1 christos casting of second arg of xdr_groups to "groups *". It's only 7645 1.1 christos needed for irix6, due to problems with xdr_groups on that platform. 7646 1.1 christos (xdr_groups): prototype should take "groups *" as 2nd arg. 7647 1.1 christos 7648 1.1 christos * conf/nfs_prot/nfs_prot_aix*.h: correct xdr_groups extern 7649 1.1 christos definition. Report from Ahmon Dancy <dancy (a] franz.com>. 7650 1.1 christos 7651 1.1 christos 2000-12-06 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7652 1.1 christos 7653 1.1 christos * include/am_defs.h: force non-inclusion of <linux/fs.h> via 7654 1.1 christos <linux/auto_fs.h> 7655 1.1 christos 7656 1.1 christos * conf/autofs/autofs_linux.c (autofs_mounted): rename 7657 1.1 christos AUTOFS_MIN_PROTO_VERSION to AUTOFS_MIN_VERSION (leftover from 7658 1.1 christos previous commit) 7659 1.1 christos 7660 1.1 christos * configure.in: fixed libtool version 7661 1.1 christos 7662 1.1 christos 2000-12-02 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7663 1.1 christos 7664 1.1 christos * doc/am-utils.texi (opts Option): document lock/nolock 7665 1.1 christos 7666 1.1 christos 2000-12-02 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7667 1.1 christos 7668 1.1 christos * conf/autofs/autofs_linux.h: added struct autofs_pending_mount; 7669 1.1 christos modified autofs_fh_t to have a linked list of autofs_pending_mount; 7670 1.1 christos added some support for autofs4 7671 1.1 christos 7672 1.1 christos * conf/autofs/autofs_linux.c: use a linked list for pending 7673 1.1 christos request, to allow for handling multiple simultaneous request; 7674 1.1 christos incipient non-functional support for autofs4; incipient 7675 1.1 christos non-functional support for bind-mounting 7676 1.1 christos 7677 1.1 christos * amd/amd.c (main): print a warning if PROCLOCK is requested but 7678 1.1 christos the O/S doesn't support it 7679 1.1 christos 7680 1.1 christos * libamu/mount_fs.c (mnt_flags): allow the use of the "nolock" 7681 1.1 christos option 7682 1.1 christos 7683 1.1 christos * include/am_defs.h: don't include <linux/fs.h> on a glibc2 7684 1.1 christos system; include <linux/auto_fs4.h> if it exists, instead of 7685 1.1 christos <linux/auto_fs.h> 7686 1.1 christos 7687 1.1 christos * include/am_compat.h: define the "nolock" mnttab option if the 7688 1.1 christos NONLM NFS mount option is defined 7689 1.1 christos 7690 1.1 christos * acconfig.h: added MNT2_NFS_OPT_NONLM, MNT2_GEN_OPT_BIND 7691 1.1 christos 7692 1.1 christos * configure.in: added detection of the NONLM Linux NFS mount 7693 1.1 christos option; added a clarification for the library versioning rules and 7694 1.1 christos increased the minor level; added detection of <linux/auto_fs4.h> 7695 1.1 christos and the MS_BIND generic mount option 7696 1.1 christos 7697 1.1 christos 2000-11-29 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7698 1.1 christos 7699 1.1 christos * Enabled Solaris 2.7 autofs support (tested, works) 7700 1.1 christos 7701 1.1 christos * Updated NEWS, README.autofs 7702 1.1 christos 7703 1.1 christos * Updated Makefile's, make dist is now fixed 7704 1.1 christos 7705 1.1 christos * Fixed potential memory leak in map.c 7706 1.1 christos 7707 1.1 christos * Fixed autofs style detection for solaris 2.[67] 7708 1.1 christos 7709 1.1 christos * Added a few casts in autofs_solaris2.c, needed on Solaris 2.7 7710 1.1 christos 7711 1.1 christos 2000-11-28 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7712 1.1 christos 7713 1.1 christos More Solaris 2.[67] work in progress: 7714 1.1 christos 7715 1.1 christos * changed the API for the mount/umount methods: fmount/fumount are 7716 1.1 christos gone, and mount/umount now take two arguments (am_node and mntfs) 7717 1.1 christos 7718 1.1 christos * changed the semantics of the MFF_AUTOFS flag: MFF_AUTOFS now 7719 1.1 christos means the mntfs is a filesystem of type autofs, and AMF_AUTOFS 7720 1.1 christos means the am_node is a node on a filesystem of type autofs. 7721 1.1 christos 7722 1.1 christos * renamed nfs_program_2_transp to current_transp so it can be used 7723 1.1 christos with autofs 7724 1.1 christos 7725 1.1 christos * renamed quick_reply() to nfs_quick_reply() 7726 1.1 christos 7727 1.1 christos * added two more autofs methods: autofs_umount_failed() and 7728 1.1 christos autofs_compute_mount_flags() -- it turns out that on sol2.6 the 7729 1.1 christos autofs mounts MUST be overlay'ed 7730 1.1 christos 7731 1.1 christos * moved the autofs_mount_succeeded() into am_mounted() 7732 1.1 christos 7733 1.1 christos * made amd *not* timeout autofs mounts -- the kernel will do it 7734 1.1 christos for us 7735 1.1 christos 7736 1.1 christos * store dev and rdev of a mounted filesystem in the mntfs 7737 1.1 christos structure, to help autofs 7738 1.1 christos 7739 1.1 christos * moved the rmdirs() call from uninit_mntfs() to am_umounted(), to 7740 1.1 christos prevent deadlocking with autofs 7741 1.1 christos 7742 1.1 christos * amd/Makefile.am: shuffled things around to make 7743 1.1 christos update_build_version be the last thing that runs 7744 1.1 christos 7745 1.1 christos 2000-11-27 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7746 1.1 christos 7747 1.1 christos * split amd/ops_autofs.c into conf/autofs/autofs_<system>.c files 7748 1.1 christos and made configure create a symlink to the appropriate one 7749 1.1 christos 7750 1.1 christos * moved the xdr autofs functions from libamu/xdr_func.c into the 7751 1.1 christos system-specific conf/autofs/autofs*.c 7752 1.1 christos 7753 1.1 christos * added some more experimental code to the sol2.6 autofs support, 7754 1.1 christos but it's by no means functional 7755 1.1 christos 7756 1.1 christos 2000-11-27 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7757 1.1 christos 7758 1.1 christos * libamu/wire.c (getwire_lookup): truncate the hostname to 7759 1.1 christos MAXHOSTNAMELEN characters. 7760 1.1 christos 7761 1.1 christos 2000-11-26 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7762 1.1 christos 7763 1.1 christos * include/am_utils.h (MAXHOSTNAMELEN): if not defined, set this to 7764 1.1 christos 256 bytes, not 64. Suggestion form Kris Kennaway 7765 1.1 christos <kris (a] FreeBSD.org>. 7766 1.1 christos 7767 1.1 christos 2000-11-26 Erez Zadok <ezk (a] dmath5.geometrie.tuwien.ac.at> 7768 1.1 christos 7769 1.1 christos * configure.in (AC_CHECK_MNT2_NFS_OPTS): check for NFS mount 7770 1.1 christos options kerb, rdirplus, readdirsize, and xlatecookie 7771 1.1 christos (NetBSD-1.5K). 7772 1.1 christos 7773 1.1 christos * acconfig.h: recognize NFS mount options rdirplus, readdirsize, 7774 1.1 christos and xlatecookie (NetBSD-1.5K) 7775 1.1 christos 7776 1.1 christos 2000-11-24 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7777 1.1 christos 7778 1.1 christos * amd/srvr_nfs.c: comment on NFS proto search order. 7779 1.1 christos 7780 1.1 christos * libamu/xutil.c (real_plog): don't try to write the last byte of 7781 1.1 christos the fmt buf. security suggtion from NetBSD: Thomas Klausner 7782 1.1 christos <wiz (a] danbala.ifoer.tuwien.ac.at> 7783 1.1 christos 7784 1.1 christos 2000-11-22 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7785 1.1 christos 7786 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): removed the initialization of 7787 1.1 christos fattr.na_fileid, it is now done in map.c when the map is initialized 7788 1.1 christos 7789 1.1 christos * amd/map.c (init_map): initialize fattr.na_fileid to am_gen, not 7790 1.1 christos to 0, to avoid cache aliasing problems on Linux (and to follow the 7791 1.1 christos NFS spec!) 7792 1.1 christos 7793 1.1 christos 2000-11-22 Thomas Klausner <wiz (a] danbala.ifoer.tuwien.ac.at> 7794 1.1 christos 7795 1.1 christos * libamu/mount_fs.c (mount_fs): avoid using extra limited-size buf 7796 1.1 christos (security) 7797 1.1 christos 7798 1.1 christos * libamu/xutil.c, fsinfo/fsinfo.h, include/am_utils.h: use 7799 1.1 christos __attribute__, __format__, and __printf__ for GCC string auditing. 7800 1.1 christos 7801 1.1 christos * wire-test/wire-test.8: this is not a section 8L man page. 7802 1.1 christos 7803 1.1 christos * libamu/xutil.c (expand_error): don't use sys_nerr on systems 7804 1.1 christos that support strerror(). 7805 1.1 christos (dplog): fmt is const 7806 1.1 christos (plog): fmt is const 7807 1.1 christos (real_plog): fmt is const. use new expand_error function with its 7808 1.1 christos new return value. be more careful about running off the end of 7809 1.1 christos char[] fixed size buffers. 7810 1.1 christos 7811 1.1 christos * libamu/wire.c (getwire): fix alignment error on alpha using an 7812 1.1 christos extra automatic storage variable ifrpool. 7813 1.1 christos 7814 1.1 christos * hlfsd/hlfsd.c (fatal): use proper printf style to plog. 7815 1.1 christos 7816 1.1 christos * fsinfo/fsinfo.c (find_username): getlogin() returns a const. 7817 1.1 christos 7818 1.1 christos * fsinfo/fsi_util.c (error, lerror, lwarning, fatal, log): use 7819 1.1 christos vfprintf. 7820 1.1 christos 7821 1.1 christos * fsinfo/fsi_lex.l (yyerror): use vfprintf. 7822 1.1 christos 7823 1.1 christos * fixmount/fixmount.8: this is not a section 8L man page. 7824 1.1 christos 7825 1.1 christos * doc/am-utils.texi (Hesiod maps): fixed typo. 7826 1.1 christos 7827 1.1 christos * amd/sched.c (do_task_notify): typo in comment. 7828 1.1 christos 7829 1.1 christos * amd/opts.c (expand_op): expand_error[] is a const char *. 7830 1.1 christos 7831 1.1 christos * amd/amd.c (main): use proper printf style to plog. 7832 1.1 christos 7833 1.1 christos 2000-11-22 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7834 1.1 christos 7835 1.1 christos * libamu/mount_fs.c (mnt_flags, compute_nfs_args): recognize 7836 1.1 christos proplist mnttab flag. Bug fix from Wolfram Klaus 7837 1.1 christos <klaus (a] physik.fu-berlin.de>. 7838 1.1 christos 7839 1.1 christos 2000-11-19 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7840 1.1 christos 7841 1.1 christos * updated config.guess, config.sub, and doc/texinfo.tex from 7842 1.1 christos mirrors 7843 1.1 christos 7844 1.1 christos * Makefile.am (update): proper updating of config.* and texinfo 7845 1.1 christos from mirrors. 7846 1.1 christos 7847 1.1 christos * aux/macros/check_nfs_prot_headers.m4: newer netbsd systems 7848 1.1 christos reports their system name as "netbsdelf" in config.guess. 7849 1.1 christos 7850 1.1 christos 2000-11-13 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7851 1.1 christos 7852 1.1 christos * doc/am-utils.texi (opts Option): document new mount option 7853 1.1 christos "proplist" 7854 1.1 christos 7855 1.1 christos * include/am_compat.h: define amd mount option "proplist" if the 7856 1.1 christos system doesn't recognize it, but the NFS bit flag exists. 7857 1.1 christos 7858 1.1 christos * configure.in, acconfig.h: recognize/support "proplist" NFS mount 7859 1.1 christos option in Amd, useful under DU-4.0 to process ACLs over NFS 7860 1.1 christos mounts. 7861 1.1 christos 7862 1.1 christos 2000-11-10 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7863 1.1 christos 7864 1.1 christos * conf/mount/mount_linux.c (mount_linux): removed unnecessary 7865 1.1 christos rsize/wsize defaults -- performance killers on 2.2.18+ and 2.4.0+ 7866 1.1 christos 7867 1.1 christos 2000-10-16 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7868 1.1 christos 7869 1.1 christos * scripts/am-eject.in: accept "cdrom" and "floppy" as arguments. 7870 1.1 christos 7871 1.1 christos 2000-11-05 Ion Badulescu <ionut (a] moisil.dev.hydraweb.com> 7872 1.1 christos 7873 1.1 christos Too many changes to list them here. Here's a high level 7874 1.1 christos description: 7875 1.1 christos 7876 1.1 christos * Forward-ported the Linux fixes from 6.0.5pre 7877 1.1 christos 7878 1.1 christos * Got rid of a mountain of #ifdef DEBUG, replaced with smart 7879 1.1 christos header-file #ifdef's 7880 1.1 christos 7881 1.1 christos * and, the grand finale: initial Solaris 2.6 autofs 7882 1.1 christos support. Compiles, mounts, gets requests; all the 7883 1.1 christos infrastructure is in place to actually implement the calls. Linux 7884 1.1 christos autofs might be a bit broken, but only compile-time so it'll be 7885 1.1 christos easy to fix. 7886 1.1 christos 7887 1.1 christos 2000-11-01 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7888 1.1 christos 7889 1.1 christos * MIRRORS (Note): added a mirror at ufl.edu 7890 1.1 christos 7891 1.1 christos 2000-10-11 Erez Zadok <ezk (a] lorien.dev.hydraweb.com> 7892 1.1 christos 7893 1.1 christos * amq/amq.8: synchronize Amq's options with reality 7894 1.1 christos 7895 1.1 christos * amq/amq.c (main): synchronize Amq's usage() string with reality 7896 1.1 christos 7897 1.1 christos 2000-10-10 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7898 1.1 christos 7899 1.1 christos * scripts/ctl-amd.in: add targets condrestart (redhat) and 7900 1.1 christos reload. 7901 1.1 christos 7902 1.1 christos 2000-10-04 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7903 1.1 christos 7904 1.1 christos * scripts/lostaltmail.in (vrfy_user): ensure that MAILDIR is 7905 1.1 christos defined. 7906 1.1 christos 7907 1.1 christos 2000-09-18 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7908 1.1 christos 7909 1.1 christos * amd/opts.c (backslash): Bell char (ASCII 007) should be \g, not 7910 1.1 christos \a. 7911 1.1 christos 7912 1.1 christos 2000-09-17 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7913 1.1 christos 7914 1.1 christos * include/am_utils.h: removed unused field opt_autopref 7915 1.1 christos 7916 1.1 christos * amd/opts.c: removed unused variable $autopref 7917 1.1 christos 7918 1.1 christos 2000-09-05 Erez Zadok <ezk (a] aladdin.dev.hydraweb.com> 7919 1.1 christos 7920 1.1 christos * conf/mtab/mtab_svr4.c (lockfile): function not needed unless 7921 1.1 christos MOUNT_TABLE_ON_FILE is defined. 7922 1.1 christos mtlckname static var is onlyneeded if MOUNT_TABLE_ON_FILE. 7923 1.1 christos (update_mnttab_fields): only needed if MOUNT_TABLE_ON_FILE. 7924 1.1 christos 7925 1.1 christos 2000-09-03 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7926 1.1 christos 7927 1.1 christos * buildall (Usage): typo in usage string 7928 1.1 christos 7929 1.1 christos 2000-08-25 Erez Zadok <ezk (a] lynn.soscorp.com> 7930 1.1 christos 7931 1.1 christos * conf/mount/mount_linux.c (mount_linux): MNT2_NFS_OPT_VER3 may 7932 1.1 christos is no defined on older Linux systems (kernel 2.0.36) 7933 1.1 christos 7934 1.1 christos 2000-08-19 Erez Zadok <ezk (a] earth.cs.columbia.edu> 7935 1.1 christos 7936 1.1 christos * scripts/amd.conf.5: correct swapped descriptions for ldap_base 7937 1.1 christos and ldap_hostports. 7938 1.1 christos 7939 1.1 christos * doc/am-utils.texi: correct swapped descriptions for ldap_base 7940 1.1 christos and ldap_hostports. 7941 1.1 christos 7942 1.1 christos * scripts/amd.conf-sample: swap examples for ldap_base and 7943 1.1 christos ldap_hostports. 7944 1.1 christos 7945 1.1 christos 2000-08-13 Erez Zadok <ezk (a] earth.cs.columbia.edu> 7946 1.1 christos 7947 1.1 christos * scripts/amd.conf-sample: -O is CLI equivalent to "os" 7948 1.1 christos amd.conf parameter 7949 1.1 christos 7950 1.1 christos 2000-07-30 Erez Zadok <ezk (a] earth.cs.columbia.edu> 7951 1.1 christos 7952 1.1 christos * scripts/amd.conf-sample (nfs_retransmit_counter): correct 7953 1.1 christos meaning and use of parameter 7954 1.1 christos 7955 1.1 christos 2000-07-23 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7956 1.1 christos 7957 1.1 christos * doc/am-utils.texi: updated URLs to www.am-utils.org. 7958 1.1 christos 7959 1.1 christos 2000-07-04 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 7960 1.1 christos 7961 1.1 christos * doc/am-utils.texi (Supported Platforms): document osf4.0f 7962 1.1 christos 7963 1.1 christos 2000-06-19 Erez Zadok <ezk (a] vir.cs.columbia.edu> 7964 1.1 christos 7965 1.1 christos * doc/am-utils.texi (dollar Selector Variable): document 7966 1.1 christos ${dollar}. 7967 1.1 christos 7968 1.1 christos * amd/opts.c: special new variable ${dollar} which expands into a 7969 1.1 christos literal '$' sign. Otherwise there is no way to include a literal 7970 1.1 christos dollar symbol in an amd map. 7971 1.1 christos 7972 1.1 christos 2000-06-11 Ion Badulescu <ib42 (a] moisil.cs.columbia.edu> 7973 1.1 christos 7974 1.1 christos * amd/opts.c (eval_selectors): don't deref opt after it's been 7975 1.1 christos XFREE'd 7976 1.1 christos 7977 1.1 christos 2000-06-11 Erez Zadok <ezk (a] earth.cs.columbia.edu> 7978 1.1 christos 7979 1.1 christos * amd/opts.c: move mount_type expansion until later in the list, 7980 1.1 christos so common variable are "hit" first. 7981 1.1 christos 7982 1.1 christos 2000-06-11 Ion Badulescu <ib42 (a] moisil.cs.columbia.edu> 7983 1.1 christos 7984 1.1 christos * amd/opts.c (split_opts, eval_selectors): split old function 7985 1.1 christos eval_opts into two, one that only splits non-selectors and 7986 1.1 christos assigns the values to fs_static, and one that only evaluates 7987 1.1 christos selectors; also simplified the rather obfuscated logic inside 7988 1.1 christos these functions 7989 1.1 christos (expand_op): made it take a char * instead of a structure from 7990 1.1 christos which it was using only one field (a char *). Also now returns a 7991 1.1 christos char * instead of modifying said structure in place 7992 1.1 christos (expand_opts): deal with the change above 7993 1.1 christos (expand_selectors): renamed from expand_key 7994 1.1 christos (expand_options): new function, expands non-selectors; it's the 7995 1.1 christos complement of expand_selectors, both of which are just wrappers 7996 1.1 christos around expand_op() 7997 1.1 christos (eval_fs_opts): use the new split_opts, eval_selectors to allow 7998 1.1 christos using options (like ${rhost}) in selectors 7999 1.1 christos 8000 1.1 christos 2000-06-11 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8001 1.1 christos 8002 1.1 christos * config.guess.long: munge config.guess' output so that intel 8003 1.1 christos linux appears as i386-pc-linux 8004 1.1 christos 8005 1.1 christos Fri Jun 9 16:06:56 2000 Erez Zadok <ezk (a] defiant.dev.hydraweb.com> 8006 1.1 christos 8007 1.1 christos * conf/nfs_prot/nfs_prot_bsdi2.h: getifaddrs() on bsdi2 is broken. 8008 1.1 christos Don't use it. 8009 1.1 christos 8010 1.1 christos 2000-06-09 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 8011 1.1 christos 8012 1.1 christos * amd/mapc.c (maptypes): Change default allocation mode to 8013 1.1 christos MAPC_INC where reload support is missing to avoid warning in 8014 1.1 christos mapc_create(). 8015 1.1 christos 8016 1.1 christos 2000-06-09 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8017 1.1 christos 8018 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_5.h: turn off autofs support for 8019 1.1 christos solaris 2.5 until a full port can be done. 8020 1.1 christos 8021 1.1 christos 2000-06-07 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8022 1.1 christos 8023 1.1 christos * Makefile.am, aux/GNUmakefile: fix maintainer rules to update 8024 1.1 christos config.* and texinfo.tex files. 8025 1.1 christos 8026 1.1 christos * amd/nfs_subr.c (nfsproc_getattr_2_svc): Don't conditionalize the 8027 1.1 christos mtime update of the symlinks on the SYMTTL option, but rather 8028 1.1 christos delay unmount of what was looked up using am_timeo_w. Patch from 8029 1.1 christos Nick Williams <Nick.Williams (a] msdw.com>. As Nick says "Basically: 8030 1.1 christos during unmount, increment the parent dir's mtime (fixes 8031 1.1 christos people doing amq -u). During stat, increase the TTL (to fix bad-luck 8032 1.1 christos timeouts), but leave the mtime alone." 8033 1.1 christos 8034 1.1 christos (nfsproc_lookup_2_svc, nfsproc_readlink_2_svc, unlink_or_rmdir, 8035 1.1 christos nfsproc_readdir_2_svc): correctly update d_drops stats for amq -s. 8036 1.1 christos Patch from Nick Williams <Nick.Williams (a] msdw.com>. 8037 1.1 christos 8038 1.1 christos * amd/map.c (unmount_mp): update mtime of amd symlink to further 8039 1.1 christos reduce the chances of race conditions between unmounting and 8040 1.1 christos looking up an entry again. Patch from Nick Williams 8041 1.1 christos <Nick.Williams (a] msdw.com>. 8042 1.1 christos 8043 1.1 christos * README: updated instructions 8044 1.1 christos 8045 1.1 christos * bootstrap: remove log file before existing 8046 1.1 christos 8047 1.1 christos 2000-06-06 Erez Zadok <ezk (a] aladdin.dev.hydraweb.com> 8048 1.1 christos 8049 1.1 christos * configure.in: no longer using aux/ subdir. don't force autoconf 8050 1.1 christos 2.14. comment out (but leave explanation) everything that's needed 8051 1.1 christos for autoconf 2.14, so for now it works with autoconf-2.13, but the 8052 1.1 christos code is ready for 2.14 when it is released. Similar changes to 8053 1.1 christos make code work with automake-1.4, until the next release comes 8054 1.1 christos out. 8055 1.1 christos 8056 1.1 christos * libamu/Makefile.am: include definitions that are required in 8057 1.1 christos automake 1.4, but won't be necessary when the next release of 8058 1.1 christos automake comes out (see XXX comments). 8059 1.1 christos 8060 1.1 christos * cache_check_dynamic.m4, check_checkmount_style.m4, 8061 1.1 christos check_mnttab_style.m4, check_mount_style.m4, 8062 1.1 christos check_network_transport_type.m4, check_nfs_prot_headers.m4, 8063 1.1 christos check_umount_style.m4: use symlink creation code that works for 8064 1.1 christos both autoconf 2.13 and 2.14 (when the latter comes out). 8065 1.1 christos 8066 1.1 christos * bootstrap: new script for maintainers to run to update autoconf, 8067 1.1 christos automake, and libtool related files. Has the same effect as 8068 1.1 christos "buildall -K". 8069 1.1 christos 8070 1.1 christos * removed dependencies on CVS versions of autoconf, automake, and 8071 1.1 christos libtool, especially the modified automake I had. This is so that 8072 1.1 christos maintainers could built the auto* files out of the latest released 8073 1.1 christos GNU autoconf, automake, and libtool. However, without my nice 8074 1.1 christos patches to automake, many files that used to live in the aux/ 8075 1.1 christos subdir now were moved to the top level source directory: acconfig.h, 8076 1.1 christos acinclude.m4, aclocal.m4, aux_conf.h.in, config.guess, 8077 1.1 christos config.guess.long, config.h.in, config.sub, configure.in, depcomp, 8078 1.1 christos install-sh, ltconfig, ltmain.sh, missing, and mkinstalldirs. Also 8079 1.1 christos texinfo.tex and mdate-sh moved from aux/ dir to doc/ dir. 8080 1.1 christos 8081 1.1 christos 2000-06-05 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8082 1.1 christos 8083 1.1 christos * cvs-server.txt: instructions for maintainers to access the CVS 8084 1.1 christos server for am-utils. 8085 1.1 christos 8086 1.1 christos 2000-06-03 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8087 1.1 christos 8088 1.1 christos * amd/restart.c (restart): grr.. passing around initialized 8089 1.1 christos structures is *really* bad habit. memset(mo, 0) so at least we can 8090 1.1 christos test for NULL pointers... 8091 1.1 christos 8092 1.1 christos 2000-06-02 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8093 1.1 christos 8094 1.1 christos * amd/am_ops.c (ops_match): changed XLOG_USER messages about 8095 1.1 christos merging addopts options to the more appropriate XLOG_INFO. Patch 8096 1.1 christos submitted by Tom Schmidt <tschmidt (a] micron.com>. 8097 1.1 christos 8098 1.1 christos * config.{guess,sub}: make sure chmod'ed a+rx. Updated from 8099 1.1 christos latest GNU copies. 8100 1.1 christos 8101 1.1 christos 2000-05-30 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8102 1.1 christos 8103 1.1 christos * aux/configure.in: bump up the version to 6.1a2 8104 1.1 christos 8105 1.1 christos 2000-05-29 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8106 1.1 christos 8107 1.1 christos * released snapshot am-utils-6.1a1 8108 1.1 christos 8109 1.1 christos 2000-05-29 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8110 1.1 christos 8111 1.1 christos * amd/ops_autofs.c (autofs_mounted): retrieve the autofs protocol 8112 1.1 christos version and store it in the fh 8113 1.1 christos (autofs_get_opts): support protocol version 4 8114 1.1 christos 8115 1.1 christos * amd/mntfs.c (uninit_mntfs): clear the autofs fh pointer after 8116 1.1 christos releasing it 8117 1.1 christos 8118 1.1 christos * conf/transp/transp_sockets.c (amu_svc_getcaller): cast result of 8119 1.1 christos svc_getcaller() to sockaddr_in, to appease glibc 2.2 8120 1.1 christos 8121 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): if the filesystem wants 8122 1.1 christos autofs handling and the parent is already handled by autofs, 8123 1.1 christos handle this filesystem as well 8124 1.1 christos (amfs_auto_mount): create the mountpoint for an autofs mount 8125 1.1 christos (amfs_auto_umount): do a real UMOUNT_FS() call for autofs mounts 8126 1.1 christos 8127 1.1 christos * include/am_utils.h (FS_AUTOFS): new flag signalling that the 8128 1.1 christos filesystem wants autofs handling; toplvl, auto, host and direct 8129 1.1 christos have this flag, at least for now 8130 1.1 christos 8131 1.1 christos 2000-05-28 Erez Zadok <ezk (a] mulberry.mcl.cs.columbia.edu> 8132 1.1 christos 8133 1.1 christos * doc/am-utils.texi (Network Filesystem Group): minor typos 8134 1.1 christos 8135 1.1 christos 2000-05-28 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8136 1.1 christos 8137 1.1 christos * amd/autil.c (am_unmounted): check mp->am_parent before dereferencing 8138 1.1 christos 8139 1.1 christos * amd/srvr_nfs.c (find_nfs_srvr): if NFS_SCALEDOWN, force 8140 1.1 christos version=2 and proto=udp and try again 8141 1.1 christos 8142 1.1 christos * amd/ops_nfs.c (prime_nfs_fhandle_cache): take an explicit mntfs 8143 1.1 christos instead of a voidp; handle the NFS_SCALEDOWN case by removing the 8144 1.1 christos cached server entry and re-querying the server 8145 1.1 christos 8146 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_mount): removed ugly if 8147 1.1 christos statement, assign mnttype from the fs-specific mf_ops->fs_type 8148 1.1 christos instead 8149 1.1 christos 8150 1.1 christos * amd/amfs_nfsx.c (amfs_nfsx_init): call fs_init() only if it's 8151 1.1 christos defined; 8152 1.1 christos (amfs_nfsx_remount): removed superfluous check for fmount_fs -- it 8153 1.1 christos always exists 8154 1.1 christos (amfs_nfsx_umount): removed the hacked am_node -- umounted() now 8155 1.1 christos takes an mntfs; call umounted() only if it's defined 8156 1.1 christos 8157 1.1 christos * amd/amfs_auto.c: removed amfs_auto_umounted and moved its 8158 1.1 christos functionality into am_umounted(). 8159 1.1 christos (amfs_auto_cont): Linux hack: if we got an EINVAL, mark the mntfs 8160 1.1 christos as needing an "NFS scaledown" and retry the operation 8161 1.1 christos 8162 1.1 christos * amd/amfs_*.c: changed all fmount/fumount functions to 8163 1.1 christos mount/umount and made them take an am_node instead of an 8164 1.1 christos mntfs. This is a first step towards an amfs/ops API separation. 8165 1.1 christos 8166 1.1 christos * amd/{amfs,ops}_*.c: changed the umounted() function to take an 8167 1.1 christos mntfs instead of an am_node 8168 1.1 christos 8169 1.1 christos 2000-05-28 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8170 1.1 christos 8171 1.1 christos * amd/amfs_toplvl.c (mount_amfs_toplvl): init error to 0 to shut 8172 1.1 christos up gcc 8173 1.1 christos 8174 1.1 christos * aux/macros/check_hide_mount_type.m4: revert to the 6.0 version 8175 1.1 christos which always defines HIDE_MOUNT_TYPE 8176 1.1 christos 8177 1.1 christos * amd/ops_autofs.c (autofs_mounted): remove MFF_AUTOFS 8178 1.1 christos initialization -- now done in init_mntfs() 8179 1.1 christos 8180 1.1 christos * amd/mntfs.c (init_mntfs): init mf_flags to MFF_AUTOFS if we are 8181 1.1 christos mounting an autofs-style map 8182 1.1 christos 8183 1.1 christos * amd/*.c: use the MFF_AUTOFS flag instead of doing a costly STREQ 8184 1.1 christos 8185 1.1 christos * amd/amfs_toplvl.c (mount_amfs_toplvl): MTYPE_TYPE is not 8186 1.1 christos necessarily a string type, so handle the nfs/autofs separation 8187 1.1 christos differently 8188 1.1 christos 8189 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): removed initialization of 8190 1.1 christos opt_mount_type (now done in ops_match()) 8191 1.1 christos 8192 1.1 christos * amd/am_ops.c (ops_match): need to initialize opt_mount_type if 8193 1.1 christos it's not initialized yet 8194 1.1 christos 8195 1.1 christos 2000-05-27 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8196 1.1 christos 8197 1.1 christos * libamu/wire.c (getwire_lookup): handle calling irs_gen_acc with 8198 1.1 christos one or two arguments (bsdi3 vs. bsdi4) 8199 1.1 christos 8200 1.1 christos 2000-05-27 Ion Badulescu <ib42 (a] chestnut.mcl.cs.columbia.edu> 8201 1.1 christos 8202 1.1 christos * libamu/xutil.c (amu_release_controlling_tty): removed an unused 8203 1.1 christos variable from the previous patch 8204 1.1 christos 8205 1.1 christos 2000-05-26 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8206 1.1 christos 8207 1.1 christos * aux/macros/check_autofs_style.m4: fixed substitution for default 8208 1.1 christos case 8209 1.1 christos 8210 1.1 christos * libamu/xutil.c (amu_release_controlling_tty): close standard 8211 1.1 christos file descriptors, re-open them as /dev/null 8212 1.1 christos 8213 1.1 christos * include/am_defs.h: don't try to include both <ndbm.h> and 8214 1.1 christos <db1/ndbm.h>, it really doesn't work 8215 1.1 christos 8216 1.1 christos 2000-05-16 Ion Badulescu <ib42 (a] earth.cs.columbia.edu> 8217 1.1 christos 8218 1.1 christos * hlfsd/stubs.c (nfsproc_lookup_2_svc): added code to update mtime 8219 1.1 christos on lookup if MNT2_NFS_OPT_SYMTTL is not defined (copied from 8220 1.1 christos getattr). This fixes the problem introduced by the Linux nfsv3 8221 1.1 christos patches. 8222 1.1 christos 8223 1.1 christos 2000-05-12 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8224 1.1 christos 8225 1.1 christos * Makefile.am (EXTRA_DIST_CONF): added conf/autofs/autofs_linux.h 8226 1.1 christos 8227 1.1 christos 2000-05-10 Ion Badulescu <ib42 (a] earth.cs.columbia.edu> 8228 1.1 christos 8229 1.1 christos * amd/ops_autofs.c (autofs_handle_fdset): call 8230 1.1 christos autofs_lookup_failed instead of autofs_mount_failed, if the name 8231 1.1 christos is not in the map 8232 1.1 christos (autofs_umount_{succeeded,failed}): pass the actual mount point, 8233 1.1 christos not its parent, as it's needed for clean-up; 8234 1.1 christos 8235 1.1 christos * amd/autil.c (am_unmounted): notify autofs that the umount 8236 1.1 christos succeeded 8237 1.1 christos 8238 1.1 christos * amd/amfs_link.c (amfs_link_[u]mount): autofs link notification 8239 1.1 christos moved elsewhere 8240 1.1 christos 8241 1.1 christos 2000-05-09 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8242 1.1 christos 8243 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): initialize opt_mount_type 8244 1.1 christos if necessary; 8245 1.1 christos (amfs_auto_mounted): test if opt_mount_type is NULL first 8246 1.1 christos (amfs_auto_mount): revert earlier change 8247 1.1 christos 8248 1.1 christos * amd/ops_autofs.c (autofs_mount_failed): remove autofs directory 8249 1.1 christos if mount failed 8250 1.1 christos 8251 1.1 christos 2000-05-09 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8252 1.1 christos 8253 1.1 christos * amd/ops_autofs.c (autofs_link_mount): use am_link as target 8254 1.1 christos 8255 1.1 christos * amd/map.c (unmount_mp): release file handle for autofs f/s about 8256 1.1 christos to be unmounted; this leak was preventing the unmount altogether 8257 1.1 christos 8258 1.1 christos * amd/amfs_auto.c (amfs_auto_umount): removed autofs-specific 8259 1.1 christos code, was broken 8260 1.1 christos (amfs_auto_bgmount): nfs mounts + sublinks is a valid combination, 8261 1.1 christos handle it 8262 1.1 christos 8263 1.1 christos 2000-05-07 Ion Badulescu <ib42 (a] moisil.cs.columbia.edu> 8264 1.1 christos 8265 1.1 christos * Merged changes from stable branch 8266 1.1 christos 8267 1.1 christos 2000-04-30 Erez Zadok <ezk (a] beetle.mcl.cs.columbia.edu> 8268 1.1 christos 8269 1.1 christos * include/am_defs.h, aux/macros/mount_headers.m4, 8270 1.1 christos aux/macros/try_compile_anyfs.m4: include linux/kdev_t.h and 8271 1.1 christos linux/list.h before including linux/fs.h, and define __KERNEL__ 8272 1.1 christos for those two headers. All of this to get a couple of definitions 8273 1.1 christos that are needed in the new struct vfsmount. 8274 1.1 christos 8275 1.1 christos * aux/configure.in: look for <linux/kdev_t.h> and <linux/list.h>. 8276 1.1 christos 8277 1.1 christos * include/am_defs.h, aux/macros/mount_headers.m4: avoid conflicts 8278 1.1 christos between linux/in.h. and netinet/in.h (linux-2.3.99-pre6), by 8279 1.1 christos defining _LINUX_IN_H so it doesn't get included. 8280 1.1 christos 8281 1.1 christos 2000-04-03 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8282 1.1 christos 8283 1.1 christos * minor new ports: i686-pc-linux-gnu-rh6.2, 8284 1.1 christos i386-unknown-freebsdelf3.4, i586-pc-linux-gnu-rh6.2. 8285 1.1 christos 8286 1.1 christos 2000-04-03 Erez Zadok <ezk (a] vir.cs.columbia.edu> 8287 1.1 christos 8288 1.1 christos * aux/acconfig.h: move all #undef macros above @TOP@, so they can 8289 1.1 christos be recognized by pickier autoconf. 8290 1.1 christos 8291 1.1 christos 2000-04-03 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8292 1.1 christos 8293 1.1 christos * aux/macros/cache_check_dynamic.m4 (ac_tmp): use correct echo -n 8294 1.1 christos or \c. 8295 1.1 christos 8296 1.1 christos 2000-03-25 Erez Zadok <ezk (a] beetle.mcl.cs.columbia.edu> 8297 1.1 christos 8298 1.1 christos * include/am_defs.h: ditto 8299 1.1 christos 8300 1.1 christos * aux/macros/{mount_headers,try_compile_anyfs}.m4: force 8301 1.1 christos non-inclusion of <linux/string.h>. Breaks build on newer 2.3 8302 1.1 christos kernels. 8303 1.1 christos 8304 1.1 christos 2000-02-26 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8305 1.1 christos 8306 1.1 christos * doc/am-utils.texi (Amq -w option): document new amq -w option. 8307 1.1 christos 8308 1.1 christos * amq/amq.8: document new amq -w option. 8309 1.1 christos 8310 1.1 christos * amq/amq.c: disable last remains of insecure amq -M code. 8311 1.1 christos (main): add amq -H option to show usage. 8312 1.1 christos (main): new amq -w option, translates getpwd() into an amd path. 8313 1.1 christos 8314 1.1 christos 2000-02-25 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8315 1.1 christos 8316 1.1 christos * libamu/util.c (get_server_pid): new function 8317 1.1 christos 8318 1.1 christos * hlfsd/hlfsd.c (main): make use of HIDE_MOUNT_TYPE 8319 1.1 christos 8320 1.1 christos * conf/transp/transp_sockets.c: removed create_autofs_service 8321 1.1 christos 8322 1.1 christos * conf/mount/mount_linux.c: added autofs mount options; split 8323 1.1 christos mount_linux into two functions, itself and do_mount_linux 8324 1.1 christos 8325 1.1 christos * aux/macros/check_hide_mount_type.m4: better failover 8326 1.1 christos 8327 1.1 christos * aux/configure.in: changed version to 6.1a1; added 8328 1.1 christos AC_CHECK_AUTOFS_STYLE 8329 1.1 christos 8330 1.1 christos * aux/aux_conf.h.in: added @am_utils_autofs_style@ 8331 1.1 christos 8332 1.1 christos * amd/opts.c: added "mount_type" option 8333 1.1 christos 8334 1.1 christos * amd/ops_autofs.c: ifdef-ed out solaris code; moved all autofs 8335 1.1 christos variables in here; split create_autofs_service into sun and linux 8336 1.1 christos specific functions 8337 1.1 christos 8338 1.1 christos * amd/nfs_start.c: removed autofs-specific variables 8339 1.1 christos 8340 1.1 christos * amd/map.c (get_root_nfs_fh): renamed root_fh to get_root_nfs_fh 8341 1.1 christos (get_root_ap): renamed root_ap to get_root_ap 8342 1.1 christos 8343 1.1 christos * amd/amfs_toplvl.c (amfs_toplvl_ops): replaced 8344 1.1 christos amfs_toplvl_mounted with amfs_auto_mounted 8345 1.1 christos (mount_amfs_toplvl): moved code around, added autofs handling 8346 1.1 christos (amfs_toplvl_mounted): removed 8347 1.1 christos 8348 1.1 christos * amd/amfs_nfsl.c (amfs_nfsl_ops): removed amfs_auto_fu?mount, 8349 1.1 christos replaced with amfs_nfsl_u?mount 8350 1.1 christos 8351 1.1 christos * amd/amfs_linkx.c (amfs_linkx_ops): removed amfs_auto_fumount, 8352 1.1 christos replaced with amfs_link_umount 8353 1.1 christos 8354 1.1 christos * amd/amfs_link.c (amfs_link_ops): removed amfs_auto_fu?mount, 8355 1.1 christos replaced with amfs_link_u?mount 8356 1.1 christos 8357 1.1 christos * amd/amfs_direct.c (amfs_direct_ops): changed "mounted" function 8358 1.1 christos from amfs_toplvl_mounted to amfs_auto_mounted 8359 1.1 christos 8360 1.1 christos * all: added autofs hooks throughout the code 8361 1.1 christos 8362 1.1 christos * amd/am_ops.c (vops): autofs_ops doesn't belong in here, removed 8363 1.1 christos 8364 1.1 christos * README.autofs: linux status update 8365 1.1 christos 8366 1.1 christos 2000-02-24 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8367 1.1 christos 8368 1.1 christos * minor new port: alphaev6-dec-osf5.0 8369 1.1 christos 8370 1.1 christos * doc/am-utils.texi (Supported Platforms): hpux-11 supports NFSv3, 8371 1.1 christos but only for UDP. 8372 1.1 christos 8373 1.1 christos * released snapshot am-utils-6.0.4s3 8374 1.1 christos 8375 1.1 christos * conf/nfs_prot/nfs_prot_hpux11.h: support NFSv3 in hpux-11. Note 8376 1.1 christos that hpux-11 NFSv3 supports UDP only, and trying TCP locks up the 8377 1.1 christos kernel! Must set nfs_proto=udp in amd.conf [global]. 8378 1.1 christos 8379 1.1 christos * aux/config.guess.long: set and export PATH separately. DU5 8380 1.1 christos /bin/sh doesn't like setting it on the command line in a 8381 1.1 christos back-tick'ed `script`. 8382 1.1 christos 8383 1.1 christos 2000-02-24 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8384 1.1 christos 8385 1.1 christos * Makefile.am: removed struct_nfs_mount_data.m4 8386 1.1 christos 8387 1.1 christos * aux/macros/struct_nfs_mount_data.m4: deleted 8388 1.1 christos 8389 1.1 christos * aux/acconfig.h: removed definition for HAVE_NFS_MOUNT_DATA 8390 1.1 christos 8391 1.1 christos * aux/configure.in: removed check for struct nfs_mount_data 8392 1.1 christos 8393 1.1 christos 2000-02-24 Ion Badulescu <ib42 (a] beetle.mcl.cs.columbia.edu> 8394 1.1 christos 8395 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): changed log message to 8396 1.1 christos avoid having 'failed' in a message not indicating a failure 8397 1.1 christos (amfs_auto_lookuppn): ditto 8398 1.1 christos 8399 1.1 christos * amd/ops_autofs.c (autofs_bgmount): ditto 8400 1.1 christos (autofs_lookuppn): ditto 8401 1.1 christos 8402 1.1 christos 2000-02-24 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8403 1.1 christos 8404 1.1 christos * added .cvsignore files into the CVS repository. 8405 1.1 christos 8406 1.1 christos * remove files which can be regenerated: .in, configure, some 8407 1.1 christos files in aux/, and more. 8408 1.1 christos 8409 1.1 christos 2000-02-20 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8410 1.1 christos 8411 1.1 christos * doc/am-utils.texi (nfs_vers/nfs_proto): description of two 8412 1.1 christos parameters was reversed. Reported by Paul Jenner 8413 1.1 christos <p.jenner (a] eim.surrey.ac.uk>. 8414 1.1 christos 8415 1.1 christos 2000-02-16 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8416 1.1 christos 8417 1.1 christos * released snapshot am-utils-6.0.4s2 8418 1.1 christos 8419 1.1 christos * amd/mntfs.c (realloc_mntfs): don't fallback on certain ops such 8420 1.1 christos as inherit, error, and toplvl (failover code). 8421 1.1 christos 8422 1.1 christos * amd/conf.c (gopt_nfs_vers, gopt_nfs_proto): two new (documented) 8423 1.1 christos global options in amd.conf: one to set the NFS version globally 8424 1.1 christos (i.e., nfs_vers=2), and one to set the NFS protocol globally 8425 1.1 christos (i.e., nfs_proto=udp). 8426 1.1 christos 8427 1.1 christos * amd/mntfs.c (realloc_mntfs): attempt to fix the failover code, 8428 1.1 christos so when a matching mount entry failed, try the next one. 8429 1.1 christos 8430 1.1 christos 2000-02-15 Erez Zadok <ezk (a] moisil.cs.columbia.edu> 8431 1.1 christos 8432 1.1 christos * amd/amfs_auto.c: a new debug option "readdir" to trace the 8433 1.1 christos progress of the browsable_dirs code. 8434 1.1 christos 8435 1.1 christos * conf/mount/mount_linux.c (mount_linux): ensure that the new 8436 1.1 christos linux NFSv3 code works for v2-only machines. 8437 1.1 christos 8438 1.1 christos 2000-02-14 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8439 1.1 christos 8440 1.1 christos * aux/configure.in: cleanup unused dnl entries. 8441 1.1 christos 8442 1.1 christos * conf/mount/mount_linux.c (parse_opts): typo: check for string 8443 1.1 christos equality, not string inequality for pcfs and cdfs. 8444 1.1 christos 8445 1.1 christos * aux/acconfig.h: look for MNT2_NFS_OPT_INTR as well. 8446 1.1 christos 8447 1.1 christos * libamu/mount_fs.c (compute_mount_flags): check for INTR and 8448 1.1 christos NOINTR options as well (intr was never passed to linux mount 8449 1.1 christos syscall). 8450 1.1 christos 8451 1.1 christos 2000-02-10 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8452 1.1 christos 8453 1.1 christos * released snapshot am-utils-6.0.4s1 8454 1.1 christos 8455 1.1 christos * aux/GNUmakefile: buildall -k (for maintainers) temporarily now 8456 1.1 christos ignores autoconf warnings: "The macro `AC_OUTPUT_COMMANDS' is 8457 1.1 christos obsolete". It is harmless but annoying, and will be fixed when 8458 1.1 christos autoconf and automake in their respective CVS trees are working 8459 1.1 christos and in sync again. 8460 1.1 christos 8461 1.1 christos * scripts/amd.conf.5: document -D hrtime,xdrtrace 8462 1.1 christos 8463 1.1 christos * all man pages: update copyright to 2000. 8464 1.1 christos 8465 1.1 christos * doc/am-utils.texi: update copyright to 2000. 8466 1.1 christos 8467 1.1 christos Wed Feb 9 14:22:31 2000 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 8468 1.1 christos 8469 1.1 christos * include/am_utils.h (D_XDRTRACE): Define. 8470 1.1 christos (D_TEST): Disable here. 8471 1.1 christos 8472 1.1 christos * libamu/xutil.c (dbg_opt): Handle it. 8473 1.1 christos 8474 1.1 christos * doc/am-utils.texi (-D-Option): Document it. 8475 1.1 christos 8476 1.1 christos * libamu/xdr_func.c: Use it instead of D_TRACE. 8477 1.1 christos 8478 1.1 christos * include/am_utils.h (D_HRTIME): Define. 8479 1.1 christos 8480 1.1 christos * doc/am-utils.texi (-D-Option): Document it. 8481 1.1 christos 8482 1.1 christos * libamu/xutil.c (show_time_host_and_name): Print high-resolution 8483 1.1 christos timestamp if available and activated. 8484 1.1 christos 8485 1.1 christos * aux/configure.in (clock_gettime): Check for it in -lrt and 8486 1.1 christos -lposix4. 8487 1.1 christos 8488 1.1 christos * hlfsd/hlfsd.c (mnttab_file_name): Initialize to MNTTAB_FILE_NAME 8489 1.1 christos if defined, even for some systems with in kernel mount tables. 8490 1.1 christos 8491 1.1 christos 2000-02-08 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8492 1.1 christos 8493 1.1 christos * aux/macros/mount_headers.m4: remove #if 0 around linux/nfs.h to 8494 1.1 christos allow compiles against libc5 8495 1.1 christos 8496 1.1 christos * aux/macros/check_mnttab_type.m4: avoid detecting nfs3 under 8497 1.1 christos linux when the kernel doesn't support it 8498 1.1 christos 8499 1.1 christos * include/am_compat.h: add workaround for linux efs 8500 1.1 christos 8501 1.1 christos 2000-02-08 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8502 1.1 christos 8503 1.1 christos * aux/configure.in: test for ANSI C compiler (before AC_C_CONST). 8504 1.1 christos Comment out unused AC_STRUCT_ST_RDEV (which is obsolete anyway). 8505 1.1 christos 8506 1.1 christos 2000-02-07 Ion Badulescu <ionut (a] moisil.cs.columbia.edu> 8507 1.1 christos 8508 1.1 christos * libamu/mount_fs.c (compute_nfs_args): turn on VER3 option for 8509 1.1 christos nfs (linux NFSv3). 8510 1.1 christos 8511 1.1 christos * include/am_defs.h: avoid reinclusion of some header files under 8512 1.1 christos linux. 8513 1.1 christos 8514 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: support NFSv3. 8515 1.1 christos 8516 1.1 christos * conf/mount/mount_linux.c (mount_linux): support nfs mount 8517 1.1 christos (implementation) version 4 for NFSv3. 8518 1.1 christos 8519 1.1 christos * aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS. 8520 1.1 christos 8521 1.1 christos * aux/macros/mount_headers.m4: don't include <linux/fs.h> (may 8522 1.1 christos need to fix the code on other linux machines). 8523 1.1 christos 8524 1.1 christos * aux/macros/check_mnttab_type.m4 (ac_safe): ditto. 8525 1.1 christos 8526 1.1 christos * aux/macros/check_fs_mntent.m4 (ac_safe): check for nfs3 option 8527 1.1 christos under linux (depends on ac_cv variable, is that a good idea?) 8528 1.1 christos 8529 1.1 christos * added NFSv3 support for linux 8530 1.1 christos 8531 1.1 christos * aux/{configure.in,acconfig.h}: new option ver3 8532 1.1 christos 8533 1.1 christos * aux/macros/mount_headers.m4: commented out inclusion of 8534 1.1 christos linux/fs.h, it's not needed on rh61 (and actually generates 8535 1.1 christos conflicts), we should see if it's still needed on libc5 systems 8536 1.1 christos 8537 1.1 christos * aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS rather than 8538 1.1 christos try to have its own (out of date) list of headers and ifdef's and 8539 1.1 christos ... 8540 1.1 christos 8541 1.1 christos 2000-02-07 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8542 1.1 christos 8543 1.1 christos ******************************************************************* 8544 1.1 christos *** Released am-utils-6.0.3 *** 8545 1.1 christos ******************************************************************* 8546 1.1 christos 8547 1.1 christos 2000-02-06 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8548 1.1 christos 8549 1.1 christos * conf/mount/mount_default.c: dummy empty file to work around a 8550 1.1 christos limitation of automake (it looks for LIBBOBJS in aclocal.m4 and 8551 1.1 christos processes them even if they are optional, enclosed in if/else). 8552 1.1 christos 8553 1.1 christos 2000-01-29 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8554 1.1 christos 8555 1.1 christos * released snapshot am-utils-6.0.3s5 8556 1.1 christos 8557 1.1 christos 2000-01-25 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8558 1.1 christos 8559 1.1 christos * update to use latest version of autoconf, automake, and libtool. 8560 1.1 christos 8561 1.1 christos * aux/GNUmakefile (depcomp): "make update" should also update the 8562 1.1 christos depcomp script. 8563 1.1 christos 8564 1.1 christos * Makefile.am (EXTRA_DIST_AUX): include depcomp in distribution. 8565 1.1 christos 8566 1.1 christos * aux/configure.in: use renamed AC_CHECK_AMU_FS. 8567 1.1 christos 8568 1.1 christos * aux/macros/check_amu_fs.m4: renamed macro name and file name to 8569 1.1 christos say AMU_FS, not AM_FS. 8570 1.1 christos 8571 1.1 christos * aux/acconfig.h: renamed HAVE_AM_FS_* to HAVE_AMU_FS_* because 8572 1.1 christos latest version of autoconf doesn't handle it (bug in 2.14a) 8573 1.1 christos 8574 1.1 christos * aux/configure.in: require version 2.14 of autoconf. 8575 1.1 christos 8576 1.1 christos * amd/mapc.c (mapc_reload_map): more fixes from Nick Williams. 8577 1.1 christos 8578 1.1 christos * doc/am-utils.texi (Automount Filesystem): document type:=auto 8579 1.1 christos map browsability option. 8580 1.1 christos 8581 1.1 christos * amd/mapc.c (make_entry_chain): patch from Steven Danz 8582 1.1 christos <sdanz (a] awc.kc.noaa.gov> to allow browsable auto maps. 8583 1.1 christos 8584 1.1 christos 2000-01-24 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8585 1.1 christos 8586 1.1 christos * released snapshot am-utils-6.0.3s4 8587 1.1 christos 8588 1.1 christos * amd/mapc.c (mapc_reload_map): fixes to sync maps even if they 8589 1.1 christos are set to mapcache:=sync. Fix from Nick Williams 8590 1.1 christos <Nick.Williams (a] msdw.com>. 8591 1.1 christos 8592 1.1 christos 2000-01-20 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8593 1.1 christos 8594 1.1 christos * released snapshot am-utils-6.0.3s3 8595 1.1 christos 8596 1.1 christos * minor port to i386-unknown-netbsd1.4.1 8597 1.1 christos 8598 1.1 christos * amd/nfs_subr.c (nfsproc_getattr_2_svc): patch from Nick Williams 8599 1.1 christos <Nick.Williams (a] msdw.com> to fix (or reduce the incidence of) stale 8600 1.1 christos file handles when doing rapid mounts and umounts in succession 8601 1.1 christos such as "ls /vol/foo ; amq -u /vol/foo ; ls /vol/foo" 8602 1.1 christos 8603 1.1 christos 2000-01-18 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8604 1.1 christos 8605 1.1 christos * minor port to i386-pc-bsdi4.1. 8606 1.1 christos 8607 1.1 christos 2000-01-13 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8608 1.1 christos 8609 1.1 christos * libamu/wire.c (getwire_lookup): pass NULL as conf_file (2nd) 8610 1.1 christos argument to irs_gen_acc(), which was changed in bsdi 4.1. 8611 1.1 christos 8612 1.1 christos 2000-01-12 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8613 1.1 christos 8614 1.1 christos * amd/get_args.c (get_args): don't use MNTTAB_FILE_NAME for 8615 1.1 christos systems with in-kernel mount tables unless this macro is defined 8616 1.1 christos (Solaris 8). 8617 1.1 christos 8618 1.1 christos 2000-01-01 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8619 1.1 christos 8620 1.1 christos * ALL: bump copyright year to 2000. 8621 1.1 christos 8622 1.1 christos 1999-12-16 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8623 1.1 christos 8624 1.1 christos * conf/mount/mount_svr4.c (mount_svr4): optionstr exists on 8625 1.1 christos solaris 7, but should not be used unless MAX_MNTOPT_STR also 8626 1.1 christos exists (solaris 8). 8627 1.1 christos 8628 1.1 christos * doc/am-utils.texi (opts Option): document new mount option: 8629 1.1 christos optionstr. 8630 1.1 christos 8631 1.1 christos Fri Dec 10 01:31:53 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 8632 1.1 christos 8633 1.1 christos * conf/trap/trap_svr4.h (MOUNT_TRAP): Pass mount option string to 8634 1.1 christos mount_svr4(). 8635 1.1 christos (mount_svr4): Adapt prototype. 8636 1.1 christos * conf/mount/mount_svr4.c (mount_svr4): Pass them to kernel so 8637 1.1 christos they are evaluated and show up in Solaris 8 in-kernel mnttab. 8638 1.1 christos 8639 1.1 christos * aux/configure.in: Check for new Solaris 8 MS_OPTIONSTR mount(2) 8640 1.1 christos option. 8641 1.1 christos * aux/acconfig.h (MNT2_GEN_OPT_OPTIONSTR): Provide template. 8642 1.1 christos 8643 1.1 christos 1999-12-10 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8644 1.1 christos 8645 1.1 christos * released snapshot am-utils-6.0.3s2 8646 1.1 christos 8647 1.1 christos 1999-12-09 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8648 1.1 christos 8649 1.1 christos * doc/am-utils.texi (opts Option): document noexec and nomnttab 8650 1.1 christos (new to Solaris 8). 8651 1.1 christos 8652 1.1 christos * Makefile.am (EXTRA_DIST_CONF): include nfs_prot_sunos5_8.h in 8653 1.1 christos distribution. 8654 1.1 christos 8655 1.1 christos * applied fixes from Rainer Orth for Solaris 8. 8656 1.1 christos 8657 1.1 christos * libamu/wire.c (getwire): increment the cp pointer in the loop 8658 1.1 christos body, because the ioctl() inside the "for" loop will overwrite the 8659 1.1 christos ifr structure, thus not detecting all of the interfaces. Bug 8660 1.1 christos reported and fixed by Amitha Perera <perera (a] cs.rpi.edu>. 8661 1.1 christos 8662 1.1 christos Thu Dec 9 19:09:38 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 8663 1.1 christos 8664 1.1 christos * conf/mtab/mtab_svr4.c (unlockmnttab, lockmnttab): No-ops if 8665 1.1 christos MOUNT_TABLE_ON_FILE. 8666 1.1 christos 8667 1.1 christos * amd/get_args.c (get_args): Initialize mnttab_file_name even for 8668 1.1 christos in-kernel mount table. conf/mtab/mtab_svr4.c (read_mtab) depends 8669 1.1 christos on a non-NULL value. 8670 1.1 christos 8671 1.1 christos * amd/info_ldap.c (get_ldap_timestamp): Don't peek into opaque 8672 1.1 christos LDAP structure to get error code, but use it directly. 8673 1.1 christos (amu_ldap_search): Likewise. 8674 1.1 christos 8675 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_7.h: Rip superfluous and wrong 8676 1.1 christos ldap support. 8677 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_8.h: Likewise. 8678 1.1 christos 8679 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_8.h: New file, doesn't typedef 8680 1.1 christos nfsstat, already in <nfs/nfs.h>. 8681 1.1 christos * aux/macros/check_nfs_prot_headers.m4: Use it for all Solaris 8682 1.1 christos versions beyond 7. 8683 1.1 christos Allow for micro versions of SunOS 5.[67]. 8684 1.1 christos 8685 1.1 christos * aux/configure.in: Check for new Solaris 8 Beta Refresh 8686 1.1 christos MS_NOMNTTAB mount(2) option. 8687 1.1 christos * aux/macros/check_mnttab_location.m4: Use it to test for 8688 1.1 christos mntfs-based in-kernel mnttab. 8689 1.1 christos 8690 1.1 christos * aux/macros/os_cflags.m4: Treat Solaris 8 and higher like 2.6/7. 8691 1.1 christos 8692 1.1 christos * aux/macros/check_fs_headers.m4: Revert test for duplicate 8693 1.1 christos objects. 8694 1.1 christos * aux/macros/check_fs_mntent.m4: Likewise 8695 1.1 christos 8696 1.1 christos * aux/macros/HEADER: Fixed typo. 8697 1.1 christos 8698 1.1 christos * include/am_defs.h: Likewise. 8699 1.1 christos 8700 1.1 christos 1999-12-01 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8701 1.1 christos 8702 1.1 christos * aux/macros/*.m4: prepare for hpux-12 (assume same as hpux-11) 8703 1.1 christos 8704 1.1 christos 1999-11-16 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8705 1.1 christos 8706 1.1 christos * BUGS: document glibc-2.1 nis file descriptor leak in yp_bind. 8707 1.1 christos 8708 1.1 christos * amd/info_ldap.c (string2he): updated function which does not 8709 1.1 christos corrupt strings when called more than once. Patch from 8710 1.1 christos JOHANN.PFEFFERL.JP (a] germany.agfa.com. 8711 1.1 christos 8712 1.1 christos 1999-11-15 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8713 1.1 christos 8714 1.1 christos * MIRRORS (Asia): two new mirrors in Japan. 8715 1.1 christos 8716 1.1 christos 1999-11-10 Erez Zadok <ezk (a] kosh.cs.columbia.edu> 8717 1.1 christos 8718 1.1 christos * doc/am-utils.texi: document new variables for ${uid} and ${gid}. 8719 1.1 christos 8720 1.1 christos * amd/nfs_subr.c (nfsproc_lookup_2_svc): find the uid/gid of the 8721 1.1 christos last lookup from the RPC credentials. 8722 1.1 christos 8723 1.1 christos * aux/configure.in: upped version-info to 4:0:2 because I've added 8724 1.1 christos a new interface to libamu. 8725 1.1 christos 8726 1.1 christos * libamu/misc_rpc.c (getcreds): moved function from hlfsd to here, 8727 1.1 christos so it can be used by amd. 8728 1.1 christos 8729 1.1 christos * amd/opts.c: new variables ${uid} and ${gid}. 8730 1.1 christos 8731 1.1 christos 1999-10-15 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8732 1.1 christos 8733 1.1 christos * scripts/ctl-amd.in: add "status" command that tells you if amd 8734 1.1 christos is running on not (same output as RedHat scripts). 8735 1.1 christos Added start_msg and stop_msg targets as they are used on HPUX. 8736 1.1 christos reported by Jon Peatfield <J.S.Peatfield (a] damtp.cam.ac.uk>. 8737 1.1 christos 8738 1.1 christos 1999-10-13 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8739 1.1 christos 8740 1.1 christos * released snapshot am-utils-6.0.3s1 8741 1.1 christos 8742 1.1 christos 1999-10-12 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8743 1.1 christos 8744 1.1 christos * amd/amd.c (main): On AIX you must lower the stack size using 8745 1.1 christos ulimit() before calling plock. Otherwise plock will reserve a lot 8746 1.1 christos of memory space based on your maximum stack size limit. Since it 8747 1.1 christos is not easily possible to tell what should the limit be, I print a 8748 1.1 christos warning before calling plock(). See the manual pages for 8749 1.1 christos ulimit(1,3,4) on your AIX system. 8750 1.1 christos 8751 1.1 christos * include/am_defs.h: define default extern for vsnprintf() 8752 1.1 christos 8753 1.1 christos * aux/configure.in: check for extern definition for vsnprintf() 8754 1.1 christos 8755 1.1 christos 1999-10-08 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8756 1.1 christos 8757 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): patch from Nick Williams 8758 1.1 christos <njw (a] ms.com>. SYMPTOMS: 'occasionally' sublinks do not point to 8759 1.1 christos the correct location, but to the top level of the mountpoint and 8760 1.1 christos an (error-hook) is seen being mounted in the log file. This causes 8761 1.1 christos things to Go Wrong(TM). 8762 1.1 christos CAUSE: When evaluating two locations which are requested 8763 1.1 christos 'practically simultaneously', and the two locations resolve to the 8764 1.1 christos same NFS mountpoint (but different sublinks), the later request 8765 1.1 christos will be "deferred" and retried after wakeup when the first mount 8766 1.1 christos succeeds. To do this, it rewinds the options location string to 8767 1.1 christos re-evaluate the location when the mount is retried. However, it 8768 1.1 christos shouldn't rewind the options for two reasons: (a) the semantics of 8769 1.1 christos the map language say you shouldn't and (b) the NFS mount reference 8770 1.1 christos is not reset at the same time, meaning that on the retry it will 8771 1.1 christos have an options structure out-of-sync with the mount 8772 1.1 christos structure. The "shortcut" code when retrying the mount sees the 8773 1.1 christos mount structure is already filled in and does not fully evaluate 8774 1.1 christos the options structure.... so if the first location is not the one 8775 1.1 christos which ties in with the mountpoint (see ordering in the 8776 1.1 christos recreate-by), you're now well messed up. 8777 1.1 christos 8778 1.1 christos * BUGS: mention aix4.3 plock() bug (memory usage blows up and 8779 1.1 christos plock fails) 8780 1.1 christos 8781 1.1 christos 1999-10-07 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8782 1.1 christos 8783 1.1 christos * aux/GNUmakefile: certain files should be copied if they are 8784 1.1 christos newer, not also if they are bigger: install-sh, ltconfig, 8785 1.1 christos ltmain.sh, mdate-sh, missing, mkinstalldirs, and texinfo.tex. 8786 1.1 christos 8787 1.1 christos * minor new port: i586-pc-linux-gnu-rh6.1 (RedHat Linux 6.1) 8788 1.1 christos 8789 1.1 christos 1999-10-05 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8790 1.1 christos 8791 1.1 christos * aux/macros/check_nfs_prot_headers.m4: prepare for OSF-5. 8792 1.1 christos 8793 1.1 christos * aux/macros/check_nfs_fh_dref.m4: prepare for Tru64, aka OSF-5. 8794 1.1 christos 8795 1.1 christos 1999-09-30 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8796 1.1 christos 8797 1.1 christos ******************************************************************* 8798 1.1 christos *** Released am-utils-6.0.2 *** 8799 1.1 christos ******************************************************************* 8800 1.1 christos 8801 1.1 christos 1999-09-27 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8802 1.1 christos 8803 1.1 christos * conf/mount/mount_linux.c (mount_linux): print the updated mount 8804 1.1 christos flags. 8805 1.1 christos 8806 1.1 christos * doc/am-utils.texi: document $full_os and $vendor. 8807 1.1 christos 8808 1.1 christos * scripts/amd.conf-sample: examples of $full_os and $vendor. 8809 1.1 christos 8810 1.1 christos * scripts/amd.conf.5: document $full_os and $vendor. 8811 1.1 christos 8812 1.1 christos * amd/conf.c: add support for $full_os and $vendor. 8813 1.1 christos 8814 1.1 christos 1999-09-26 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8815 1.1 christos 8816 1.1 christos * doc/am-utils.texi (netgrp Selector Function): don't give 8817 1.1 christos examples with old single '=' assignment variable. Use foo:=bar. 8818 1.1 christos 8819 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): corectly indent long 8820 1.1 christos comment describing this complex function. 8821 1.1 christos 8822 1.1 christos * doc/Makefile.am (alldocs): do install-ps last (because distiller 8823 1.1 christos is slow) and install-html next to last (because texi2html is also 8824 1.1 christos slow). 8825 1.1 christos 8826 1.1 christos * amd/amd.8: Major fixes to the description of the option -t 8827 1.1 christos timeout.retransmit. 8828 1.1 christos 8829 1.1 christos * doc/am-utils.texi: better description of "trace" debug option. 8830 1.1 christos amd -H (not -v) shows log_options and debug_options. Major fixes 8831 1.1 christos to the description of amd -t timeout.retransmit, and the amd.conf 8832 1.1 christos parameters nfs_retransmit_counter and nfs_retry_interval. 8833 1.1 christos 8834 1.1 christos * scripts/amd.conf.5: better description of "trace" debug option. 8835 1.1 christos amd -H (not -v) shows log_options and debug_options. Major fixes 8836 1.1 christos to the description of the parameters nfs_retransmit_counter and 8837 1.1 christos nfs_retry_interval. 8838 1.1 christos 8839 1.1 christos 1999-09-25 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8840 1.1 christos 8841 1.1 christos * doc/am-utils.texi (Automount Filesystem): cache:= is not a mount 8842 1.1 christos option, but a mount map option. 8843 1.1 christos 8844 1.1 christos * libamu/xutil.c (switch_to_logfile): log the name of the log file 8845 1.1 christos we switched into, after the log file had been [re]opened. 8846 1.1 christos 8847 1.1 christos 1999-09-24 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8848 1.1 christos 8849 1.1 christos * amd/mapc.c (mapc_reload_map): count and show the number of times 8850 1.1 christos a map was reloaded. Only reload a map if its modify-time was 8851 1.1 christos updated. But amq -f forced a reload no matter what. 8852 1.1 christos 8853 1.1 christos * amd/amd.h: new flag to struct mnt_map to count number of times a 8854 1.1 christos map was reloaded. 8855 1.1 christos 8856 1.1 christos * amd/mapc.c (mapc_reload_map): attempt to reload the map without 8857 1.1 christos losing current data by reloading into a temp copy, and switching 8858 1.1 christos the hashes round only if the reload was successful. Patch from Jon 8859 1.1 christos Peatfield <J.S.Peatfield (a] damtp.cam.ac.uk>. 8860 1.1 christos (mapc_sync): mapc_reload_map() always succeeds. 8861 1.1 christos 8862 1.1 christos 1999-09-22 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8863 1.1 christos 8864 1.1 christos * amd/info_ldap.c (amu_ldap_rebind): don't busy-loop trying to 8865 1.1 christos rebind to an LDAP server forever. Try up to 10 times. 8866 1.1 christos 8867 1.1 christos * fsinfo/fsi_lex.l (yyerror): rework code that will never happen 8868 1.1 christos 8869 1.1 christos * released snapshot am-utils-6.0.2s2 8870 1.1 christos 8871 1.1 christos * aux/configure.in: bumped library version-info to 3:2:1, since 8872 1.1 christos some libamu code got changed. 8873 1.1 christos 8874 1.1 christos * libamu/xutil.c (real_plog): use vsnprintf, not vsprintf, which 8875 1.1 christos is better and more secure. Fix from "David O'Brien" 8876 1.1 christos <obrien (a] NUXI.com>. 8877 1.1 christos 8878 1.1 christos * aux/configure.in: check for vsnprintf. 8879 1.1 christos 8880 1.1 christos 1999-09-21 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8881 1.1 christos 8882 1.1 christos * aux/macros/linux_headers.m4: use AC_MSG_ERROR. 8883 1.1 christos 8884 1.1 christos * aux/macros/opt_{cppflags,ldflags,libs,amu_cflags}.m4: the ARG is 8885 1.1 christos not optional. Make sure ARG is supplied else flag an error. 8886 1.1 christos 8887 1.1 christos 1999-09-18 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8888 1.1 christos 8889 1.1 christos * minor port i386-unknown-freebsdelf3.3 8890 1.1 christos 8891 1.1 christos * released snapshot am-utils-6.0.2s1 8892 1.1 christos 8893 1.1 christos 1999-09-17 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8894 1.1 christos 8895 1.1 christos * aux/configure.in (AC_CHECK_FUNCS): check for getitimer(). 8896 1.1 christos 8897 1.1 christos * include/am_defs.h: extern definition for getitimer(). 8898 1.1 christos 8899 1.1 christos * aux/configure.in: use AC_CHECK_EXTERNS. Look for getitimer() 8900 1.1 christos extern. 8901 1.1 christos 8902 1.1 christos * aux/macros/check_extern.m4: define a simple AC_CHECK_EXTERNS 8903 1.1 christos that calls AC_CHECK_EXTERN in a loop. This saves repeated code in 8904 1.1 christos configure. 8905 1.1 christos 8906 1.1 christos * aux/macros/type_auth_create_gidlist.m4: AIX 4.x systems use 8907 1.1 christos 'int' as the 5th arg to authunix_create(). 8908 1.1 christos 8909 1.1 christos * aux/macros/type_recvfrom_fromlen.m4: all AIX 4.x systems use a 8910 1.1 christos size_t for the 6th arg of recvfrom(). 8911 1.1 christos 8912 1.1 christos * aux/macros/os_cflags.m4: define _XOPEN_EXTENDED_SOURCE for 8913 1.1 christos aix4.x systems. 8914 1.1 christos 8915 1.1 christos * libamu/mount_fs.c (print_nfs_args): cast some values to int, to 8916 1.1 christos avoid gcc -Wall errors. 8917 1.1 christos 8918 1.1 christos * scripts/expn.in: use sockaddr_in(), not pack() to correctly fill 8919 1.1 christos in a struct sockaddr_in. On Solaris x86 hosts, using pack() 8920 1.1 christos results in byte-misaligned values. Bug fix from Jeffrey C Honig 8921 1.1 christos <jch (a] BSDI.COM>. 8922 1.1 christos 8923 1.1 christos * libamu/mount_fs.c (compute_automounter_mount_flags): turn on 8924 1.1 christos automntfs (ignore on bsdi-4.1) flag. 8925 1.1 christos (compute_automounter_nfs_args): ditto. 8926 1.1 christos 8927 1.1 christos * aux/acconfig.h: add new flag for automntfs (ignore) 8928 1.1 christos 8929 1.1 christos * aux/configure.in: check for new automntfs flag (bsdi-4.1). 8930 1.1 christos 8931 1.1 christos 1999-09-14 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8932 1.1 christos 8933 1.1 christos * MIRRORS: added new site in Germany. Updated status of umn.edu 8934 1.1 christos and ferginc.com, who may no longer be mirroring am-utils. 8935 1.1 christos 8936 1.1 christos 1999-09-08 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8937 1.1 christos 8938 1.1 christos ******************************************************************* 8939 1.1 christos *** Released am-utils-6.0.1 *** 8940 1.1 christos ******************************************************************* 8941 1.1 christos 8942 1.1 christos 1999-09-08 Erez Zadok <ezk (a] cs.columbia.edu> 8943 1.1 christos 8944 1.1 christos * aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct 8945 1.1 christos netexport defined. 8946 1.1 christos 8947 1.1 christos * aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and 8948 1.1 christos struct netexport defined. 8949 1.1 christos 8950 1.1 christos 1999-09-07 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8951 1.1 christos 8952 1.1 christos * aux/macros/check_field.m4 (ac_upcase_var_name): include 8953 1.1 christos <ifaddrs.h> so we can detect fields within struct ifaddrs. 8954 1.1 christos 8955 1.1 christos * libamu/wire.c (getwire): bsdi-2.1 uses a second arg to 8956 1.1 christos getifaddrs() and struct ifaddrs has no ifa_next field. 8957 1.1 christos 8958 1.1 christos * aux/configure.in: check if 'struct ifaddrs' has a field 8959 1.1 christos ifa_next. 8960 1.1 christos 8961 1.1 christos * include/amq_defs.h (AMQ_STRLEN): double size of amq string 8962 1.1 christos length to 2048 bytes. 8963 1.1 christos 8964 1.1 christos * conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs 8965 1.1 christos header files and ufs/ufs/ufsmount.h. Bug reported by <Christos 8966 1.1 christos Zoulas> christos (a] zoulas.com. 8967 1.1 christos 8968 1.1 christos * aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>. 8969 1.1 christos Bug reported by <Christos Zoulas> christos (a] zoulas.com. 8970 1.1 christos 8971 1.1 christos * aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h> 8972 1.1 christos 8973 1.1 christos 1999-09-06 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8974 1.1 christos 8975 1.1 christos * libamu/xutil.c (expand_error): use strerror if available instead 8976 1.1 christos of sys_errlist. Bug reported by <Christos Zoulas> 8977 1.1 christos christos (a] zoulas.com. 8978 1.1 christos 8979 1.1 christos * hlfsd/hlfsd.c (fatal): use strerror if available instead of 8980 1.1 christos sys_errlist. 8981 1.1 christos 8982 1.1 christos * amq/amq.c (show_mi): use strerror if available instead of 8983 1.1 christos sys_errlist. 8984 1.1 christos 8985 1.1 christos * aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4 8986 1.1 christos nfs_prot header is used for any future (1.5 etc.) netbsd systems. 8987 1.1 christos 8988 1.1 christos * amq/pawd.c (find_mt): check for type nfsl as well. Fix from 8989 1.1 christos "Andrew J. Korty" <ajk (a] purdue.edu> 8990 1.1 christos 8991 1.1 christos 1999-08-29 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 8992 1.1 christos 8993 1.1 christos * doc/am-utils.texi (Supported Platforms): updates for redhat 8994 1.1 christos systems. 8995 1.1 christos 8996 1.1 christos * INSTALL: updates for redhat systems. 8997 1.1 christos 8998 1.1 christos * libamu/wire.c (getwire_lookup): spell "succeeded" correctly 8999 1.1 christos 9000 1.1 christos 1999-08-28 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9001 1.1 christos 9002 1.1 christos * scripts/ctl-amd.in: sleep 1 second between killing amd and 9003 1.1 christos restarting it, because amq may respond that amd is down, where in 9004 1.1 christos fact it is still trying to unmount itself after unmapping itself 9005 1.1 christos from the portmapper. 9006 1.1 christos 9007 1.1 christos * aux/config.guess.long: new script to print long version of 9008 1.1 christos config.guess output. 9009 1.1 christos 9010 1.1 christos * buildall (host_alias): use long version of config.guess. 9011 1.1 christos 9012 1.1 christos 1999-08-27 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9013 1.1 christos 9014 1.1 christos * scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop 9015 1.1 christos scripts. 9016 1.1 christos 9017 1.1 christos 1999-08-24 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9018 1.1 christos 9019 1.1 christos * released snapshot am-utils-6.0.1s11 9020 1.1 christos 9021 1.1 christos * libamu/xutil.c (expand_error): make sure expanding the string 9022 1.1 christos with textual version of errno doesn't overrun the 1024 bytes 9023 1.1 christos buffer. 9024 1.1 christos (real_plog): null terminate msg, just in case. 9025 1.1 christos 9026 1.1 christos * amq/amq.c (main): don't getopt -M option and don't process it 9027 1.1 christos unless ENABLE_AMQ_MOUNT is on. 9028 1.1 christos 9029 1.1 christos * amd/amq_svc.c (amq_program_1): all code that relates to amq -M 9030 1.1 christos is conditional on #ifdef ENABLE_AMQ_MOUNT. 9031 1.1 christos 9032 1.1 christos * amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked 9033 1.1 christos when amq -M code is disabled. Not taking any chances. 9034 1.1 christos 9035 1.1 christos 1999-08-23 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9036 1.1 christos 9037 1.1 christos * released snapshot am-utils-6.0.1s10 9038 1.1 christos 9039 1.1 christos Sun Aug 22 16:18:59 1999 Erez Zadok <ezk (a] subzero.cs.columbia.edu> 9040 1.1 christos 9041 1.1 christos * libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on 9042 1.1 christos 128.59.16.0), try to shift the network out of zeros (e.g., 9043 1.1 christos 128.59.16) and try again. Irix 6.4 requires short network 9044 1.1 christos numbers. 9045 1.1 christos 9046 1.1 christos 1999-08-22 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9047 1.1 christos 9048 1.1 christos * libamu/wire.c (getwire_lookup): correctly compute subnet using 9049 1.1 christos netmask. 9050 1.1 christos 9051 1.1 christos * libamu/mount_fs.c (compute_automounter_nfs_args): require that 9052 1.1 christos Amd's own NFS mounts use reserved ports (if possible). IP packet 9053 1.1 christos security fix from Jeffrey C Honig <jch (a] BSDI.COM>. 9054 1.1 christos 9055 1.1 christos * conf/transp/transp_tli.c (create_autofs_service): use correct 9056 1.1 christos autofs_port. IP packet security fix from Jeffrey C Honig 9057 1.1 christos <jch (a] BSDI.COM>. 9058 1.1 christos 9059 1.1 christos * conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary 9060 1.1 christos function. IP packet security fix from Jeffrey C Honig 9061 1.1 christos <jch (a] BSDI.COM>. 9062 1.1 christos (create_nfs_service): use bind_resv_port() directly. ensure that 9063 1.1 christos privileged ports are used. IP packet security fix from Jeffrey C 9064 1.1 christos Honig <jch (a] BSDI.COM>. 9065 1.1 christos 9066 1.1 christos * amd/nfs_prot_svc.c (nfs_program_2): verify that requests come 9067 1.1 christos from reserved ports and from a local IP address. IP packet 9068 1.1 christos security fix from Jeffrey C Honig <jch (a] BSDI.COM>. 9069 1.1 christos 9070 1.1 christos * amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of 9071 1.1 christos hard-coded 1024. IP packet security fix from Jeffrey C Honig 9072 1.1 christos <jch (a] BSDI.COM>. 9073 1.1 christos (amqproc_mount_1_svc): provide information on the caller making an 9074 1.1 christos amq -M request. IP packet security fix from Jeffrey C Honig 9075 1.1 christos <jch (a] BSDI.COM>. 9076 1.1 christos 9077 1.1 christos * amd/map.c (free_map_if_success): If the program doing an unmount 9078 1.1 christos of a program filesystem fails, amd tries to interpret the return 9079 1.1 christos code as an errno. Fix from Jeffrey C Honig <jch (a] BSDI.COM>. 9080 1.1 christos 9081 1.1 christos * amd/info_nis.c (determine_nis_domain): don't always print 9082 1.1 christos warning about NIS domain name not being set, even if NIS is not in 9083 1.1 christos use. 9084 1.1 christos 9085 1.1 christos 1999-08-21 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9086 1.1 christos 9087 1.1 christos * amd/info_ldap.c (get_ldap_timestamp): initialize variable err. 9088 1.1 christos (amu_ldap_search): initialize variable err. 9089 1.1 christos 9090 1.1 christos 1999-08-16 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9091 1.1 christos 9092 1.1 christos * libamu/wire.c: written using getifaddrs() for BSD systems, 9093 1.1 christos contributed by BSDI, Jeffrey C Honig <jch (a] BSDI.COM>). 9094 1.1 christos 9095 1.1 christos 1999-08-15 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9096 1.1 christos 9097 1.1 christos * include/am_utils.h (SALLOC): a simple macro to allocate N bytes. 9098 1.1 christos 9099 1.1 christos * aux/configure.in: check for irs.h and ifaddrs.h. 9100 1.1 christos Increase libamu.so --version-info to 3:1:1 since we've changed the 9101 1.1 christos source code for the library. 9102 1.1 christos Check for getifaddrs() function. 9103 1.1 christos 9104 1.1 christos 1999-08-14 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9105 1.1 christos 9106 1.1 christos * libamu/mount_fs.c (print_nfs_args): print fields namlen and 9107 1.1 christos bsize if they exist. 9108 1.1 christos 9109 1.1 christos * conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen 9110 1.1 christos and ->bsize fields correctly, if those fields exist. This is a 9111 1.1 christos bug in that amd neglected to set these fields, but told the 9112 1.1 christos kernel it is mounting the nfs_args_t structure using mount version 9113 1.1 christos 3 (which requires both bsize and namlen fields). 9114 1.1 christos 9115 1.1 christos * aux/configure.in: test for two new nfs_args_t fields (used on 9116 1.1 christos newer linux with mount versions 2 and 3): bsize and namlen. 9117 1.1 christos 9118 1.1 christos * doc/am-utils.texi (netgrpd Selector Function): document new 9119 1.1 christos selector function. 9120 1.1 christos 9121 1.1 christos * amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to 9122 1.1 christos test if the current host (fully-qualified name) is in the ARG host 9123 1.1 christos netgroup. The netgrp() function uses the short form of a host 9124 1.1 christos name. Patch from Christophe Kalt <Christophe-Kalt (a] deshaw.com>. 9125 1.1 christos 9126 1.1 christos * doc/am-utils.texi (automount2amd): document new script. 9127 1.1 christos 9128 1.1 christos * scripts/Makefile.am: create, install, and distribute 9129 1.1 christos automount2amd perl script and its man page. 9130 1.1 christos 9131 1.1 christos * scripts/automount2amd.8: new man page for automount2amd. 9132 1.1 christos 9133 1.1 christos * scripts/automount2amd.in: new file, contributed a in 1993 by 9134 1.1 christos Mike Walker <mike (a] tab00.larc.nasa.gov>. Fixed to use addopts for 9135 1.1 christos any automount map options specified. 9136 1.1 christos 9137 1.1 christos 1999-08-09 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9138 1.1 christos 9139 1.1 christos * released snapshot am-utils-6.0.1s9 9140 1.1 christos 9141 1.1 christos 1999-08-09 Erez Zadok <ezk (a] beetle.mcl.cs.columbia.edu> 9142 1.1 christos 9143 1.1 christos * amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to 9144 1.1 christos 1. 9145 1.1 christos (amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0. 9146 1.1 christos (amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of 9147 1.1 christos (u_int)~0. 9148 1.1 christos 9149 1.1 christos * amd/mapc.c (make_entry_chain): NFS cookies should be 9150 1.1 christos monotonically increasing, because Linux 2.3 expects that, even 9151 1.1 christos though it is not in the spec (RFC-1094) for NFS V2. 9152 1.1 christos 9153 1.1 christos 1999-08-06 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9154 1.1 christos 9155 1.1 christos * aux/macros/check_lib_funcs.m4: removed unused macro. 9156 1.1 christos 9157 1.1 christos * aux/macros/linux_headers.m4: new macro to ensure that linux 9158 1.1 christos kernel headers match running kernel version. 9159 1.1 christos 9160 1.1 christos * aux/acconfig.h: define HOST_HEADER_VERSION so we can check if 9161 1.1 christos amd is configured on linux hosts that run one kernel but have 9162 1.1 christos headers for a different version. 9163 1.1 christos 9164 1.1 christos * amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the 9165 1.1 christos logic which uses nis_isup and has_yp_order. Make sure it is used 9166 1.1 christos correctly , esp. for NIS+ in NIS-compatibility mode. Bug fix from 9167 1.1 christos Peter Breitenlohner <peb (a] mppmu.mpg.de>. 9168 1.1 christos 9169 1.1 christos * include/am_defs.h: fix conflicts on linux 2.2 systems with older 9170 1.1 christos libc5. Bug fix from Peter Breitenlohner <peb (a] mppmu.mpg.de>. 9171 1.1 christos 9172 1.1 christos * scripts/lostaltmail.in: use sockaddr_in(), not pack() to 9173 1.1 christos correctly fill in a struct sockaddr_in. On Solaris x86 hosts, 9174 1.1 christos using pack() results in byte-misaligned values. 9175 1.1 christos 9176 1.1 christos 1999-08-02 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9177 1.1 christos 9178 1.1 christos * conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3 9179 1.1 christos mounting, as per Dale Talcott <aeh (a] quest.cc.purdue.edu>. Also use 9180 1.1 christos better macros for case statement. 9181 1.1 christos 9182 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures 9183 1.1 christos unless ldap is actually available. 9184 1.1 christos 9185 1.1 christos * use updated config.guess and config.sub. Use newer automake 9186 1.1 christos that fixes problems with distributing optional libamu files 9187 1.1 christos (clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c, 9188 1.1 christos and ualarm.c) 9189 1.1 christos 9190 1.1 christos 1999-07-19 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9191 1.1 christos 9192 1.1 christos * minor port i386-unknown-openbsd2.5 9193 1.1 christos 9194 1.1 christos 1999-07-17 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9195 1.1 christos 9196 1.1 christos * minor ports to freebsdelf 3.[0-2] and 4.0 completed 9197 1.1 christos 9198 1.1 christos * aux/macros/check_nfs_prot_headers.m4: support freebsdelf 9199 1.1 christos 9200 1.1 christos * aux/macros/check_nfs_socket_connection.m4: support freebsdelf 9201 1.1 christos 9202 1.1 christos 1999-06-24 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9203 1.1 christos 9204 1.1 christos * released snapshot am-utils-6.0.1s8 9205 1.1 christos 9206 1.1 christos 1999-06-23 Erez Zadok <ezk (a] beetle.mcl.cs.columbia.edu> 9207 1.1 christos 9208 1.1 christos * include/am_defs.h: avoid various header conflicts on 9209 1.1 christos RedHat/Linux 6.0 and kernels 2.2.10 or newer. 9210 1.1 christos 9211 1.1 christos * aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and 9212 1.1 christos kernel 2.2.10) 9213 1.1 christos 9214 1.1 christos * amd/amfs_program.c (amfs_program_exec): make sure logfp is 9215 1.1 christos initialized dynamically to stderr if needed. 9216 1.1 christos 9217 1.1 christos * libamu/xutil.c (dplog): make sure logfp is initialized 9218 1.1 christos dynamically to stderr if needed. 9219 1.1 christos (plog): ditto. 9220 1.1 christos 9221 1.1 christos * amd/amfs_program.c (amfs_program_exec): set logfp to stderr if 9222 1.1 christos not initialized. 9223 1.1 christos 9224 1.1 christos * libamu/xutil.c: don't initialize logfp statically to stderr, 9225 1.1 christos because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer 9226 1.1 christos be manipulated like a variable. 9227 1.1 christos 9228 1.1 christos * include/am_defs.h: avoid more conflicts between <linux/fs.h> and 9229 1.1 christos <sys/mount.h> on 2.2 linux kernels. 9230 1.1 christos include <db1/ndbm.h> as needed (RedHat/Linux 6.0) 9231 1.1 christos 9232 1.1 christos 1999-04-20 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9233 1.1 christos 9234 1.1 christos * all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS) 9235 1.1 christos 9236 1.1 christos * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER): 9237 1.1 christos renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake 9238 1.1 christos won't attempt to add it to the header files to distribute. 9239 1.1 christos 9240 1.1 christos 1999-04-19 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9241 1.1 christos 9242 1.1 christos * aux/GNUmakefile: invoke aclocal with new --altdir flag. 9243 1.1 christos 9244 1.1 christos 1999-04-16 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9245 1.1 christos 9246 1.1 christos * minor new port: i386-unknown-netbsd1.4 (ALPHA) 9247 1.1 christos 9248 1.1 christos * aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h> 9249 1.1 christos and <isofs/cd9660/cd9660_mount.h> because they are also included 9250 1.1 christos from MOUNT_HEADERS. Causes multiple inclusion of unprotected 9251 1.1 christos headers on netbsd-1.4_ALPHA. 9252 1.1 christos 9253 1.1 christos 1999-04-15 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9254 1.1 christos 9255 1.1 christos * aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's 9256 1.1 christos sys_errlist extern doesn't end with []. 9257 1.1 christos 9258 1.1 christos * aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support. 9259 1.1 christos 9260 1.1 christos 1999-04-11 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9261 1.1 christos 9262 1.1 christos * newer automake wants texinfo.tex to be in aux/ not doc/ 9263 1.1 christos 9264 1.1 christos 1999-03-30 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9265 1.1 christos 9266 1.1 christos * amd/conf_parse.y: alloca support. 9267 1.1 christos 9268 1.1 christos * fsinfo/fsi_gram.y: alloca support. 9269 1.1 christos 9270 1.1 christos * libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if 9271 1.1 christos needed. 9272 1.1 christos 9273 1.1 christos * aux/configure.in: test for alloca support. Needed because bison 9274 1.1 christos generates parsers that use alloca, and hpux9 does have alloca and 9275 1.1 christos its /bin/cc doesn't support it builtin (the way gcc does). 9276 1.1 christos 9277 1.1 christos * libamu/alloca.c: new file, needed on hpux9 with /bin/cc. Taken 9278 1.1 christos verbatim from bison-1.25. 9279 1.1 christos 9280 1.1 christos * include/am_defs.h: fixed typo #errir -> #error 9281 1.1 christos 9282 1.1 christos * released snapshot am-utils-6.0.1s7 9283 1.1 christos 9284 1.1 christos * README.y2k: more information about am-utils' compatibility, from 9285 1.1 christos Paul Balyoz <pbalyoz (a] sedona.ch.intel.com>. 9286 1.1 christos 9287 1.1 christos * scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K 9288 1.1 christos compliant format. Patch from Paul Balyoz 9289 1.1 christos <pbalyoz (a] sedona.ch.intel.com> 9290 1.1 christos 9291 1.1 christos * doc/am-utils.texi (Supported Platforms): hpux10.20 could have 9292 1.1 christos nfs v.3 support (with some vendor patches), but it is turned off. 9293 1.1 christos 9294 1.1 christos * aux/macros/os_cflags.m4: use ansi compiler options on hpux. 9295 1.1 christos 9296 1.1 christos * conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid 9297 1.1 christos confusing am-utils. 10.20 with some patches has incomplete 9298 1.1 christos support. Patch from Jon Peatfield 9299 1.1 christos <J.S.Peatfield (a] damtp.cam.ac.uk>. 9300 1.1 christos 9301 1.1 christos 1999-03-24 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9302 1.1 christos 9303 1.1 christos * minor port i386-pc-bsdi4.0.1 9304 1.1 christos 9305 1.1 christos 1999-03-20 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9306 1.1 christos 9307 1.1 christos * doc/am-utils.texi (Supported Platforms): add forgotten listing 9308 1.1 christos for powerpc-linux. 9309 1.1 christos 9310 1.1 christos 1999-03-18 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9311 1.1 christos 9312 1.1 christos * scripts/amd.conf.5: fix typo. From Jeffrey C Honig 9313 1.1 christos <jch (a] BSDI.COM>. 9314 1.1 christos 9315 1.1 christos * doc/am-utils.texi: document iso9660 options norrip, gens, and 9316 1.1 christos extatt. 9317 1.1 christos (opts Option): documented dumbtimr and noauto options. From 9318 1.1 christos Jeffrey C Honig <jch (a] BSDI.COM>. 9319 1.1 christos 9320 1.1 christos * include/am_compat.h: define default strings for options norrip, 9321 1.1 christos gens, and extatt. 9322 1.1 christos 9323 1.1 christos * amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and 9324 1.1 christos extatt. 9325 1.1 christos 9326 1.1 christos * aux/macros/mount_headers.m4: also include 9327 1.1 christos <isofs/cd9660/cd9660_mount.h> as needed. 9328 1.1 christos 9329 1.1 christos * aux/configure.in: check for isofs mount options for bsdi4: 9330 1.1 christos norrip, gens, and extatt. Reported by Jeffrey C Honig 9331 1.1 christos <jch (a] BSDI.COM>. 9332 1.1 christos 9333 1.1 christos * aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags 9334 1.1 christos (bsdi4). 9335 1.1 christos 9336 1.1 christos 1999-03-17 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9337 1.1 christos 9338 1.1 christos * conf/nfs_prot/nfs_prot_freebsd3.h: ditto. 9339 1.1 christos 9340 1.1 christos * conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>, 9341 1.1 christos for bsdi4, as per Jeffrey C Honig <jch (a] BSDI.COM>. 9342 1.1 christos 9343 1.1 christos 1999-03-15 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9344 1.1 christos 9345 1.1 christos * get latest copies of config.guess, config.sub, ltconfig, and 9346 1.1 christos ltmain.sh from libtool-1.2f. 9347 1.1 christos 9348 1.1 christos * all Makefile.am: don't use continuation lines (using \) for 9349 1.1 christos short lists of files. 9350 1.1 christos 9351 1.1 christos * libamu/Makefile.am (DISTCLEANFILES): make distclean should 9352 1.1 christos remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c. 9353 1.1 christos Reported by Jeffrey C Honig <jch (a] BSDI.COM>. 9354 1.1 christos 9355 1.1 christos * fixmount/Makefile.am (DISTCLEANFILES): make distclean should 9356 1.1 christos remove checkmount.c. Reported by Jeffrey C Honig <jch (a] BSDI.COM>. 9357 1.1 christos 9358 1.1 christos * Makefile.am (DISTCLEANFILES): make distclean should remove 9359 1.1 christos amu_nfs_prot.h, config.cache.old, and dbgcf.h. Reported by 9360 1.1 christos Jeffrey C Honig <jch (a] BSDI.COM>. 9361 1.1 christos 9362 1.1 christos 1999-03-13 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9363 1.1 christos 9364 1.1 christos * released snapshot am-utils-6.0.1s6 9365 1.1 christos 9366 1.1 christos 1999-03-12 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9367 1.1 christos 9368 1.1 christos * INSTALL: document freebsdelf. 9369 1.1 christos 9370 1.1 christos * doc/am-utils.texi (Supported Platforms): document freebsdelf. 9371 1.1 christos 9372 1.1 christos 1999-03-08 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9373 1.1 christos 9374 1.1 christos * minor new ports: i386-unknown-freebsdelf3.1 and 9375 1.1 christos i386-unknown-freebsdelf4.0 9376 1.1 christos 9377 1.1 christos * aux/macros/check_nfs_prot_headers.m4: freebsd4 support. 9378 1.1 christos 9379 1.1 christos * aux/macros/check_nfs_socket_connection.m4: freebsd4 support. 9380 1.1 christos 9381 1.1 christos * aux/macros/check_nfs_fh_dref.m4: freebsd4 support. 9382 1.1 christos 9383 1.1 christos * amd/opts.c (eval_opts): changed log level of "executing 9384 1.1 christos negated..." message from USER to INFO, as per Guntram Wolski 9385 1.1 christos <gwolsk (a] sei.com>. 9386 1.1 christos 9387 1.1 christos 1999-02-17 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9388 1.1 christos 9389 1.1 christos * */Makefile.am (LDADD): force linking against an installed 9390 1.1 christos libamu.{a,so}. 9391 1.1 christos 9392 1.1 christos * doc/am-utils.texi (addopts Option): document remopts interaction 9393 1.1 christos with addopts. 9394 1.1 christos 9395 1.1 christos * amd/am_ops.c (ops_match): if addopts are specified, apply them 9396 1.1 christos to the value of remopts as well as opts. 9397 1.1 christos 9398 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used. 9399 1.1 christos 9400 1.1 christos 1999-02-05 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9401 1.1 christos 9402 1.1 christos * released snapshot am-utils-6.0.1s5 9403 1.1 christos 9404 1.1 christos * conf/mount/mount_linux.c (mount_linux): set default nfs_args 9405 1.1 christos options for ac{reg,dir}{min,man} as per the mount-2.8a package, 9406 1.1 christos but only if noac option was not used. 9407 1.1 christos 9408 1.1 christos 1999-02-05 Erez Zadok <ezk (a] retro.cs.columbia.edu> 9409 1.1 christos 9410 1.1 christos * conf/mount/mount_linux.c (mount_linux): print nfs_args again 9411 1.1 christos since it was updated. 9412 1.1 christos (mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels 9413 1.1 christos and newer. Bug was found by Neil Conway 9414 1.1 christos <nconway.list (a] ukaea.org.uk> 9415 1.1 christos 9416 1.1 christos 1999-02-04 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9417 1.1 christos 9418 1.1 christos * released snapshot am-utils-6.0.1s4 9419 1.1 christos 9420 1.1 christos 1999-02-03 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9421 1.1 christos 9422 1.1 christos * amq/amq.c (main): don't list -M as a valid amq option unless 9423 1.1 christos configure'd with --enable-amq-mount. 9424 1.1 christos 9425 1.1 christos Wed Feb 3 18:11:18 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 9426 1.1 christos 9427 1.1 christos * amd/nfs_start.c (amd_use_autofs): Define. 9428 1.1 christos (mount_automounter): Create autofs service listener only if 9429 1.1 christos necessary to avoid unnecessary clashes with e.g. automountd. 9430 1.1 christos 9431 1.1 christos * amd/amd.h (amd_use_autofs): Declare. 9432 1.1 christos 9433 1.1 christos * amd/conf.c (gopt_mount_type): Set amd_use_autofs. 9434 1.1 christos (ropt_mount_type): Likewise. 9435 1.1 christos 9436 1.1 christos 1999-02-02 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9437 1.1 christos 9438 1.1 christos * aux/macros/check_mnt2_nfs_opt.m4:: ditto 9439 1.1 christos 9440 1.1 christos * aux/macros/check_mnt2_cdfs_opt.m4: ditto 9441 1.1 christos 9442 1.1 christos * aux/macros/check_mnt2_gen_opt.m4: ditto 9443 1.1 christos 9444 1.1 christos * aux/macros/check_mnttab_opt.m4: new macro in this file to loop 9445 1.1 christos over AC_CHECK_MNTTAB_OPT. Reduces size of configure script a lot. 9446 1.1 christos 9447 1.1 christos * conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h, 9448 1.1 christos nfs/nfs.h and nfs/nfsmount.h if they exist. Patch from 9449 1.1 christos christos (a] zoulas.com (Christos Zoulas). 9450 1.1 christos 9451 1.1 christos * amd/info_hesiod.c: some forward declarations. Patch from 9452 1.1 christos christos (a] zoulas.com (Christos Zoulas). 9453 1.1 christos 9454 1.1 christos 1999-01-28 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9455 1.1 christos 9456 1.1 christos * libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn 9457 1.1 christos option if it was already in that state. Patch from David 9458 1.1 christos Wolfskill <dhw (a] whistle.com>. 9459 1.1 christos 9460 1.1 christos 1999-01-20 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9461 1.1 christos 9462 1.1 christos * aux/configure.in: automake nowadays supports LTLIBOBJS (but not 9463 1.1 christos LTALLOCA yet). Substitute value of LIBTOOL_DEPS for libtool 9464 1.1 christos rebuild make rules. 9465 1.1 christos 9466 1.1 christos * Makefile.am: new rules to remake libtool (maintainers only) 9467 1.1 christos 9468 1.1 christos * amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags 9469 1.1 christos if -D trace was used. 9470 1.1 christos 9471 1.1 christos 1999-01-18 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9472 1.1 christos 9473 1.1 christos * buildall: all if statements should have an else clause because 9474 1.1 christos of Ultrix's /bin/sh. 9475 1.1 christos 9476 1.1 christos 1999-01-15 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9477 1.1 christos 9478 1.1 christos * amq/amq.c: removed dummy variables. 9479 1.1 christos 9480 1.1 christos * amq/pawd.c: removed dummy variable.s 9481 1.1 christos 9482 1.1 christos * fixmount/fixmount.c (usage): removed dummy variables. 9483 1.1 christos 9484 1.1 christos * fsinfo/fsinfo.c: removed dummy variables. 9485 1.1 christos 9486 1.1 christos * hlfsd/hlfsd.c: removed dummy variables. 9487 1.1 christos 9488 1.1 christos * wire-test/wire-test.c: removed dummy variables. 9489 1.1 christos 9490 1.1 christos * mk-amd-map/mk-amd-map.c: removed dummy variables. 9491 1.1 christos 9492 1.1 christos * doc/texinfo.tex: updates from GNU mirror. 9493 1.1 christos 9494 1.1 christos * aux/GNUmakefile (../doc/texinfo.tex): new rule to update 9495 1.1 christos doc/texinfo.tex from GNU mirror. 9496 1.1 christos 9497 1.1 christos * released snapshot am-utils-6.0.1s3 9498 1.1 christos 9499 1.1 christos * Makefile.am (install-snapshot): better snapshot and new 9500 1.1 christos install-snapshot and test-snapshot rules (maintainer). 9501 1.1 christos 9502 1.1 christos * amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the 9503 1.1 christos args may be NULL. 9504 1.1 christos Some dlog() entries were not enclosed in #ifdef DEBUG. Fix from 9505 1.1 christos Bill Paul <wpaul (a] ctr.columbia.edu> 9506 1.1 christos 9507 1.1 christos 1999-01-13 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9508 1.1 christos 9509 1.1 christos * check for experimental generic 'ignore' mount flag on freebsd3. 9510 1.1 christos 9511 1.1 christos * Update library -version-info to 3:0:1 (will result in 2.1.0 .so 9512 1.1 christos version, which is backwards compatible with older versions.) Only 9513 1.1 christos one new interface was added to libamu. 9514 1.1 christos 9515 1.1 christos * amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags 9516 1.1 christos that are specific to automounter mounts. 9517 1.1 christos 9518 1.1 christos * aux/configure.in: update libamu.so age and revision since a new 9519 1.1 christos interface was added to libamu/mount_fs.c 9520 1.1 christos (compute_automounter_mount_flags). 9521 1.1 christos 9522 1.1 christos * libamu/mount_fs.c (compute_automounter_mount_flags): new 9523 1.1 christos function to compute generic mount flags that are specific to mount 9524 1.1 christos points only. 9525 1.1 christos 9526 1.1 christos * aux/{configure.in,acconfig.h}: add support for generic mount 9527 1.1 christos entry ignore option. 9528 1.1 christos 9529 1.1 christos * released snapshot am-utils-6.0.1s2 9530 1.1 christos 9531 1.1 christos * amd/info_ldap.c (get_ldap_timestamp): dlog format fixes. 9532 1.1 christos 9533 1.1 christos * libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format 9534 1.1 christos of knc_semantics from u_long to u_int. 9535 1.1 christos 9536 1.1 christos * aux/macros/check_mount_style.m4: freebsd3 no longer needs a 9537 1.1 christos special mount helper. 9538 1.1 christos 9539 1.1 christos 1999-01-12 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9540 1.1 christos 9541 1.1 christos * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS): 9542 1.1 christos amu_nfs_conf.h should always be found in $top_builddir. 9543 1.1 christos 9544 1.1 christos Tue Jan 12 00:05:42 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 9545 1.1 christos 9546 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine 9547 1.1 christos to avoid wrong reports from show_fstypes. 9548 1.1 christos 9549 1.1 christos * conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise. 9550 1.1 christos 9551 1.1 christos * conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise. 9552 1.1 christos 9553 1.1 christos Tue Jan 12 00:05:42 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 9554 1.1 christos 9555 1.1 christos * BUGS (mips-dec-ultrix4.3): Update Ultrix caveats. 9556 1.1 christos 9557 1.1 christos Tue Jan 12 00:05:42 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 9558 1.1 christos 9559 1.1 christos * hlfsd/homedir.c (delay): Cast child to long, adapt format. 9560 1.1 christos (hlfsd_getpwent): Likewise for pw_uid. 9561 1.1 christos 9562 1.1 christos * amd/info_nis.c (nis_init): Cast order to unsigned long, adapt 9563 1.1 christos format. 9564 1.1 christos 9565 1.1 christos * conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast 9566 1.1 christos tv_sec to int to match format. 9567 1.1 christos (get_nfs_version): Cast nfs_version, NFS_VERSION to int to match 9568 1.1 christos formats. 9569 1.1 christos 9570 1.1 christos * amd/amfs_program.c (amfs_program_exec): Cast ptr difference to 9571 1.1 christos long, adapt format. 9572 1.1 christos 9573 1.1 christos * include/am_defs.h: Handle __attribute__ if available. From 9574 1.1 christos GNU fileutils 4.0 lib/errors.h. 9575 1.1 christos 9576 1.1 christos Mon Jan 11 13:46:44 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 9577 1.1 christos 9578 1.1 christos * libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to 9579 1.1 christos match format. 9580 1.1 christos 9581 1.1 christos * hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long, 9582 1.1 christos adapt format. 9583 1.1 christos (nfsproc_lookup_2_svc): Likewise. 9584 1.1 christos (nfsproc_readlink_2_svc): Likewise for userid, groupid. 9585 1.1 christos 9586 1.1 christos * hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match 9587 1.1 christos format. 9588 1.1 christos 9589 1.1 christos * hlfsd/homedir.c (homedir): Cast uid, child to long, adapt 9590 1.1 christos format. 9591 1.1 christos 9592 1.1 christos * amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned 9593 1.1 christos long, adapt format. 9594 1.1 christos 9595 1.1 christos * amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to 9596 1.1 christos unsigned long, adapt format. 9597 1.1 christos (got_nfs_fh): Likewise. 9598 1.1 christos (prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match 9599 1.1 christos format. 9600 1.1 christos (call_mountd): Likewise, mnt_version also. 9601 1.1 christos (mount_nfs_fh): Likewise. 9602 1.1 christos 9603 1.1 christos * amd/ops_autofs.c (autofs_program_1): Cast args to int to match 9604 1.1 christos format. 9605 1.1 christos (autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to 9606 1.1 christos unsigned long, adapt formats. 9607 1.1 christos (autofs_bgmount): Cast opt_fs to unsigned to, adapt format. 9608 1.1 christos (autofs_bgmount): Use long format to match arg. 9609 1.1 christos (autofs_lookuppn): Removed superfluous arg. 9610 1.1 christos 9611 1.1 christos * amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match 9612 1.1 christos format. 9613 1.1 christos (got_portmap): Likewise for port. 9614 1.1 christos (recompute_portmap): Likewise for fs->fs_version, mnt_version. 9615 1.1 christos (find_nfs_srvr): Likewise for nfs_version. 9616 1.1 christos 9617 1.1 christos * amd/sched.c (sched_task): Cast wchan to unsigned long, adapt 9618 1.1 christos format. 9619 1.1 christos 9620 1.1 christos * amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem 9621 1.1 christos to unsigned long, adapt format. 9622 1.1 christos Cast tvv.tv_sec to int to match format. 9623 1.1 christos 9624 1.1 christos * amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match 9625 1.1 christos format. 9626 1.1 christos 9627 1.1 christos * amd/map.c (root_fh): Cast pid to long, adapt format. 9628 1.1 christos (timeout_mp): Cast time_t to long, adapt format. 9629 1.1 christos 9630 1.1 christos * amd/clock.c (reschedule_timeouts): Use long format, cast time_t 9631 1.1 christos arg. 9632 1.1 christos 9633 1.1 christos * amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to 9634 1.1 christos match format. 9635 1.1 christos (amfs_host_fmount): Likewise. 9636 1.1 christos (amfs_host_umounted): Likewise. Removed superfluous arg. 9637 1.1 christos 9638 1.1 christos * amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned 9639 1.1 christos long, adapt format. 9640 1.1 christos (amfs_auto_bgmount): Use long format, cast time_t arg. 9641 1.1 christos (amfs_auto_lookuppn): Removed superfluous arg. 9642 1.1 christos 9643 1.1 christos * amd/amd.c (main): Cast geteuid() result to long, adapt format. 9644 1.1 christos 9645 1.1 christos * conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version 9646 1.1 christos to int to match format. 9647 1.1 christos 9648 1.1 christos * include/am_utils.h: Declare plog, dplog as printf-like. 9649 1.1 christos 9650 1.1 christos * conf/mount/mount_irix6.c (mount_irix): Print type as char *. 9651 1.1 christos 9652 1.1 christos Mon Jan 11 13:46:44 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 9653 1.1 christos 9654 1.1 christos * amd/info_hesiod.c (hesiod_isup): New function. 9655 1.1 christos * amd/mapc.c (maptypes): Add it. 9656 1.1 christos 9657 1.1 christos 1999-01-10 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9658 1.1 christos 9659 1.1 christos * released snapshot am-utils-6.0.1s1 9660 1.1 christos 9661 1.1 christos 1999-01-09 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9662 1.1 christos 9663 1.1 christos * ALL: bump copyright year to 1999. 9664 1.1 christos 9665 1.1 christos Fri Jan 8 15:24:15 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 9666 1.1 christos 9667 1.1 christos * aux/macros/check_mtype_type.m4: Ultrix uses an int mount type, 9668 1.1 christos too. 9669 1.1 christos 9670 1.1 christos * aux/macros/check_mtype_printf_type.m4: Adapt corresponding 9671 1.1 christos printf type. 9672 1.1 christos 9673 1.1 christos Fri Jan 8 15:24:15 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 9674 1.1 christos 9675 1.1 christos * aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused. 9676 1.1 christos 9677 1.1 christos * conf/nfs_prot/nfs_prot_irix6.h: Likewise. 9678 1.1 christos 9679 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise. 9680 1.1 christos 9681 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise. 9682 1.1 christos 9683 1.1 christos * Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current 9684 1.1 christos automake. 9685 1.1 christos 9686 1.1 christos Thu Jan 7 02:55:18 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 9687 1.1 christos 9688 1.1 christos * aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not 9689 1.1 christos in current automake. 9690 1.1 christos 9691 1.1 christos Thu Jan 7 02:55:18 1999 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 9692 1.1 christos 9693 1.1 christos * doc/am-utils.texi: Added some missing inter-punctation after 9694 1.1 christos @xref, or use @pxref/@ref as appropriate. Spotted by makeinfo 9695 1.1 christos from texinfo 3.12b. 9696 1.1 christos 9697 1.1 christos 1999-01-07 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9698 1.1 christos 9699 1.1 christos * doc/texinfo.tex: updated off of latest GNU mirror. 9700 1.1 christos 9701 1.1 christos 1999-01-04 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9702 1.1 christos 9703 1.1 christos * doc/am-utils.texi (Supported Platforms): update platforms that 9704 1.1 christos support NFS v.3. Nicer postscript printing on double-sided pages. 9705 1.1 christos 9706 1.1 christos * amd/info_hesiod.c: add extern definition for hesiod_init() 9707 1.1 christos 9708 1.1 christos 1999-01-01 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9709 1.1 christos 9710 1.1 christos ******************************************************************* 9711 1.1 christos *** Released am-utils-6.0 *** 9712 1.1 christos ******************************************************************* 9713 1.1 christos 9714 1.1 christos 1998-12-28 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9715 1.1 christos 9716 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7. 9717 1.1 christos 9718 1.1 christos 1998-12-27 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9719 1.1 christos 9720 1.1 christos * conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on 9721 1.1 christos bsdi4 for NFS V3/nfs mounts. 9722 1.1 christos 9723 1.1 christos 1998-12-26 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9724 1.1 christos 9725 1.1 christos * using latest libtool (1.2e + patches), now supporting shared 9726 1.1 christos libraries on many more systems. Also using latest autoconf and 9727 1.1 christos automake (unreleased GNU CVS'd versions.) 9728 1.1 christos 9729 1.1 christos * minor new ports: hppa2.0w-hp-hpux11.00, 9730 1.1 christos i386-unknown-netbsd1.3.3, mips-sgi-irix6.5. 9731 1.1 christos 9732 1.1 christos * fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that 9733 1.1 christos have /usr/bin/flex but not libfl. 9734 1.1 christos 9735 1.1 christos 1998-12-24 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9736 1.1 christos 9737 1.1 christos * lots of code cleanup, to make sure libamu.so does not use 9738 1.1 christos undefined symbols. Some system's shared libraries cannot handle 9739 1.1 christos that. 9740 1.1 christos 9741 1.1 christos 1998-12-23 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9742 1.1 christos 9743 1.1 christos * include/am_defs.h: only defined seteuid extern if function also 9744 1.1 christos exists and is not superceded by setresuid (hpux). 9745 1.1 christos 9746 1.1 christos * amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit 9747 1.1 christos braces to avoid confusion with nested if-then-else clauses. 9748 1.1 christos 9749 1.1 christos * aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs: 9750 1.1 christos updated from latest versions. 9751 1.1 christos 9752 1.1 christos 1998-12-22 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9753 1.1 christos 9754 1.1 christos * minor new port: i386-pc-bsdi4.0 9755 1.1 christos 9756 1.1 christos * conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header 9757 1.1 christos definitions for bsdi4. 9758 1.1 christos 9759 1.1 christos * {amd,fsinfo}/Makefile.am: force path to .y/.l files, because 9760 1.1 christos some make programs (bsdi4) do not support VPATH correctly. 9761 1.1 christos 9762 1.1 christos 1998-12-16 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9763 1.1 christos 9764 1.1 christos * conf/mount/mount_aix.c: minor code cleanup 9765 1.1 christos 9766 1.1 christos * aux/configure.in: check for extern definition to xdr_groups. 9767 1.1 christos 9768 1.1 christos 1998-12-15 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9769 1.1 christos 9770 1.1 christos * minor new port: powerpc-ibm-aix4.3.1.0 9771 1.1 christos 9772 1.1 christos * aux/macros/*.m4: updates for aix 4.3 9773 1.1 christos 9774 1.1 christos 1998-12-14 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9775 1.1 christos 9776 1.1 christos * minor new port: i386-unknown-openbsd2.4 9777 1.1 christos 9778 1.1 christos * aux/configure.in: don't check for xfs on openbsd because 9779 1.1 christos openbsd-2.4 introduces a new file system named xfs, but different 9780 1.1 christos than Irix's XFS. Sigh. 9781 1.1 christos 9782 1.1 christos * minor new port: i386-unknown-freebsd2.2.8 9783 1.1 christos 9784 1.1 christos 1998-12-03 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9785 1.1 christos 9786 1.1 christos * amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host 9787 1.1 christos name match. Bug fix from Douglas K. Rand" <rand (a] aero.und.edu>. 9788 1.1 christos 9789 1.1 christos 1998-11-20 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9790 1.1 christos 9791 1.1 christos * scripts/ctl-amd.in: wait4amd2die runs in the stop action, to 9792 1.1 christos avoid race conditions when shutting down systems running amd. 9793 1.1 christos 9794 1.1 christos * Makefile.am: add a dist-hook to change modes of the directories 9795 1.1 christos in the tar file so they are not world writable. 9796 1.1 christos 9797 1.1 christos * conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support, 9798 1.1 christos since it is now finally defined in the header files and 9799 1.1 christos (hopefully) stable. 9800 1.1 christos 9801 1.1 christos * amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option 9802 1.1 christos is specified in mount options. freebsd patches from David 9803 1.1 christos O'Brien. 9804 1.1 christos 9805 1.1 christos * amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c 9806 1.1 christos (main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main), 9807 1.1 christos amd/get_args.c (get_args): posix: use -1 to check for return from 9808 1.1 christos getopt() (not EOF), as per posix. 9809 1.1 christos 9810 1.1 christos * amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David 9811 1.1 christos O'Brien" <obrien (a] NUXI.com>, from the FreeBSD source tree. Use 9812 1.1 christos real variable whose pointer is on the stack for decoding a long 9813 1.1 christos int. 9814 1.1 christos 9815 1.1 christos 1998-11-11 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9816 1.1 christos 9817 1.1 christos * scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's 9818 1.1 christos chkconfig utility. 9819 1.1 christos 9820 1.1 christos 1998-11-10 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9821 1.1 christos 9822 1.1 christos * released snapshot am-utils-6.0b2s3 9823 1.1 christos 9824 1.1 christos * conf/transp/transp_sockets.c (create_nfs_service): remove C++ 9825 1.1 christos style comments. 9826 1.1 christos 9827 1.1 christos 1998-11-04 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9828 1.1 christos 9829 1.1 christos * released snapshot am-utils-6.0b2s2 9830 1.1 christos 9831 1.1 christos * created CVS package 9832 1.1 christos 9833 1.1 christos * amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race 9834 1.1 christos condition between unmounting and re-mounting an entry, by 9835 1.1 christos increasing the ttl of a looked up entry before unmounting it. 9836 1.1 christos Patch from Mike Mitchell <mcm (a] unx.sas.com>. 9837 1.1 christos 9838 1.1 christos * All files: spell comments and strings. 9839 1.1 christos 9840 1.1 christos 1998-11-03 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9841 1.1 christos 9842 1.1 christos * aux/configure.in: look for yp_all in libnsl only if yp_all not 9843 1.1 christos already found elsewhere (in libc or other default libraries). 9844 1.1 christos This is so RedHat 5.1 systems could find yp functions in libnsl, 9845 1.1 christos but also so AIX 4.2.1 will NOT include libnsl, because the latter 9846 1.1 christos has broken nis functionality that also exists and works ok in libc. 9847 1.1 christos 9848 1.1 christos 1998-10-29 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9849 1.1 christos 9850 1.1 christos * amd/amd.c (main): bug fix: swapped arguments to kill(2). Fix 9851 1.1 christos from Danny Rathjens <dkr (a] cs.fiu.edu>. 9852 1.1 christos 9853 1.1 christos 1998-10-28 Erez Zadok <ezk (a] spruce.mcl.cs.columbia.edu> 9854 1.1 christos 9855 1.1 christos * released snapshot am-utils-6.0b2s1 9856 1.1 christos 9857 1.1 christos 1998-10-27 Erez Zadok <ezk (a] spruce.mcl.cs.columbia.edu> 9858 1.1 christos 9859 1.1 christos * aux/macros/*.m4: support bsdi4 as bsdi3. 9860 1.1 christos 9861 1.1 christos * aux/macros/os_ldflags.m4: enable detection of LDAP on solaris 9862 1.1 christos 2.7 (libraries located in /usr/lib/fn). This is off until Sun 9863 1.1 christos includes LDAP header information. 9864 1.1 christos 9865 1.1 christos 1998-10-20 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9866 1.1 christos 9867 1.1 christos ******************************************************************* 9868 1.1 christos *** Released am-utils-6.0b1 *** 9869 1.1 christos ******************************************************************* 9870 1.1 christos 9871 1.1 christos 1998-10-18 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9872 1.1 christos 9873 1.1 christos * mk-amd-map/mk-amd-map.c (main): use perror not strerror. 9874 1.1 christos (main): set return type to int if no ndbm maps. 9875 1.1 christos 9876 1.1 christos * include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1 9877 1.1 christos kernels. 9878 1.1 christos 9879 1.1 christos 1998-10-18 Erez Zadok <ezk (a] london.mcl.cs.columbia.edu> 9880 1.1 christos 9881 1.1 christos * A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup 9882 1.1 christos for netbsd 1.3.2. 9883 1.1 christos 9884 1.1 christos 1998-10-17 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9885 1.1 christos 9886 1.1 christos * aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1 9887 1.1 christos systems put NIS functions there. 9888 1.1 christos 9889 1.1 christos * mk-amd-map/mk-amd-map.c: patch from "David O'Brien" 9890 1.1 christos <obrien (a] NUXI.com> merged in. Use POSIX -1 return code from 9891 1.1 christos getopt(), not EOF. Use .db extentions for systems that use it, 9892 1.1 christos instead of .{pag,dir}. 9893 1.1 christos 9894 1.1 christos 1998-10-15 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9895 1.1 christos 9896 1.1 christos * wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c, 9897 1.1 christos amd/amd.c (main): avoid overrunning hostname buffer. Bug fix from 9898 1.1 christos "David O'Brien" <obrien (a] NUXI.com>. 9899 1.1 christos 9900 1.1 christos * scripts/amd.conf.5: minor typo reported by "David O'Brien" 9901 1.1 christos <obrien (a] NUXI.com> in .TH section of man page. 9902 1.1 christos 9903 1.1 christos * amd/info_nis.c (am_yp_all): don't leak key-val entries. Patch 9904 1.1 christos from Thomas Richter <richter (a] chemie.fu-berlin.de>. 9905 1.1 christos 9906 1.1 christos 1998-10-12 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9907 1.1 christos 9908 1.1 christos * doc/am-utils.texi (Program Filesystem): minor typo fixed as per 9909 1.1 christos Andreas Stolcke <stolcke (a] speech.sri.com>. 9910 1.1 christos 9911 1.1 christos * minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7, 9912 1.1 christos and sparc-sun-solaris2.7. 9913 1.1 christos 9914 1.1 christos * conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now 9915 1.1 christos a 4.4lite kernel, and somethings were removed, such as 9916 1.1 christos INITMOUNTNAMES. 9917 1.1 christos 9918 1.1 christos * amd/ops_autofs.c (autofs_lookuppn): don't leak memory while 9919 1.1 christos processing /defaults. Free temporary opts. Patch from 9920 1.1 christos dsr (a] mail.lns.cornell.edu (Daniel S. Riley) 9921 1.1 christos 9922 1.1 christos * amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while 9923 1.1 christos processing /defaults. Free temporary opts. Patch from 9924 1.1 christos dsr (a] mail.lns.cornell.edu (Daniel S. Riley) 9925 1.1 christos 9926 1.1 christos * conf/mtab/mtab_osf.c (read_mtab): patch from 9927 1.1 christos dsr (a] mail.lns.cornell.edu (Daniel S. Riley) not to access 9928 1.1 christos uninitialized memory on Digital Unix. 9929 1.1 christos 9930 1.1 christos 1998-10-09 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9931 1.1 christos 9932 1.1 christos * aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most 9933 1.1 christos systems now use "char *" as their mount type. 9934 1.1 christos 9935 1.1 christos 1998-10-08 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9936 1.1 christos 9937 1.1 christos * amd/conf.c (gopt_map_type, ropt_map_type): check if map type 9938 1.1 christos exists. 9939 1.1 christos 9940 1.1 christos * amd/mapc.c (mapc_type_exists): function to test if a map of 9941 1.1 christos certain type exists. 9942 1.1 christos 9943 1.1 christos 1998-10-08 Erez Zadok <ezk (a] horatio.mcl.cs.columbia.edu> 9944 1.1 christos 9945 1.1 christos * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 9946 1.1 christos include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl 9947 1.1 christos in RH-5.1 sparc64 between <netinet/in.h> and 9948 1.1 christos <linux/byteorder/generic.h> (2.1 kernels). 9949 1.1 christos 9950 1.1 christos 1998-09-28 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9951 1.1 christos 9952 1.1 christos * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat 9953 1.1 christos 5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket 9954 1.1 christos from yp_all(). 9955 1.1 christos 9956 1.1 christos 1998-09-25 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9957 1.1 christos 9958 1.1 christos * conf/mount/mount_linux.c (parse_opts): check for pcfs support 9959 1.1 christos only if autoconfigured. 9960 1.1 christos 9961 1.1 christos 1998-09-18 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9962 1.1 christos 9963 1.1 christos * Makefile.am (EXTRA_DIST): distribute README.yk2 file. 9964 1.1 christos 9965 1.1 christos * README.y2k: explain y2k compliance status of am-utils. 9966 1.1 christos 9967 1.1 christos 1998-09-16 Erez Zadok <ezk (a] iguana.mcl.cs.columbia.edu> 9968 1.1 christos 9969 1.1 christos * amd/amfs_host.c (fetch_fhandle, amfs_host_fmount, 9970 1.1 christos amfs_host_umounted): clnt_sperrno() may return a const. 9971 1.1 christos 9972 1.1 christos Sat Aug 8 23:28:32 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9973 1.1 christos 9974 1.1 christos * aux/configure.in: check for <nfs/nfsmount.h>, as per Christos 9975 1.1 christos Zoulas. Turned on checking for mount options: async, synchronous, 9976 1.1 christos deadthresh, leasterm, nqnfs, and readahead. 9977 1.1 christos 9978 1.1 christos * amd/info_nis.c: patch from christos (a] zoulas.com (Christos Zoulas) 9979 1.1 christos to include prototype definition for nis_isup(). 9980 1.1 christos 9981 1.1 christos Sun Jul 19 18:50:10 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9982 1.1 christos 9983 1.1 christos * hlfsd/stubs.c (getcreds): force sscanf arg to u_long. 9984 1.1 christos 9985 1.1 christos Tue Jul 14 20:34:25 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9986 1.1 christos 9987 1.1 christos * released snapshot am-utils-6.0a17s1 9988 1.1 christos 9989 1.1 christos Wed Jul 8 21:49:15 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9990 1.1 christos 9991 1.1 christos * aux/macros/host_macros.m4: all x86 hosts should have $arch be 9992 1.1 christos i386, not i[456]86. 9993 1.1 christos 9994 1.1 christos Tue Jul 7 18:55:09 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 9995 1.1 christos 9996 1.1 christos * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4, 9997 1.1 christos include/am_defs.h: include <linux/posix_types.h> before 9998 1.1 christos <linux/fs.h> because on redhat 5.1, there is a bug (misuse) of 9999 1.1 christos headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of 10000 1.1 christos __KERNEL_STRICT_NAMES). 10001 1.1 christos 10002 1.1 christos * aux/configure.in: check for <linux/posix_types.h> because it is 10003 1.1 christos need for RedHat 5.1. 10004 1.1 christos 10005 1.1 christos Wed Jun 17 00:05:33 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10006 1.1 christos 10007 1.1 christos * scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from 10008 1.1 christos .in as well, so it doesn't get removed by make clean. 10009 1.1 christos 10010 1.1 christos Tue Jun 16 22:00:15 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10011 1.1 christos 10012 1.1 christos * aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4, 10013 1.1 christos check_mount_type.m4}: redhat 5.1 puts some modules in 10014 1.1 christos /lib/modules/preferred/. 10015 1.1 christos 10016 1.1 christos Wed May 13 16:33:57 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10017 1.1 christos 10018 1.1 christos * amd/ops_autofs.c (mount_autofs): cast pid to long. 10019 1.1 christos 10020 1.1 christos Tue Apr 28 15:12:36 1998 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 10021 1.1 christos 10022 1.1 christos * conf/nfs_prot/nfs_prot/nfs_prot_irix6.h, 10023 1.1 christos conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to 10024 1.1 christos avoid amd/am_ops.c (show_fstypes) from erroneously claiming 10025 1.1 christos support. 10026 1.1 christos 10027 1.1 christos Fri Apr 24 23:02:11 1998 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 10028 1.1 christos 10029 1.1 christos * libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON 10030 1.1 christos unconditionally, may be missing on Ultrix V4.3. 10031 1.1 christos 10032 1.1 christos Thu Apr 23 20:24:33 1998 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 10033 1.1 christos 10034 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define, 10035 1.1 christos missing from <sys/mntent.h>. 10036 1.1 christos 10037 1.1 christos * conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h> 10038 1.1 christos without KERNEL defined here. 10039 1.1 christos 10040 1.1 christos * aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>, 10041 1.1 christos <cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of 10042 1.1 christos ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed. 10043 1.1 christos 10044 1.1 christos * amd/ops_ufs.c (mount_ufs): Removed obsolete comment. 10045 1.1 christos 10046 1.1 christos * ChangeLog: Fixed confusing linebreaks from ChangeLog imports. 10047 1.1 christos Removed purely local (and obsolete) entry. 10048 1.1 christos 10049 1.1 christos Thu Apr 23 00:22:17 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10050 1.1 christos 10051 1.1 christos ******************************************************************* 10052 1.1 christos *** Released am-utils-6.0a16 *** 10053 1.1 christos ******************************************************************* 10054 1.1 christos 10055 1.1 christos Wed Apr 22 01:20:39 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10056 1.1 christos 10057 1.1 christos * aux/macros/check_mount_style.m4: define freebsd3 mount style. 10058 1.1 christos 10059 1.1 christos * aux/macros/check_mount_trap.m4: new mount trap for freebsd3. 10060 1.1 christos 10061 1.1 christos * aux/macros/check_mtype_printf_type.m4, 10062 1.1 christos aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as 10063 1.1 christos of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not 10064 1.1 christos integers, but I'll keep them as integers and do the mapping in 10065 1.1 christos conf/mount/mount_freebsd3.c 10066 1.1 christos 10067 1.1 christos * minor new port to i386-pc-bsdi3.1. 10068 1.1 christos 10069 1.1 christos * minor new port to i386-unknown-netbsd1.3.1. 10070 1.1 christos 10071 1.1 christos * amd/opts.c: new option addopts:=ARG, which smartly merges ARG 10072 1.1 christos options with whatever the /default ones for a key are. This 10073 1.1 christos allows adding or overriding /default options individual keys. 10074 1.1 christos 10075 1.1 christos * amd/am_ops.c (ops_match): strdup/malloc string assigned to 10076 1.1 christos opt_opts because it'll get free()'d upon next use. 10077 1.1 christos (merge_opts): new function to merge two sets of options. 10078 1.1 christos (ops_match): if addopts option exist, append and merge it to the 10079 1.1 christos current default options. 10080 1.1 christos 10081 1.1 christos Tue Apr 21 12:54:59 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10082 1.1 christos 10083 1.1 christos * wire-test/wire-test.c (main): use dynamically allocated returned 10084 1.1 christos string with list of interfaces. 10085 1.1 christos 10086 1.1 christos * amd/get_args.c (get_version_string): allocate enough space for 10087 1.1 christos header version string and a list of network interfaces of any 10088 1.1 christos length. 10089 1.1 christos 10090 1.1 christos * libamu/wire.c (print_wires): return dynamically allocated string 10091 1.1 christos containing list of networks. Must be dynamic because some sites 10092 1.1 christos had potentially dozens of network interfaces. Patch from Matthew 10093 1.1 christos Crosby <mcrosby (a] ms.com> slightly modified. 10094 1.1 christos 10095 1.1 christos Mon Apr 20 00:37:20 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10096 1.1 christos 10097 1.1 christos * conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because 10098 1.1 christos irix 5.3 does not have full header definitions for it. 10099 1.1 christos 10100 1.1 christos * fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and 10101 1.1 christos undefined it when not needed (similar to amd/conf_tok.l) 10102 1.1 christos 10103 1.1 christos * hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size 10104 1.1 christos of these to unsigned short (because uid_t on some linux systems is 10105 1.1 christos small). 10106 1.1 christos 10107 1.1 christos * released snapshot am-utils-6.0a16s10 10108 1.1 christos 10109 1.1 christos * doc/am-utils.texi (opts Option): documented resvport mount 10110 1.1 christos option. 10111 1.1 christos 10112 1.1 christos Sun Apr 19 18:17:03 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10113 1.1 christos 10114 1.1 christos * doc/am-utils.texi (-D-Option): document behavior of -D info and 10115 1.1 christos especially what it does to hesiod (turn on RES_DEBUG). 10116 1.1 christos 10117 1.1 christos * scripts/amd.conf.5: document info debugging option. 10118 1.1 christos 10119 1.1 christos * libamu/xutil.c (dbg_opt): parse info debugging option. 10120 1.1 christos 10121 1.1 christos * include/am_utils.h (D_INFO): define new trace option. 10122 1.1 christos 10123 1.1 christos * Makefile.am (EXTRA_DIST): include list of official mirrors in 10124 1.1 christos distribution. 10125 1.1 christos 10126 1.1 christos * libamu/wire.c (SIZE): in the simple case, just compute 10127 1.1 christos sizeof(struct ifreq). 10128 1.1 christos 10129 1.1 christos Sun Apr 19 16:30:35 1998 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 10130 1.1 christos 10131 1.1 christos * amd/amd.c (daemon_mode): set a temporary secure umask(0022) 10132 1.1 christos before writing log file and restore it afterwards. Patch from 10133 1.1 christos Donald Buczek <buczek (a] MPIMG-Berlin-Dahlem.MPG.DE>. 10134 1.1 christos 10135 1.1 christos * amd/get_args.c (get_args): 10136 1.1 christos 10137 1.1 christos * doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf 10138 1.1 christos file specified by -F is always processed last. 10139 1.1 christos 10140 1.1 christos * amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd 10141 1.1 christos won't be reused. Allows startup script to redirect stdout. Patch 10142 1.1 christos from Donald Buczek <buczek (a] MPIMG-Berlin-Dahlem.MPG.DE>. 10143 1.1 christos 10144 1.1 christos * libamu/xutil.c (switch_to_logfile): compare logfile name and 10145 1.1 christos syslog string with correct length. Patch from Donald Buczek 10146 1.1 christos <buczek (a] MPIMG-Berlin-Dahlem.MPG.DE>. 10147 1.1 christos 10148 1.1 christos * amd/restart.c (restart): correctly inherit existing NFS V.3 10149 1.1 christos mounts upon restart. Patch from Donald Buczek 10150 1.1 christos <buczek (a] MPIMG-Berlin-Dahlem.MPG.DE>. 10151 1.1 christos 10152 1.1 christos Sat Apr 18 19:01:19 1998 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 10153 1.1 christos 10154 1.1 christos * using libtool 1.2 and automake 1.3 (with my patches). 10155 1.1 christos 10156 1.1 christos * aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to 10157 1.1 christos AMU_CFLAGS to avoid conflicts with automake-1.3. 10158 1.1 christos 10159 1.1 christos Sun Apr 5 23:09:08 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10160 1.1 christos 10161 1.1 christos * converted to using libtool-1.2. 10162 1.1 christos 10163 1.1 christos Tue Mar 10 16:52:09 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10164 1.1 christos 10165 1.1 christos * fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly 10166 1.1 christos for loop (ITER) which used to run only to initialize the variable 10167 1.1 christos dd once and then break; with a simple assignment. 10168 1.1 christos 10169 1.1 christos * hlfsd/hlfsd.h: cleanup so it compiles with Solaris 10170 1.1 christos /opt/SUNWspro/bin/cc, and use gid_t not int. 10171 1.1 christos 10172 1.1 christos * amd/mapc.c (mapc_sync): don't dereference pointer (so it 10173 1.1 christos compiles with Solaris /opt/SUNWspro/bin/cc) 10174 1.1 christos 10175 1.1 christos Sun Mar 8 15:54:22 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10176 1.1 christos 10177 1.1 christos * aux/config.{guess,sub}: used from gcc-2.8.1. 10178 1.1 christos 10179 1.1 christos Sat Mar 7 15:33:27 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10180 1.1 christos 10181 1.1 christos * released snapshot am-utils-6.0a16s9 10182 1.1 christos 10183 1.1 christos * INSTALL, doc/am-utils.texi (Supported Platforms): updated names 10184 1.1 christos based on new output of new config.guess. 10185 1.1 christos 10186 1.1 christos * aux/config.{sub,guess}: used newer versions from gcc-2.8.0. 10187 1.1 christos 10188 1.1 christos * amd/amd.8,doc/am-utils.texi: document correct usage of default 10189 1.1 christos /etc/amd.conf file. 10190 1.1 christos 10191 1.1 christos * fixmount/fixmount.c (inetresport,privsock): use some more 10192 1.1 christos portable code from amq/amq.c. 10193 1.1 christos 10194 1.1 christos * amd/get_args.c (get_args): use default /etc/amd.conf file only 10195 1.1 christos if no arguments had been passed to amd. 10196 1.1 christos 10197 1.1 christos * fixmount/fixmount.c (clnt_create_timeout): use tli/socket code 10198 1.1 christos ala amq/amq.c so that fixmount will work on both types of systems. 10199 1.1 christos 10200 1.1 christos * amq/amq.c (main): do no close tcp socket before running udp try, 10201 1.1 christos because we're not sure if it was opened at all. 10202 1.1 christos 10203 1.1 christos * mips-dec-ultrix* port merged in and cleaned up. 10204 1.1 christos 10205 1.1 christos * aux/configure.in: up minor shared library revision number, since 10206 1.1 christos it has changed enough. 10207 1.1 christos 10208 1.1 christos * hlfsd/hlfsd.c (main): don't check for overlay mount option here, 10209 1.1 christos as it is now done in compute_nfs_args(). Remove ultrix specific 10210 1.1 christos code also because it was moved to compute_nfs_args(). 10211 1.1 christos 10212 1.1 christos * conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that 10213 1.1 christos we have more generic code in print_nfs_args(). 10214 1.1 christos 10215 1.1 christos * libamu/mount_fs.c (print_nfs_args): print maxlen of 10216 1.1 christos nfs_args.addr, and also syncaddr (which is mostly NULL). Print 10217 1.1 christos struct knetconfig from nfs_args->knconf. 10218 1.1 christos 10219 1.1 christos * aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs 10220 1.1 christos headers here, but in try_compile_anyfs.m4. 10221 1.1 christos 10222 1.1 christos * aux/macros/type_ufs_args.m4: move test for struct ufs_specific 10223 1.1 christos (for ultrix) here from its own macro. 10224 1.1 christos 10225 1.1 christos * aux/macros/type_cdfs_args.m4: move test for struct iso_specific 10226 1.1 christos (for ultrix) here from its own macro. 10227 1.1 christos 10228 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking 10229 1.1 christos for overlay mount option. Remove code which checks for overlay 10230 1.1 christos option, as it is now done in compute_nfs_args(). 10231 1.1 christos 10232 1.1 christos * libamu/mount_fs.c (compute_mount_flags): move here code which 10233 1.1 christos checks for overlay mount option which was in amd/amfs_toplvl.c: 10234 1.1 christos mount_amfs_toplvl(). 10235 1.1 christos 10236 1.1 christos Wed Feb 7 15:35:51 1998 Rainer Orth <ro (a] xayide.TechFak.Uni-Bielefeld.DE> 10237 1.1 christos 10238 1.1 christos * The following are Rainer's ChangeLog entries for his ultrix 10239 1.1 christos port, added manually. -Erez. 10240 1.1 christos 10241 1.1 christos * merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c 10242 1.1 christos (mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl) 10243 1.1 christos 10244 1.1 christos * include/am_defs.h: include cdfs specific mount headers 10245 1.1 christos avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix) 10246 1.1 christos 10247 1.1 christos * include/am_compat.h: define several mount options corresponding 10248 1.1 christos to mount flags: pgthresh, hard (nfs), defperm, nodefperm, 10249 1.1 christos noversion, rrip (cdfs), nocache, quota, sync (generic) removed 10250 1.1 christos duplicate MNTTAB_OPT_RO definition 10251 1.1 christos 10252 1.1 christos * aux/macros/try_compile_anyfs.m4: include Ultrix specific 10253 1.1 christos ufs/cdfs mount headers 10254 1.1 christos 10255 1.1 christos * aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX 10256 1.1 christos specific mount headers 10257 1.1 christos 10258 1.1 christos * aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_* 10259 1.1 christos mount types in mount headers (Ultrix) 10260 1.1 christos 10261 1.1 christos * aux/configure.in: Ultrix/Digital UNIX specific checks: new 10262 1.1 christos headers, mount structures and fields, filesystem and mount types, 10263 1.1 christos mount flags 10264 1.1 christos 10265 1.1 christos * aux/acconfig.h: placeholders for new mount options: quota 10266 1.1 christos (generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs) 10267 1.1 christos cdfs, nfs, ufs mount structure fields new ufs, cdfs mount 10268 1.1 christos structures 10269 1.1 christos 10270 1.1 christos * amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in 10271 1.1 christos ufs_args.ufs_flags and has ufs specific pgthresh option 10272 1.1 christos 10273 1.1 christos * amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific 10274 1.1 christos CDFS mount flags and options 10275 1.1 christos 10276 1.1 christos * amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh), 10277 1.1 christos hlfsd/hlfsd.c (main): store generic mount flags in 10278 1.1 christos nfs_args.gfs_flags, handle separate NFS ro flag 10279 1.1 christos 10280 1.1 christos * aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific, 10281 1.1 christos struct_ufs_specific}.m4: new files; check for Ultrix specific 10282 1.1 christos mount structures 10283 1.1 christos 10284 1.1 christos * conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag 10285 1.1 christos 10286 1.1 christos * aux/macros/type_auth_create_gidlist.m4 (ultrix*): 10287 1.1 christos AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a 10288 1.1 christos comment in <rpc/auth.h> 10289 1.1 christos 10290 1.1 christos * include/am_defs.h: #define KERNEL to avoid definition of 10291 1.1 christos gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before 10292 1.1 christos <config.h> to force single definition here 10293 1.1 christos 10294 1.1 christos * libamu/mount_fs.c (compute_nfs_args): Ultrix support for 10295 1.1 christos nfs_args.gfs_flags moved to callers store mount options in 10296 1.1 christos nap->optstr 10297 1.1 christos 10298 1.1 christos * include/am_defs.h: fix _am_mntent mnt_{type, opts} field 10299 1.1 christos descriptions 10300 1.1 christos 10301 1.1 christos * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4: 10302 1.1 christos include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req 10303 1.1 christos definition in prototypes 10304 1.1 christos 10305 1.1 christos * aux/macros/mount_headers.m4: include <sys/errno.h> before 10306 1.1 christos AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_* 10307 1.1 christos definitions 10308 1.1 christos 10309 1.1 christos * conf/nfs_prot/nfs_prot_ultrix.h: new file 10310 1.1 christos 10311 1.1 christos * aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h 10312 1.1 christos 10313 1.1 christos * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4, 10314 1.1 christos aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple 10315 1.1 christos inclusion of <rpc/xdr.h> 10316 1.1 christos 10317 1.1 christos Sat Mar 7 13:56:05 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10318 1.1 christos 10319 1.1 christos * aux/configure.in: save state of config.cache and confdefs.h 10320 1.1 christos (as dbgcf.h) at various points of the configure. 10321 1.1 christos 10322 1.1 christos * aux/macros/save_state.m4: new macro to save state of configure, 10323 1.1 christos esp. useful in long ones. Saves confdefs.h and write $ac_cv_* 10324 1.1 christos cache variables that are known so far. 10325 1.1 christos 10326 1.1 christos * released snapshot am-utils-6.0a16s8 10327 1.1 christos 10328 1.1 christos 1998-03-06 Erez Zadok <ezk (a] mercer.psl.cs.columbia.edu> 10329 1.1 christos 10330 1.1 christos * fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining 10331 1.1 christos it, but only for flex. 10332 1.1 christos 10333 1.1 christos Fri Mar 6 17:23:17 1998 Erez Zadok <ezk (a] chestnut.mcl.cs.columbia.edu> 10334 1.1 christos 10335 1.1 christos * hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file 10336 1.1 christos to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible) 10337 1.1 christos to write the dump file. 10338 1.1 christos 10339 1.1 christos * doc/am-utils.texi,amd/opts.c: rename all references to nomadic 10340 1.1 christos functions to boolean functions, which is what they really are. 10341 1.1 christos 10342 1.1 christos * aux/configure.in: don't look for strcasecmp in libucb at all, 10343 1.1 christos but rather complete it from libamu/strcasecmp.c as needed. 10344 1.1 christos 10345 1.1 christos Fri Mar 6 03:29:20 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10346 1.1 christos 10347 1.1 christos * conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS. 10348 1.1 christos 10349 1.1 christos * libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X 10350 1.1 christos which defines IFF_ROUTE instead of IFF_LOOPBACK. Patch from Tom 10351 1.1 christos Schmidt <tschmidt (a] micron.com>. 10352 1.1 christos 10353 1.1 christos * released snapshot am-utils-6.0a16s7 10354 1.1 christos 10355 1.1 christos * conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to 10356 1.1 christos hppa1.0-hp-hpux11.00.tgz. 10357 1.1 christos 10358 1.1 christos Thu Mar 5 21:59:03 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10359 1.1 christos 10360 1.1 christos * converted all sources to use mntent field names, and map mnttab 10361 1.1 christos field names to mntent's. 10362 1.1 christos 10363 1.1 christos * include/am_defs.h (mnt_special): map struct mnttab field names 10364 1.1 christos to struct mntent field names. 10365 1.1 christos 10366 1.1 christos * aux/macros/check_mount_trap.m4: hpux11's mount trap style is 10367 1.1 christos identical to svr4/solaris2. 10368 1.1 christos 10369 1.1 christos * aux/macros/check_mount_style.m4: hpux11's mount style is 10370 1.1 christos identical to svr4/solaris2. 10371 1.1 christos 10372 1.1 christos * aux/macros/check_network_transport_type.m4: hpux11 is a TLI 10373 1.1 christos system! 10374 1.1 christos 10375 1.1 christos * aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address 10376 1.1 christos dereferencing style is same as svr4. 10377 1.1 christos 10378 1.1 christos * aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh 10379 1.1 christos dereferencing style is same as svr4. 10380 1.1 christos 10381 1.1 christos * conf/transp/transp_tli.c (create_nfs_service): if failed to 10382 1.1 christos getnetconfigent() of ticlts, then try udp (hpux11). 10383 1.1 christos 10384 1.1 christos * conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for 10385 1.1 christos struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris 10386 1.1 christos 2.5.1 (HP used them). 10387 1.1 christos 10388 1.1 christos * amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open() 10389 1.1 christos because hpux11 doesn't like it. if t_open failed, print error 10390 1.1 christos based on t_errlist, not sys_errlist. 10391 1.1 christos 10392 1.1 christos Wed Mar 4 22:01:55 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10393 1.1 christos 10394 1.1 christos * doc/am-utils.texi: lots of documentation fixes from Rainer Orth 10395 1.1 christos <ro (a] TechFak.Uni-Bielefeld.DE>. 10396 1.1 christos 10397 1.1 christos Sat Feb 28 22:16:35 1998 Erez Zadok <ezk (a] kosh.cs.columbia.edu> 10398 1.1 christos 10399 1.1 christos * fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used 10400 1.1 christos later. 10401 1.1 christos 10402 1.1 christos * include/am_defs.h: defined the extern for ualarm() if it isn't 10403 1.1 christos found, regardless if the function isn't found in standard 10404 1.1 christos libraries, because otherwise libamu will include it. 10405 1.1 christos 10406 1.1 christos 1998-02-28 Erez Zadok (per Ron Snyder) <ezk (a] short.cvo.roguewave.com> 10407 1.1 christos 10408 1.1 christos * initial port to hpux-11 completed. Compiles cleanly, but 10409 1.1 christos probably does not work, because of missing NFS V.2/3 headers. 10410 1.1 christos 10411 1.1 christos * amd/conf_tok.l: cast yytext to char* when passed to strlen and 10412 1.1 christos strdup, for hpux-11's ansi-cc compiler. 10413 1.1 christos 10414 1.1 christos * include/am_utils.h: renamed all xfree() to XFREE() to avoid 10415 1.1 christos conflict with hpux-11's system headers. Also move (voidp) cast 10416 1.1 christos from sources to inside the macro itself. 10417 1.1 christos 10418 1.1 christos Sat Feb 28 13:44:21 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10419 1.1 christos 10420 1.1 christos * released snapshot am-utils-6.0a16s6 10421 1.1 christos 10422 1.1 christos * amd/info_nis.c (nis_isup): new function to test if NIS is up 10423 1.1 christos without hanging amd. Used to ensure that amd does not clear the 10424 1.1 christos maps when the expiration period arrived, if the service is down. 10425 1.1 christos Otherwise it would be left with empty maps. It is better to stay 10426 1.1 christos with possibly old information than none at all. 10427 1.1 christos 10428 1.1 christos * amd/mapc.c (mapc_sync): check to see if map service is up. 10429 1.1 christos 10430 1.1 christos Tue Feb 24 02:19:42 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10431 1.1 christos 10432 1.1 christos * aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it 10433 1.1 christos includes auxiliary library only if needed. 10434 1.1 christos 10435 1.1 christos 1998-02-22 Erez Zadok <ezk (a] mercer.psl.cs.columbia.edu> 10436 1.1 christos 10437 1.1 christos * amd/conf_tok.l: undefine ECHO again, so it doesn't get used 10438 1.1 christos later. 10439 1.1 christos 10440 1.1 christos Sun Feb 22 01:41:08 1998 Erez Zadok <ezk (a] zen.cs.columbia.edu> 10441 1.1 christos 10442 1.1 christos * conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1 10443 1.1 christos completed. 10444 1.1 christos 10445 1.1 christos * conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3. 10446 1.1 christos 10447 1.1 christos Sat Feb 21 19:45:48 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10448 1.1 christos 10449 1.1 christos * doc/am-utils.texi (Network Host Filesystem): correct example for 10450 1.1 christos type:=host map. 10451 1.1 christos 10452 1.1 christos * aux/macros/os_cflags.m4: only osf4 should compile with 10453 1.1 christos -D_SOCKADDR_LEN. 10454 1.1 christos 10455 1.1 christos * aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2 10456 1.1 christos and OSF4. 10457 1.1 christos 10458 1.1 christos * BUGS: include a new file listing known bugs. 10459 1.1 christos 10460 1.1 christos Sat Feb 21 03:50:48 1998 Erez Zadok <ezk (a] mercer.psl.cs.columbia.edu> 10461 1.1 christos 10462 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux 10463 1.1 christos versions. 10464 1.1 christos 10465 1.1 christos * aux/macros/type_recvfrom_fromlen.m4: linux alpha should use 10466 1.1 christos size_t for recvfrom fromlen arg. 10467 1.1 christos 10468 1.1 christos Sat Feb 21 03:33:59 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10469 1.1 christos 10470 1.1 christos * scripts/ctl-hlfsd.in: turn -D fork so primary process never 10471 1.1 christos hangs. 10472 1.1 christos 10473 1.1 christos Sat Feb 21 02:45:51 1998 Erez Zadok <ezk (a] mercer.psl.cs.columbia.edu> 10474 1.1 christos 10475 1.1 christos * include/am_defs.h: don't include <sys/stat.h> and 10476 1.1 christos <linux/stat.h>, just remaining definitions in <statbuf.h> 10477 1.1 christos 10478 1.1 christos Thu Jan 29 00:44:28 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10479 1.1 christos 10480 1.1 christos * released snapshot am-utils-6.0a16s5 10481 1.1 christos 10482 1.1 christos * conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to 10483 1.1 christos mount(2). 10484 1.1 christos 10485 1.1 christos * check for <sys/fs/xfs_clnt.h> and include it when needed. 10486 1.1 christos 10487 1.1 christos * conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize 10488 1.1 christos efs and xfs separately from "ufs". 10489 1.1 christos 10490 1.1 christos * amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs. 10491 1.1 christos 10492 1.1 christos * aux/configure.in: look for irix efs and xfs file systems. 10493 1.1 christos 10494 1.1 christos * scripts/amd.conf.5: new unmount_on_exit option documented. 10495 1.1 christos 10496 1.1 christos * doc/am-utils.texi (unmount_on_exit): new option documented. 10497 1.1 christos 10498 1.1 christos * amd/conf.c (gopt_unmount_on_exit): new function to handle new 10499 1.1 christos amd.conf option. 10500 1.1 christos 10501 1.1 christos * amd/map.c (umount_exported): if global amd.conf flag 10502 1.1 christos unmount_on_exit is on, then try to unmount all mounted (or 10503 1.1 christos restartable) file systems. 10504 1.1 christos 10505 1.1 christos * amd/amd.c: if print_pid option is on, then normally print it to 10506 1.1 christos stdout. If also pid_file is specified, then print the process ID 10507 1.1 christos into that file. 10508 1.1 christos 10509 1.1 christos * amd/get_args.c (get_args): print correct -l option depending if 10510 1.1 christos system supports syslog and/or syslog facilities. Patch from 10511 1.1 christos Tom Schmidt <tschmidt (a] micron.com>. 10512 1.1 christos 10513 1.1 christos * doc/am-utils.texi (opts Option): updates for documentation for 10514 1.1 christos new cdfs options defperm, nodefperm, noversion, rrip. 10515 1.1 christos 10516 1.1 christos * amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm, 10517 1.1 christos nodefperm, noversion, rrip. 10518 1.1 christos 10519 1.1 christos * conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h> 10520 1.1 christos on osf. 10521 1.1 christos 10522 1.1 christos * aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4, 10523 1.1 christos expand_cpp_string.m4}: use #error to make failed compilations 10524 1.1 christos fail faster, rather than have the program fail during a run. 10525 1.1 christos 10526 1.1 christos * include/am_compat.h: added a few new cdfs options: rrip, 10527 1.1 christos noversion, defperm, and nodefperm (used in OSF). 10528 1.1 christos 10529 1.1 christos Wed Jan 28 20:24:09 1998 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 10530 1.1 christos 10531 1.1 christos * released snapshot am-utils-6.0a16s4 10532 1.1 christos 10533 1.1 christos * doc/am-utils.texi (Global Parameters): update manual for new 10534 1.1 christos amd.conf global variable hesiod_base. 10535 1.1 christos 10536 1.1 christos * scripts/amd.conf.5: update man page for new amd.conf global 10537 1.1 christos variable hesiod_base. 10538 1.1 christos 10539 1.1 christos * amd/get_args.c (get_args): use /etc/amd.conf file if exists by 10540 1.1 christos default, else try command line options. Patch from Randall 10541 1.1 christos S. Winchester <rsw (a] Glue.umd.edu>. 10542 1.1 christos 10543 1.1 christos Wed Jan 28 12:20:56 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10544 1.1 christos 10545 1.1 christos * amd/info_hesiod.c (hesiod_search), amd/conf.c 10546 1.1 christos (gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options): 10547 1.1 christos included patch from Randall S. Winchester <rsw (a] Glue.umd.edu>, to 10548 1.1 christos support a hesiod base name in the amd.conf file. 10549 1.1 christos 10550 1.1 christos * doc/am-utils.texi (pid_file Parameter): document new global 10551 1.1 christos amd.conf parameter. 10552 1.1 christos 10553 1.1 christos * scripts/amd.conf.5: document new global option pid_file. 10554 1.1 christos 10555 1.1 christos * amd/amd.c (daemon_mode): if cannot open pid_file, continue to 10556 1.1 christos run, but print error message. 10557 1.1 christos 10558 1.1 christos * amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode, 10559 1.1 christos init_global_options): Included patch from Randall S. Winchester 10560 1.1 christos <rsw (a] Glue.umd.edu>, to support pid files in the amd.conf file. 10561 1.1 christos 10562 1.1 christos * amd/get_args.c (get_args): correct usage info on amd -t. 10563 1.1 christos 10564 1.1 christos * amd/*.c: massive file name and symbol name changes. All amd 10565 1.1 christos file systems files and symbols are prefix with amfs_*. Now using 10566 1.1 christos real name of file system: amfs_auto instead of afs, amfs_inherit 10567 1.1 christos instead of ifs, amfs_linkx instead of sfsx, etc. This will enable 10568 1.1 christos clear distinction between amd file system and generic ones like 10569 1.1 christos nfs/ufs/pcfs/hsfs. Also, now we can implement true afs (Andrew 10570 1.1 christos f/s) and DFS (Distributed f/s). 10571 1.1 christos 10572 1.1 christos * amd/amfs_union.c: unionfs for amd is always defined, no need to 10573 1.1 christos #ifdef it. 10574 1.1 christos 10575 1.1 christos Mon Jan 26 16:51:38 1998 Erez Zadok <ezk (a] chestnut.mcl.cs.columbia.edu> 10576 1.1 christos 10577 1.1 christos * libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on 10578 1.1 christos or off, based on the particular quirks of the OS in question. 10579 1.1 christos 10580 1.1 christos * aux/macros/check_nfs_socket_connection.m4: new macro to set the 10581 1.1 christos correct wait of handling un/connected NFS sockets. 10582 1.1 christos 10583 1.1 christos * scripts/wait4amd.in: use rlogin instead of rsh. 10584 1.1 christos 10585 1.1 christos * amd/am_ops.c (ops_showfstypes): when showing F/S types in amd 10586 1.1 christos -v, always show "nfs3" for NFS V.3. 10587 1.1 christos 10588 1.1 christos 1998-01-25 Erez Zadok <ezk (a] snoopy.cs.columbia.edu> 10589 1.1 christos 10590 1.1 christos * lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets 10591 1.1 christos more picky than 2.7.2.3 did. 10592 1.1 christos 10593 1.1 christos 1998-01-24 Erez Zadok <ezk (a] snoopy.cs.columbia.edu> 10594 1.1 christos 10595 1.1 christos * include/am_utils.h (dlog): amuDebug macros reduced to shorter 10596 1.1 christos forms. 10597 1.1 christos 10598 1.1 christos Fri Jan 23 18:38:30 1998 Erez Zadok <ezk (a] goat.mcl.cs.columbia.edu> 10599 1.1 christos 10600 1.1 christos * released snapshot am-utils-6.0a16s3 10601 1.1 christos 10602 1.1 christos * include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included 10603 1.1 christos in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h 10604 1.1 christos must not, fake a definition for varargs. 10605 1.1 christos 10606 1.1 christos Fri Jan 16 10:16:40 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10607 1.1 christos 10608 1.1 christos * README: show how to configure in additional support such as 10609 1.1 christos hesiod using various --enable-* flags. 10610 1.1 christos 10611 1.1 christos Wed Jan 14 15:13:02 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10612 1.1 christos 10613 1.1 christos * aux/configure.in: look for strcasecmp(), and replace it if not 10614 1.1 christos available. 10615 1.1 christos 10616 1.1 christos * amd/ops_nfsl.c (nfsl_match): host names should be compared using 10617 1.1 christos case insensitive. 10618 1.1 christos 10619 1.1 christos * amd/opts.c: for each map variable, define if the comparison 10620 1.1 christos needs to be done case insensitive. 10621 1.1 christos 10622 1.1 christos * include/am_utils.h (STRCEQ): a new macro to use strcasecmp(). 10623 1.1 christos Patch from Thomas Richter <richter (a] chemie.fu-berlin.de> 10624 1.1 christos 10625 1.1 christos 1998-01-14 Erez Zadok <ezk (a] irt.cs.columbia.edu> 10626 1.1 christos 10627 1.1 christos * aux/configure.in: look for "isofs" as a possible mount type for 10628 1.1 christos cdfs (RedHat Linux). 10629 1.1 christos 10630 1.1 christos Wed Jan 14 02:07:05 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10631 1.1 christos 10632 1.1 christos * conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount 10633 1.1 christos type if not defined. 10634 1.1 christos 10635 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if 10636 1.1 christos already defined. 10637 1.1 christos 10638 1.1 christos * aux/configure.in: look for ext2fs before ufs, b/c some linux 10639 1.1 christos have both. 10640 1.1 christos 10641 1.1 christos Mon Jan 12 15:43:20 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10642 1.1 christos 10643 1.1 christos * Makefile.am (snapshot): allow me to install snapshots into the 10644 1.1 christos ftp directory. 10645 1.1 christos 10646 1.1 christos * scripts/ctl-hlfsd.in: don't turn on -D mem by default. 10647 1.1 christos 10648 1.1 christos * amd/get_args.c (get_args): minor bug in output of amd -H. 10649 1.1 christos 10650 1.1 christos Mon Jan 12 03:05:06 1998 Erez Zadok <ezk (a] chestnut.mcl.cs.columbia.edu> 10651 1.1 christos 10652 1.1 christos ******************************************************************* 10653 1.1 christos *** Released am-utils-6.0a15 *** 10654 1.1 christos ******************************************************************* 10655 1.1 christos 10656 1.1 christos Sun Jan 11 15:06:34 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10657 1.1 christos 10658 1.1 christos * amd/conf.c (*_browsable_dirs): allow specifying 10659 1.1 christos browsable_dirs=full, which will print *all* entries (other than 10660 1.1 christos /default), including those with '*' and '/' characters. 10661 1.1 christos 10662 1.1 christos * amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length 10663 1.1 christos to 1500. 10664 1.1 christos 10665 1.1 christos * doc/am-utils.texi: fixed reversed documentation for NFS mount 10666 1.1 christos options vers and proto. 10667 1.1 christos 10668 1.1 christos * doc/Makefile.am (install-html): separate target just for 10669 1.1 christos installing html files. Another new target "alldocs" is just for 10670 1.1 christos installing all files needed for the am-utils home page. 10671 1.1 christos 10672 1.1 christos * scripts/amd.conf-sample: updated example for log_file. 10673 1.1 christos 10674 1.1 christos * scripts/amd.conf.5: updated for new way to declare new syslog 10675 1.1 christos facility in the log_file option. 10676 1.1 christos 10677 1.1 christos * amd/amd.8: updated for new way to declare new syslog facility in 10678 1.1 christos the -l option. 10679 1.1 christos 10680 1.1 christos * libamu/xutil.c (get_syslog_facility): allow users to specify the 10681 1.1 christos syslog facility as an appended string to the log device. Ex. amd 10682 1.1 christos -l syslog:local7 will use LOG_LOCAL7, while the older -l syslog 10683 1.1 christos will use the default LOG_DAEMON facility. 10684 1.1 christos 10685 1.1 christos * amd/get_args.c (get_args): updated new syntax for amd -l 10686 1.1 christos syslog:facility. 10687 1.1 christos 10688 1.1 christos Thu Jan 8 04:05:10 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10689 1.1 christos 10690 1.1 christos * aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3 10691 1.1 christos (intel). 10692 1.1 christos 10693 1.1 christos * libamu/wire.c (print_wires): bug fix. Nullify output buffer 10694 1.1 christos before appending to it, on systems with two or more network 10695 1.1 christos interfaces. 10696 1.1 christos 10697 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for 10698 1.1 christos the mntent for cachefs. 10699 1.1 christos 10700 1.1 christos * include/am_defs.h: external definition for strstr() should use 10701 1.1 christos const for both arguments. 10702 1.1 christos 10703 1.1 christos * aux/configure.in: add extern definitions for getwd() if missing. 10704 1.1 christos 10705 1.1 christos * include/am_defs.h: define the extern for strdup() even if the 10706 1.1 christos function does not exist, for it will be filled in by 10707 1.1 christos libamu/strdup.c 10708 1.1 christos 10709 1.1 christos * amq/pawd.c (cluster_server): don't use getccent() if the extern 10710 1.1 christos for it isn't there. On hpux 10.20, the function is in libc, but 10711 1.1 christos <cluster.h> and struct cct_entry do not exist. 10712 1.1 christos 10713 1.1 christos * aux/configure.in: check for an extern for getccent() b/c some 10714 1.1 christos hpux systems don't have it (hpux 10.20). 10715 1.1 christos 10716 1.1 christos Wed Jan 7 00:09:19 1998 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 10717 1.1 christos 10718 1.1 christos * doc/am-utils.texi (Amq -T option): manual documentation updates 10719 1.1 christos for new amq options -T/-U. 10720 1.1 christos 10721 1.1 christos * amq/amq.8: updated man page for new amq options -T/-U. 10722 1.1 christos 10723 1.1 christos * amq/amq.c: two new switches to amq. -U will contact amd using 10724 1.1 christos UDP only. -T will use TCP only. Normally amq will try TCP and 10725 1.1 christos if that failed, will try UDP. 10726 1.1 christos 10727 1.1 christos * doc/am-utils.texi (pawd): manual documentation for pawd. 10728 1.1 christos 10729 1.1 christos * amq/pawd.1: new man page for pawd. 10730 1.1 christos 10731 1.1 christos Tue Jan 6 04:21:59 1998 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 10732 1.1 christos 10733 1.1 christos * amq/pawd.c: a new program, Print Automounter Working Directory, 10734 1.1 christos to print the proper pathname of the cwd or any other pathname, 10735 1.1 christos adjusted for automounter paths, while avoiding mount points. 10736 1.1 christos 10737 1.1 christos * aux/macros/localconfig.m4: trivial support for am-utils 10738 1.1 christos maintainers to adjust some of the configuration of am-utils after 10739 1.1 christos it has been auto-configured by putting whatever definitions you 10740 1.1 christos wish in a file called localconfig.h, located in the top build 10741 1.1 christos directory (the same one where config.h is created for you). 10742 1.1 christos 10743 1.1 christos * doc/am-utils.texi (Caching Filesystem): updated documents for 10744 1.1 christos cachefs file system. 10745 1.1 christos 10746 1.1 christos * amd/ops_cachefs.c: initial cachefs support, for solaris. 10747 1.1 christos type:=cachefs, requires cachedir:=/cache/dir/name to be defined 10748 1.1 christos and initialized with cfsadmin -c. $rfs is backdir to be cached 10749 1.1 christos from, and $fs is the local mount point of the cachefs. 10750 1.1 christos 10751 1.1 christos * conf/mount/mount_svr4.c (mount_svr4): support mounting of 10752 1.1 christos cachefs file systems. 10753 1.1 christos 10754 1.1 christos * amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the 10755 1.1 christos mnttab type is. 10756 1.1 christos 10757 1.1 christos Mon Jan 5 23:22:49 1998 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 10758 1.1 christos 10759 1.1 christos * amd/opts.c: added support for new variable $cachedir. 10760 1.1 christos 10761 1.1 christos * include/am_utils.h: added opt_cachedir field to struct am_opts. 10762 1.1 christos 10763 1.1 christos Sat Jan 3 01:43:57 1998 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 10764 1.1 christos 10765 1.1 christos * amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the 10766 1.1 christos local hostname does not match $rhost, and if so, also assume 10767 1.1 christos type:=nfs. 10768 1.1 christos 10769 1.1 christos Fri Jan 2 01:00:40 1998 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 10770 1.1 christos 10771 1.1 christos * updated all source files to add 1998 as a copyright year. 10772 1.1 christos 10773 1.1 christos * amd/ops_nfsl.c: new amd meta file system "type:=nfsl". Behaves 10774 1.1 christos like type:=linkx if the pathname denoted by $fs exists, and like 10775 1.1 christos type:=nfs if it does not. A convenient shortcut for the most 10776 1.1 christos popular amd map entry. 10777 1.1 christos 10778 1.1 christos * amd/amd.c (main): amd should chdir to / before starting, to 10779 1.1 christos avoid hanging on other NFS server if started elsewhere. 10780 1.1 christos 10781 1.1 christos * amd/ops_TEMPLATE.c: added an empty template file for developers 10782 1.1 christos who wish to write new amd pseudo file systems. 10783 1.1 christos 10784 1.1 christos Thu Jan 1 00:27:28 1998 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10785 1.1 christos 10786 1.1 christos * hlfsd/homedir.c (plt_init): make function exported, to save on 10787 1.1 christos the unnecessary init_homedir() function which was removed. 10788 1.1 christos (table_add): don't use xmalloc() when you can use strdup() 10789 1.1 christos instead. 10790 1.1 christos 10791 1.1 christos Thu Jan 1 00:15:58 1998 Erez Zadok <ezk (a] chestnut.mcl.cs.columbia.edu> 10792 1.1 christos 10793 1.1 christos * hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this 10794 1.1 christos because we will be making more passwd calls afterwards. On 10795 1.1 christos Solaris 2.5.1, making getpwent() calls after calling endpwent() 10796 1.1 christos results in a memory leak! (and no, even Purify didn't detect 10797 1.1 christos it...) 10798 1.1 christos 10799 1.1 christos Tue Dec 23 18:23:47 1997 Erez Zadok <ezk (a] chestnut.mcl.cs.columbia.edu> 10800 1.1 christos 10801 1.1 christos * hlfsd/hlfsd.c (main): Bug fix. Don't try to free() an 10802 1.1 christos automatically allocated address. 10803 1.1 christos 10804 1.1 christos * amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an 10805 1.1 christos automatically allocated address. 10806 1.1 christos 10807 1.1 christos * ALL SOURCES: change every direct call to free() to xfree(), so 10808 1.1 christos it can be mapped to the right debugging function as needed. 10809 1.1 christos 10810 1.1 christos * include/am_utils.h: new free() policy. If debugging memory, 10811 1.1 christos call dxfree(), which will print the file name and line number 10812 1.1 christos where the free occurred and the pointer address. if only regular 10813 1.1 christos debugging, then free() and reset the pointer to NULL so it cannot 10814 1.1 christos be used afterwards inadvertently. If not DEBUG at all, then just 10815 1.1 christos run free(). Three different #define macros set the right mapping. 10816 1.1 christos 10817 1.1 christos * libamu/xutil.c (dxfree): renamed function to dxfree(), so it can 10818 1.1 christos be called only when debugging the memory. 10819 1.1 christos 10820 1.1 christos Tue Dec 23 04:24:28 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10821 1.1 christos 10822 1.1 christos * wire-test/wire-test.c (main): use xmalloc() not malloc(). 10823 1.1 christos 10824 1.1 christos * conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not 10825 1.1 christos calloc(). 10826 1.1 christos 10827 1.1 christos * conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc(). 10828 1.1 christos 10829 1.1 christos * conf/mount/mount_linux.c (parse_opts): use xmalloc() not 10830 1.1 christos malloc(). 10831 1.1 christos 10832 1.1 christos * amd/info_ldap.c: use xmalloc() not malloc(). 10833 1.1 christos 10834 1.1 christos * libamu/xutil.c (xzalloc): new function to allocate memory and 10835 1.1 christos zero its bytes. 10836 1.1 christos 10837 1.1 christos * amq/amq.c: amq does not need its own definition of xfree(). 10838 1.1 christos 10839 1.1 christos * aux/macros/opt_debug.m4: if used --enable-debug=mem, then also 10840 1.1 christos look for function malloc_verify() in libmapmalloc.a, and function 10841 1.1 christos mallinfo() in libmalloc. 10842 1.1 christos 10843 1.1 christos * libamu/xutil.c (checkup_mem): do not use mallinfo field 10844 1.1 christos uordbytes, because it does not always exist. Rather, compute it 10845 1.1 christos from other fields.. 10846 1.1 christos 10847 1.1 christos * include/am_utils.h: add external definition to xfree() function 10848 1.1 christos used when debugging memory references. 10849 1.1 christos 10850 1.1 christos Mon Dec 22 03:01:30 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10851 1.1 christos 10852 1.1 christos * amd/ops_afs.c (afs_readdir_browsable): reduce the number of 10853 1.1 christos bytes heuristically computed to be returned to the kernel. 10854 1.1 christos Otherwise browsable_dirs fails on OpenBSD 2.2. 10855 1.1 christos 10856 1.1 christos * amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of 10857 1.1 christos mf_private field to AFTER it gets used. 10858 1.1 christos 10859 1.1 christos Sat Dec 20 00:51:21 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10860 1.1 christos 10861 1.1 christos * amd/ops_host.c (host_umounted): don't use clnt_spcreateerror() 10862 1.1 christos on systems that don't support it. 10863 1.1 christos 10864 1.1 christos * include/am_defs.h: add missing extern definition for free(). 10865 1.1 christos 10866 1.1 christos * aux/configure.in: check for external definition for free(). 10867 1.1 christos 10868 1.1 christos * libamu/Makefile.am: add to comment a mention of strstr as an 10869 1.1 christos optional function. 10870 1.1 christos 10871 1.1 christos * libamu/xutil.c (switch_to_logfile): use openlog() options only 10872 1.1 christos if they exist. 10873 1.1 christos 10874 1.1 christos * conf/transp/transp_sockets.c (get_nfs_version): don't use 10875 1.1 christos clnt_spcreateerror if it does not exist. 10876 1.1 christos 10877 1.1 christos * aux/configure.in: check for missing functions clnt_create and 10878 1.1 christos clnt_spcreateerror. Check for missing strstr, and complete 10879 1.1 christos its code. Check for missing external definition for strstr. 10880 1.1 christos 10881 1.1 christos * aux/macros/host_macros.m4: normalize sun3* names. 10882 1.1 christos 10883 1.1 christos * Makefile.am: updates for new sunos3 files distributed. 10884 1.1 christos 10885 1.1 christos * conf/nfs_prot/nfs_prot_sunos3.h: new file. 10886 1.1 christos 10887 1.1 christos * conf/fh_dref/fh_dref_sunos3.h: new file. 10888 1.1 christos 10889 1.1 christos * aux/macros/check_nfs_prot_headers.m4: added sunos3 case. 10890 1.1 christos 10891 1.1 christos * aux/macros/check_nfs_fh_dref.m4: added sunos3 case. 10892 1.1 christos 10893 1.1 christos * doc/am-utils.texi (wire Selector Variable): updated manual for 10894 1.1 christos adjusted variables wire, network, and netnumber, all using the 10895 1.1 christos in_network() function. 10896 1.1 christos 10897 1.1 christos Fri Dec 19 04:37:36 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10898 1.1 christos 10899 1.1 christos * amd/opts.c: allow options to be processed by executing arbitrary 10900 1.1 christos functions. Converted wire, network, and netnumber all to use the 10901 1.1 christos nomadic function in_network. So from now on they perform a match 10902 1.1 christos against all networks, not just primary. 10903 1.1 christos 10904 1.1 christos * initial port to alpha-unknown-linux-gnu, probably works, but 10905 1.1 christos untested yet. 10906 1.1 christos 10907 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: add special definitions for 10908 1.1 christos __FD_* macros which for som strange reason do not get included 10909 1.1 christos from <selectbits.h> on redhat alpha linux. Also turn off usage of 10910 1.1 christos <rpc/des_auth.h> because it is incomplete on the same systems. 10911 1.1 christos 10912 1.1 christos * hlfsd/homedir.c (table_add): cast uid field to int, for 10913 1.1 christos comparison. 10914 1.1 christos 10915 1.1 christos * include/am_defs.h: more coflicts with redhat alpha linux 10916 1.1 christos "resolved". 10917 1.1 christos 10918 1.1 christos * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4: 10919 1.1 christos There's a conflict of definitions on redhat alpha linux between 10920 1.1 christos <netinet/in.h> and <linux/fs.h> which must be avoided. 10921 1.1 christos 10922 1.1 christos * aux/configure.in: check for <socketbits.h>, which is in use on 10923 1.1 christos redhat alpha linux. 10924 1.1 christos 10925 1.1 christos * doc/am-utils.texi (Selectors): added documentation to describe 10926 1.1 christos the new "!" (negated) nomadic functions. 10927 1.1 christos 10928 1.1 christos * amd/opts.c (f_in_network): print debugging info that is correct, 10929 1.1 christos rather than saying that any ARG is on a local network. 10930 1.1 christos (eval_opts): added support for negating nomadic functions, by 10931 1.1 christos prepending "!" to their name. Example, !exists(/foo/bar). 10932 1.1 christos 10933 1.1 christos Thu Dec 18 20:57:19 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10934 1.1 christos 10935 1.1 christos * include/am_compat.h: ensure that all NFS3 systems have the mount 10936 1.1 christos table entries (and amd opts switches) "proto" and "vers". 10937 1.1 christos 10938 1.1 christos * hlfsd/homedir.c (table_add): added some debugging info to try 10939 1.1 christos and track down a serious memory leak in hlfsd. 10940 1.1 christos 10941 1.1 christos 1997-12-18 Erez Zadok <ezk (a] t-rex.mcl.cs.columbia.edu> 10942 1.1 christos 10943 1.1 christos * libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that 10944 1.1 christos you do NOT set the noconn option, and use connected sockets 10945 1.1 christos always. So I'm now forced not to set it at all, and have the user 10946 1.1 christos specify it as "conn" or "noconn" in their /default entry. Argh... 10947 1.1 christos Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be 10948 1.1 christos buggy (TCP hangs with "short receive" kernel errors). I'd better 10949 1.1 christos wait until they get it working in their version of the automounter 10950 1.1 christos first. So I'm putting the "noconn" option back. 10951 1.1 christos 10952 1.1 christos Thu Dec 18 02:39:39 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10953 1.1 christos 10954 1.1 christos * libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set 10955 1.1 christos nfs_args field maxgrouplist accordingly. 10956 1.1 christos 10957 1.1 christos * include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition 10958 1.1 christos for mount table entry for maxgroups based on NFS mount option 10959 1.1 christos maxgrp. 10960 1.1 christos 10961 1.1 christos * aux/configure.in: put back testing for NFS mount option 10962 1.1 christos "maxgrps". Added test for mount table entry "maxgroups". 10963 1.1 christos 10964 1.1 christos * libamu/mount_fs.c (compute_nfs_args): perform more careful tests 10965 1.1 christos on nfs_proto, because it could be NULL. 10966 1.1 christos 10967 1.1 christos * doc/am-utils.texi (Selectors): added example of in_network() 10968 1.1 christos selector. 10969 1.1 christos 10970 1.1 christos * aux/macros/check_hide_mount_type.m4: all hpux versions, 10971 1.1 christos including 9.x, should use "ignore" as the mount type to hide from 10972 1.1 christos amd. 10973 1.1 christos 10974 1.1 christos Wed Dec 17 13:09:21 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10975 1.1 christos 10976 1.1 christos * include/am_utils.h (NSTREQ): use new macro instead of strncmp() 10977 1.1 christos every where in the sources. 10978 1.1 christos 10979 1.1 christos Wed Dec 17 01:15:01 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 10980 1.1 christos 10981 1.1 christos * libamu/mount_fs.c (print_nfs_args): if -D trace is on, will 10982 1.1 christos print as much info that is given in struct nfs_args as possible. 10983 1.1 christos useful for detecting internal flags and options, as well as the 10984 1.1 christos file handle used. 10985 1.1 christos 10986 1.1 christos * scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc 10987 1.1 christos after /etc and before /etc/local. 10988 1.1 christos 10989 1.1 christos Tue Dec 16 18:51:36 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 10990 1.1 christos 10991 1.1 christos * aux/configure.in, libamu/Makefile.am: added support for linking 10992 1.1 christos with specific versions of libamu. Upped shared library version of 10993 1.1 christos libamu to 1 (libamu.so.1.0.0) 10994 1.1 christos 10995 1.1 christos * include/am_defs.h: added external definition for mkstemp() as 10996 1.1 christos needed. 10997 1.1 christos 10998 1.1 christos * minor new port to i386-unknown-netbsd1.3 (BETA version of 10999 1.1 christos netbsd). 11000 1.1 christos 11001 1.1 christos * aux/config.guess: don't leave a trailing '.' on the system name 11002 1.1 christos for NetBSD-1.3_BETA and similarly for OpenBSD. 11003 1.1 christos 11004 1.1 christos * conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight 11005 1.1 christos differences in ypall calling conventions. 11006 1.1 christos 11007 1.1 christos * mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible 11008 1.1 christos in preference over mktemp(), b/c it is more secure. 11009 1.1 christos 11010 1.1 christos * aux/configure.in: check for mkstemp(), a more secure version of 11011 1.1 christos mktemp(). 11012 1.1 christos 11013 1.1 christos Mon Dec 15 02:32:14 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11014 1.1 christos 11015 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount 11016 1.1 christos table "vers" option generally do not set the mnttab entry to 11017 1.1 christos "nfs3", but to "nfs" and then they set "vers=3". Setting it to 11018 1.1 christos "nfs3" works, but it may break some things like "df -t nfs" and 11019 1.1 christos the "quota" program (esp. on Solaris and Irix). So on those 11020 1.1 christos systems, set it to "nfs". 11021 1.1 christos 11022 1.1 christos Sat Dec 13 01:36:27 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11023 1.1 christos 11024 1.1 christos * doc/am-utils.texi (Distrib): updates for new ports, location of 11025 1.1 christos am-utils' home page, and URL cross references (now supported by my 11026 1.1 christos version of texi2html). 11027 1.1 christos 11028 1.1 christos * aux/macros/check_mtype_type.m4: also use string type for file 11029 1.1 christos system mount types under nextstep for mount(2). 11030 1.1 christos 11031 1.1 christos * aux/macros/check_mtype_printf_type.m4}: nextstep can handle both 11032 1.1 christos integer and string types for file system mount types in mount(2), 11033 1.1 christos but it is better to use string types. 11034 1.1 christos 11035 1.1 christos * conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to 11036 1.1 christos 0, not 1! Otherwise, all NFS calls (esp. mount) return errno 1 11037 1.1 christos (EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now 11038 1.1 christos works. 11039 1.1 christos 11040 1.1 christos * conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0, 11041 1.1 christos not 1! Otherwise, all NFS calls (esp. mount) return errno 1 11042 1.1 christos (EPERM) instead of 0 (OK). 11043 1.1 christos 11044 1.1 christos * libamu/xdr_func.c (xdr_*): add debugging calls that are optioned 11045 1.1 christos by -D trace (protocol trace). 11046 1.1 christos 11047 1.1 christos 1997-12-11 Erez Zadok <ezk (a] bach.cs.columbia.edu> 11048 1.1 christos 11049 1.1 christos * A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR 11050 1.1 christos macro based on existence on others, and include <sys/stat.h>. 11051 1.1 christos 11052 1.1 christos Thu Dec 11 14:14:38 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11053 1.1 christos 11054 1.1 christos * aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off 11055 1.1 christos inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on 11056 1.1 christos which this header is broken (it tries to include non-existing 11057 1.1 christos headers). 11058 1.1 christos 11059 1.1 christos Wed Dec 10 16:09:07 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11060 1.1 christos 11061 1.1 christos * libamu/mount_fs.c (mnt_flags): support either nfs or generic 11062 1.1 christos mount option for grpid. 11063 1.1 christos 11064 1.1 christos * aux/configure.in: turn back on NFS mount option grpid. 11065 1.1 christos 11066 1.1 christos Sat Dec 6 04:36:05 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11067 1.1 christos 11068 1.1 christos * doc/Makefile.am (install-ps): added target to install postscript 11069 1.1 christos file in the am-utils' home page, as well as a few other useful 11070 1.1 christos files for the new am-utils Web page. 11071 1.1 christos 11072 1.1 christos Mon Nov 17 05:22:56 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11073 1.1 christos 11074 1.1 christos ******************************************************************* 11075 1.1 christos *** Released am-utils-6.0a14 *** 11076 1.1 christos ******************************************************************* 11077 1.1 christos 11078 1.1 christos Sun Nov 16 21:56:16 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11079 1.1 christos 11080 1.1 christos * doc/am-utils.texi (Supported Platforms): updated table of new 11081 1.1 christos ports. 11082 1.1 christos 11083 1.1 christos Sat Nov 15 06:36:27 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11084 1.1 christos 11085 1.1 christos * libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab 11086 1.1 christos options so that they can be printed in logs as needed. 11087 1.1 christos 11088 1.1 christos * doc/am-utils.texi (osver Parameter): updated for the correct 11089 1.1 christos usage of the -o/-O options. 11090 1.1 christos 11091 1.1 christos * scripts/amd.conf.5: corrected info for -o/-O options. 11092 1.1 christos 11093 1.1 christos * amd/amd.8: updated man page for new -O op_sys_name option, and 11094 1.1 christos corrected the usage of the -o op_sys_ver option 11095 1.1 christos 11096 1.1 christos * amd/get_args.c (get_args): added new amd option -O to override 11097 1.1 christos OS name. 11098 1.1 christos (get_args): updated usage string. Removed old -m option. Added 11099 1.1 christos -o and -O options. 11100 1.1 christos 11101 1.1 christos * conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case 11102 1.1 christos it is not there. Reportedly, irix 5.2 does not define it. 11103 1.1 christos 11104 1.1 christos * scripts/lostaltmail.in: removed references to unused $hack 11105 1.1 christos variable. 11106 1.1 christos 11107 1.1 christos * aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf 11108 1.1 christos <metcalf (a] cag.lcs.mit.edu> to correctly set the nfs_prot headers 11109 1.1 christos for solaris2.5. 11110 1.1 christos 11111 1.1 christos * doc/am-utils.texi (Distrib): typo in the subscription 11112 1.1 christos instructions to amd-dev. Patch from Stefan Vogel 11113 1.1 christos <vogel (a] physik-rzu.unizh.ch>. 11114 1.1 christos 11115 1.1 christos 1997-11-15 Erez Zadok <ezk (a] amtrak.cs.columbia.edu> 11116 1.1 christos 11117 1.1 christos * NFS3 works on powerpc-ibm-aix4.2.1.0. 11118 1.1 christos 11119 1.1 christos * libamu/mount_fs.c (compute_nfs_args): set fh3 variable to 11120 1.1 christos static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the 11121 1.1 christos stack of an automatic variable when pointer to it is passed around 11122 1.1 christos several times. 11123 1.1 christos 11124 1.1 christos Fri Nov 14 20:09:28 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11125 1.1 christos 11126 1.1 christos * libamu/xutil.c (real_plog): syslog like behavior for normal 11127 1.1 christos logging. Will not print repeated strings, only a count "last 11128 1.1 christos message repeated N times", but will always print something if 11129 1.1 christos message is repeated more than 100 times. 11130 1.1 christos 11131 1.1 christos * scripts/lostaltmail.in: look for lostaltmail.conf files also in 11132 1.1 christos /etc/global, /etc/os, and /etc/local (in that order). 11133 1.1 christos 11134 1.1 christos Mon Nov 10 03:03:17 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 11135 1.1 christos 11136 1.1 christos * conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3 11137 1.1 christos mounts. 11138 1.1 christos 11139 1.1 christos * aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for 11140 1.1 christos aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h 11141 1.1 christos 11142 1.1 christos * conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the 11143 1.1 christos NFS_SA_DREF macro is a pointer to the structure that used to be 11144 1.1 christos passed to it before. So now I have to dereference the pointer 11145 1.1 christos before accessing its values. 11146 1.1 christos 11147 1.1 christos * hlfsd/hlfsd.c (main): use the new and cleaner 11148 1.1 christos compute_nfs_args() and compute_automounter_nfs_args() functions. 11149 1.1 christos 11150 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner 11151 1.1 christos compute_nfs_args() and compute_automounter_nfs_args() functions. 11152 1.1 christos 11153 1.1 christos * amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION. Use the new 11154 1.1 christos and cleaner compute_nfs_args() and compute_automounter_nfs_args() 11155 1.1 christos functions. 11156 1.1 christos 11157 1.1 christos * libamu/mount_fs.c (compute_nfs_args): major code cleanup that 11158 1.1 christos relates for struct nfs_args. A new function sets the numerous 11159 1.1 christos possible flags and fields of nfs_args_t in an orderly fashion. 11160 1.1 christos Code cleaned up, organized, and moved from amd/hlfsd into 11161 1.1 christos libamu. This saves on overall size of code. 11162 1.1 christos (compute_automounter_nfs_args): A variant of compute_nfs_args() 11163 1.1 christos which sets special options/flags that need to be used when NFS 11164 1.1 christos mounting an automounter's mount point. Used by hlfsd and amd. 11165 1.1 christos 11166 1.1 christos * amq/amq.c (get_secure_amd_client): don't print any more 11167 1.1 christos "get_secure_amd_client: using TCP, port 12345". It's more 11168 1.1 christos annoying than useful a message, even when assumed to be compiled 11169 1.1 christos under DEBUG only. 11170 1.1 christos 11171 1.1 christos Thu Oct 30 14:33:38 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11172 1.1 christos 11173 1.1 christos * aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs 11174 1.1 christos mount table entries. The code used to define the /etc/mnttab name 11175 1.1 christos for file systems based on physical media (disk, cdrom, floppy) to 11176 1.1 christos the generic name, rather than the OS specific name. For example 11177 1.1 christos autoconf searches for all these types of mount table entries for a 11178 1.1 christos floppy based file system: vfat pcfs pc msdos msdosfs fat. But if 11179 1.1 christos it found any, it hard-coded the mnttab name to "pcfs" rather than 11180 1.1 christos the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs, 11181 1.1 christos nullfs, unionfs, and umapfs. 11182 1.1 christos 11183 1.1 christos * aux/configure.in: also test for xfs (for newer Irix) when 11184 1.1 christos looking for mount type names, numbers, etc of a disk-based ufs. 11185 1.1 christos 11186 1.1 christos Sun Oct 26 19:32:57 1997 Erez Zadok <ezk (a] defiant.soscorp.com> 11187 1.1 christos 11188 1.1 christos * amq/amq.c (main): use pmap_ping() to test if remote host is up. 11189 1.1 christos This works better on bsdi2 and bsdi3, because their portmapper 11190 1.1 christos does not appear to like forwarding operations (it is generaly 11191 1.1 christos insecure). 11192 1.1 christos 11193 1.1 christos Sat Oct 25 04:55:56 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11194 1.1 christos 11195 1.1 christos ******************************************************************* 11196 1.1 christos *** Released am-utils-6.0a13 *** 11197 1.1 christos ******************************************************************* 11198 1.1 christos 11199 1.1 christos Fri Oct 24 05:04:37 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11200 1.1 christos 11201 1.1 christos * conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for 11202 1.1 christos struct datum typedef. 11203 1.1 christos 11204 1.1 christos * conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for 11205 1.1 christos ypall_callback_fxn_t for netbsd. 11206 1.1 christos 11207 1.1 christos * aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for 11208 1.1 christos the 5th arg to authunix_create(), while before and after they used 11209 1.1 christos gid_t. 11210 1.1 christos 11211 1.1 christos * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use 11212 1.1 christos clnt_create_timed() on older Solaris 2.3 systems that did not have 11213 1.1 christos it. 11214 1.1 christos 11215 1.1 christos * conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for 11216 1.1 christos kernel only on bsdi2, so do not include it. 11217 1.1 christos 11218 1.1 christos Fri Oct 24 00:29:42 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 11219 1.1 christos 11220 1.1 christos * hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated 11221 1.1 christos messages about resolution of mailboxes based on uid/gid. 11222 1.1 christos 11223 1.1 christos * scripts/ctl-hlfsd.in: check for alternate password file in 11224 1.1 christos ${prefix}/etc/passwd and use it in hlfsd's startup. 11225 1.1 christos 11226 1.1 christos Thu Oct 23 22:48:50 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 11227 1.1 christos 11228 1.1 christos * hlfsd/homedir.c (hlfsd_getpwent): added support for -P 11229 1.1 christos passwdfile option. If hlfsd is started with -P passwdfile, then 11230 1.1 christos the passwdfile is read and parsed just as a standard unix 11231 1.1 christos passwd(4) file. Only the username, uid, and homedir fields are 11232 1.1 christos read and checked. All the rest are ignored. No NIS/netgroup 11233 1.1 christos support! 11234 1.1 christos 11235 1.1 christos * hlfsd/hlfsd.c (main): check if hlfsd is run as root after 11236 1.1 christos parsing command line options, so that usage() can be printed when 11237 1.1 christos -h is invoked. 11238 1.1 christos 11239 1.1 christos Wed Oct 22 00:16:39 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 11240 1.1 christos 11241 1.1 christos * amd/nfs_start.c (mount_automounter): if autofs service listener 11242 1.1 christos fails to initialize it is OK if using a test amd. 11243 1.1 christos 11244 1.1 christos * amd/opts.c (f_in_network): new nomadic function in_network(arg), 11245 1.1 christos which returns TRUE if 'arg' is any one of this host's networks. 11246 1.1 christos 11247 1.1 christos * libamu/wire.c (getwire): rewritten parts of function, to store 11248 1.1 christos all networks names and numbers in the order of the interface (not 11249 1.1 christos in reverse). 11250 1.1 christos 11251 1.1 christos Mon Oct 20 01:59:25 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11252 1.1 christos 11253 1.1 christos * aux/configure.in: don't add ops_ufs.o on AIX twice. My code 11254 1.1 christos would have worked had it not been due to AIX's buggy /bin/sh. 11255 1.1 christos 11256 1.1 christos * doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and 11257 1.1 christos am-utils.ps in the distribution sources. 11258 1.1 christos (html): generate html documentation for 11259 1.1 christos http://www.am-utils.org 11260 1.1 christos 11261 1.1 christos Sun Oct 19 12:35:49 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11262 1.1 christos 11263 1.1 christos * conf/nfs_prot/nfs_prot_netbsd.h: override the definition of 11264 1.1 christos ypall_callback_fxn_t. The NetBSD team compiles all sources with 11265 1.1 christos gcc -Wall -Wmissing-prototypes -Wstrict-prototypes. 11266 1.1 christos 11267 1.1 christos * amd/info_nis.c: allow for override of ypall_callback_fxn_t 11268 1.1 christos function typedef. 11269 1.1 christos 11270 1.1 christos * libamu/xutil.c (amu_release_controlling_tty): new function to 11271 1.1 christos release the controlling tty in a clean and sane manner. No longer 11272 1.1 christos using setpgid() b/c it may not work. Uses setsid(), 11273 1.1 christos and ioctl() (in order). This new function is used in amd/amd.c 11274 1.1 christos and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some 11275 1.1 christos systems, but on others it is the same as setpgid(). 11276 1.1 christos 11277 1.1 christos Sat Oct 18 23:42:40 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11278 1.1 christos 11279 1.1 christos * aux/acconfig.h: check for nfs mount option 'fsname'. Code for 11280 1.1 christos it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but 11281 1.1 christos never used, because the configure test for fsname flag wasn't 11282 1.1 christos used. This fixed a bug in HPUX 10, where syncer and manual mounts 11283 1.1 christos left blank lines in /etc/mnttab. 11284 1.1 christos 11285 1.1 christos * aux/configure.in: check for nfs mount option 'fsname'. 11286 1.1 christos 11287 1.1 christos Fri Oct 17 13:30:27 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11288 1.1 christos 11289 1.1 christos * amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs 11290 1.1 christos mount flags of toplvl mounts. Important esp. for HPUX 10. Now 11291 1.1 christos hpux-10 will mount amd's mounts points as 'ignore' (by df). 11292 1.1 christos 11293 1.1 christos * aux/configure.in: check for NFS mount option 'ignore', useful in 11294 1.1 christos HPUX 10. 11295 1.1 christos 11296 1.1 christos Thu Oct 16 03:28:33 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11297 1.1 christos 11298 1.1 christos * aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore" 11299 1.1 christos mount type and not NFS, for the amd mount points. 11300 1.1 christos 11301 1.1 christos * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log 11302 1.1 christos an RPC timeout as an error, but just an info message. From 11303 1.1 christos Andreas Stolcke <stolcke (a] speech.sri.com> 11304 1.1 christos 11305 1.1 christos * If the NFS server is down or does not support the portmapper 11306 1.1 christos call (such as certain Novell NFS servers) we mark it as version 2 11307 1.1 christos and we let the nfs code deal with the case that is down. If when 11308 1.1 christos the server comes back up, it can support NFS V.3 and/or TCP, it 11309 1.1 christos will use those. From christos (a] deshaw.com (Christos Zoulas). 11310 1.1 christos 11311 1.1 christos * hlfsd/homedir.c (plt_print): various compile time cleanups to 11312 1.1 christos printfs that take a long, but pass an int to print. From 11313 1.1 christos christos (a] deshaw.com (Christos Zoulas). 11314 1.1 christos 11315 1.1 christos * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new 11316 1.1 christos macro to determine if the OS has a bad yp_all(), based on the host 11317 1.1 christos OS name. So far only irix (all versions) have a bad yp_all, so 11318 1.1 christos they will use am_yp_all() instead (which is slower as it 11319 1.1 christos enumerates manually all of the map's entries). 11320 1.1 christos 11321 1.1 christos Thu Oct 16 03:14:37 1997 Erez Zadok <ezk (a] subzero.cs.columbia.edu> 11322 1.1 christos 11323 1.1 christos * amd/info_nis.c (am_yp_all): code for a replacement yp_all that 11324 1.1 christos avoids using a file-descriptor leaking yp_all() on some systems 11325 1.1 christos like irix. 11326 1.1 christos 11327 1.1 christos Wed Oct 15 21:52:35 1997 Erez Zadok <ezk> 11328 1.1 christos 11329 1.1 christos * fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x 11330 1.1 christos systems using /usr/bin/flex. 11331 1.1 christos 11332 1.1 christos * amd/conf_tok.l (yywrap): avoid redefining yywrap for systems 11333 1.1 christos that have a modified GNU flex which does define yywrap (DU-4.x). 11334 1.1 christos 11335 1.1 christos Fri Sep 26 14:25:29 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11336 1.1 christos 11337 1.1 christos * conf/checkmount/checkmount_bsd44.c: include prototype. 11338 1.1 christos 11339 1.1 christos Fri Sep 26 01:26:24 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11340 1.1 christos 11341 1.1 christos ******************************************************************* 11342 1.1 christos *** Released am-utils-6.0a12 *** 11343 1.1 christos ******************************************************************* 11344 1.1 christos 11345 1.1 christos Fri Sep 26 00:13:48 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11346 1.1 christos 11347 1.1 christos * conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs 11348 1.1 christos code in irix6 until it can be tested correctly 11349 1.1 christos 11350 1.1 christos * conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out 11351 1.1 christos on clnt_create for 3 seconds, rather than wait for the much longer 11352 1.1 christos default. 11353 1.1 christos 11354 1.1 christos * conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0. 11355 1.1 christos Includes NFS3, untested. 11356 1.1 christos 11357 1.1 christos Thu Sep 25 11:03:11 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11358 1.1 christos 11359 1.1 christos * amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of 11360 1.1 christos pcfs_args_t if they exist. 11361 1.1 christos 11362 1.1 christos * amd/ops_cdfs.c (mount_cdfs): fill in ssector field of 11363 1.1 christos cdfs_args_t if it exists. 11364 1.1 christos 11365 1.1 christos * new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05, 11366 1.1 christos hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4. 11367 1.1 christos 11368 1.1 christos Wed Sep 24 00:48:05 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11369 1.1 christos 11370 1.1 christos * doc/am-utils.texi (wire-test): updated documentation for the new 11371 1.1 christos option. 11372 1.1 christos 11373 1.1 christos * wire-test/wire-test.8: updated man page for new option. 11374 1.1 christos 11375 1.1 christos * wire-test/wire-test.c (main): added a test for various 11376 1.1 christos combinations of NFS proto/vers to a remote/local host. 11377 1.1 christos 11378 1.1 christos * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 11379 1.1 christos <isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that 11380 1.1 christos freebsd will correctly set mount options for pcfs and cdfs. 11381 1.1 christos 11382 1.1 christos * amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to 11383 1.1 christos 0777 (if field exists). 11384 1.1 christos 11385 1.1 christos * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include 11386 1.1 christos <msdosfs/msdosfsmount.h> if available. 11387 1.1 christos 11388 1.1 christos * minor new port: rs6000-ibm-aix4.1.4.0. 11389 1.1 christos 11390 1.1 christos * libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to 11391 1.1 christos write the "time" field in /etc/mnttab. 11392 1.1 christos 11393 1.1 christos * conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for 11394 1.1 christos detecting mnt_time field of mntent_t. 11395 1.1 christos 11396 1.1 christos * libamu/mtab.c (mnt_free): fixed typo in macro names for 11397 1.1 christos detecting mnt_time field of mntent_t. 11398 1.1 christos 11399 1.1 christos Tue Sep 23 15:30:03 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11400 1.1 christos 11401 1.1 christos * conf/mtab/mtab_file.c (lock): Use flock() in preference over 11402 1.1 christos fcntl() to lock the mtab file. 11403 1.1 christos 11404 1.1 christos Mon Sep 22 23:04:58 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11405 1.1 christos 11406 1.1 christos * conf/transp/transp_sockets.c (get_nfs_version): define 11407 1.1 christos the try_again goto label only for NFS3. 11408 1.1 christos (pmap_ping): assume timeout failure of clnt_stat. 11409 1.1 christos 11410 1.1 christos * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to 11411 1.1 christos "groups *". 11412 1.1 christos 11413 1.1 christos Mon Sep 22 20:34:33 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 11414 1.1 christos 11415 1.1 christos * conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley 11416 1.1 christos <dsr (a] mail.lns.cornell.edu> to make sure that amd works with more 11417 1.1 christos secure portmappers that do not allow forwarding of RPC messages to 11418 1.1 christos other services. 11419 1.1 christos 11420 1.1 christos * */Makefile.am: all source files should also depend on the new 11421 1.1 christos include/am_xdr_func.h header. 11422 1.1 christos 11423 1.1 christos * include/am_xdr_func.h: new file as part of the code cleanup from 11424 1.1 christos Christos Zoulas <christos (a] deshaw.com>. 11425 1.1 christos 11426 1.1 christos * Lots of fixes from Christos Zoulas <christos (a] deshaw.com> that 11427 1.1 christos involved missing prototypes, cleaned up ones, and removal of 11428 1.1 christos unused variables. 11429 1.1 christos 11430 1.1 christos * libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch 11431 1.1 christos statement with only one case is unclean. 11432 1.1 christos 11433 1.1 christos Mon Sep 22 17:26:38 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11434 1.1 christos 11435 1.1 christos * amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to 11436 1.1 christos 0 so that all fields are initialized to zero at first. This way 11437 1.1 christos SunOS 4.x and other systems don't get /etc/mtab entries with 11438 1.1 christos random integers for the fsck/freq fields. Patch from Andreas 11439 1.1 christos Stolcke <stolcke (a] speech.sri.com>. 11440 1.1 christos 11441 1.1 christos Mon Sep 22 00:34:19 1997 Erez Zadok <ezk (a] americas.psl.cs.columbia.edu> 11442 1.1 christos 11443 1.1 christos * conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so 11444 1.1 christos that the important definition for HOSTNAMESZ will be found. 11445 1.1 christos 11446 1.1 christos * amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ 11447 1.1 christos (inside the nfs_args structure) if the system uses that macro. 11448 1.1 christos Otherwise systems like SunOS refuse to NFS mount long pathnames 11449 1.1 christos and result in ENAMETOOLONG errno's. 11450 1.1 christos 11451 1.1 christos Wed Sep 17 04:56:11 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11452 1.1 christos 11453 1.1 christos * doc/am-utils.texi (Supported Platforms): specify new support for 11454 1.1 christos solaris 2.6, and hlfsd running on 2.5.1 too. 11455 1.1 christos 11456 1.1 christos Wed Sep 17 03:55:02 1997 Erez Zadok <ezk (a] amsterdam.psl.cs.columbia.edu> 11457 1.1 christos 11458 1.1 christos * conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs 11459 1.1 christos mount if it is not supported or was turned off. 11460 1.1 christos 11461 1.1 christos Wed Sep 17 03:19:36 1997 Erez Zadok <ezk (a] americas.psl.cs.columbia.edu> 11462 1.1 christos 11463 1.1 christos * conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount 11464 1.1 christos again. Apparently at some previous release SunOS 4 supported was 11465 1.1 christos broken and all nfs mounts resulted in ESTALE. 11466 1.1 christos 11467 1.1 christos Wed Sep 17 00:26:25 1997 Erez Zadok <ezk (a] amsterdam.psl.cs.columbia.edu> 11468 1.1 christos 11469 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for 11470 1.1 christos solaris 2.6. 11471 1.1 christos 11472 1.1 christos * aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs 11473 1.1 christos protocol header selection. 11474 1.1 christos 11475 1.1 christos Sat Sep 13 14:31:51 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11476 1.1 christos 11477 1.1 christos * conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid 11478 1.1 christos infinite loop. 11479 1.1 christos 11480 1.1 christos Sun Sep 7 18:23:23 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11481 1.1 christos 11482 1.1 christos ******************************************************************* 11483 1.1 christos *** Released am-utils-6.0a11 *** 11484 1.1 christos ******************************************************************* 11485 1.1 christos 11486 1.1 christos Fri Sep 5 11:55:10 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11487 1.1 christos 11488 1.1 christos * amd/amd.c (main): if plock() succeeded, don't try to display 11489 1.1 christos errno message. Patch from Chris Metcalf 11490 1.1 christos <metcalf (a] catfish.lcs.mit.edu. 11491 1.1 christos 11492 1.1 christos Thu Sep 4 19:17:58 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11493 1.1 christos 11494 1.1 christos * hlfsd/homedir.c (table_add): make sure duplicate passwd entries 11495 1.1 christos are ignored. Only the first entry should ever be used, because 11496 1.1 christos that's how lookup in passwd database works. 11497 1.1 christos 11498 1.1 christos * conf/transp/transp_sockets.c (get_nfs_version): when determining 11499 1.1 christos if a remote host is up or down, use NFS v.2. Fix suggested by 11500 1.1 christos Enami Tsugutomo <enami (a] cv.sony.co.jp>. 11501 1.1 christos 11502 1.1 christos * conf/transp/transp_tli.c (amu_clnt_create_best_vers): new 11503 1.1 christos function to get the best possible NFS version, but also timeout 11504 1.1 christos faster than normal defaults, so remote hosts which are down can be 11505 1.1 christos detected in a reasonable time. 11506 1.1 christos (get_nfs_version): use the new "best" function. 11507 1.1 christos 11508 1.1 christos Tue Sep 2 00:41:00 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11509 1.1 christos 11510 1.1 christos ******************************************************************* 11511 1.1 christos *** Released am-utils-6.0a10 *** 11512 1.1 christos ******************************************************************* 11513 1.1 christos 11514 1.1 christos Mon Sep 1 15:39:51 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11515 1.1 christos 11516 1.1 christos * conf/transp/transp_tli.c (get_nfs_version): don't use 11517 1.1 christos clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4 11518 1.1 christos and earlier). 11519 1.1 christos 11520 1.1 christos * aux/configure.in: test for existence of clnt_tp_create_timed(), 11521 1.1 christos since Solaris 2.4 (and possibly earlier) do not have it. 11522 1.1 christos 11523 1.1 christos Mon Sep 1 15:23:18 1997 Erez Zadok <ezk (a] felix.psl.cs.columbia.edu> 11524 1.1 christos 11525 1.1 christos * amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid 11526 1.1 christos field if it exists (solaris 2.4's autofs does not have it). 11527 1.1 christos 11528 1.1 christos Mon Sep 1 14:45:09 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11529 1.1 christos 11530 1.1 christos * aux/macros/type_auth_create_gidlist.m4: a new test to determine 11531 1.1 christos the correct type to the 5th argument of authunix_create(). 11532 1.1 christos 11533 1.1 christos Mon Sep 1 03:44:32 1997 Erez Zadok <ezk (a] felix.psl.cs.columbia.edu> 11534 1.1 christos 11535 1.1 christos * libamu/xdr_func.c (xdr_umntrequest): add test for autofs 11536 1.1 christos structure umntrequest, if it has the field rdevid. Seems Solaris 11537 1.1 christos 2.4 and earlier didn't have it. 11538 1.1 christos 11539 1.1 christos Mon Sep 1 01:10:53 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11540 1.1 christos 11541 1.1 christos * hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it 11542 1.1 christos can be done before primary process forks. 11543 1.1 christos (main): bug fix: wait a bit to give child a chance to initialize. 11544 1.1 christos Without this, hlfsd got into a busy infinite loop while, never 11545 1.1 christos completing the mount. 11546 1.1 christos 11547 1.1 christos * amd/info_nis.c: patch from Jason Thorpe <thorpej (a] nas.nasa.gov> 11548 1.1 christos to make amd works when talking to NIS+ servers in NIS 11549 1.1 christos compatibility mode. 11550 1.1 christos 11551 1.1 christos Mon Sep 1 00:46:56 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 11552 1.1 christos 11553 1.1 christos * amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024. 11554 1.1 christos 11555 1.1 christos Sun Aug 31 20:20:40 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 11556 1.1 christos 11557 1.1 christos * amd/conf.c (gopt_fully_qualified_hosts): a new function to 11558 1.1 christos process another new global variable. 11559 1.1 christos 11560 1.1 christos * amd/ops_nfs.c (make_nfs_auth): if a new global variable 11561 1.1 christos fully_qualified_hosts is on, use FQHN in RPC/NFS authentications. 11562 1.1 christos Patch from Chris Metcalf <metcalf (a] catfish.lcs.mit.edu>. 11563 1.1 christos 11564 1.1 christos * amd/conf.c (process_last_regular_map): If the amd.conf file only 11565 1.1 christos has a [global] section (pretty useless IMHO), do not try to 11566 1.1 christos process a map that does not exist. 11567 1.1 christos 11568 1.1 christos * scripts/amd.conf.5: fixed typos (repeated 'as' word). 11569 1.1 christos 11570 1.1 christos * doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!! 11571 1.1 christos 11572 1.1 christos * amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm 11573 1.1 christos structure, so it does not carry over from map entry to another. 11574 1.1 christos 11575 1.1 christos Sat Aug 30 18:39:21 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 11576 1.1 christos 11577 1.1 christos * amd/amd.c (main): fixed the meaning of the plock option. A bug 11578 1.1 christos caused it to be reversed. 11579 1.1 christos 11580 1.1 christos Sat Aug 30 15:13:18 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11581 1.1 christos 11582 1.1 christos * hlfsd/stubs.c: don't initialize some statics here. They are 11583 1.1 christos better initialized in hlfsd_init_filehandles(). 11584 1.1 christos 11585 1.1 christos Fri Aug 22 14:47:16 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11586 1.1 christos 11587 1.1 christos * amd/conf.c (gopt_show_statfs_entries): new function and a global 11588 1.1 christos amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes', 11589 1.1 christos then all maps flagged as browsable will also show a count of the 11590 1.1 christos number of entries (keys) in that map. 11591 1.1 christos 11592 1.1 christos * amd/nfs_subr.c (count_map_entries): new function to count number 11593 1.1 christos of entries in a map. Now used if browsable is turned on in a map, 11594 1.1 christos to return a count of available keys in a given map. 11595 1.1 christos 11596 1.1 christos * hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd 11597 1.1 christos confused the file handles for ".", "..", and the symlink, causing 11598 1.1 christos mess. 11599 1.1 christos 11600 1.1 christos * aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12, 11601 1.1 christos but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts 11602 1.1 christos with bad memcmp() in libc's (nextstep3). 11603 1.1 christos 11604 1.1 christos Thu Aug 21 17:38:41 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11605 1.1 christos 11606 1.1 christos * aux/configure.in: check if autofs_args_t has a field named 11607 1.1 christos addr. Solaris has it for specifying the address of the daemon, 11608 1.1 christos but Irix does not. So how does irix tell the kernel the daemon's 11609 1.1 christos address? I suspect that it is hardcoded to "localhost" using a 11610 1.1 christos "private well-known port" (#define AUTOFS_PORT 2048). 11611 1.1 christos 11612 1.1 christos * conf/nfs_prot/nfs_prot_linux.h: added missing autofs 11613 1.1 christos definitions. 11614 1.1 christos 11615 1.1 christos * README.autofs: new file listing autofs support notes 11616 1.1 christos 11617 1.1 christos * very preliminary autofs code working. Call it pre-alpha 11618 1.1 christos quality. 11619 1.1 christos 11620 1.1 christos Sun Aug 17 02:25:09 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11621 1.1 christos 11622 1.1 christos * amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept 11623 1.1 christos "autofs" if system does not support it. 11624 1.1 christos 11625 1.1 christos * amd/amd.c (main): log am-utils version string (same as amd -v) 11626 1.1 christos at start of run. 11627 1.1 christos 11628 1.1 christos * conf/transp/transp_sockets.c (get_nfs_version): in order to tell 11629 1.1 christos if a remote host is available, try to contact its portmapper and 11630 1.1 christos timeout if no answer is received in 3 seconds. 11631 1.1 christos 11632 1.1 christos Thu Aug 14 16:12:04 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11633 1.1 christos 11634 1.1 christos * aux/macros/check_extern.m4 (pattern): use a simpler pattern for 11635 1.1 christos match for external function definitions. The function could span 11636 1.1 christos multiple lines, so only match the opening parenthesis, not the 11637 1.1 christos closing one too. 11638 1.1 christos 11639 1.1 christos * aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on 11640 1.1 christos posix mode for nextstep3. It is broken. 11641 1.1 christos 11642 1.1 christos * amd/amd.c (init_global_options): run uname() only if 11643 1.1 christos <sys/utsname.h> and uname(2) exist. 11644 1.1 christos 11645 1.1 christos * amd/rpc_fwd.c (fwd_packet): if remote host is down, the 11646 1.1 christos forwarding socket is null, so declare this an error. 11647 1.1 christos 11648 1.1 christos * include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set 11649 1.1 christos for when a remote host is down. Try, in order, "host down", "host 11650 1.1 christos unreachable", "invalid argument". 11651 1.1 christos 11652 1.1 christos * amd/ops_nfs.c (discard_fh): don't dereference a null pointer 11653 1.1 christos (happens when remote host is down, and fp->fh_fs is NULL). 11654 1.1 christos (prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID 11655 1.1 christos and FSF_DOWN. 11656 1.1 christos 11657 1.1 christos * amd/sched.c: nobody uses "union wait" any more, or so it 11658 1.1 christos appears, so clean up that code. 11659 1.1 christos 11660 1.1 christos * conf/transp/transp_tli.c (get_nfs_version): if remote host is 11661 1.1 christos down, time it out faster than default (3 seconds). 11662 1.1 christos (get_mount_client): free netconfig entry when done with it. 11663 1.1 christos 11664 1.1 christos * conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly) 11665 1.1 christos port to nextstep3 (m68k-next-nextstep3). 11666 1.1 christos 11667 1.1 christos * fsinfo/Makefile.am (LDADD): needs to link with libamu in case 11668 1.1 christos system does not have strdup(). 11669 1.1 christos 11670 1.1 christos * include/am_defs.h: complete external definition for getlogin() 11671 1.1 christos if needed. 11672 1.1 christos 11673 1.1 christos * conf/transp/transp_tli.c (get_nfs_version): no need to keep 11674 1.1 christos static versout variable. 11675 1.1 christos 11676 1.1 christos * amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote 11677 1.1 christos server is probably down. Don't use sendto() in that case. 11678 1.1 christos 11679 1.1 christos * buildall (default): run gmake if found, before trying plain 11680 1.1 christos make. GNU make is always preferable. 11681 1.1 christos 11682 1.1 christos Tue Aug 12 21:23:58 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11683 1.1 christos 11684 1.1 christos * aux/macros/host_macros.m4: cleanup of os_version and os 11685 1.1 christos overrides. Solaris 2.5.1 for example will come up as solaris2 and 11686 1.1 christos 2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in 11687 1.1 christos the amd.conf file. 11688 1.1 christos 11689 1.1 christos Fri Aug 8 14:37:30 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11690 1.1 christos 11691 1.1 christos ******************************************************************* 11692 1.1 christos *** Released am-utils-6.0a9 *** 11693 1.1 christos ******************************************************************* 11694 1.1 christos 11695 1.1 christos Thu Aug 7 00:52:14 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11696 1.1 christos 11697 1.1 christos * conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2 11698 1.1 christos (i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff 11699 1.1 christos from <ndbm.h> and <sys/resource.h>. 11700 1.1 christos 11701 1.1 christos * scripts/amd.conf.5: new map page. 11702 1.1 christos 11703 1.1 christos * amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3 11704 1.1 christos does not. 11705 1.1 christos 11706 1.1 christos * amd/amd.8: updated man page. 11707 1.1 christos 11708 1.1 christos * amd/get_args.c (get_args): removed defunct -h option to amd. 11709 1.1 christos 11710 1.1 christos * amq/amq.8: updated man page. 11711 1.1 christos 11712 1.1 christos * amd/info_nisplus.c (nisplus_search): prototype fixes so Sun 11713 1.1 christos SparcCompiler CC won't complain. 11714 1.1 christos 11715 1.1 christos * amd/info_hesiod.c (hesiod_search): small fixes to compile with 11716 1.1 christos hesiod-1.3, as per Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE>. 11717 1.1 christos 11718 1.1 christos * aux/macros/opt_ldflags.m4: new option added to configure 11719 1.1 christos --enable-ldflags, to specify -L option for configuring/compiling. 11720 1.1 christos The older one --enable-libs is now to be used only for -l options. 11721 1.1 christos 11722 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize 11723 1.1 christos nc_protoname from nfs_proto if available for all TLI systems, not 11724 1.1 christos just those that have NFS V3. 11725 1.1 christos 11726 1.1 christos * amd/info_ldap.c: ldap patches from Leif Johansson 11727 1.1 christos <leifj (a] matematik.su.se>, adding two new amd.conf ldap variables: 11728 1.1 christos ldap_cache_seconds and ldap_cache_maxmem. 11729 1.1 christos 11730 1.1 christos * hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in 11731 1.1 christos htons(). 11732 1.1 christos 11733 1.1 christos Sun Aug 3 17:20:05 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11734 1.1 christos 11735 1.1 christos * amd/nfs_start.c (mount_automounter): register amd with the rpc 11736 1.1 christos program number that may have been overridden by amd.conf. 11737 1.1 christos 11738 1.1 christos * libamu/xutil.c (set_amd_program_number, get_amd_program_number): 11739 1.1 christos allow storing and retrieving alternate amd program numbers. 11740 1.1 christos 11741 1.1 christos * amd/conf.c (gopt_portmap_program): new function to parse 11742 1.1 christos amd.conf entry portmap_program=1234. 11743 1.1 christos 11744 1.1 christos * amq/amq.c (main): allow specifying an alternate rpc program 11745 1.1 christos number for amd via -P prognum. 11746 1.1 christos 11747 1.1 christos * new amq RPC to get the process id of the running amd. This is 11748 1.1 christos used in ctl-amd to quickly find the pid of the amd that is to be 11749 1.1 christos killed. 11750 1.1 christos 11751 1.1 christos * expanded shared libraries support. Using GNU libtool-1.0, 11752 1.1 christos am-utils now builds shared libraries on many platforms that have 11753 1.1 christos support for it and proper compilers/linkers. See "INSTALL" file 11754 1.1 christos for compatibility chart. 11755 1.1 christos 11756 1.1 christos Thu Jul 31 13:07:23 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11757 1.1 christos 11758 1.1 christos * fsinfo/fsi_lex.l: removed code that was in support of very old 11759 1.1 christos versions of flex. No longer needed. 11760 1.1 christos 11761 1.1 christos Tue Jul 29 12:00:13 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11762 1.1 christos 11763 1.1 christos * amd/amd.c (init_global_options): find the kernel architecture 11764 1.1 christos from uname() if possible. 11765 1.1 christos 11766 1.1 christos Mon Jul 28 03:53:59 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11767 1.1 christos 11768 1.1 christos * new working port: i386-unknown-openbsd2.1 11769 1.1 christos 11770 1.1 christos Fri Jul 25 03:16:31 1997 Erez Zadok <ezk (a] felix.psl.cs.columbia.edu> 11771 1.1 christos 11772 1.1 christos * working port: sparc-sun-solaris2.4. Had to fix fhandle_t from 11773 1.1 christos structure to actual char[], because the structure was passed to 11774 1.1 christos xdr_fhandle as data and not a pointer. Surprisingly, gcc 11775 1.1 christos -fpcc-struct-return did not help. 11776 1.1 christos 11777 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol 11778 1.1 christos definitions for solaris 2.4 have to be different from 2.3, and 11779 1.1 christos different from 2.5. 11780 1.1 christos 11781 1.1 christos * libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup. 11782 1.1 christos 11783 1.1 christos Thu Jul 24 16:22:39 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11784 1.1 christos 11785 1.1 christos * conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount 11786 1.1 christos types, not ==. Fix from Christos Zoulas <christos (a] deshaw.com>. 11787 1.1 christos 11788 1.1 christos * mk-amd-map/mk-amd-map.8: man page taken from bsd44. 11789 1.1 christos 11790 1.1 christos Thu Jul 24 00:01:55 1997 Erez Zadok <ezk (a] moisil.cs.columbia.edu> 11791 1.1 christos 11792 1.1 christos * conf/mount/mount_linux.c: made the nfs error mapping code into a 11793 1.1 christos small function. 11794 1.1 christos 11795 1.1 christos Wed Jul 23 16:11:49 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11796 1.1 christos 11797 1.1 christos * conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special 11798 1.1 christos error mappings from errno numbers to NFS errors. From Debian 11799 1.1 christos Linux. 11800 1.1 christos 11801 1.1 christos * scripts/am-eject.in (fs): new script (taken from Debian Linux 11802 1.1 christos folks) to auto-unmount floppy/cd devices before ejecting them. 11803 1.1 christos 11804 1.1 christos * fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass 11805 1.1 christos '5' as second arg to show_area_being_processed. I'm not sure why. 11806 1.1 christos 11807 1.1 christos * fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as 11808 1.1 christos second arg to show_area_being_processed. I'm not sure why. 11809 1.1 christos 11810 1.1 christos * conf/mount/mount_linux.c (parse_opts): as per Debian Linux, 11811 1.1 christos ensure that you have a buffer in *xopts to strcat onto. 11812 1.1 christos (mount_linux): fixed from Debian folks to ensure that NFS mount 11813 1.1 christos sockets are connected only for kernels prior to 1.3.10 (avoids 11814 1.1 christos hangs for multi-homed hosts). 11815 1.1 christos 11816 1.1 christos * amd/mapc.c (make_entry_chain): from Debian folks: don't skip 11817 1.1 christos over amd map keys that have a prefix, and include the prefix in 11818 1.1 christos the returned readdir(). 11819 1.1 christos 11820 1.1 christos * amd/info_passwd.c (passwd_init, passwd_search): format 11821 1.1 christos enhancements from the Debian Linux folks. They added 11822 1.1 christos - var0:=pw-prefix:=anydir 11823 1.1 christos - var1:=pw-rhost:=dom3.dom2.dom1 11824 1.1 christos - var2:=pw-user:=user 11825 1.1 christos - var3:=pw-home:=/anydir/dom1/dom2/dom3/user 11826 1.1 christos 11827 1.1 christos * new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1. 11828 1.1 christos 11829 1.1 christos * amd/ops_afs.c (afs_retry): patches from Debian Linux. If 11830 1.1 christos afs_mount timed out, then explicitly forbid further retries after 11831 1.1 christos the timeout. (afs_bgmount): bug fix from Debian Linux. Timeout 11832 1.1 christos values (17 and 5) were mistakenly swapped. 11833 1.1 christos 11834 1.1 christos Wed Jul 23 15:53:25 1997 Erez Zadok <ezk (a] felix.psl.cs.columbia.edu> 11835 1.1 christos 11836 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3 11837 1.1 christos support for Solaris 2.4 (the header files incorrectly define parts 11838 1.1 christos of the NFS V.3 protocol, but the kernel does not support it). 11839 1.1 christos 11840 1.1 christos Wed Jul 23 00:07:12 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11841 1.1 christos 11842 1.1 christos * amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init 11843 1.1 christos for determining if using old or new hesiod libraries, 11844 1.1 christos respectively. 11845 1.1 christos 11846 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS 11847 1.1 christos V.3 then use non-connected sockets (both TCP and UDP). Otherwise 11848 1.1 christos they cause hangs of mounts from multi-homed hosts when the return 11849 1.1 christos route is not the same as the outgoing route (esp. on NetBSD 11850 1.1 christos 1.2.1). If "conn" option was supplied, then don't turn on the 11851 1.1 christos "noconn" mount option. Otherwise default to "noconn" mount 11852 1.1 christos option. 11853 1.1 christos 11854 1.1 christos * aux/configure.in: better check for systems that need libgdbm and 11855 1.1 christos <ndbm.h> 11856 1.1 christos 11857 1.1 christos Tue Jul 22 04:02:05 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11858 1.1 christos 11859 1.1 christos * hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that 11860 1.1 christos mounts are hidden from df(1) on systems that keep mount tables in 11861 1.1 christos kernel, such as osf1. 11862 1.1 christos 11863 1.1 christos Tue Jul 22 02:26:55 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11864 1.1 christos 11865 1.1 christos ******************************************************************* 11866 1.1 christos *** Released am-utils-6.0a8 *** 11867 1.1 christos ******************************************************************* 11868 1.1 christos 11869 1.1 christos Mon Jul 21 21:33:19 1997 Erez Zadok <ezk (a] stone.mcl.cs.columbia.edu> 11870 1.1 christos 11871 1.1 christos * hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to 11872 1.1 christos AF_INET when hlfsd mounts itself, thus getting an errno "protocol 11873 1.1 christos family not supported". 11874 1.1 christos 11875 1.1 christos Mon Jul 21 20:46:59 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11876 1.1 christos 11877 1.1 christos * verified that amd on NetBSD 1.2.1 (i386) works, but the OS 11878 1.1 christos itself is flaky. 11879 1.1 christos 11880 1.1 christos * verified that amd AIX 3 works w/ the new readdir() code. 11881 1.1 christos 11882 1.1 christos Mon Jul 21 18:59:30 1997 Erez Zadok <ezk (a] chestnut.mcl.cs.columbia.edu> 11883 1.1 christos 11884 1.1 christos * amd/mapc.c (maptypes): changed the default map caching type for 11885 1.1 christos nis and ndbm maps to "MAPC_ALL", so that all possible entries will 11886 1.1 christos be available to amd for browsable_dirs=yes. 11887 1.1 christos 11888 1.1 christos Mon Jul 21 18:04:16 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11889 1.1 christos 11890 1.1 christos * amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split 11891 1.1 christos afs_readdir into a browsable version and a non-browsable one. 11892 1.1 christos Fixed bugs that resulted in an infinite nfs_readdir loop on the 11893 1.1 christos localhost for some operating systems. 11894 1.1 christos 11895 1.1 christos Sat Jul 19 19:38:38 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11896 1.1 christos 11897 1.1 christos * amd/ops_afs.c (afs_readdir): fixed up the browsable code to 11898 1.1 christos comply with nfs_readdir specs. It was returning all entries at 11899 1.1 christos once, even if there was not enough space in the RPC packet. Now, 11900 1.1 christos it sends a reasonably sized chunk, and sets static state to resume 11901 1.1 christos it for the next continuation RPC of readdir. 11902 1.1 christos 11903 1.1 christos * amd/conf.c (set_conf_kv): fixed bug that resulted in the first 11904 1.1 christos regular map not getting all of the [global] options defaulted from. 11905 1.1 christos 11906 1.1 christos Fri Jul 18 00:45:12 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11907 1.1 christos 11908 1.1 christos * amq/amq.c (main): fixed so that portmapper "ping" will only fail 11909 1.1 christos upon an RPC timeout 11910 1.1 christos 11911 1.1 christos * scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the 11912 1.1 christos amd/hlfsd process to kill. 11913 1.1 christos 11914 1.1 christos * amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to 11915 1.1 christos determine how to avoid df from seeing amd's toplvl mounts. Moved 11916 1.1 christos from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd 11917 1.1 christos is hidden from df. 11918 1.1 christos (mount_toplvl): fixed df types for irix. 11919 1.1 christos 11920 1.1 christos Thu Jul 17 21:59:45 1997 Erez Zadok <ezk (a] americas.psl.cs.columbia.edu> 11921 1.1 christos 11922 1.1 christos * amq/amq.c (main): fixed bug that caused the 5 second timeout for 11923 1.1 christos TLI amq using udp to be ignored. 11924 1.1 christos (main): if amq cannot contact remote host's portmapper within 5 11925 1.1 christos seconds, timeout and fail faster than the default longer timeout 11926 1.1 christos (this is for non-TLI systems). 11927 1.1 christos 11928 1.1 christos Thu Jul 17 17:08:13 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11929 1.1 christos 11930 1.1 christos * amq/amq.c (get_secure_amd_client): if amq cannot contact 11931 1.1 christos remote host's portmapper within 5 seconds, timeout and fail faster 11932 1.1 christos than the default TLI timeout of over 4 minutes. 11933 1.1 christos 11934 1.1 christos * amd/am_ops.c (ops_showfstypes): added styles for new bsd44 11935 1.1 christos file systems nullfs, unionfs, and umapfs. 11936 1.1 christos (ops_show1): cleanup code and and reuse this function. 11937 1.1 christos (vops): empty placeholders for nullfs, unionfs, and umapfs. 11938 1.1 christos 11939 1.1 christos * amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for 11940 1.1 christos bsd44 style file systems. 11941 1.1 christos 11942 1.1 christos * fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44 11943 1.1 christos sources. 11944 1.1 christos 11945 1.1 christos * amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid 11946 1.1 christos conflict with systems that define it in <sys/ioctl.h> and also 11947 1.1 christos define a conflicting one via lex. Newer versions of f/lex are ok. 11948 1.1 christos 11949 1.1 christos Wed Jul 16 00:17:45 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11950 1.1 christos 11951 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields 11952 1.1 christos acdirmin/max and acregmin/max only if they exist. 11953 1.1 christos 11954 1.1 christos * aux/configure.in: test for nfs_args fields acdirmin and 11955 1.1 christos acregmin. 11956 1.1 christos 11957 1.1 christos Tue Jul 15 17:24:09 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11958 1.1 christos 11959 1.1 christos * aux/configure.in: commented out checking for MNT2_GEN_OPT_* for 11960 1.1 christos "nondev" and commented back in checking for "nodev". This was a 11961 1.1 christos typo. 11962 1.1 christos 11963 1.1 christos * include/am_compat.h: more compatibility options: define "ro" 11964 1.1 christos mnttab option all the time. Define "overlay" as needed. Added 11965 1.1 christos more fillers of mnttab options (as per Daniel S. Riley 11966 1.1 christos <dsr (a] mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax, 11967 1.1 christos acregmin, noac, grpid, nosuid, and actimo. 11968 1.1 christos 11969 1.1 christos * libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as 11970 1.1 christos per dsr (a] mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up 11971 1.1 christos the same code for other options in struct opt_tab. 11972 1.1 christos 11973 1.1 christos Mon Jul 14 22:36:37 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11974 1.1 christos 11975 1.1 christos * amd/get_args.c (get_args): moved amd.conf file parsing to before 11976 1.1 christos the switching the default log/debug options. Suggested by 11977 1.1 christos dsr (a] mail.lns.cornell.edu (Daniel S. Riley). 11978 1.1 christos 11979 1.1 christos * aux/update_build_version: new script to record the build version 11980 1.1 christos of amd, along with the rest of the info thet comes up with amd -v. 11981 1.1 christos 11982 1.1 christos Sun Jul 13 00:30:24 1997 Erez Zadok <ezk (a] decca.damtp.cam.ac.uk> 11983 1.1 christos 11984 1.1 christos * aux/macros/os_cflags.m4: new macro, to add additional 11985 1.1 christos compilation options (also used during configuration), based on the 11986 1.1 christos OS and the compiler. Used for solaris-2.6, osf, and irix6. 11987 1.1 christos 11988 1.1 christos Fri Jul 11 10:15:11 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11989 1.1 christos 11990 1.1 christos * amd/conf_tok.l, conf_parse.y: allow values of keys to include 11991 1.1 christos white spaces, if they are double-quoted (key="some value") 11992 1.1 christos 11993 1.1 christos * amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes 11994 1.1 christos of hesiod from Danny Braniss <danny (a] cs.huji.ac.il>. 11995 1.1 christos 11996 1.1 christos Fri Jul 11 02:16:06 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 11997 1.1 christos 11998 1.1 christos ******************************************************************* 11999 1.1 christos *** Released am-utils-6.0a7 *** 12000 1.1 christos ******************************************************************* 12001 1.1 christos 12002 1.1 christos Thu Jul 10 12:19:25 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12003 1.1 christos 12004 1.1 christos * include/am_defs.h: fill in extern definition of innetgr() in 12005 1.1 christos case system headers don't. 12006 1.1 christos 12007 1.1 christos * aux/macros/path_prog_lex.m4 aux/configure.in: using macros that 12008 1.1 christos will show the full pathname to yacc/bison and f/lex. Some systems 12009 1.1 christos have older or bad versions of those and this way the user will 12010 1.1 christos know for sure what is being invoked. 12011 1.1 christos 12012 1.1 christos * tasks: file populated with todo items. 12013 1.1 christos 12014 1.1 christos * scripts/amd2ldif.in: Script to convert amd maps to plain text 12015 1.1 christos LDAP object files. Contributed by Leif Johansson 12016 1.1 christos <leifj (a] matematik.su.se>. 12017 1.1 christos 12018 1.1 christos * aux/config.guess: added recognition for sun3's running 4.2bsd, 12019 1.1 christos from Tom Schmidt <tschmidt (a] micron.com>. Fixed one small typo. 12020 1.1 christos 12021 1.1 christos * amd/conf.c: several variables that were local to a map, were 12022 1.1 christos also added to [global], where they apply to all maps. Each map 12023 1.1 christos can then individually override those defaults. Flags 12024 1.1 christos affected: browsable_dirs and mount_type. Options affected: 12025 1.1 christos map_type, map_options, and search_path. 12026 1.1 christos 12027 1.1 christos * amd/amd.h: eliminated several global flags each of which took an 12028 1.1 christos int, in favor of one global flags variable used as a bit field. 12029 1.1 christos 12030 1.1 christos * amd/amd.c (init_global_options): moved all global variables into 12031 1.1 christos a single struct amu_global_options, so it is easier to add new 12032 1.1 christos ones and/or identify existing ones. 12033 1.1 christos 12034 1.1 christos * amd/get_args.c (get_args): removed unused amd -m option. 12035 1.1 christos 12036 1.1 christos * amd/conf.c (gopt_cluster): added new amd.conf option for cluster 12037 1.1 christos name, same as amd -C. 12038 1.1 christos 12039 1.1 christos * amd/info_ldap.c: LDAP info map functions from Leif Johansson 12040 1.1 christos <leifj (a] matematik.su.se>. 12041 1.1 christos 12042 1.1 christos * amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global 12043 1.1 christos amd.conf options for ldap_base and ldap_hostports. 12044 1.1 christos 12045 1.1 christos * amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test 12046 1.1 christos if the current host is in the ARG host netgroup. 12047 1.1 christos 12048 1.1 christos * aux/configure.in: some systems replaced dbm in libc with GNU's 12049 1.1 christos libgdbm, so check for libgdbm, but only if dbm_open is not in 12050 1.1 christos libc already. This was a recommendation from Tom Schmidt 12051 1.1 christos <tschmidt (a] micron.com>. 12052 1.1 christos 12053 1.1 christos * conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3 12054 1.1 christos completed. 12055 1.1 christos 12056 1.1 christos Wed Jul 9 18:14:59 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12057 1.1 christos 12058 1.1 christos * port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS 12059 1.1 christos V.3. 12060 1.1 christos 12061 1.1 christos Tue Jul 8 17:35:07 1997 Erez Zadok <ezk (a] elk.mcl.cs.columbia.edu> 12062 1.1 christos 12063 1.1 christos * port to i386-unknown-freebsd3.0 done and working. Includes NFS 12064 1.1 christos V.3. 12065 1.1 christos 12066 1.1 christos * aux/macros/check_nfs_fh_dref.m4: freebsd3 should use 12067 1.1 christos file handle dereferencing style similar to freebsd22. 12068 1.1 christos 12069 1.1 christos * include/am_defs.h: need to include <net/if_var.h> before 12070 1.1 christos <netinet/if_ether.h> on freebsd3. 12071 1.1 christos 12072 1.1 christos * conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions 12073 1.1 christos for freeBSD 3.0. 12074 1.1 christos 12075 1.1 christos Tue Jul 8 16:53:41 1997 Erez Zadok <ezk (a] moisil.cs.columbia.edu> 12076 1.1 christos 12077 1.1 christos * amd/info_nis.c (nis_reload): cast nis' callback function so 12078 1.1 christos picky compilers won't complain. 12079 1.1 christos 12080 1.1 christos * libamu/xdr_mountres3.c (xdr_mountres3): make sure this function 12081 1.1 christos gets compiled only if the system has NFS V3 and does not have 12082 1.1 christos xdr_mountres3. 12083 1.1 christos 12084 1.1 christos Tue Jul 8 12:42:03 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12085 1.1 christos 12086 1.1 christos * COPYING: put in some legal stuff in this file. 12087 1.1 christos 12088 1.1 christos Mon Jul 7 19:10:44 1997 Erez Zadok <ezk (a] prometheus.soscorp.com> 12089 1.1 christos 12090 1.1 christos * NFS V3 now works under Irix5, thanks to patches from 12091 1.1 christos Andreas Stolcke <stolcke (a] speech.sri.com>. 12092 1.1 christos 12093 1.1 christos * conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5 12094 1.1 christos version and an irix6 version, since irix5's NFS V3 code is broken 12095 1.1 christos and hacky. 12096 1.1 christos 12097 1.1 christos * amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer 12098 1.1 christos sizes for some hesiod queries. Patch from Danny Braniss 12099 1.1 christos <danny (a] cs.huji.ac.il>. 12100 1.1 christos 12101 1.1 christos Mon Jul 7 19:04:14 1997 Erez Zadok <ezk (a] glory.soscorp.com> 12102 1.1 christos 12103 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3. 12104 1.1 christos 12105 1.1 christos Sun Jul 6 14:22:24 1997 Erez Zadok <ezk (a] glory.soscorp.com> 12106 1.1 christos 12107 1.1 christos * aux/{configure.in,acconfig.h}: added checks for struct 12108 1.1 christos nfs_args's fields proto and sotype (bsdi3). 12109 1.1 christos 12110 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to 12111 1.1 christos nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field 12112 1.1 christos to SOCK_STREAM or SOCK_DGRAM. 12113 1.1 christos 12114 1.1 christos * aux/macros/check_mount_style.m4: add case for bsdi3. 12115 1.1 christos 12116 1.1 christos * amd/info_hesiod.c: got hesiod support for bsdi3. 12117 1.1 christos 12118 1.1 christos Sun Jul 6 11:14:47 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12119 1.1 christos 12120 1.1 christos * aux/configure.in: look for hesiod on libc (bsdi3) 12121 1.1 christos 12122 1.1 christos * amd/get_args.c (get_args): reformat usage so it fits in 80 12123 1.1 christos columns. 12124 1.1 christos 12125 1.1 christos * scripts/ctl-amd.in: changed directory name for optional tftpboot 12126 1.1 christos map to /tftpboot/.amd. 12127 1.1 christos 12128 1.1 christos Sat Jul 5 17:46:45 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12129 1.1 christos 12130 1.1 christos ******************************************************************* 12131 1.1 christos *** Released am-utils-6.0a6 *** 12132 1.1 christos ******************************************************************* 12133 1.1 christos 12134 1.1 christos Sat Jul 5 03:17:09 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12135 1.1 christos 12136 1.1 christos * scripts/ctl-amd.in: include -T tag for tftpboot. 12137 1.1 christos 12138 1.1 christos * new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code 12139 1.1 christos is broken and needs work on the specific nfs_args that irix5 uses 12140 1.1 christos for V3 mounts. 12141 1.1 christos 12142 1.1 christos Sat Jul 5 01:44:25 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12143 1.1 christos 12144 1.1 christos * amd/get_args.c (get_args): new options amd -T tag. A map with 12145 1.1 christos tag=foo matching the -T tag will be processed. All untagged maps 12146 1.1 christos get processed all the time. 12147 1.1 christos 12148 1.1 christos Fri Jul 4 16:19:26 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12149 1.1 christos 12150 1.1 christos * aux/configure.in: need to check for strcasecmp in libucb (ncr2) 12151 1.1 christos 12152 1.1 christos * aux/macros/check_os_libs.m4: a new macro to set the usage of 12153 1.1 christos libnsl and libsocket based on the OS. 12154 1.1 christos 12155 1.1 christos * libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is 12156 1.1 christos defined (problem on osf4). 12157 1.1 christos 12158 1.1 christos * conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers. 12159 1.1 christos 12160 1.1 christos * include/am_defs.h, aux/macros/try_compile_nfs.m4, 12161 1.1 christos aux/macros/mount_headers.m4: do include <sys/proc.h> because it 12162 1.1 christos failes on irix5. Rather, put in the individual 12163 1.1 christos conf/nfs_prot/nfs_prot_*.h headers. 12164 1.1 christos 12165 1.1 christos * amd/conf.c: AIX3 doesn't like strdup() being passed a constant 12166 1.1 christos char*, so cast all strdup()'s args to a non-const char*. 12167 1.1 christos 12168 1.1 christos * amd/mapc.c (root_newmap): don't try to strdup only a "const 12169 1.1 christos char *". 12170 1.1 christos 12171 1.1 christos Fri Jul 4 15:47:10 1997 Erez Zadok <ezk (a] americas.psl.cs.columbia.edu> 12172 1.1 christos 12173 1.1 christos * conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and 12174 1.1 christos sys/errno.h. 12175 1.1 christos 12176 1.1 christos Thu Jul 3 17:49:00 1997 Erez Zadok <ezk (a] prometheus.soscorp.com> 12177 1.1 christos 12178 1.1 christos * made sure am-utils compiles, links, and runs properly on Irix 12179 1.1 christos 6.2 using "cc -32 -Wl,-woff," 12180 1.1 christos 12181 1.1 christos * aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12 12182 1.1 christos AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add 12183 1.1 christos them to $LIBS. 12184 1.1 christos 12185 1.1 christos * aux/configure.in: some cleanup of which libraries are needed. 12186 1.1 christos Espectially ensure that libnsl is included only on Solaris, where 12187 1.1 christos so far it is the only system on which it is absolutely necessary. 12188 1.1 christos Also no longer need to include libc explicitly. 12189 1.1 christos 12190 1.1 christos * amd/amd.c,wire-test/wire-test.c (main): convert IP address to 12191 1.1 christos network-long order before printing it. 12192 1.1 christos 12193 1.1 christos * wire-test/wire-test.c (main): also check and report on the IP 12194 1.1 christos address of the local host, since some systems have bad versions of 12195 1.1 christos get_myaddress, or ones that conflict with other versions in 12196 1.1 christos multiple libraries (SunOS 4 and Irix especially). 12197 1.1 christos 12198 1.1 christos Wed Jul 2 18:19:02 1997 Erez Zadok <ezk (a] starblazers.soscorp.com> 12199 1.1 christos 12200 1.1 christos * scripts/ctl-amd.in: don't use full pathname so killproc() works 12201 1.1 christos better. Also run bsd44 and irix style ps programs. 12202 1.1 christos 12203 1.1 christos * aux/macros/check_lib_funcs.m4: bug fixed: used to define usage 12204 1.1 christos of library no matter if it was found or not. 12205 1.1 christos 12206 1.1 christos Wed Jul 2 02:11:48 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12207 1.1 christos 12208 1.1 christos * aux/macros/check_mnt2_gen_opt.m4: turned back on the checking 12209 1.1 christos for M_* macros, but ensure that <sys/stream.h> is not included at 12210 1.1 christos all so it won't conflict with other M_* macros. 12211 1.1 christos 12212 1.1 christos Tue Jul 1 21:16:51 1997 Erez Zadok <ezk (a] mako.cs.columbia.edu> 12213 1.1 christos 12214 1.1 christos * conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on 12215 1.1 christos irix should be "spec" (host:/path), not the dir of the mnt point. 12216 1.1 christos 12217 1.1 christos * amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors 12218 1.1 christos fixed. If on, it essentially ignored the setting in a 12219 1.1 christos selector-controlled /defaults if there were 2 or more entries in it. 12220 1.1 christos 12221 1.1 christos Tue Jul 1 12:23:38 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12222 1.1 christos 12223 1.1 christos * scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process 12224 1.1 christos using BSD style ps, then try SVR4 style ps. 12225 1.1 christos 12226 1.1 christos * include/am_utils.h (amuDebug): renamed Debug macro to amuDebug 12227 1.1 christos etc., to avoid conflicts with similar named macros in <ldap.h>. 12228 1.1 christos 12229 1.1 christos * aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf 12230 1.1 christos support needed for LDAP. Now the code has to be written mostly in 12231 1.1 christos amd/info_ldap.c. 12232 1.1 christos 12233 1.1 christos * Included additional patches from Andreas Stolcke 12234 1.1 christos <stolcke (a] speech.sri.com> to support using the best possible 12235 1.1 christos combination of NFS version (2,3) and protocol (udp,tcp) for any 12236 1.1 christos given host, since it appears that some Irix versions have NFS V3, 12237 1.1 christos but do not support TCP. 12238 1.1 christos 12239 1.1 christos * scripts/ctl-amd.in: updated amd control script to look for and 12240 1.1 christos use amd.conf file. 12241 1.1 christos 12242 1.1 christos Tue Jul 1 00:28:23 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12243 1.1 christos 12244 1.1 christos * amd/mapc.c (mapc_create): now, each map in the amd.conf can be 12245 1.1 christos initialized off of a different type, or default to cycling through 12246 1.1 christos all maps until one of them matches. 12247 1.1 christos 12248 1.1 christos Mon Jun 30 20:49:13 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12249 1.1 christos 12250 1.1 christos * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done. 12251 1.1 christos if browsable_dirs=yes is set in the map section in amd.conf, that 12252 1.1 christos map will return all entries back to a readdir(2). 12253 1.1 christos 12254 1.1 christos Sun Jun 29 16:22:11 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12255 1.1 christos 12256 1.1 christos * rudimentary amd.conf file support included. You may even 12257 1.1 christos override things like os=sos5, to get "backwards" compatibility with 12258 1.1 christos upl102. 12259 1.1 christos 12260 1.1 christos Sat Jun 28 13:35:02 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12261 1.1 christos 12262 1.1 christos * amd/conf.c: new file to process amd.conf file. 12263 1.1 christos 12264 1.1 christos * amd/get_args.c (get_args): new options -H to print help. 12265 1.1 christos 12266 1.1 christos * moved enable_default_selectors to be amd.conf controlled, and 12267 1.1 christos not compiler controlled. 12268 1.1 christos 12269 1.1 christos * amd/get_args.c (get_args): new options -F <conf-file> to parse an 12270 1.1 christos amd configuration file. 12271 1.1 christos 12272 1.1 christos Wed Jun 25 23:15:42 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12273 1.1 christos 12274 1.1 christos * converted all files that used strcmp() == 0 or != 0 to using 12275 1.1 christos the STREQ() macro. 12276 1.1 christos 12277 1.1 christos Mon Jun 23 22:31:14 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12278 1.1 christos 12279 1.1 christos * aux/macros/check_lib_funcs.m4: new M4 macro that can be used to 12280 1.1 christos search for any number of functions in any given library. 12281 1.1 christos 12282 1.1 christos Mon Jun 23 01:04:23 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12283 1.1 christos 12284 1.1 christos * amd/mapc.c: Included patch from Leif Johansson 12285 1.1 christos <leifj (a] matematik.su.se> to ensure that systems without an RE 12286 1.1 christos library can compile. 12287 1.1 christos 12288 1.1 christos * libamu/mount_fs.c (mount_fs): Included patch from Andreas 12289 1.1 christos Stolcke <stolcke (a] speech.sri.com>, to ensure that mount options on 12290 1.1 christos table are properly delimited by a comma. 12291 1.1 christos 12292 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas 12293 1.1 christos Stolcke <stolcke (a] speech.sri.com>, to allow users to override the 12294 1.1 christos proto= and vers= mount options. 12295 1.1 christos 12296 1.1 christos Sun Jun 22 01:00:11 1997 Eric Dana (edana (a] ncr2.bgs.com) 12297 1.1 christos 12298 1.1 christos * conf/nfs_prot/nfs_prot_svr4.h: port completed to 12299 1.1 christos i486-ncr-sysv4.3.03. Assorted source cleanups done. 12300 1.1 christos 12301 1.1 christos * include/am_defs.h, aux/macros/mount_headers.m4: don't include 12302 1.1 christos mnttab.h if sys/mnttab.h was already included, because on ncr2, 12303 1.1 christos they contain conflicting entries for struct mnttab. 12304 1.1 christos 12305 1.1 christos Sat Jun 21 23:52:15 1997 Eric Dana (edana (a] ncr2.bgs.com) 12306 1.1 christos 12307 1.1 christos * aux/macros/check_nfs_prot_headers.m4: added support for ncr2. 12308 1.1 christos 12309 1.1 christos Fri Jun 20 06:14:17 1997 Erez Zadok <ezk> 12310 1.1 christos 12311 1.1 christos * amd/*.c: lots of 64-bit "ugly" ports like casts to long ints. 12312 1.1 christos 12313 1.1 christos * aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because 12314 1.1 christos on DU-4.0 it is better than the next one to be picked (nfsv2fh_t). 12315 1.1 christos 12316 1.1 christos Wed Jun 18 18:59:49 1997 Erez Zadok <ezk (a] defiant.soscorp.com> 12317 1.1 christos 12318 1.1 christos * aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for 12319 1.1 christos nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is 12320 1.1 christos better. 12321 1.1 christos 12322 1.1 christos Tue Jun 10 17:06:58 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12323 1.1 christos 12324 1.1 christos * amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is 12325 1.1 christos NULL, set the maxlen and len fields in netbuf to zero. 12326 1.1 christos 12327 1.1 christos Wed May 28 22:52:28 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12328 1.1 christos 12329 1.1 christos * scripts/fix-amd-map.in (name): replace all matching patterns on 12330 1.1 christos line. 12331 1.1 christos 12332 1.1 christos Sun May 25 19:33:41 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12333 1.1 christos 12334 1.1 christos ******************************************************************* 12335 1.1 christos *** Released am-utils-6.0a5 *** 12336 1.1 christos ******************************************************************* 12337 1.1 christos 12338 1.1 christos Sun May 25 13:37:24 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12339 1.1 christos 12340 1.1 christos * amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service 12341 1.1 christos procedure now returns the full string that amd -v returns. 12342 1.1 christos 12343 1.1 christos * amd/get_args.c (get_version_string): new function to return 12344 1.1 christos complete version/info string so it could be used more flexibly. 12345 1.1 christos 12346 1.1 christos * amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list 12347 1.1 christos of Fs types into a string buffer, rather than a FILE*. 12348 1.1 christos 12349 1.1 christos * amd/mapc.c (mapc_showtypes): put the list of map types into a 12350 1.1 christos string buffer, rather than a FILE*. 12351 1.1 christos 12352 1.1 christos Sun May 25 01:25:36 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12353 1.1 christos 12354 1.1 christos * amd/get_args.c (get_args): amd -v also prints user who built 12355 1.1 christos amd, hostname built on, and date of configuration. 12356 1.1 christos 12357 1.1 christos Sat May 24 13:40:50 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12358 1.1 christos 12359 1.1 christos * scripts/lostaltmail.conf-sample: sample lostaltmail 12360 1.1 christos configuration file. 12361 1.1 christos 12362 1.1 christos * scripts/lostaltmail.in: new script lostaltmail used to redeliver 12363 1.1 christos "lost" mail that hlfsd redirected to a temp location because the 12364 1.1 christos primary home file system of the user was full. 12365 1.1 christos 12366 1.1 christos * scripts/amd2sun.in: new script amd2sun. Used to convert Sub 12367 1.1 christos automount maps to amd maps. 12368 1.1 christos 12369 1.1 christos * scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start, 12370 1.1 christos stop, or restart hlfsd. 12371 1.1 christos 12372 1.1 christos * scripts/expn.1: man page for expn command. 12373 1.1 christos 12374 1.1 christos * scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or 12375 1.1 christos restart amd. 12376 1.1 christos 12377 1.1 christos * scripts/expn.in: new script expn. Actually taken from David 12378 1.1 christos Muir Sharnoff <muir (a] idiom.com>. Used by hlfsd's mail re-delivery 12379 1.1 christos script. 12380 1.1 christos 12381 1.1 christos * scripts/wait4amd.in: new script wait4amd added. Waits for amd 12382 1.1 christos to come up on a host, and then runs a command (rsh $hostname by 12383 1.1 christos default). 12384 1.1 christos 12385 1.1 christos * scripts/Makefile.am: new directory now holds all shell/perl 12386 1.1 christos scripts that belong to am-utils. 12387 1.1 christos 12388 1.1 christos * conf/mount/mount_linux.c (parse_opts): new parser for 12389 1.1 christos linux-specific mounts. Handles fs-type specific mount-options 12390 1.1 christos correctly. Currently implemented: msdos, iso9660. 12391 1.1 christos 12392 1.1 christos * amd/ops_pcfs.c (pcfs_ops): don't timeout pcfs mounts by default 12393 1.1 christos (fix for linux). 12394 1.1 christos 12395 1.1 christos * amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default 12396 1.1 christos (fix for linux). 12397 1.1 christos 12398 1.1 christos * amd/mapc.c (make_entry_chain): fixed bug that resulted in amd 12399 1.1 christos core dumps upon "ls" of a mount point; an invalid pointer was 12400 1.1 christos being returned and dereferenced. 12401 1.1 christos 12402 1.1 christos * port to Linux sparc working! 12403 1.1 christos 12404 1.1 christos * hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if 12405 1.1 christos failed to write test file, or else the fd will leak. 12406 1.1 christos 12407 1.1 christos Sun May 18 00:42:41 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12408 1.1 christos 12409 1.1 christos * amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp() 12410 1.1 christos instead of strcmp(). 12411 1.1 christos 12412 1.1 christos * Port to Digital Unix 4.0 (OSF) done. 12413 1.1 christos 12414 1.1 christos * hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts 12415 1.1 christos with dirname() function in <string.h> on OSF systems. 12416 1.1 christos 12417 1.1 christos * fsinfo/fsi_util.c (set_ether_if): take out extern definition of 12418 1.1 christos inet_addr(). It should come from <arpa/inet.h> instead. 12419 1.1 christos 12420 1.1 christos * conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs. 12421 1.1 christos 12422 1.1 christos * include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to 12423 1.1 christos avoid conflicts with DU 4.0 system header. 12424 1.1 christos 12425 1.1 christos Thu May 15 22:49:12 1997 Erez Zadok <ezk (a] subzero.cs.columbia.edu> 12426 1.1 christos 12427 1.1 christos * libamu/mount_fs.c (mount_fs): pass along NFS version so I can 12428 1.1 christos determine if to include additional options in the mount table file 12429 1.1 christos entry (such as proto=tcp, and vers=3). 12430 1.1 christos 12431 1.1 christos Thu May 15 00:42:12 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12432 1.1 christos 12433 1.1 christos * libamu/mount_fs.c (mount_fs): include NFS version number in the 12434 1.1 christos mount table options, as well as proto={tcp,udp}. 12435 1.1 christos 12436 1.1 christos Wed May 14 14:30:19 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12437 1.1 christos 12438 1.1 christos * NFS V3 code ported to most other systems, so it compiles for V2 12439 1.1 christos and V3 NFS systems. 12440 1.1 christos 12441 1.1 christos * NFS VERSION 3 support, first pass. Working for Solaris and 12442 1.1 christos using TCP. 12443 1.1 christos 12444 1.1 christos Sun May 11 01:14:29 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12445 1.1 christos 12446 1.1 christos * amq/amq.c: many newline characters were missing from various 12447 1.1 christos stderr printfs. 12448 1.1 christos 12449 1.1 christos Sat May 10 13:09:06 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12450 1.1 christos 12451 1.1 christos * conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for 12452 1.1 christos Solaris, which include NFS V3 support. 12453 1.1 christos 12454 1.1 christos * conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers. 12455 1.1 christos 12456 1.1 christos * conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS 12457 1.1 christos protocol version while getting a mount client. 12458 1.1 christos 12459 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types, 12460 1.1 christos file handle size, and proper file handle based on the correct NFS 12461 1.1 christos version number. 12462 1.1 christos 12463 1.1 christos * conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under 12464 1.1 christos Solaris and other SVR4 systems. 12465 1.1 christos 12466 1.1 christos * amd/ops_nfs.c: store NFS file handle version and version 12467 1.1 christos specific handle in struct fh_cache. 12468 1.1 christos (got_nfs_fh): pick the correct RPC reply based on the NFS version 12469 1.1 christos of the server. 12470 1.1 christos (prime_nfs_fhandle_cache): figure out the right NFS file handle 12471 1.1 christos for a node, but now include NFS protocol version information. 12472 1.1 christos (call_mountd): set the correct version for the mount protocol, 12473 1.1 christos based on the NFS protocol version. 12474 1.1 christos (nfs_init): use the NFS protocol generic structure 12475 1.1 christos am_nfs_handle_t. 12476 1.1 christos 12477 1.1 christos * include/am_utils.h: new structure am_nfs_handle_t to contain all 12478 1.1 christos possible versions of NFS file handles. 12479 1.1 christos 12480 1.1 christos * amd/srvr_nfs.c (start_ping): ping program performs NFS version 12481 1.1 christos specific pings. 12482 1.1 christos (recompute_portmap): figure out the correct portmap version mount. 12483 1.1 christos (nfs_keepalive): call start_ping() with the correct NFS version. 12484 1.1 christos (find_nfs_srvr): if mount option "vers=" is given, use it. Get 12485 1.1 christos the NFS server version and verify that it is up. 12486 1.1 christos 12487 1.1 christos * conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new 12488 1.1 christos function to find the best NFS version for a particular host. 12489 1.1 christos 12490 1.1 christos * libamu/amu.h: determine what is the highest version of NFS we 12491 1.1 christos should try. 12492 1.1 christos 12493 1.1 christos * include/am_utils.h (NFS_VERSION3): added definition for NFS V3 12494 1.1 christos protocol number. 12495 1.1 christos Added field fs_version to struct fserver, so we can now store the 12496 1.1 christos server protocol version. 12497 1.1 christos 12498 1.1 christos Fri May 9 01:09:45 1997 Erez Zadok <ezk (a] lorien.cs.columbia.edu> 12499 1.1 christos 12500 1.1 christos * aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into 12501 1.1 christos underscores too, so I can test for sub-fields. 12502 1.1 christos 12503 1.1 christos * libamu/wire.c: use test that checks for sub-fields of struct 12504 1.1 christos ifreq. 12505 1.1 christos 12506 1.1 christos Sat May 6 10:20:17 2000 Erez Zadok <ezk (a] glory.soscorp.com> 12507 1.1 christos 12508 1.1 christos * port to BSD/OS 3.0 completed! Many xdr_ functions were broken 12509 1.1 christos into smaller files. M4 macros fixed to test for existence of 12510 1.1 christos file systems using getvfsbyname(). 12511 1.1 christos 12512 1.1 christos * amd/sched.c (sigchld): signal handler must waitpid() for all 12513 1.1 christos possible children. 12514 1.1 christos 12515 1.1 christos * hlfsd/homedir.c: signal handler must waitpid() for all possible 12516 1.1 christos children. 12517 1.1 christos 12518 1.1 christos * aux/macros/check_restartable_signals.m4: new macro to determine 12519 1.1 christos if need to reinstall signal handlers per OS is better than trying 12520 1.1 christos to figure these out based on system macros. 12521 1.1 christos 12522 1.1 christos Fri May 5 19:23:28 2000 Erez Zadok <ezk (a] glory.soscorp.com> 12523 1.1 christos 12524 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number. 12525 1.1 christos 12526 1.1 christos * amd/ops_afs.c (mount_toplvl): set nfs_args_t version number. 12527 1.1 christos 12528 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport 12529 1.1 christos (must be supplied for bsdi 3.0) 12530 1.1 christos 12531 1.1 christos * libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and 12532 1.1 christos associated new macro) for determining the right way to compute the 12533 1.1 christos size of the interface structure. 12534 1.1 christos 12535 1.1 christos Fri Apr 11 15:56:13 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12536 1.1 christos 12537 1.1 christos * aux/configure.in: need to include libc before libnsl if 12538 1.1 christos get_myaddress() is available because on irix libnsl has a buggy 12539 1.1 christos get_myaddress(). 12540 1.1 christos 12541 1.1 christos * include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined 12542 1.1 christos on Irix 6 (an SVR4 variant) 12543 1.1 christos 12544 1.1 christos Thu Mar 27 02:28:40 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12545 1.1 christos 12546 1.1 christos ******************************************************************* 12547 1.1 christos *** Released am-utils-6.0a4 *** 12548 1.1 christos ******************************************************************* 12549 1.1 christos 12550 1.1 christos Wed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12551 1.1 christos 12552 1.1 christos * amd/amq_subr.c (ok_security): turned off insecure code unless 12553 1.1 christos user explicitly runs configure --enable-amq-mount. 12554 1.1 christos 12555 1.1 christos * hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service(). 12556 1.1 christos 12557 1.1 christos * amd/nfs_start.c (mount_automounter): use code that separately 12558 1.1 christos creates the NFS and the amq service. Register tcp and udp 12559 1.1 christos services for amd. 12560 1.1 christos 12561 1.1 christos * conf/transp/transp_*.c (create_amq_service): new function to 12562 1.1 christos separately create the amq service for amd. Simplified prototypes 12563 1.1 christos for create_nfs_service(). 12564 1.1 christos 12565 1.1 christos Wed Mar 19 20:40:56 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12566 1.1 christos 12567 1.1 christos ******************************************************************* 12568 1.1 christos *** Released am-utils-6.0a3 *** 12569 1.1 christos ******************************************************************* 12570 1.1 christos 12571 1.1 christos Wed Mar 19 17:49:18 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12572 1.1 christos 12573 1.1 christos * new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots 12574 1.1 christos of small changes to support these two. 12575 1.1 christos 12576 1.1 christos Wed Mar 19 14:33:30 1997 Erez Zadok <ezk (a] grande.cs.columbia.edu> 12577 1.1 christos 12578 1.1 christos * conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist() 12579 1.1 christos should run if MOUNT_TABLE_ON_FILE, not otherwise. 12580 1.1 christos 12581 1.1 christos Mon Mar 17 22:02:43 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12582 1.1 christos 12583 1.1 christos * hlfsd/hlfsd.c (main): fill in fhsize field if exists 12584 1.1 christos (freebsd-2.2). 12585 1.1 christos 12586 1.1 christos * amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if 12587 1.1 christos exists (freebsd-2.2). 12588 1.1 christos 12589 1.1 christos Sat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12590 1.1 christos 12591 1.1 christos * new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher 12592 1.1 christos changed the filehandle type in struct nfs_args from nfsv2fh_t to 12593 1.1 christos u_char. 12594 1.1 christos 12595 1.1 christos Sat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12596 1.1 christos 12597 1.1 christos * SHARED LIBRARIES: too many changes to list individually. Now, 12598 1.1 christos libamu can be built as a shared library, and other programs link 12599 1.1 christos with it. 12600 1.1 christos 12601 1.1 christos Tue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12602 1.1 christos 12603 1.1 christos * aux/macros/opt_shared.m4: new macro for setting options for 12604 1.1 christos building shared am-utils libraries. 12605 1.1 christos 12606 1.1 christos Sun Mar 9 19:17:46 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12607 1.1 christos 12608 1.1 christos * fixmount/fixrmtab: cleaned up the script. 12609 1.1 christos 12610 1.1 christos * fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that 12611 1.1 christos fixrmtab gets distributed too. 12612 1.1 christos 12613 1.1 christos * conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP. 12614 1.1 christos Added extern for xdr_mountlist(). 12615 1.1 christos 12616 1.1 christos * aux/configure.in: trimmed down many tests for MNT2_GEN_OPT, 12617 1.1 christos MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in 12618 1.1 christos the sources. 12619 1.1 christos 12620 1.1 christos Sat Mar 8 00:23:58 1997 Erez Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12621 1.1 christos 12622 1.1 christos * fixmount/hlfsd ported to bsd44, hpux, and linux systems. 12623 1.1 christos 12624 1.1 christos * aux/macros/check_fixmount_style.m4: add check for bsd44 systems. 12625 1.1 christos 12626 1.1 christos * conf/fixmount/fixmount_default.c: use lockf() if flock() is 12627 1.1 christos unavailable. 12628 1.1 christos 12629 1.1 christos * include/am_defs.h: include <string.h> even if don't have 12630 1.1 christos STDC_HEADERS defined (sunos4). 12631 1.1 christos (seteuid): define seteuid() to be setresuid() for systems that 12632 1.1 christos have but not the other (hpux). 12633 1.1 christos 12634 1.1 christos * aux/macros/check_extern.m4: test should include <strings.h>. 12635 1.1 christos 12636 1.1 christos Tue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12637 1.1 christos 12638 1.1 christos * lib/xutil.c (debug_option): moved from amd/getargs.c to this 12639 1.1 christos more proper file. 12640 1.1 christos 12641 1.1 christos * include/am_utils.h: put in structure for debug options, for all 12642 1.1 christos progams to use. 12643 1.1 christos 12644 1.1 christos * amd/get_args.c: moved structure for debug options out. 12645 1.1 christos 12646 1.1 christos Sun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12647 1.1 christos 12648 1.1 christos * ported fixmount. 12649 1.1 christos 12650 1.1 christos * lib/ualarm.c: replacement function for systems that don't have a 12651 1.1 christos ualarm(). 12652 1.1 christos 12653 1.1 christos * ported fsinfo. 12654 1.1 christos 12655 1.1 christos Sun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12656 1.1 christos 12657 1.1 christos * ported mk-amd-map. 12658 1.1 christos 12659 1.1 christos * buildall: added -K option to buildall, to run mkconf. 12660 1.1 christos 12661 1.1 christos Fri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12662 1.1 christos 12663 1.1 christos ******************************************************************* 12664 1.1 christos *** Released am-utils-6.0a2 *** 12665 1.1 christos ******************************************************************* 12666 1.1 christos 12667 1.1 christos Thu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12668 1.1 christos 12669 1.1 christos * all *.[hcyl] files: add copyright line. 12670 1.1 christos 12671 1.1 christos * aux/macros/check_mount_type.m4: test for mount type for 12672 1.1 christos linux-like systems, by checking for loadable or statically linked 12673 1.1 christos kernel filesystem modules. 12674 1.1 christos 12675 1.1 christos * aux/macros/check_mnttab_type.m4: test for mount table entry 12676 1.1 christos for linux-like systems, by checking for loadable or statically 12677 1.1 christos linked kernel filesystem modules. 12678 1.1 christos 12679 1.1 christos * aux/configure.in: pcfs filesystems can use vfat type (linux) 12680 1.1 christos 12681 1.1 christos * aux/macros/check_fs_mntent.m4: test for filesystem existence for 12682 1.1 christos linux-like systems, by checking for loadable or statically linked 12683 1.1 christos kernel filesystem modules. 12684 1.1 christos 12685 1.1 christos * conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX 12686 1.1 christos 9.0 header files. This should be removed when HPUX 9.0 is deemed 12687 1.1 christos defunct. 12688 1.1 christos 12689 1.1 christos * aux/acconfig.h: set an undefined variable for having an extern 12690 1.1 christos to clnt_sperrno(). 12691 1.1 christos 12692 1.1 christos * include/am_defs.h: define extern for clnt_sperrno() if needed. 12693 1.1 christos 12694 1.1 christos * aux/configure.in: test for extern clnt_sperrno(). 12695 1.1 christos 12696 1.1 christos * aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is 12697 1.1 christos similar to irix. 12698 1.1 christos 12699 1.1 christos * aux/macros/check_mount_style.m4: use mount helper on HPUX. 12700 1.1 christos 12701 1.1 christos * aux/macros/check_mtype_type.m4: hpux's mount type is a char*, 12702 1.1 christos not integer (but may be mapped to one later). 12703 1.1 christos 12704 1.1 christos * conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header 12705 1.1 christos files. They have mount(2) and vfsmount(2) which don't take same 12706 1.1 christos arguments, and they have string mount types MNTTYPE_* as well as 12707 1.1 christos integer types MOUNT_*. So I need this new mount function to map 12708 1.1 christos from string types to integer types for the vfsmount() function. 12709 1.1 christos 12710 1.1 christos * conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling 12711 1.1 christos vfsmount(), call mount_hpux(). 12712 1.1 christos 12713 1.1 christos Thu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk (a] okeeffe.cs.columbia.edu> 12714 1.1 christos 12715 1.1 christos * lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if 12716 1.1 christos both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined. 12717 1.1 christos 12718 1.1 christos Thu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12719 1.1 christos 12720 1.1 christos * conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for 12721 1.1 christos hpux. 12722 1.1 christos 12723 1.1 christos * include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h. 12724 1.1 christos 12725 1.1 christos * aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h. 12726 1.1 christos 12727 1.1 christos * buildall: added ability to configure using other shells than 12728 1.1 christos /bin/sh, on those systems where /bin/sh is buggy or limited 12729 1.1 christos (HPUX). 12730 1.1 christos 12731 1.1 christos * aux/macros/struct_nfs_fh.m4: reinstated the macro but have it 12732 1.1 christos defined am_nfs_fh, and also test for plain typedef "nfs_fh". 12733 1.1 christos 12734 1.1 christos * aux/acconfig.h: #undef am_nfs_fh, which is being defined by a 12735 1.1 christos reinstated macro. 12736 1.1 christos 12737 1.1 christos * aux/configure.in: check for <nfs/export.h> 12738 1.1 christos 12739 1.1 christos * include/am_defs.h: include <nfs/export.h> (HPUX) if exists. 12740 1.1 christos 12741 1.1 christos * aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if 12742 1.1 christos exists. 12743 1.1 christos 12744 1.1 christos * aux/macros/mount_headers.m4 (define): removed some non-working 12745 1.1 christos (on HPUX) code that attempts to recreate the fhandle_t rather than 12746 1.1 christos load it up from system headers. Also added some NFS protocol 12747 1.1 christos header inclusion. include <nfs/export.h> (HPUX) if exists. 12748 1.1 christos 12749 1.1 christos Wed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk (a] okeeffe.cs.columbia.edu> 12750 1.1 christos 12751 1.1 christos * aux/macros/mount_headers.m4 (define): Use M4 changequote to 12752 1.1 christos ensure [] brackets are correctly used. 12753 1.1 christos 12754 1.1 christos * aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate 12755 1.1 christos multi-line M4 inclusions in []. 12756 1.1 christos 12757 1.1 christos Tue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12758 1.1 christos 12759 1.1 christos * conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if 12760 1.1 christos it exists. 12761 1.1 christos 12762 1.1 christos * aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new 12763 1.1 christos config.h macro for field f_fstypename of struct statfs. 12764 1.1 christos 12765 1.1 christos * aux/configure.in: testing for field f_fstypename field of struct 12766 1.1 christos statfs (NetBSD). 12767 1.1 christos 12768 1.1 christos * aux/acconfig.h: moved all of the "static" definitions out to a 12769 1.1 christos fixed file called include/am_defs.h. Added to all */Makefile.am 12770 1.1 christos files a dependency on am_defs.h. Created am_defs.h of course, and 12771 1.1 christos then added #include <amd_defs.h> to all of the source and header 12772 1.1 christos files that required it. 12773 1.1 christos 12774 1.1 christos Mon Feb 24 01:27:02 1997 Erez Zadok <ezk (a] defiant.soscorp.com> 12775 1.1 christos 12776 1.1 christos * aux/acconfig.h: two more externals for xdr functions that may be 12777 1.1 christos implemented by libamu. 12778 1.1 christos 12779 1.1 christos * conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR 12780 1.1 christos definitions. 12781 1.1 christos 12782 1.1 christos Sun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12783 1.1 christos 12784 1.1 christos * buildall (default): added -D option for turning on even stricker 12785 1.1 christos developer options. 12786 1.1 christos 12787 1.1 christos * */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to 12788 1.1 christos determine dependencies on optional NFS protocol headers. 12789 1.1 christos 12790 1.1 christos * aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed. 12791 1.1 christos 12792 1.1 christos * aux/macros/check_nfs_prot_header.m4: new test to determine what 12793 1.1 christos NFS protocol headers to use. 12794 1.1 christos 12795 1.1 christos * conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to 12796 1.1 christos complete missing system headers for NFS protocol definitions. 12797 1.1 christos 12798 1.1 christos Sun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk (a] vir.cs.columbia.edu> 12799 1.1 christos 12800 1.1 christos * amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in 12801 1.1 christos #ifdef's as needed. 12802 1.1 christos 12803 1.1 christos * amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is 12804 1.1 christos suitable #ifdef'ed. 12805 1.1 christos 12806 1.1 christos * include/am_compat.h: a couple more mnttab options 12807 1.1 christos (timeo/retrans) setting just in case. 12808 1.1 christos 12809 1.1 christos * amd/autil.c (host_normalize): make sure hostent->h_name is 12810 1.1 christos passed a non-const char *. 12811 1.1 christos 12812 1.1 christos * conf/mount/mount_linux.c (mount_linux): cleaned up a block of code. 12813 1.1 christos 12814 1.1 christos * {lib,amq,amd}/*.c (many functions): cast xdr_entry to 12815 1.1 christos XDRPROC_T_TYPE. 12816 1.1 christos 12817 1.1 christos * lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to 12818 1.1 christos XDRPROC_T_TYPE. 12819 1.1 christos 12820 1.1 christos * lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to 12821 1.1 christos XDRPROC_T_TYPE. 12822 1.1 christos 12823 1.1 christos * lib/wire.c (getwire): Make sure safe assignment from const to 12824 1.1 christos none is done. 12825 1.1 christos 12826 1.1 christos Sat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk (a] vir.cs.columbia.edu> 12827 1.1 christos 12828 1.1 christos * aux/macros/expand_cpp_int.m4: new macro for expanding integers. 12829 1.1 christos 12830 1.1 christos * aux/configure.in: added linux/fs.h support in configure and 12831 1.1 christos several M4 macros. 12832 1.1 christos 12833 1.1 christos * conf/mount/mount_linux.c (mount_linux): use macro instead of 12834 1.1 christos "ugly" fixed hex number for mount() arguments. 12835 1.1 christos 12836 1.1 christos Sat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12837 1.1 christos 12838 1.1 christos * amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and 12839 1.1 christos turned all of its code always on. That code always seems to 12840 1.1 christos compile, as long as you have hesiod and libresolv. 12841 1.1 christos 12842 1.1 christos * amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all 12843 1.1 christos of its code always on. 12844 1.1 christos 12845 1.1 christos * aux/configure.in: removed superfluous test for hs_zone_transfer 12846 1.1 christos function (will never find it because it is an amd-internal 12847 1.1 christos function). 12848 1.1 christos 12849 1.1 christos * amd/mapc.c (maptypes): must used correct new name for am-utils' 12850 1.1 christos hesiod initialization function: hesiod_am_init. 12851 1.1 christos 12852 1.1 christos * amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to 12853 1.1 christos hesiod_am_init so as not to conflict with libhesiod's 12854 1.1 christos hesiod_init() function. 12855 1.1 christos 12856 1.1 christos * aux/configure.in: added test and explicit inclusion of 12857 1.1 christos libresolv.a for later resolution of library references with 12858 1.1 christos libhesiod. 12859 1.1 christos 12860 1.1 christos * aux/macros/opt_cppflags.m4: new file. configure/compile C 12861 1.1 christos preprocessor flags. 12862 1.1 christos 12863 1.1 christos * aux/macros/opt_libs.m4: new file. configure/compile library 12864 1.1 christos flags. 12865 1.1 christos 12866 1.1 christos * Makefile.am (EXTRA_DIST_AUX): include two new macros 12867 1.1 christos opt_cppflags.m4 and opt_libs.m4. 12868 1.1 christos 12869 1.1 christos * aux/configure.in: test for libhesiod needs to additional 12870 1.1 christos libresolv to link completely. Additional configuration time 12871 1.1 christos options added for setting initial CPPFLAGS and LIBS. 12872 1.1 christos 12873 1.1 christos Tue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12874 1.1 christos 12875 1.1 christos ******************************************************************* 12876 1.1 christos *** Released am-utils-6.0a1 *** 12877 1.1 christos ******************************************************************* 12878 1.1 christos 12879 1.1 christos Thu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 12880 1.1 christos 12881 1.1 christos * amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that 12882 1.1 christos it works on freebsd, where they map dbm_pagfno a non-existing 12883 1.1 christos macro on purpose, to force you to port the code to Berkeley DB. 12884 1.1 christos 12885 1.1 christos Fri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12886 1.1 christos 12887 1.1 christos * amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the 12888 1.1 christos actual mount_toplvl, to avoid some possible race conditions. 12889 1.1 christos 12890 1.1 christos Thu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12891 1.1 christos 12892 1.1 christos * amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code. 12893 1.1 christos 12894 1.1 christos Wed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12895 1.1 christos 12896 1.1 christos * lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code) 12897 1.1 christos 12898 1.1 christos * amd/amd.c (main): fix local address using htonl(). Free up 12899 1.1 christos buffers allocated by netdir_*() functions. 12900 1.1 christos 12901 1.1 christos Wed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12902 1.1 christos 12903 1.1 christos * amd/fix-amd-map.in: new script that will convert old-style amd 12904 1.1 christos maps to new one. 12905 1.1 christos 12906 1.1 christos Tue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12907 1.1 christos 12908 1.1 christos * FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl, 12909 1.1 christos and replies back to simple nfs/link type mount queries). 12910 1.1 christos 12911 1.1 christos * conf/mtab/mtab_svr4.c: reorganized the code in this file to be 12912 1.1 christos easier to read, and fixed a few bugs with un/setting the lock file 12913 1.1 christos descriptor. 12914 1.1 christos 12915 1.1 christos Wed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12916 1.1 christos 12917 1.1 christos * amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older 12918 1.1 christos signals in Svr3 systems. Only stellix ever used this. 12919 1.1 christos 12920 1.1 christos * amd/rpc_fwd.c (fwd_reply): removed all code that was triggered 12921 1.1 christos by DYNAMIC_BUFFERS, since it was not in use. 12922 1.1 christos 12923 1.1 christos Tue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12924 1.1 christos 12925 1.1 christos * amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer 12926 1.1 christos takes '=' sign as old selector. Fix your maps. 12927 1.1 christos (deslashify): removed APOLLO code that treated two '//' as one. 12928 1.1 christos 12929 1.1 christos Sun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12930 1.1 christos 12931 1.1 christos * amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which 12932 1.1 christos was not used. It made any submount error fail the whole group. 12933 1.1 christos 12934 1.1 christos * amd/ops_nfs.c (make_nfs_auth): removed code dependent on 12935 1.1 christos HAS_NFS_QUALIFIED_NAMES. 12936 1.1 christos (mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it 12937 1.1 christos is never on. So code that was triggered by #ifndef 12938 1.1 christos NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to 12939 1.1 christos be fixed later. 12940 1.1 christos Removed all ULTRIX_HACK code. Ultrix is DEAD! 12941 1.1 christos removed all PRESET_AC code, which was only on for Linux to preset 12942 1.1 christos the attribute cache values (otherwise they default to zero). 12943 1.1 christos (nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will 12944 1.1 christos have to fixed up later. 12945 1.1 christos (mount_nfs_fh): removed code that was never included, which 12946 1.1 christos attempted to set the port on which amd's nfs mounts on. This 12947 1.1 christos isn't supported by the ping algorithm yet. In any case, it is all 12948 1.1 christos done in nfs_init(). 12949 1.1 christos 12950 1.1 christos * amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh): 12951 1.1 christos removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or 12952 1.1 christos specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will 12953 1.1 christos have to be addressed later. 12954 1.1 christos 12955 1.1 christos * amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent 12956 1.1 christos on PRECISE_SYMLINKS. 12957 1.1 christos 12958 1.1 christos * amd/mapc.c (mapc_meta_search): removed code that depended on 12959 1.1 christos HAS_DEPOT. It is known buggy code. The whole DEPOT support needs 12960 1.1 christos to be rethought. 12961 1.1 christos (mapc_add_kv): ported code to use standard regular expression 12962 1.1 christos (regexp) library. 12963 1.1 christos 12964 1.1 christos * amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on 12965 1.1 christos FLUSH_KERNEL_NAME_CACHE and the macro itself. 12966 1.1 christos 12967 1.1 christos Sat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12968 1.1 christos 12969 1.1 christos * amd/map.c (exported_ap_alloc): removed all code triggered by 12970 1.1 christos SHRINK_EXPORTED_AP and the macro itself. 12971 1.1 christos 12972 1.1 christos * amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code 12973 1.1 christos in all the time. Assuming that there is always NIS realod 12974 1.1 christos available. 12975 1.1 christos (yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all() 12976 1.1 christos function is broken such that it does not release filedescriptors 12977 1.1 christos it created, then you are hosed. Get a fix for yp_all from your 12978 1.1 christos vendor or switch operating systems. 12979 1.1 christos 12980 1.1 christos Tue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12981 1.1 christos 12982 1.1 christos * amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to 12983 1.1 christos HAVE_HS_ZONE_TRANSFER. 12984 1.1 christos 12985 1.1 christos Mon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 12986 1.1 christos 12987 1.1 christos * amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is 12988 1.1 christos always included. We should always try to inform the remove mount 12989 1.1 christos daemon of mounts we performed. If we want an option for this, it 12990 1.1 christos should be a run-time option. 12991 1.1 christos 12992 1.1 christos * amd/host_ops.c: removed all that optionally did not make the 12993 1.1 christos directory mount points for amd. 12994 1.1 christos 12995 1.1 christos * HOST_EXEC code removed from everywhere. There is no indication 12996 1.1 christos that it was used anywhere. If it needs to be used, then a 12997 1.1 christos run-time switch should control it. 12998 1.1 christos 12999 1.1 christos Thu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 13000 1.1 christos 13001 1.1 christos * amd/*_ops.c: removed all references to mntent_t's fields 13002 1.1 christos mnt_freq and mnt_passno, since they are no longe rused (and never 13003 1.1 christos have been). 13004 1.1 christos 13005 1.1 christos * amd/am_ops.c: removed function sunos4_match, which was off 13006 1.1 christos anyway. This was one of the places where an '=' sign was allowed 13007 1.1 christos as an assignment operator (which is now ':='). 13008 1.1 christos 13009 1.1 christos * amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which 13010 1.1 christos was off anyway. This was one of the places where an '=' sign was 13011 1.1 christos allowed as an assignment operator (which is now ':='). 13012 1.1 christos 13013 1.1 christos Tue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 13014 1.1 christos 13015 1.1 christos * amq/amq.c: ported to am-utils. Working. 13016 1.1 christos 13017 1.1 christos * conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4 13018 1.1 christos to be string, as it should be (rather than a string mapped to int 13019 1.1 christos and back mapped to string). 13020 1.1 christos 13021 1.1 christos Sun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 13022 1.1 christos 13023 1.1 christos * lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code. 13024 1.1 christos 13025 1.1 christos * lib/umount_fs.c: split this into three files: default, osf, and 13026 1.1 christos bsd44, that are in conf/umount/umount_*.c. 13027 1.1 christos 13028 1.1 christos Thu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk (a] lorien.cs.columbia.edu> 13029 1.1 christos 13030 1.1 christos * aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new 13031 1.1 christos macro to automatically figure out if an external definition for 13032 1.1 christos sys_errlist[] exists. 13033 1.1 christos 13034 1.1 christos * lib/xutil.c (xfree): removed "#undef free" because it's not 13035 1.1 christos needed there. Any system that redefines free() needs help. 13036 1.1 christos 13037 1.1 christos * conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that 13038 1.1 christos was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be 13039 1.1 christos in active use anywhere. If added later, it should be a run-time 13040 1.1 christos configuration option. 13041 1.1 christos 13042 1.1 christos * conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to 13043 1.1 christos be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables 13044 1.1 christos in a file in /etc. 13045 1.1 christos 13046 1.1 christos * lib/util.c (str3cat): removed _AIX code. AIX should have a 13047 1.1 christos working realloc, or else find a cleaner solution to this. 13048 1.1 christos (mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync() 13049 1.1 christos after immediately making directories so that fsck will be able to 13050 1.1 christos fix the filesystem in the event of an immediate crash. This was 13051 1.1 christos because a bug in UFS which is fixed by now. 13052 1.1 christos 13053 1.1 christos * lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered 13054 1.1 christos code. Does not appear to be on and used anywhere. 13055 1.1 christos (dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now. 13056 1.1 christos 13057 1.1 christos * lib/resvport.c: split the binding of reserved ports code to a 13058 1.1 christos separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4) 13059 1.1 christos from the BSD code. 13060 1.1 christos 13061 1.1 christos Thu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 13062 1.1 christos 13063 1.1 christos * lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled 13064 1.1 christos in by automake and configure, for optional sources that need to be 13065 1.1 christos built as part of libamu.a. 13066 1.1 christos 13067 1.1 christos * aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o 13068 1.1 christos to LIBOBJS. 13069 1.1 christos 13070 1.1 christos * lib/memcmp.c (memcmp): new file added to replace a possible bad 13071 1.1 christos implementation of memcmp. 13072 1.1 christos 13073 1.1 christos Wed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 13074 1.1 christos 13075 1.1 christos * converted the sources to use memset/memmove/memcmp instead of 13076 1.1 christos bzero/bcopy/bcmp. 13077 1.1 christos 13078 1.1 christos * ran all sources through gnu Indent w/ options specified in 13079 1.1 christos aux/amindent. 13080 1.1 christos 13081 1.1 christos Wed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 13082 1.1 christos 13083 1.1 christos * At this point the initial generation of config.h via autoconf and 13084 1.1 christos some preliminary makefiles via automake is done. I will not begin 13085 1.1 christos modifying sources, so it's a good time to document from here. 13086 1.1 christos 13087 1.1 christos Wed Dec 10 22:19:29 1996 Erez "HWank1" Zadok <ezk (a] shekel.mcl.cs.columbia.edu> 13088 1.1 christos 13089 1.1 christos ******************************************************************* 13090 1.1 christos *** Initial ChangeLog Entry *** 13091 1.1 christos ******************************************************************* 13092