am-utils-6.2.git
11 years agoupdate libtool files
Erez Zadok [Sat, 10 May 2014 02:45:13 +0000 (22:45 -0400)]
update libtool files

11 years agoupdate bootstrap and ylwrap
Erez Zadok [Sat, 10 May 2014 02:43:03 +0000 (22:43 -0400)]
update bootstrap and ylwrap

11 years agocomment out duplicate var definition
Erez Zadok [Sat, 10 May 2014 02:41:31 +0000 (22:41 -0400)]
comment out duplicate var definition

11 years agotoday's changes
zoulasc [Wed, 26 Mar 2014 20:21:40 +0000 (16:21 -0400)]
today's changes

11 years agoUse only the standard cflags for hardened builds (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:18:55 +0000 (16:18 -0400)]
Use only the standard cflags for hardened builds (Ian Kent)

11 years agoadd ext4 (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:18:12 +0000 (16:18 -0400)]
add ext4 (Ian Kent)

11 years agoFix version dependency (Ian Kent); there is no more configure.in
zoulasc [Wed, 26 Mar 2014 20:17:48 +0000 (16:17 -0400)]
Fix version dependency (Ian Kent); there is no more configure.in

11 years agoWith certain hosts.{allow,deny} rules, expected host access control
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)

11 years agofix return value from main (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:05:13 +0000 (16:05 -0400)]
fix return value from main (Ian Kent)

11 years agoAdd ext2, ext3, ext4 specific options (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:03:39 +0000 (16:03 -0400)]
Add ext2, ext3, ext4 specific options (Ian Kent)
XXX: Merge

11 years agoadd missing uplinks (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:01:29 +0000 (16:01 -0400)]
add missing uplinks (Ian Kent)

11 years agofix SP arg. (Ian Kent)
zoulasc [Wed, 26 Mar 2014 20:00:07 +0000 (16:00 -0400)]
fix SP arg. (Ian Kent)

11 years agopartially from Ian Kent: use mktemp for better security.
zoulasc [Wed, 26 Mar 2014 19:58:28 +0000 (15:58 -0400)]
partially from Ian Kent: use mktemp for better security.

11 years agotoday's changes from Ian Kent
zoulasc [Fri, 21 Mar 2014 00:59:48 +0000 (20:59 -0400)]
today's changes from Ian Kent

11 years agoDefault to autofs version 4
zoulasc [Fri, 21 Mar 2014 00:59:25 +0000 (20:59 -0400)]
Default to autofs version 4

11 years agoIan Kent: Handle failed umount on exit
zoulasc [Fri, 21 Mar 2014 00:57:07 +0000 (20:57 -0400)]
Ian Kent: Handle failed umount on exit

11 years agoFrom: Ian Kent <ikent@redhat.com>
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.

11 years agoFrom: Ian Kent <raven@themaw.net>
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.

11 years agoFrom: Ian Kent <ikent@redhat.com>
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__

11 years agoFrom: Ian Kent <ikent@redhat.com>
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.

11 years agoFrom: Ian Kent <raven@themaw.net>
zoulasc [Fri, 21 Mar 2014 00:26:49 +0000 (20:26 -0400)]
From: Ian Kent <raven@themaw.net>
Avoid NULL dereference on umount

11 years agoFrom: Ian Kent <ikent@redhat.com>
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.

11 years agoRemove expn program and man page. It is not used by anything. Last
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.

11 years agoRemove the BSD advertising clause. As mentioned in the ChangeLog only
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.

11 years agohappy new year
Erez Zadok [Tue, 21 Jan 2014 01:42:48 +0000 (20:42 -0500)]
happy new year

11 years agoChange the way we handle multiple lex scanners and yacc parsers
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.

11 years agofix flaw when kernel version is 3.x
Yoram Bar-Haim [Sun, 22 Sep 2013 13:06:33 +0000 (16:06 +0300)]
fix flaw when kernel version is 3.x

12 years agoupdate copyright notice for 2013
Erez Zadok [Mon, 3 Jun 2013 01:44:42 +0000 (21:44 -0400)]
update copyright notice for 2013

12 years agoRegen, and recent changes
Christos Zoulas [Wed, 15 May 2013 00:13:53 +0000 (20:13 -0400)]
Regen, and recent changes

12 years agoadjust to new autoconf requirements
Christos Zoulas [Wed, 15 May 2013 00:12:06 +0000 (20:12 -0400)]
adjust to new autoconf requirements

12 years agoINCLUDES -> AM_CPPFLAGS in new autoconf
Christos Zoulas [Wed, 15 May 2013 00:09:00 +0000 (20:09 -0400)]
INCLUDES -> AM_CPPFLAGS in new autoconf

12 years agoFix macro names
Christos Zoulas [Wed, 15 May 2013 00:04:51 +0000 (20:04 -0400)]
Fix macro names

12 years agoMention new changes
Christos Zoulas [Fri, 23 Nov 2012 17:13:55 +0000 (12:13 -0500)]
Mention new changes

12 years agoRegen from newer autoconf
Christos Zoulas [Fri, 23 Nov 2012 17:12:34 +0000 (12:12 -0500)]
Regen from newer autoconf

12 years agorecognize noacl
Christos Zoulas [Fri, 23 Nov 2012 17:12:21 +0000 (12:12 -0500)]
recognize noacl

12 years agoInstead of calling each autoconf program individually to regen files,
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.

12 years agorecognize a few more nfs flags; specifically noacl amongst others.
Christos Zoulas [Fri, 23 Nov 2012 17:10:07 +0000 (12:10 -0500)]
recognize a few more nfs flags; specifically noacl amongst others.

12 years agoadd a bit of debugging for the mount port
Christos Zoulas [Fri, 23 Nov 2012 17:09:41 +0000 (12:09 -0500)]
add a bit of debugging for the mount port

12 years agorecognize the mountport= that specifies an explicit port to contact for mountd,
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.

12 years agomention Makefile change
Christos Zoulas [Thu, 4 Oct 2012 03:06:09 +0000 (23:06 -0400)]
mention Makefile change

12 years agoadd ops_nfs4.c
Christos Zoulas [Thu, 4 Oct 2012 03:05:26 +0000 (23:05 -0400)]
add ops_nfs4.c

12 years ago- add handling for noatime,nodiratime,mandlock for linux
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

13 years agoMerge branch 'master' of ssh://git.fsl.cs.sunysb.edu/scm/git/am-utils-6.2
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

13 years agotoday's change
Christos Zoulas [Wed, 25 Jul 2012 20:03:11 +0000 (16:03 -0400)]
today's change

13 years agofixed bugs parsing lustre mount strings.
Christos Zoulas [Wed, 25 Jul 2012 19:38:59 +0000 (15:38 -0400)]
fixed bugs parsing lustre mount strings.

13 years agomention sun map change
Christos Zoulas [Thu, 28 Jun 2012 00:20:01 +0000 (20:20 -0400)]
mention sun map change

13 years agodisable sun maps to avoid segmentation fault.
Christos Zoulas [Thu, 28 Jun 2012 00:18:57 +0000 (20:18 -0400)]
disable sun maps to avoid segmentation fault.

13 years agoupdate release announce text
Erez Zadok [Mon, 25 Jun 2012 20:39:58 +0000 (16:39 -0400)]
update release announce text

13 years agoadd information pertinent to 6.2-rc1
Christos Zoulas [Tue, 19 Jun 2012 13:13:17 +0000 (09:13 -0400)]
add information pertinent to 6.2-rc1

13 years agorelease announcement template
Erez Zadok [Mon, 18 Jun 2012 17:23:09 +0000 (13:23 -0400)]
release announcement template

13 years agoadd more info
Christos Zoulas [Sun, 17 Jun 2012 14:41:21 +0000 (10:41 -0400)]
add more info

13 years agoUpdate with reality.
Christos Zoulas [Sun, 17 Jun 2012 14:40:53 +0000 (10:40 -0400)]
Update with reality.

13 years agoUpdate with recent versions of the auto tools
Christos Zoulas [Sun, 17 Jun 2012 14:40:30 +0000 (10:40 -0400)]
Update with recent versions of the auto tools

13 years agoadd newly added nfs_common.h header.
Christos Zoulas [Sun, 17 Jun 2012 14:19:52 +0000 (10:19 -0400)]
add newly added nfs_common.h header.

13 years agorevert previous mistaken commit, and add the real patch (new nfs version
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

13 years agoCentralize nfs valid version checking and introduce new configuration
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.

13 years agouse eval, so that quoted strings work.
Christos Zoulas [Sat, 16 Jun 2012 23:19:25 +0000 (19:19 -0400)]
use eval, so that quoted strings work.

13 years agoMake libtool work with later versions of autoconf that need stricter syntax.
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.

13 years agomention rc1
Christos Zoulas [Sat, 16 Jun 2012 21:32:53 +0000 (17:32 -0400)]
mention rc1

13 years agoOrganize and update news
Christos Zoulas [Sat, 16 Jun 2012 21:31:03 +0000 (17:31 -0400)]
Organize and update news

13 years agomention today's fix
Christos Zoulas [Sat, 9 Jun 2012 23:03:03 +0000 (19:03 -0400)]
mention today's fix

13 years agouse hasmnteq instead of hasmntopt.
Christos Zoulas [Sat, 9 Jun 2012 22:58:22 +0000 (18:58 -0400)]
use hasmnteq instead of hasmntopt.

13 years agomention today's change
Christos Zoulas [Tue, 1 May 2012 16:26:22 +0000 (12:26 -0400)]
mention today's change

13 years agoSome old linux kernels return EPERM instead of ENOENT for nfsv4 file
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.

13 years agotoday's changes
Christos Zoulas [Fri, 9 Mar 2012 16:03:45 +0000 (11:03 -0500)]
today's changes

13 years agohandle haiku
Christos Zoulas [Fri, 9 Mar 2012 15:58:08 +0000 (10:58 -0500)]
handle haiku

13 years agodetect autofs on linux
Christos Zoulas [Fri, 9 Mar 2012 15:57:48 +0000 (10:57 -0500)]
detect autofs on linux

13 years agofix incorrect types
Christos Zoulas [Fri, 9 Mar 2012 15:57:26 +0000 (10:57 -0500)]
fix incorrect types

13 years agoportability fixes
Christos Zoulas [Wed, 25 Jan 2012 18:06:34 +0000 (13:06 -0500)]
portability fixes

13 years agomake the ifdef to define a function match its use.
Christos Zoulas [Wed, 25 Jan 2012 18:06:17 +0000 (13:06 -0500)]
make the ifdef to define a function match its use.

13 years ago- remove unused variable
Christos Zoulas [Wed, 25 Jan 2012 18:05:44 +0000 (13:05 -0500)]
- remove unused variable
- fix signness warning

13 years agoquote AM_CFLAGS
Christos Zoulas [Wed, 25 Jan 2012 18:05:18 +0000 (13:05 -0500)]
quote AM_CFLAGS

13 years agoAdd missing prototype
Christos Zoulas [Wed, 25 Jan 2012 18:05:03 +0000 (13:05 -0500)]
Add missing prototype

13 years agogeneralize the macros for all BSDs (to fix FreeBSD)
Christos Zoulas [Wed, 25 Jan 2012 18:04:37 +0000 (13:04 -0500)]
generalize the macros for all BSDs (to fix FreeBSD)

13 years agoAvoid type punning warnings
Christos Zoulas [Mon, 23 Jan 2012 16:59:46 +0000 (11:59 -0500)]
Avoid type punning warnings

13 years agoMerge branch 'master' of ssh://git.fsl.cs.sunysb.edu/scm/git/am-utils-6.2
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

13 years agoRevert "dummy change"
Erez Zadok [Fri, 30 Dec 2011 18:21:41 +0000 (13:21 -0500)]
Revert "dummy change"

This reverts commit 619745936adbae486e934b9397725c78a7d6d726.

13 years agodummy change
Erez Zadok [Fri, 30 Dec 2011 18:17:53 +0000 (13:17 -0500)]
dummy change

13 years agoThings I did today
Christos Zoulas [Thu, 29 Dec 2011 21:18:50 +0000 (16:18 -0500)]
Things I did today

13 years agobreak on succes
Christos Zoulas [Thu, 29 Dec 2011 21:18:30 +0000 (16:18 -0500)]
break on succes

13 years agoAdd ext2/3/4 explicit support.
Christos Zoulas [Thu, 29 Dec 2011 21:18:03 +0000 (16:18 -0500)]
Add ext2/3/4 explicit support.

13 years agothings I did today.
Christos Zoulas [Thu, 15 Dec 2011 21:44:47 +0000 (16:44 -0500)]
things I did today.

13 years agoAdd lustre
Christos Zoulas [Thu, 15 Dec 2011 21:44:28 +0000 (16:44 -0500)]
Add lustre

13 years agoadd lustre
Christos Zoulas [Thu, 15 Dec 2011 21:44:07 +0000 (16:44 -0500)]
add lustre

13 years agoadd lustre
Christos Zoulas [Thu, 15 Dec 2011 21:43:23 +0000 (16:43 -0500)]
add lustre

13 years agoadd lustre
Christos Zoulas [Thu, 15 Dec 2011 21:42:23 +0000 (16:42 -0500)]
add lustre

13 years agoremove stray debugging message
Christos Zoulas [Thu, 15 Dec 2011 21:41:33 +0000 (16:41 -0500)]
remove stray debugging message

13 years agoAdd lustre support.
Christos Zoulas [Thu, 15 Dec 2011 21:21:35 +0000 (16:21 -0500)]
Add lustre support.

13 years ago- Add lustre support
Christos Zoulas [Thu, 15 Dec 2011 21:19:23 +0000 (16:19 -0500)]
- Add lustre support
- Add more mount flags

13 years agoWe want to include <linux/fs.h> because this is the only place some of
Christos Zoulas [Thu, 15 Dec 2011 21:17:49 +0000 (16:17 -0500)]
We want to include <linux/fs.h> because this is the only place some of
the mount flags are declared. Hopefully old systems where this caused
trouble are dead by now.

13 years agomention nfsl fix
Christos Zoulas [Mon, 28 Nov 2011 15:18:27 +0000 (10:18 -0500)]
mention nfsl fix

13 years agoMatch against either the short local hostname or the fqdn name.
Christos Zoulas [Mon, 28 Nov 2011 15:17:18 +0000 (10:17 -0500)]
Match against either the short local hostname or the fqdn name.

13 years agonew file
Christos Zoulas [Thu, 6 Oct 2011 15:30:48 +0000 (11:30 -0400)]
new file

13 years agoOnly compile the NFSv4 -> NFSv3 fallback code if we have NFSv4.
Christos Zoulas [Thu, 6 Oct 2011 15:29:46 +0000 (11:29 -0400)]
Only compile the NFSv4 -> NFSv3 fallback code if we have NFSv4.

13 years agomention recent work.
Christos Zoulas [Thu, 6 Oct 2011 15:05:11 +0000 (11:05 -0400)]
mention recent work.

13 years agoAdd FALLTHROUGH comment
Christos Zoulas [Thu, 6 Oct 2011 14:58:35 +0000 (10:58 -0400)]
Add FALLTHROUGH comment

13 years agoAdd nfsv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:58:00 +0000 (10:58 -0400)]
Add nfsv4 support

13 years agoNFSv4 support
Christos Zoulas [Thu, 6 Oct 2011 14:57:32 +0000 (10:57 -0400)]
NFSv4 support

13 years agoadding _GNU_SOURCE in one place is good enough (configure does it)
Christos Zoulas [Thu, 6 Oct 2011 14:56:01 +0000 (10:56 -0400)]
adding _GNU_SOURCE in one place is good enough (configure does it)

13 years agofix typo
Christos Zoulas [Thu, 6 Oct 2011 14:55:36 +0000 (10:55 -0400)]
fix typo