Christos Zoulas [Tue, 28 Oct 2014 18:22:05 +0000 (14:22 -0400)]
local copy instead of patching
zoulasc [Fri, 5 Sep 2014 09:56:16 +0000 (05:56 -0400)]
factor out the size check for both readdir methods (raven at themaw dot net)
zoulasc [Wed, 3 Sep 2014 13:04:04 +0000 (09:04 -0400)]
Configure test for 64 bit xdr quad function (Ian Kent)
zoulasc [Mon, 1 Sep 2014 08:19:43 +0000 (04:19 -0400)]
From Ian Kent (raven at themaw) dot net:
In amfs_mount() the function get_root_nfs_fh() is assumed to return an
NFSv2 handle but, if nfs_dispatcher != 2 it will write an NFSv3 handle
to the NFSv2 structure, possibly overflowing the variable.
Christos Zoulas [Sun, 20 Jul 2014 19:27:24 +0000 (15:27 -0400)]
Today's change
Christos Zoulas [Sun, 20 Jul 2014 19:26:31 +0000 (15:26 -0400)]
more debugging
Christos Zoulas [Sun, 20 Jul 2014 19:26:13 +0000 (15:26 -0400)]
more debugging, fix access
Christos Zoulas [Sun, 20 Jul 2014 14:55:33 +0000 (10:55 -0400)]
fix debugging string truncation
Christos Zoulas [Sun, 20 Jul 2014 09:59:41 +0000 (05:59 -0400)]
mention today's real changes
Christos Zoulas [Sun, 20 Jul 2014 09:55:12 +0000 (05:55 -0400)]
Changes from raven at themaw.net to support NFSv3 for automounted
toplevel filesystems presented to the list in May. A few bug fixes
and integration changes by me. The code now works well enough to
mount the filesystem with NFSv3 and automount children but readdir
does not work yet (so no listing of automounted filesystems). The
new code is not enabled by default. To enable use auto_nfs_version = 3
in your configuration file.
Christos Zoulas [Sun, 20 Jul 2014 09:52:50 +0000 (05:52 -0400)]
mention changes
Christos Zoulas [Sun, 20 Jul 2014 09:46:28 +0000 (05:46 -0400)]
force the autoconf version instead of just reporting it.
Christos Zoulas [Sun, 20 Jul 2014 09:44:02 +0000 (05:44 -0400)]
newer version
Christos Zoulas [Sun, 20 Jul 2014 09:41:11 +0000 (05:41 -0400)]
newer version
Christos Zoulas [Sun, 20 Jul 2014 09:40:40 +0000 (05:40 -0400)]
newer version
Christos Zoulas [Sun, 20 Jul 2014 09:40:08 +0000 (05:40 -0400)]
newer version
Christos Zoulas [Sun, 20 Jul 2014 09:37:29 +0000 (05:37 -0400)]
newer version
Erez Zadok [Mon, 12 May 2014 15:54:20 +0000 (11:54 -0400)]
allow user to pass RMTAB file name from environment
zoulasc [Mon, 12 May 2014 15:15:00 +0000 (11:15 -0400)]
move initialization of RMTAB before it is used (Ian Kent)
Erez Zadok [Sat, 10 May 2014 02:45:40 +0000 (22:45 -0400)]
update additional autoconf/automake files
Erez Zadok [Sat, 10 May 2014 02:45:13 +0000 (22:45 -0400)]
update libtool files
Erez Zadok [Sat, 10 May 2014 02:43:03 +0000 (22:43 -0400)]
update bootstrap and ylwrap
Erez Zadok [Sat, 10 May 2014 02:41:31 +0000 (22:41 -0400)]
comment out duplicate var definition
zoulasc [Wed, 26 Mar 2014 20:21:40 +0000 (16:21 -0400)]
today's changes
zoulasc [Wed, 26 Mar 2014 20:18:55 +0000 (16:18 -0400)]
Use only the standard cflags for hardened builds (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:18:12 +0000 (16:18 -0400)]
add ext4 (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:17:48 +0000 (16:17 -0400)]
Fix version dependency (Ian Kent); there is no more configure.in
zoulasc [Wed, 26 Mar 2014 20:06:11 +0000 (16:06 -0400)]
With certain hosts.{allow,deny} rules, expected host access control
restrictions may not be applied correctly. The problem does not
affect configurations that has deny:ALL and only allow access for
specific hosts / networks. (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:05:13 +0000 (16:05 -0400)]
fix return value from main (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:03:39 +0000 (16:03 -0400)]
Add ext2, ext3, ext4 specific options (Ian Kent)
XXX: Merge
zoulasc [Wed, 26 Mar 2014 20:01:29 +0000 (16:01 -0400)]
add missing uplinks (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:00:07 +0000 (16:00 -0400)]
fix SP arg. (Ian Kent)
zoulasc [Wed, 26 Mar 2014 19:58:28 +0000 (15:58 -0400)]
partially from Ian Kent: use mktemp for better security.
zoulasc [Fri, 21 Mar 2014 00:59:48 +0000 (20:59 -0400)]
today's changes from Ian Kent
zoulasc [Fri, 21 Mar 2014 00:59:25 +0000 (20:59 -0400)]
Default to autofs version 4
zoulasc [Fri, 21 Mar 2014 00:57:07 +0000 (20:57 -0400)]
Ian Kent: Handle failed umount on exit
zoulasc [Fri, 21 Mar 2014 00:54:09 +0000 (20:54 -0400)]
From: Ian Kent <ikent@redhat.com>
For some reason, when umounting autofs mounts after closing the ioctl
file handle, the kernel can return EBUSY for some small amount of time.
This can cause umounts to incorrectly fail when in fact they should
succeed.
Retrying for about a second and a half seems to work quite well.
zoulasc [Fri, 21 Mar 2014 00:52:54 +0000 (20:52 -0400)]
From: Ian Kent <raven@themaw.net>
It's possible (and likely) a SIGCHLD signal can arrive while in syslog(2)
and also attempt log log a message leading to deadlock.
zoulasc [Fri, 21 Mar 2014 00:51:28 +0000 (20:51 -0400)]
From: Ian Kent <ikent@redhat.com>
Fix a error message formating mistake in get_nfs_version().
While here tidy up and use __func__
zoulasc [Fri, 21 Mar 2014 00:29:18 +0000 (20:29 -0400)]
From: Ian Kent <ikent@redhat.com>
An ENOENT return from umount(2) means the kernel path walk couldn't
resolve the path of the mount to a dentry. In that case there can't
be an autofs waitq entry waiting for notification, since there's no
dentry, so don't even try to notify the kernel.
zoulasc [Fri, 21 Mar 2014 00:26:49 +0000 (20:26 -0400)]
From: Ian Kent <raven@themaw.net>
Avoid NULL dereference on umount
zoulasc [Fri, 21 Mar 2014 00:25:01 +0000 (20:25 -0400)]
From: Ian Kent <ikent@redhat.com>
When using an autofs multi-level mount map amd can fail to umount
NFS leaf mounts causing shutdown to fail. It also can cause amd to
SEGV because, even though umounts fail, the autofs mount control
structure is freed and a later umount attempt doesn't check if this
struct is valid before using it.
The cause of the umount failure appears to be the background umount
of NFS mounts at the leaf of the tree not finishing before the autofs
file system mounts above are attempted.
It isn't worth adding a patch to check if the autofs mount control
structure is valid because if it isn't, in this case, amd doesn't
crash but still becomes unresponsive.
zoulasc [Sun, 9 Mar 2014 22:17:36 +0000 (18:17 -0400)]
Remove expn program and man page. It is not used by anything. Last
comment in ChangeLog said it was used by hlfsd, but that should not
be the case; nothing should depend on expanded mail aliases. This is
a function of the mail sub-system.
zoulasc [Sun, 9 Mar 2014 20:27:39 +0000 (16:27 -0400)]
Remove the BSD advertising clause. As mentioned in the ChangeLog only
one left is in scripts/expn.* and I am not sure why this is distributed
as part of am-utils.
Erez Zadok [Tue, 21 Jan 2014 01:42:48 +0000 (20:42 -0500)]
happy new year
Christos Zoulas [Thu, 5 Dec 2013 17:24:48 +0000 (12:24 -0500)]
Change the way we handle multiple lex scanners and yacc parsers
in a single program. Our old patch to ylwrap does not work anymore
because the bison parsers need shared symbols that start with yy
and we can't easily select which ones work. So now we use -P and
-p to let lex and yacc do the work for us. This requires a patch
to ylwrap, but it is smaller.
Yoram Bar-Haim [Sun, 22 Sep 2013 13:06:33 +0000 (16:06 +0300)]
fix flaw when kernel version is 3.x
Erez Zadok [Mon, 3 Jun 2013 01:44:42 +0000 (21:44 -0400)]
update copyright notice for 2013
Christos Zoulas [Wed, 15 May 2013 00:13:53 +0000 (20:13 -0400)]
Regen, and recent changes
Christos Zoulas [Wed, 15 May 2013 00:12:06 +0000 (20:12 -0400)]
adjust to new autoconf requirements
Christos Zoulas [Wed, 15 May 2013 00:09:00 +0000 (20:09 -0400)]
INCLUDES -> AM_CPPFLAGS in new autoconf
Christos Zoulas [Wed, 15 May 2013 00:04:51 +0000 (20:04 -0400)]
Fix macro names
Christos Zoulas [Fri, 23 Nov 2012 17:13:55 +0000 (12:13 -0500)]
Mention new changes
Christos Zoulas [Fri, 23 Nov 2012 17:12:34 +0000 (12:12 -0500)]
Regen from newer autoconf
Christos Zoulas [Fri, 23 Nov 2012 17:12:21 +0000 (12:12 -0500)]
recognize noacl
Christos Zoulas [Fri, 23 Nov 2012 17:10:47 +0000 (12:10 -0500)]
Instead of calling each autoconf program individually to regen files,
blow everything away and start clean using autoreconf -f -i. We apply
our patch to ylwrap once we are done. This is because different versions
of libtool don't interoperate well.
Christos Zoulas [Fri, 23 Nov 2012 17:10:07 +0000 (12:10 -0500)]
recognize a few more nfs flags; specifically noacl amongst others.
Christos Zoulas [Fri, 23 Nov 2012 17:09:41 +0000 (12:09 -0500)]
add a bit of debugging for the mount port
Christos Zoulas [Fri, 23 Nov 2012 17:09:04 +0000 (12:09 -0500)]
recognize the mountport= that specifies an explicit port to contact for mountd,
instead of resolving it via RPC.
Christos Zoulas [Thu, 4 Oct 2012 03:06:09 +0000 (23:06 -0400)]
mention Makefile change
Christos Zoulas [Thu, 4 Oct 2012 03:05:26 +0000 (23:05 -0400)]
add ops_nfs4.c
Christos Zoulas [Fri, 14 Sep 2012 18:17:58 +0000 (14:17 -0400)]
- add handling for noatime,nodiratime,mandlock for linux
- add locking keyword support for lustre
Christos Zoulas [Wed, 25 Jul 2012 20:09:49 +0000 (16:09 -0400)]
Merge branch 'master' of ssh://git.fsl.cs.sunysb.edu/scm/git/am-utils-6.2
Conflicts:
ChangeLog
Christos Zoulas [Wed, 25 Jul 2012 20:03:11 +0000 (16:03 -0400)]
today's change
Christos Zoulas [Wed, 25 Jul 2012 19:38:59 +0000 (15:38 -0400)]
fixed bugs parsing lustre mount strings.
Christos Zoulas [Thu, 28 Jun 2012 00:20:01 +0000 (20:20 -0400)]
mention sun map change
Christos Zoulas [Thu, 28 Jun 2012 00:18:57 +0000 (20:18 -0400)]
disable sun maps to avoid segmentation fault.
Erez Zadok [Mon, 25 Jun 2012 20:39:58 +0000 (16:39 -0400)]
update release announce text
Christos Zoulas [Tue, 19 Jun 2012 13:13:17 +0000 (09:13 -0400)]
add information pertinent to 6.2-rc1
Erez Zadok [Mon, 18 Jun 2012 17:23:09 +0000 (13:23 -0400)]
release announcement template
Christos Zoulas [Sun, 17 Jun 2012 14:41:21 +0000 (10:41 -0400)]
add more info
Christos Zoulas [Sun, 17 Jun 2012 14:40:53 +0000 (10:40 -0400)]
Update with reality.
Christos Zoulas [Sun, 17 Jun 2012 14:40:30 +0000 (10:40 -0400)]
Update with recent versions of the auto tools
Christos Zoulas [Sun, 17 Jun 2012 14:19:52 +0000 (10:19 -0400)]
add newly added nfs_common.h header.
Christos Zoulas [Sat, 16 Jun 2012 23:28:06 +0000 (19:28 -0400)]
revert previous mistaken commit, and add the real patch (new nfs version
function) that got rejected
Christos Zoulas [Sat, 16 Jun 2012 23:21:56 +0000 (19:21 -0400)]
Centralize nfs valid version checking and introduce new configuration
variable nfs_vers_ping which sets the maximum version we ping for.
Christos Zoulas [Sat, 16 Jun 2012 23:19:25 +0000 (19:19 -0400)]
use eval, so that quoted strings work.
Christos Zoulas [Sat, 16 Jun 2012 23:12:34 +0000 (19:12 -0400)]
Make libtool work with later versions of autoconf that need stricter syntax.
Really we should move to a newer libtool, but other things break then.
Christos Zoulas [Sat, 16 Jun 2012 21:32:53 +0000 (17:32 -0400)]
mention rc1
Christos Zoulas [Sat, 16 Jun 2012 21:31:03 +0000 (17:31 -0400)]
Organize and update news
Christos Zoulas [Sat, 9 Jun 2012 23:03:03 +0000 (19:03 -0400)]
mention today's fix
Christos Zoulas [Sat, 9 Jun 2012 22:58:22 +0000 (18:58 -0400)]
use hasmnteq instead of hasmntopt.
Christos Zoulas [Tue, 1 May 2012 16:26:22 +0000 (12:26 -0400)]
mention today's change
Christos Zoulas [Tue, 1 May 2012 16:23:50 +0000 (12:23 -0400)]
Some old linux kernels return EPERM instead of ENOENT for nfsv4 file
handles. Fall back to nfsv3 for them too.
Christos Zoulas [Fri, 9 Mar 2012 16:03:45 +0000 (11:03 -0500)]
today's changes
Christos Zoulas [Fri, 9 Mar 2012 15:58:08 +0000 (10:58 -0500)]
handle haiku
Christos Zoulas [Fri, 9 Mar 2012 15:57:48 +0000 (10:57 -0500)]
detect autofs on linux
Christos Zoulas [Fri, 9 Mar 2012 15:57:26 +0000 (10:57 -0500)]
fix incorrect types
Christos Zoulas [Wed, 25 Jan 2012 18:06:34 +0000 (13:06 -0500)]
portability fixes
Christos Zoulas [Wed, 25 Jan 2012 18:06:17 +0000 (13:06 -0500)]
make the ifdef to define a function match its use.
Christos Zoulas [Wed, 25 Jan 2012 18:05:44 +0000 (13:05 -0500)]
- remove unused variable
- fix signness warning
Christos Zoulas [Wed, 25 Jan 2012 18:05:18 +0000 (13:05 -0500)]
quote AM_CFLAGS
Christos Zoulas [Wed, 25 Jan 2012 18:05:03 +0000 (13:05 -0500)]
Add missing prototype
Christos Zoulas [Wed, 25 Jan 2012 18:04:37 +0000 (13:04 -0500)]
generalize the macros for all BSDs (to fix FreeBSD)
Christos Zoulas [Mon, 23 Jan 2012 16:59:46 +0000 (11:59 -0500)]
Avoid type punning warnings
Christos Zoulas [Fri, 30 Dec 2011 20:56:34 +0000 (15:56 -0500)]
Merge branch 'master' of ssh://git.fsl.cs.sunysb.edu/scm/git/am-utils-6.2
Erez Zadok [Fri, 30 Dec 2011 18:21:41 +0000 (13:21 -0500)]
Revert "dummy change"
This reverts commit
619745936adbae486e934b9397725c78a7d6d726.
Erez Zadok [Fri, 30 Dec 2011 18:17:53 +0000 (13:17 -0500)]
dummy change
Christos Zoulas [Thu, 29 Dec 2011 21:18:50 +0000 (16:18 -0500)]
Things I did today
Christos Zoulas [Thu, 29 Dec 2011 21:18:30 +0000 (16:18 -0500)]
break on succes