am-utils-6.0.git
23 years agodist new files
Erez Zadok [Sun, 23 Jun 2002 04:30:11 +0000 (04:30 +0000)]
dist new files

23 years agoupdate help message
Ion Badulescu [Sun, 23 Jun 2002 01:47:02 +0000 (01:47 +0000)]
update help message

23 years ago * hlfsd/homedir.c (homedir): use setgid() instead of setegid()
Ion Badulescu [Sun, 23 Jun 2002 01:39:02 +0000 (01:39 +0000)]
* hlfsd/homedir.c (homedir): use setgid() instead of setegid()

23 years ago- compile fix for mount_aix3.c
Ion Badulescu [Sat, 22 Jun 2002 19:56:15 +0000 (19:56 +0000)]
- compile fix for mount_aix3.c
- buildall: pass the extra arguments after -- to configure, not to make
- BUGS: document the broken /bin/sh on AIX 5.1 and HP-UX 9

23 years ago * buildall: use ksh for configure on aix5.1
Ion Badulescu [Sat, 22 Jun 2002 16:54:24 +0000 (16:54 +0000)]
* buildall: use ksh for configure on aix5.1

23 years ago * Makefile.am: added nfs_prot_aix4_3.h to EXTRA_DIST_CONF
Ion Badulescu [Sat, 22 Jun 2002 15:31:42 +0000 (15:31 +0000)]
    * Makefile.am: added nfs_prot_aix4_3.h to EXTRA_DIST_CONF

23 years agodocument the AIX changes
Ion Badulescu [Fri, 21 Jun 2002 22:42:41 +0000 (22:42 +0000)]
document the AIX changes

23 years ago * conf/mount/mount_aix.c (mount_aix3): if the NFSv3 mount fails
Ion Badulescu [Fri, 21 Jun 2002 22:40:43 +0000 (22:40 +0000)]
* conf/mount/mount_aix.c (mount_aix3): if the NFSv3 mount fails
with EINVAL and we have MOUNT_TYPE_NFS3_BIS defined, retry the
mount with the alternative nfs3_args structure

* conf/nfs_prot/nfs_prot_aix4_3.h: added alternative nfs3_args
structure, similar to that in aix5.1, for a hack that tries to
compensate for IBM's brain fart

* conf/nfs_prot/nfs_prot_aix5_1.h: new nfs_prot header for aix5.1+

* aux/macros/check_nfs_prot_headers.m4: added new header for aix5.1+

23 years ago * BUGS: update for direct mounts on Linux; document the brokenness
Ion Badulescu [Fri, 21 Jun 2002 21:51:00 +0000 (21:51 +0000)]
* BUGS: update for direct mounts on Linux; document the brokenness
of /bin/sh on AIX

23 years ago* ALL source/header files: change use of HAVE_FIELD_* macros to
Erez Zadok [Fri, 21 Jun 2002 18:31:45 +0000 (18:31 +0000)]
* ALL source/header files: change use of HAVE_FIELD_* macros to
HAVE_*, since aux/macros/check_field.m4 changed as well.

* configure.in, Makefile.am, bootstrap, aux/amdgrep,
aux/macros/*.m4: MAJOR port of autotool files from 6.1 branch, to
work with newer autotools.

* aux/macros/with_addon.m4: correct M4 quoting.

* aux/macros/cache_check_dynamic.m4: correct M4 quoting.

* bootstrap: show version of autotools being used.  Helps
maintainer debugging.

* configure.in: new proper syntax for libtool and
ansi2knr-filtering rules, required by autoconf 1.53 and higher.

23 years ago* aux/GNUmakefile: new search paths for "update" target.
Erez Zadok [Fri, 21 Jun 2002 14:07:43 +0000 (14:07 +0000)]
* aux/GNUmakefile: new search paths for "update" target.

* config.guess, config.sub, doc/texinfo.tex, ltmain: updates from
the latest GNU distributions.

* mdate-sh: new script for autotools.

23 years agolooks like I forgot to commit Changelog when I committed this:
Ion Badulescu [Fri, 31 May 2002 19:04:22 +0000 (19:04 +0000)]
looks like I forgot to commit Changelog when I committed this:

        * hlfsd/homedir.c (homedir): last chance checking for zombies;
        (interlock): anal-retentive checking for all sorts of error
        conditions during child recovery

        * hlfsd/hlfsd.c (main): use SA_RESTART in sigaction
        (cleanup): indentation

23 years ago* config.guess.long: support SuSE version names in long
Erez Zadok [Fri, 31 May 2002 01:28:31 +0000 (01:28 +0000)]
* config.guess.long: support SuSE version names in long
config.guess format.

23 years ago * hlfsd/homedir.c (homedir): last chance checking for zombies;
Ion Badulescu [Fri, 3 May 2002 21:23:39 +0000 (21:23 +0000)]
* hlfsd/homedir.c (homedir): last chance checking for zombies;
(interlock): anal-retentive checking for all sorts of error
conditions during child recovery

* hlfsd/hlfsd.c (main): use SA_RESTART in sigaction
(cleanup): indentation

23 years ago* scripts/lostaltmail.in (vrfy_user): unlink temp files if too
Erez Zadok [Wed, 1 May 2002 23:19:34 +0000 (23:19 +0000)]
* scripts/lostaltmail.in (vrfy_user): unlink temp files if too
small.

23 years agodocument removal of autofs code/detection
Ion Badulescu [Fri, 29 Mar 2002 19:03:39 +0000 (19:03 +0000)]
document removal of autofs code/detection

23 years ago * amd/nfs_start.c: use plog() instead of perror()
Ion Badulescu [Fri, 29 Mar 2002 18:59:49 +0000 (18:59 +0000)]
* amd/nfs_start.c: use plog() instead of perror()

23 years ago* amd/info_ldap.c: patch from "Sebastien Bahloul"
Erez Zadok [Thu, 28 Mar 2002 21:23:11 +0000 (21:23 +0000)]
* amd/info_ldap.c: patch from "Sebastien Bahloul"
<sebastien.bahloul@medasys.org> to fix a simple initialization bug
and change "HE" to HE_ENT so as to compile on HPUX.

23 years ago* scripts/lostaltmail.in: don't verify user if -noverify option
Erez Zadok [Wed, 13 Feb 2002 02:21:32 +0000 (02:21 +0000)]
* scripts/lostaltmail.in: don't verify user if -noverify option
was turned on.  fix comment typo.

23 years ago * Ripped out all traces of autofs support
Ion Badulescu [Tue, 12 Feb 2002 02:44:14 +0000 (02:44 +0000)]
    * Ripped out all traces of autofs support

23 years ago * README: require newer auto-tools, update mailing list address
Ion Badulescu [Tue, 12 Feb 2002 00:16:11 +0000 (00:16 +0000)]
* README: require newer auto-tools, update mailing list address

* README.autofs: point to the 6.1 branch for autofs support

23 years ago* updated copyright year to 2002 on all files
Erez Zadok [Mon, 21 Jan 2002 00:49:33 +0000 (00:49 +0000)]
* updated copyright year to 2002 on all files

* hlfsd/hlfsd.h (HLFSD_VERSION): up version of hlfsd to 1.2,
because we made some important changes.

23 years ago * NEWS: document latest changes
Ion Badulescu [Sun, 20 Jan 2002 23:23:51 +0000 (23:23 +0000)]
* NEWS: document latest changes

* amd/map.c (unmount_mp): same fix as for hlfsd, update the
seconds field in mtime because Linux ignores the useconds field

23 years ago use root's home, not the username (silly bugfix)
Ion Badulescu [Sun, 20 Jan 2002 23:00:58 +0000 (23:00 +0000)]
use root's home, not the username (silly bugfix)

23 years ago * hlfsd/homedir.c: made some global vars static
Ion Badulescu [Sun, 20 Jan 2002 22:30:46 +0000 (22:30 +0000)]
* hlfsd/homedir.c: made some global vars static
(plt_init): remove all trailing '/' chars from root's home

23 years ago * hlfsd/homedir.c (homedir): don't special case uid 0 as having /
Ion Badulescu [Sun, 20 Jan 2002 22:15:01 +0000 (22:15 +0000)]
* hlfsd/homedir.c (homedir): don't special case uid 0 as having /
as home; instead use the root accounts home
(plt_init): properly initialize root_home from the root account's
home directory, or as "" if root doesn't exist
(plt_reset): free root_home

23 years ago * hlfsd/stubs.c (nfsproc_lookup_2_svc): get the credentials at the
Ion Badulescu [Sun, 20 Jan 2002 22:01:58 +0000 (22:01 +0000)]
* hlfsd/stubs.c (nfsproc_lookup_2_svc): get the credentials at the
begining of the function and assign the uid to the symlink
attributes; increment the mtime's seconds field each time the uid
changes
(nfsproc_lookup_2_svc): ditto

23 years ago * hlfsd/hlfsd.h: update prototype for homedir()
Ion Badulescu [Sun, 20 Jan 2002 21:55:28 +0000 (21:55 +0000)]
* hlfsd/hlfsd.h: update prototype for homedir()

* hlfsd/stubs.c (nfsproc_readlink_2_svc): pass the groupid to
homedir()

* hlfsd/homedir.c (homedir): take a second argument, the user's
primary gid, and switch to it when doing filesystem operations;
save the old uid and gid and revert to them instead of the
hardcoded uid 0

23 years ago * conf/mount/mount_linux.c (mount_linux): tcp _must_ have a timeo
Ion Badulescu [Thu, 10 Jan 2002 15:27:10 +0000 (15:27 +0000)]
* conf/mount/mount_linux.c (mount_linux): tcp _must_ have a timeo
parameter 2 orders of magnitude larger than udp (patch from Trond
Myklebust)

23 years ago* scripts/amd.conf.5: correct title to section 5, not 8. Correct
Erez Zadok [Thu, 13 Dec 2001 21:01:58 +0000 (21:01 +0000)]
* scripts/amd.conf.5: correct title to section 5, not 8.  Correct
reversed meaning of nfs_proto and nfs_vers parameters.  Typos
reported by Peter Breitenlohner <peb@mppmu.mpg.de>.

24 years ago* scripts/ctl-amd.in: run "test" or "[" in front of -x/-f
Erez Zadok [Mon, 3 Dec 2001 04:29:44 +0000 (04:29 +0000)]
* scripts/ctl-amd.in: run "test" or "[" in front of -x/-f

* scripts/ctl-hlfsd.in: run "test" or "[" in front of -x/-f

24 years ago * hlfsd/homedir.c (plt_print): fix typo (s/plot/plog/) in
Ion Badulescu [Sun, 2 Dec 2001 22:28:34 +0000 (22:28 +0000)]
* hlfsd/homedir.c (plt_print): fix typo (s/plot/plog/) in
non-mkstemp code

* scripts/ctl-amd.in: touch/remove /var/lock/subsys/amd to make RH
happy

* scripts/ctl-hlfsd.in: ditto (for hlfsd)

* conf/mtab/mtab_file.c (rewrite_mtab): fchmod(644) the file we
get from mkstemp(), otherwise samba becomes very unhappy (sigsegv)

* conf/mtab/mtab_mach3.c (rewrite_mtab): ditto

24 years ago * tasks: updated
Ion Badulescu [Thu, 29 Nov 2001 22:07:16 +0000 (22:07 +0000)]
* tasks: updated

* amq/amq.8: better document the -f option

24 years agosilly typo
Erez Zadok [Thu, 29 Nov 2001 21:33:50 +0000 (21:33 +0000)]
silly typo

24 years ago* libamu/mount_fs.c (mnt_flags): same this as for nolock option
Erez Zadok [Thu, 29 Nov 2001 20:57:48 +0000 (20:57 +0000)]
* libamu/mount_fs.c (mnt_flags): same this as for nolock option
handling, do for maxgrps.

* libamu/mount_fs.c (mnt_flags): Drop nolock from generic mount
opts.
(compute_nfs_args): Added nolock handling.
Adapted from an original patch from Avery Pennarun <apenwarr@nit.ca>.

24 years ago* ported to ia64-hp-hpux11.20 using HP's ANSI/C compiler.
Erez Zadok [Tue, 27 Nov 2001 21:39:21 +0000 (21:39 +0000)]
* ported to ia64-hp-hpux11.20 using HP's ANSI/C compiler.
Couldn't use bison/flex because of 32-bit vs. 64-bit binaries
issues.  Had to use HP's own yacc/lex.  This was discovered by
using HP's non-GNU make program.

24 years ago* */Makefile.am: don't use $(OBJECTS) directly because it is no
Erez Zadok [Tue, 27 Nov 2001 03:25:21 +0000 (03:25 +0000)]
* */Makefile.am: don't use $(OBJECTS) directly because it is no
longer automatically defined now that Automake has automatic
dependency tracking (which I turn off).  Instead, hard-code
minimal dependencies on am-utils' header files to depend on
PROG_OBJECTS (where PROG is the program name being built)

24 years ago* amd/nfs_start.c (checkup): cast getpagesize() return val to
Erez Zadok [Tue, 27 Nov 2001 03:12:24 +0000 (03:12 +0000)]
* amd/nfs_start.c (checkup): cast getpagesize() return val to
long, to avoid conflicts in division of a long by an int (on
hpux11i, with their ANSI/C compiler).

* minor new ports: ia64-hp-hpux11.20, i386-unknown-freebsd5.0,
i386-unknown-freebsd4.4, i386-pc-linux-rh7.2,
ia64-unknown-linux-rh7.1.

* include/am_defs.h: actually declare extern definition for
xdr_callmsg() if it doesn't already exist.

* aux/macros/header_templates.m4: declare template for
HAVE_EXTERN_XDR_CALLMSG.

* configure.in: check for extern definition for xdr_callmsg()
because hpux11 has that function but a bad <rpc/xdr.h> header file
that doesn't define it in the right place.

* libamu/mount_fs.c (print_nfs_args): cast ->rdev to u_long b/c
on hpux11 its type is dev_t.

* conf/nfs_prot/nfs_prot_hpux11.h: don't support autofs on hpux11
yet.

24 years ago* bootstrap (cmd): turn back on --ignore-deps (this Automake may
Erez Zadok [Sat, 17 Nov 2001 04:52:33 +0000 (04:52 +0000)]
* bootstrap (cmd): turn back on --ignore-deps (this Automake may
have problems)

* libamu/xutil.c: remove __attribute__ format_arg statement for
expand_error() because this function, although taking a
printf-like string, does not use it in a printf function; it only
expands a non-printf amd-special syntax %m.

* conf/nfs_prot/nfs_prot_linux.h: define KERNEL_VERSION macro
before using it because older Linux systems don't define this
(e.g., Red Hat 4.2)

24 years ago* configure.in: convert to using autoconfig 2.52. Use new macros.
Erez Zadok [Wed, 14 Nov 2001 03:38:28 +0000 (03:38 +0000)]
* configure.in: convert to using autoconfig 2.52.  Use new macros.
AC_MSG_NOTICE for messages; AH_TOP and AH_BOTTOM to top and bottom
parts of autogenerated config.h.in; increase autoconf
pre-requisite to version 2.50; use AC_DISABLE_SHARED not
AM_DISABLE_SHARED.

* aux/macros/cache_check_dynamic.m4: finally I can use the new
$ECHO_N syntax in macros instead of $ac_n, since I'm using a new
autoconf.  Isn't it nice to be such forward looking and having
placed a comment "XXX: use the next line for autoconf-2.14 and
newer"... :-)

* aux/macros/save_state.m4: highlight message with ***'s

* aux/macros/host_macros.m4: use proper M4 quoting ([], not "")

* config.{guess,sub}: upated from latest prep ftp distributions

* depcomp, missing, mkinstalldirs: upated from latest Automake 1.5

* ltmain.sh: updated from latest Libtool 1.4.2

* bootstrap: finally, new autoconf doesn't print silly "AC_TRY_RUN
called without default to allow cross compiling" warnings.  And,
it only took like 3+ years to fix this.  But, now it has anoter,
albeit less annoying warning (which the manual says to ignore):
"AC_PROG_LEX invoked multiple times".
When autoheader is run, don't treat the "all clear" message
"config.h.in is update" as an error.

* ltconfig: removed. not needed with latest version of libtool

* aux/macros/header_templates.m4: replaces acconfig.h and defines
all CPP macros we use in this package, including their
accompanying C /* comments */.

* acconfig.h: removed. replaced by new autoconf system to generate
header templates using AH_TEMPLATE macros and such.

* aux/macros/msg.m4: removed.  Replaced with new macro
AC_MSG_NOTICE

* Makefile.am (EXTRA_DIST_AUX): remove aux/macros/msg.m4.  Add
aux/macros/header_templates.m4

* configure.in: early, in host_macros.m4, I'm renaming silly linux
$host_os names such as linux-gnu and lignux to plain "linux".
Alas, RMS finally had his way and libtool will NOT recognize
"linux" as a valid system, only "linux-gnu".  Sigh.  Rich, I know
you're responsible to Linux's fame.  Kudos to you and your
cohorts.  But please don't force the rest of us to use those ugly
or long names.  Solution: temporarily name $host_os to "linux-gnu"
before calling the AC_PROG_LIBTOOL macro, then name it back to
"linux".  (That way I don't have to maintain my own version of
ltmain.sh.

* buildall: force running configure -C (to create and use a local
config.cache file).  New default behavior for autoconf is NOT to
use cache files.  Yeah, that's gonna fly real well with am-utils,
with its 700+ automatic tests.

* conf/mtab/mtab_mach3.c (rewrite_mtab): use mkstemp instead of
mktemp, if the former is available.

* conf/mtab/mtab_file.c (rewrite_mtab): use mkstemp instead of
mktemp, if the former is available.

* mk-amd-map/mk-amd-map.c (main): use mkstemp instead of mktemp,
if the former is available.

* aux/macros/check_nfs_socket_connection.m4: AC_DEFINE calls must
be on a separate line, as per new Autoconf manual, to avoid some
Bourne Shell syntactical bizarreness.

24 years agoMinor update to mirrors list
Erez Zadok [Tue, 13 Nov 2001 05:49:59 +0000 (05:49 +0000)]
Minor update to mirrors list

24 years ago * libamu/mtab.c (hasmntval): strtol can return a non-NULL pointer
Ion Badulescu [Tue, 13 Nov 2001 01:35:07 +0000 (01:35 +0000)]
    * libamu/mtab.c (hasmntval): strtol can return a non-NULL pointer
        pointing to '\0' on success, so we need to allow for it. This
        fixes the problem with rejecting numerical mount options if they
        are the last option in the string.

        * configure.in: increased library patchlevel

        * NEWS: document the parsing bug; document other previous changes

24 years agotwo more todo items
Erez Zadok [Mon, 22 Oct 2001 03:45:27 +0000 (03:45 +0000)]
two more todo items

24 years ago * aux/macros/os_cflags.m4 (irix6*): Enforce N32 ABI/mips3 ISA with cc.
Rainer Orth [Thu, 18 Oct 2001 17:56:41 +0000 (17:56 +0000)]
* aux/macros/os_cflags.m4 (irix6*): Enforce N32 ABI/mips3 ISA with cc.
* BUGS: Explain this.

24 years ago* doc/am-utils.texi (redhat-ctl-amd): document new script.
Erez Zadok [Tue, 2 Oct 2001 20:46:43 +0000 (20:46 +0000)]
* doc/am-utils.texi (redhat-ctl-amd): document new script.

* scripts/Makefile.am: build redhat-ctl-amd but do not install it.

* scripts/redhat-ctl-amd.in: new script, useful to correctly
control Amd on Red Hat Linux systems.  Script adapted from ctl-amd
and Red Hat's own rc.d script.

24 years ago * conf/nfs_prot/nfs_prot_osf5.h: Renamed from nfs_prot_osf5_1.h.
Rainer Orth [Tue, 2 Oct 2001 16:28:25 +0000 (16:28 +0000)]
* conf/nfs_prot/nfs_prot_osf5.h: Renamed from nfs_prot_osf5_1.h.
(MNT2_NFS_OPT_AUTO): Disable.
* Makefile.am (EXTRA_DIST_CONF): Reflect new name.
* aux/macros/check_nfs_prot_headers.m4: Use this file for all
Tru64 UNIX V5 and up releases.

24 years ago * include/mount_headers1.h (MFS): define as 1 instead of nothing,
Ion Badulescu [Tue, 25 Sep 2001 01:20:42 +0000 (01:20 +0000)]
* include/mount_headers1.h (MFS): define as 1 instead of nothing,
to fix compile problems on OS X (patch from Ahmon Dancy)

* aux/macros/try_compile_anyfs.m4 (MFS): ditto

24 years ago* doc/am-utils.texi (in_network Selector Variable): document
Erez Zadok [Tue, 14 Aug 2001 00:36:25 +0000 (00:36 +0000)]
* doc/am-utils.texi (in_network Selector Variable): document
expanded syntax

* libamu/wire.c (is_network_member): support for network/netmask
as well as network/bits syntax in in_network()

24 years agosolaris8 bugs
Erez Zadok [Sat, 11 Aug 2001 20:43:47 +0000 (20:43 +0000)]
solaris8 bugs

24 years ago* amd/get_args.c (get_args): a better way to handle GNU and
Erez Zadok [Fri, 20 Jul 2001 03:45:12 +0000 (03:45 +0000)]
* amd/get_args.c (get_args): a better way to handle GNU and
non-GNU getopts without strdup-ing the getopt string.

* amd/info_ldap.c (amu_ldap_rebind): The first time you called
amu_ldap_init, aldh->ldap is not set.  So when amu_ldap_rebind is
called, this function is absolutely sure to return 0.  Then
amu_ldap_init return 0 without having opened any LDAP connection.
This is not the correct behaviour.
(get_ldap_timestamp, amu_ldap_search): error to free an object
("entry") that is automatically freed by the library.  Patch from
Sebastien Bahloul <sebastien.bahloul@mangoosta.fr>.

24 years ago * AUTHORS (variables): added Philippe Troin
Ion Badulescu [Fri, 20 Jul 2001 03:00:59 +0000 (03:00 +0000)]
* AUTHORS (variables): added Philippe Troin

24 years ago two files from Phil's patches I forgot to cvs add
Ion Badulescu [Fri, 20 Jul 2001 02:11:45 +0000 (02:11 +0000)]
two files from Phil's patches I forgot to cvs add

24 years ago several changes from Philippe Troin:
Ion Badulescu [Fri, 20 Jul 2001 02:11:06 +0000 (02:11 +0000)]
several changes from Philippe Troin:
- fix the dev/nodev mtab option on Linux
- autodetect GNU getopt and add a '+' to list of options for it
- support --without-hesiod and --without-ldap

24 years ago * Makefile.am (EXTRA_DIST): added bootstrap
Ion Badulescu [Fri, 20 Jul 2001 02:07:08 +0000 (02:07 +0000)]
* Makefile.am (EXTRA_DIST): added bootstrap

24 years ago * amd/map.c (unmount_node_wrap): fix a couple of comments (already
Ion Badulescu [Fri, 20 Jul 2001 01:45:49 +0000 (01:45 +0000)]
* amd/map.c (unmount_node_wrap): fix a couple of comments (already
fixed in 6.1)

* amd/amfs_auto.c (try_mount): print the path for the request that
failed (already in 6.1)

* include/am_compat.h (xfs_args_t): define as u_int if the
filesystem is supported but we can't autodetect the type for
xfs_args_t. This allows Linux to mount xfs filesystems.

24 years ago******************************************************************* am-utils-6_0_7
Erez Zadok [Tue, 3 Jul 2001 23:50:29 +0000 (23:50 +0000)]
*******************************************************************
*** Released am-utils-6.0.7 ***
*******************************************************************

* config.guess, config.sub, doc/texinfo.tex: updates from the
latest GNU distributions.

* INSTALL, doc/am-utils.texi (Supported Platforms): update info on
freebsd5.0

24 years ago* LSM.am-utils, NEWS, README.y2k, ChangeLog: make sure all
Erez Zadok [Mon, 25 Jun 2001 18:22:42 +0000 (18:22 +0000)]
* LSM.am-utils, NEWS, README.y2k, ChangeLog: make sure all
am-utils URL references use www.am-utils.org, not the columbia
URL.

http://www.am-utils.org

24 years ago* conf/transp/transp_sockets.c (create_nfs_service): cast to u_long
Erez Zadok [Fri, 8 Jun 2001 18:50:38 +0000 (18:50 +0000)]
* conf/transp/transp_sockets.c (create_nfs_service): cast to u_long
to ensure clean compile on freebsd5 and bsdi2.

24 years agonew distros
Erez Zadok [Thu, 24 May 2001 18:42:33 +0000 (18:42 +0000)]
new distros

24 years agominor fix for freebsd5
Erez Zadok [Thu, 24 May 2001 18:41:18 +0000 (18:41 +0000)]
minor fix for freebsd5

24 years agotsk, tsk. someone is committing code w/o compiling it...
Erez Zadok [Sun, 20 May 2001 03:33:41 +0000 (03:33 +0000)]
tsk, tsk. someone is committing code w/o compiling it...

24 years ago * conf/mount/mount_linux.c (linux_nfs_error): don't special case
Ion Badulescu [Sat, 19 May 2001 21:02:17 +0000 (21:02 +0000)]
* conf/mount/mount_linux.c (linux_nfs_error): don't special case
the 0 result, just put it into the translation list

24 years ago * conf/mount/mount_linux.c (linux_nfs_error): don't report success
Ion Badulescu [Sat, 19 May 2001 20:29:03 +0000 (20:29 +0000)]
* conf/mount/mount_linux.c (linux_nfs_error): don't report success
(0) as error (NE_IO)!

24 years ago * amd/amfs_host.c (amfs_host_mount): don't fail the mount if at
Ion Badulescu [Sat, 19 May 2001 02:00:58 +0000 (02:00 +0000)]
* amd/amfs_host.c (amfs_host_mount): don't fail the mount if at
least one share is already mounted

24 years ago******************************************************************* am-utils-6_0_6
Erez Zadok [Thu, 3 May 2001 00:37:59 +0000 (00:37 +0000)]
*******************************************************************
*** Released am-utils-6.0.6 ***
*******************************************************************

24 years ago * conf/mount/mount_linux.c: fixed stupid error in the linux
Ion Badulescu [Tue, 1 May 2001 23:05:54 +0000 (23:05 +0000)]
    * conf/mount/mount_linux.c: fixed stupid error in the linux
        nfs_errormap[], which was mapping ENOENT to success!!!

24 years ago * BUGS: added info about the direct mount problems on Linux and
Ion Badulescu [Sun, 29 Apr 2001 05:08:33 +0000 (05:08 +0000)]
* BUGS: added info about the direct mount problems on Linux and
about the kernel patches on www.am-utils.org.

* amd/autil.c (forcibly_timeout_mp): always log a message when the
forced unmount request is ignored

24 years ago * amd/ops_autofs.c (autofs_lookuppn): renamed
Ion Badulescu [Tue, 24 Apr 2001 06:17:39 +0000 (06:17 +0000)]
* amd/ops_autofs.c (autofs_lookuppn): renamed
CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS
(leftover from 03/29/01)

[this file doesn't exist in 6.1, that's why it escaped me
when I back-ported this change]

24 years ago* COPYING: update copyright year
Erez Zadok [Sat, 14 Apr 2001 21:20:37 +0000 (21:20 +0000)]
* COPYING: update copyright year

24 years ago* amd/amfs_auto.c, amd/amfs_host.c, amd/amfs_nfsx.c,
Erez Zadok [Sat, 14 Apr 2001 21:08:17 +0000 (21:08 +0000)]
* amd/amfs_auto.c, amd/amfs_host.c, amd/amfs_nfsx.c,
amd/amfs_toplvl.c, amd/amfs_union.c, amd/conf.c, amd/info_nis.c,
amd/info_nisplus.c, amd/mapc.c, amd/nfs_subr.c, amd/ops_nfs.c,
amd/rpc_fwd.c, amd/srvr_amfs_auto.c, amd/srvr_nfs.c,
conf/autofs/autofs_solaris_v1.c, conf/mtab/mtab_file.c,
conf/mtab/mtab_isc3.c, conf/mtab/mtab_svr4.c,
conf/transp/transp_sockets.c, conf/transp/transp_tli.c,
libamu/mount_fs.c, libamu/mtab.c: rewritten various dlog/plog
messages for clarity, to avoid duplication, to better recognize
what the message means and where it ran, and to fix typos.

* amd/nfs_subr.c (nfsproc_lookup_2_svc): moved trace message of
function's name to the beginning of the function, before any other
messages are logged.

24 years ago * include/am_defs.h: define NFSCLIENT, NFS, PCFS, LOFS, RFS,
Ion Badulescu [Sat, 7 Apr 2001 00:47:41 +0000 (00:47 +0000)]
    * include/am_defs.h: define NFSCLIENT, NFS, PCFS, LOFS, RFS,
        MSDOSFS, MFS and CD9660 to 1, so that both #if FOO and #ifdef FOO
        work (needed for MacOS X); removed duplicate definition of NFS.

        * amd/amd.h, amd/amfs_auto.c, amd/conf.c,
        doc/am-utils.texi,
        scripts/amd.conf-sample, scripts/amd.conf.5:
        renamed selectors_on_default to selectors_in_defaults,
        kept the former as a deprecated option;
        renamed CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS;
        renamed gopt_selectors_on_default() to gopt_selectors_in_defaults()

24 years ago* released snapshot am-utils-6.0.6s2 am-utils-6_0_6s2
Erez Zadok [Thu, 5 Apr 2001 18:13:38 +0000 (18:13 +0000)]
* released snapshot am-utils-6.0.6s2

24 years agofresh commit of old fix for linux 2.2.19 compiles
Ion Badulescu [Thu, 5 Apr 2001 06:34:50 +0000 (06:34 +0000)]
fresh commit of old fix for linux 2.2.19 compiles

24 years ago [backport of the bind stuff from the trunk]
Ion Badulescu [Thu, 15 Mar 2001 08:32:42 +0000 (08:32 +0000)]
[backport of the bind stuff from the trunk]

* conf/mount/mount_linux.c (parse_opts): added support for lofs
(mount_linux): support lofs through bind mounts and/or FiST lofs

* scripts/ctl-hlfsd.in: search for /var/spool/mail in addition to
/var/mail and /usr/spool/mail

* conf/nfs_prot/nfs_prot_linux.h (MS_BIND): add define for it, if
kernel is newer than 2.4.0
(MNTTYPE_LOFS): ditto

* acconfig.h: added MNT2_GEN_OPT_BIND

* configure.in: bumped up library patchlevel; added detection for
the MS_BIND generic mount option

24 years ago [back-ported from the trunk]
Ion Badulescu [Thu, 1 Mar 2001 05:09:05 +0000 (05:09 +0000)]
[back-ported from the trunk]

Reworked the scripts, so that a new _unknown_ version of a known OS
will use the option for the newest _known_ version of that OS. For
example, when freebsd6 comes out, it will use the stuff for
freebsd5, not the stuff for freebsd2. This makes configure more
likely to succeed on new systems/versions.

24 years ago* Makefile.am (EXTRA_DIST_CONF): include nfs_prot_darwin.h in
Erez Zadok [Sat, 24 Feb 2001 02:04:22 +0000 (02:04 +0000)]
* Makefile.am (EXTRA_DIST_CONF): include nfs_prot_darwin.h in
distributions.

24 years ago* libamu/mtab.c: added the functions hasmnteq and haseq to
Erez Zadok [Fri, 23 Feb 2001 01:03:38 +0000 (01:03 +0000)]
* libamu/mtab.c: added the functions hasmnteq and haseq to
ease checks for non-numeric values in opt=value strings.
Recoded hasmntval to qualify input as numeric, allow hex and
octal strings on rhs of =, and log when the value is missing
or invalid.

* conf/mount/mount_linux.c: revised mount_linux to use new
hasmnteq function to extract type of non-nfs mounts, and added
a log message to catch possible failure of strdup.

* amd/am_ops.c: revised merge_ops to use new haseq function

* amd/srvr_nfs.c: revised find_nfs_srvr to use hasmnteq to
discover protocol setting.

* include/am_utils.h: added function prototypes for hasmnteq
and haseq

24 years ago * include/mount_headers2.h (_LINUX_NFS3_H): define it, to avoid
Ion Badulescu [Tue, 20 Feb 2001 03:20:21 +0000 (03:20 +0000)]
* include/mount_headers2.h (_LINUX_NFS3_H): define it, to avoid
pulling in unwanted declarations from 2.2.19pre and 2.4.1ac

* conf/nfs_prot/nfs_prot_linux.h: whitespace, comments

24 years ago* aux/macros/check_fs_mntent.m4 (ac_safe): remove debugging "echo"
Erez Zadok [Tue, 20 Feb 2001 01:29:02 +0000 (01:29 +0000)]
* aux/macros/check_fs_mntent.m4 (ac_safe): remove debugging "echo"
command.

24 years agotell what I did am-utils-6_0_6s1
Erez Zadok [Sun, 18 Feb 2001 21:31:06 +0000 (21:31 +0000)]
tell what I did

24 years ago* aux/macros/mount_headers.m4, include/mount_headers[12].h: split
Erez Zadok [Sun, 18 Feb 2001 21:21:44 +0000 (21:21 +0000)]
* aux/macros/mount_headers.m4, include/mount_headers[12].h: split
mount_headers.h in two because one relative header (nfs_prot.h)
file cannot be included inside another from the start directory of
the first (it's relative to the directory of the first).

24 years ago * AUTHORS: added Ahmon Dancy <dancy@franz.com>
Ion Badulescu [Sat, 10 Feb 2001 03:52:54 +0000 (03:52 +0000)]
* AUTHORS: added Ahmon Dancy <dancy@franz.com>

* (all): added Darwin/Rhapsody/Apple OS X support from Ahmon Dancy

* aux/macros/mount_headers.m4: moved all the C code into a
separate file, include/mount_headers.h; the effect is that
configure goes down in size by a factor of 2.5!

* include/mount_headers.h: new file, with C code from
aux/macros/mount_headers.m4

24 years agooops, I meant to start 6.0.*6*s1, not 6.0.5s1...
Erez Zadok [Mon, 5 Feb 2001 05:47:05 +0000 (05:47 +0000)]
oops, I meant to start 6.0.*6*s1, not 6.0.5s1...

24 years agoStarted 6.0.6s1 (for you, Rainer! :-)
Erez Zadok [Fri, 2 Feb 2001 22:30:20 +0000 (22:30 +0000)]
Started 6.0.6s1 (for you, Rainer! :-)

24 years ago******************************************************************* am-utils-6_0_5
Erez Zadok [Fri, 2 Feb 2001 21:52:36 +0000 (21:52 +0000)]
*******************************************************************
*** Released am-utils-6.0.5 ***
*******************************************************************

24 years agopreparations for release of 6.0.5
Erez Zadok [Fri, 2 Feb 2001 21:50:53 +0000 (21:50 +0000)]
preparations for release of 6.0.5

24 years agothe fmt buf. Security suggtion from NetBSD: Thomas Klausner
Erez Zadok [Fri, 2 Feb 2001 18:28:24 +0000 (18:28 +0000)]
the fmt buf.  Security suggtion from NetBSD: Thomas Klausner

24 years agochangelog update
Ion Badulescu [Thu, 1 Feb 2001 21:33:12 +0000 (21:33 +0000)]
changelog update

24 years ago * conf/nfs_prot/nfs_prot_linux.h (nfs_error): moved the definition
Ion Badulescu [Thu, 1 Feb 2001 21:17:32 +0000 (21:17 +0000)]
* conf/nfs_prot/nfs_prot_linux.h (nfs_error): moved the definition
of nfs_error here, from mount_linux.c, so that it can actually be
used.

* conf/mount/mount_linux.c: added unused errno 41 to the
nfs_errormap array, lest the following errno's get shifted up by
one!

*** THESE ERRORS ARE CRITICAL FOR LINUX. ***

24 years ago * include/am_defs.h: don't allow linux/fs.h to be sucked in via
Ion Badulescu [Sat, 13 Jan 2001 02:36:15 +0000 (02:36 +0000)]
    * include/am_defs.h: don't allow linux/fs.h to be sucked in via
        linux/auto_fs.h, it breaks the compile on glibc platforms.

24 years ago * amd/amd.h (autofs_lookuppn): Fixup whitespace.
Rainer Orth [Fri, 12 Jan 2001 23:28:54 +0000 (23:28 +0000)]
* amd/amd.h (autofs_lookuppn): Fixup whitespace.
* amd/amfs_auto.c (amfs_auto_bgmount): Likewise.
* amd/amfs_error.c: (amfs_error_match): Likewise.
* amd/amfs_host.c (fetch_fhandle): Fixup whitespace.  Remove
unnecessary temporary variable.
* amd/info_file.c (read_line): Likewise.
(search_or_reload_file): Likewise.
* amd/info_ldap.c (get_ldap_timestamp): Likewise.
* amd/nfs_prot_svc.c: Likewise.
* amd/ops_TEMPLATE.c (foofs_match, foofs_lookuppn,
foofs_readlink, foofs_ffserver): Likewise.
* amd/ops_autofs.c (autofs_bgmount): Likewise.
* amd/ops_lofs.c (lofs_match): Likewise.
* amd/ops_nfs.c (got_nfs_fh): Fixup whitespace.
* amd/ops_xfs.c (xfs_match): Likewise.
* amd/srvr_amfs_auto.c (srvrlog): Line break.
* amd/srvr_nfs.c (got_portmap, call_portmap, nfs_pinged,
nfs_srvr_port): Fixup whitespace.
* conf/nfs_prot/nfs_prot_bsdi2.h: Likewise.
* conf/nfs_prot/nfs_prot_hpux.h: Likewise.
* conf/nfs_prot/nfs_prot_hpux11.h: Likewise.
* conf/nfs_prot/nfs_prot_irix5.h: Likewise.
* conf/nfs_prot/nfs_prot_irix6.h: Likewise.
* conf/nfs_prot/nfs_prot_nextstep.h: Likewise.
* conf/nfs_prot/nfs_prot_osf2.h: Likewise.
* conf/nfs_prot/nfs_prot_osf4.h: Likewise.
* conf/nfs_prot/nfs_prot_osf5_1.h: Likewise.
* conf/nfs_prot/nfs_prot_sunos3.h: Likewise.
* conf/nfs_prot/nfs_prot_sunos4.h: Likewise.
* conf/nfs_prot/nfs_prot_ultrix.h: Likewise.
* conf/transp/transp_tli.c (get_mount_client): Likewise.
* hlfsd/nfs_prot_svc.c: Likewise.
* include/am_defs.h (sys_errlist): Likewise.
* include/am_utils.h (am_get_progname, am_get_hostname,
amq_program_1): Likewise.
(nfsxprt): Moved declaration.

24 years ago * hlfsd/hlfsd.h (HLFSD_VERSION): Bump copyright year to 2001.
Rainer Orth [Fri, 12 Jan 2001 22:47:20 +0000 (22:47 +0000)]
* hlfsd/hlfsd.h (HLFSD_VERSION): Bump copyright year to 2001.

24 years ago Removed support for amq -M.
Rainer Orth [Fri, 12 Jan 2001 22:43:40 +0000 (22:43 +0000)]
Removed support for amq -M.

* acconfig.h (ENABLE_AMQ_MOUNT): Removed.
* aux/macros/opt_amq_mount.m4: Removed.
* Makefile.am (EXTRA_DIST_AUX): Don't distribute
opt_amq_mount.m4.
* configure.in (AC_OPT_AMQ_MOUNT): Removed invokation.

* amd/amq_subr.c (ok_security, amqproc_mount_1_svc): Removed.
* amd/amq_svc.c (amq_program_1): Removed amq -M support.
* amq/amq.c (mount_map): Removed.
(main): Removed -M option handling.
Removed transport-type specific CLIENT creation.
(get_secure_amd_client, amq_bind_resv_port, privsock): Removed.

* amq/amq.8: Removed -M documentation.
* doc/am-utils.texi (Top-level Filesystem): Removed amq -M
reference, but retain comment on mount -t amd.
(Controlling Amd): Likewise.

* tasks: Removed this task.

24 years ago* Makefile.am (EXTRA_DIST): distribute new LDAP files.
Erez Zadok [Fri, 12 Jan 2001 21:49:48 +0000 (21:49 +0000)]
* Makefile.am (EXTRA_DIST): distribute new LDAP files.

24 years ago* README.ldap, ldap-id.txt, ldap-id.ms: LDAP status information,
Erez Zadok [Fri, 12 Jan 2001 21:45:25 +0000 (21:45 +0000)]
* README.ldap, ldap-id.txt, ldap-id.ms: LDAP status information,
proposed Schema, and internet draft.

* Support Tru64 UNIX V5.1:

24 years ago Support Tru64 UNIX V5.1.
Rainer Orth [Fri, 12 Jan 2001 21:37:28 +0000 (21:37 +0000)]
Support Tru64 UNIX V5.1.

* conf/nfs_prot/nfs_prot_osf5_1.h: New file.
* Makefile.am (EXTRA_DIST_CONF): Distribute it.
* aux/macros/check_nfs_prot_headers.m4: Tru64 UNIX V5.1 has
AutoFS, need to disable it until a port exists.
* INSTALL, doc/am-utils.texi (Supported Platforms): Mention new
minor port.

24 years ago* ALL: bump copyright year to 2001.
Erez Zadok [Wed, 10 Jan 2001 03:22:56 +0000 (03:22 +0000)]
* ALL: bump copyright year to 2001.

24 years agocomment fixes
Erez Zadok [Wed, 10 Jan 2001 03:12:06 +0000 (03:12 +0000)]
comment fixes

24 years ago* libamu/xdr_func.c: removed ugly casts to "groups*", now that
Erez Zadok [Fri, 5 Jan 2001 10:14:42 +0000 (10:14 +0000)]
* libamu/xdr_func.c: removed ugly casts to "groups*", now that
irix6's nfs_prot.h is fixed.

* conf/nfs_prot/nfs_prot_irix6.h: copied relevant parts of
<rpcsvc/mount.h> here so we don't have to include this header.

24 years ago* conf/nfs_prot/nfs_prot_irix6.h: redefine "groups" typedef to
Erez Zadok [Fri, 5 Jan 2001 03:13:59 +0000 (03:13 +0000)]
* conf/nfs_prot/nfs_prot_irix6.h: redefine "groups" typedef to
struct groups, not the pointer to this struct.

* include/am_xdr_func.h: prototype should take "groups *" as 2nd
arg.

* libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): change
casting of second arg of xdr_groups to "groups *".  It's only
needed for irix6, due to problems with xdr_groups on that platform.
(xdr_groups): prototype should take "groups *" as 2nd arg.

* conf/nfs_prot/nfs_prot_aix*.h: correct xdr_groups extern
definition.  Report from Ahmon Dancy <dancy@franz.com>.