Re: [autofs] Segmentation fault in read_one_map() -> ldap_msgfree()

2011-08-30 Thread Ian Kent
> ldap_msgfree(result); > + result = NULL; > unbind_ldap_connection(ap->logopt, ldap, ctxt); And this is the same as the case in get_query_dn() and lookup_read_master() too. > > /* Failed to find wild entry, update cache if needed */ So I think this pat

Re: [autofs] Segmentation fault in read_one_map() -> ldap_msgfree()

2011-08-30 Thread Ian Kent
On Wed, 2011-08-31 at 09:16 +0800, Ian Kent wrote: > On Tue, 2011-08-30 at 14:27 -0400, Leonardo Chiquitto wrote: > > Hello, > > > > A customer reported a segmentation fault in automount (one occurrence > > so far, but we have a core dump). More information about the e

Re: [autofs] Segmentation fault in read_one_map() -> ldap_msgfree()

2011-08-30 Thread Ian Kent
On Tue, 2011-08-30 at 14:27 -0400, Leonardo Chiquitto wrote: > Hello, > > A customer reported a segmentation fault in automount (one occurrence > so far, but we have a core dump). More information about the exact > autofs version and included patches below. Thanks for reporting this and for spend

Re: [autofs] autofs4 past 2.6.38: how to make it work?

2011-08-17 Thread Ian Kent
On Wed, 2011-08-17 at 12:42 +0400, Michael Tokarev wrote: > 17.08.2011 12:28, Ian Kent пишет: > > On Wed, 2011-08-17 at 10:27 +0400, Michael Tokarev wrote: > >> In 3.0, only two relevant commits are missing as far > >> as I can see: this negative autofs dentries fi

Re: [autofs] autofs4 past 2.6.38: how to make it work?

2011-08-17 Thread Ian Kent
On Wed, 2011-08-17 at 10:27 +0400, Michael Tokarev wrote: > In 3.0, only two relevant commits are missing as far > as I can see: this negative autofs dentries fix, and > LOOKUP_CONTINUE change. The rest - again, ifaics - > are merely cosmetics. I'm not sure about this > LOOKUP_CONTINUE change, ho

Re: [autofs] autofs4 past 2.6.38: how to make it work?

2011-08-16 Thread Ian Kent
On Tue, 2011-08-16 at 00:02 +0400, Michael Tokarev wrote: > After searching a bit more, especially after realizing > it's not 2.6.37+ but 2.6.38+ (so I corrected $subject), > I found a few references to this, especially > https://bugzilla.redhat.com/show_bug.cgi?id=719607 > and a few more (most of

Re: [autofs] Autofs dump map option

2011-08-06 Thread Ian Kent
On Sat, 2011-08-06 at 16:54 +0800, Ian Kent wrote: > On Fri, 2011-08-05 at 11:11 +0200, Ondrej Valousek wrote: > > Hi Ian, > > > > Thanks for looking after the bugs #538408 and #704416 for me, but I > > have one slight problem with it: > > Automouter won't

Re: [autofs] Autofs dump map option

2011-08-06 Thread Ian Kent
On Fri, 2011-08-05 at 11:11 +0200, Ondrej Valousek wrote: > Hi Ian, > > Thanks for looking after the bugs #538408 and #704416 for me, but I > have one slight problem with it: > Automouter won't show any keys in my indirect NIS maps unless I > specify "BROWSE_MODE=yes". > Maybe it is expected behav

Re: [autofs] [Libtirpc-devel] [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled

2011-07-28 Thread Ian Kent
On Thu, 2011-07-28 at 07:20 -0400, Chuck Lever wrote: > On Jul 27, 2011, at 10:26 PM, Ian Kent wrote: > > > On Tue, 2011-07-26 at 23:30 -0400, Chuck Lever wrote: > >>>> > >>>> For IPv6 support, use functions that are part of the modern libtirpc > >

Re: [autofs] [Libtirpc-devel] [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled

2011-07-27 Thread Ian Kent
On Tue, 2011-07-26 at 23:30 -0400, Chuck Lever wrote: > >> > >> For IPv6 support, use functions that are part of the modern libtirpc > >> API. This is described in Sun doc 816-1435. You probably will be > >> most successful with the "simplified interface" which is described in > >> Chapter 4. Yo

Re: [autofs] [Libtirpc-devel] [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled

2011-07-26 Thread Ian Kent
On Wed, 2011-07-27 at 11:39 +0800, Ian Kent wrote: > On Tue, 2011-07-26 at 23:30 -0400, Chuck Lever wrote: > > On Jul 26, 2011, at 10:40 PM, Ian Kent wrote: > > > > > On Tue, 2011-07-26 at 22:09 -0400, Chuck Lever wrote: > > >> On Jul 26, 2011, at 9:23 PM, Ia

Re: [autofs] [Libtirpc-devel] [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled

2011-07-26 Thread Ian Kent
On Tue, 2011-07-26 at 23:30 -0400, Chuck Lever wrote: > On Jul 26, 2011, at 10:40 PM, Ian Kent wrote: > > > On Tue, 2011-07-26 at 22:09 -0400, Chuck Lever wrote: > >> On Jul 26, 2011, at 9:23 PM, Ian Kent wrote: > >> > >>> On Wed, 2011-07-27 at 08:57 +08

Re: [autofs] [Libtirpc-devel] [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled

2011-07-26 Thread Ian Kent
On Wed, 2011-07-27 at 10:40 +0800, Ian Kent wrote: > On Tue, 2011-07-26 at 22:09 -0400, Chuck Lever wrote: > > On Jul 26, 2011, at 9:23 PM, Ian Kent wrote: > > > > > On Wed, 2011-07-27 at 08:57 +0800, Ian Kent wrote: > > >> On Tue, 2011-07-26

Re: [autofs] [Libtirpc-devel] [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled

2011-07-26 Thread Ian Kent
On Tue, 2011-07-26 at 22:09 -0400, Chuck Lever wrote: > On Jul 26, 2011, at 9:23 PM, Ian Kent wrote: > > > On Wed, 2011-07-27 at 08:57 +0800, Ian Kent wrote: > >> On Tue, 2011-07-26 at 17:13 -0400, Steve Dickson wrote: > >>> > >>> On 07/26/2011 10:50

Re: [autofs] [Libtirpc-devel] [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled

2011-07-26 Thread Ian Kent
On Wed, 2011-07-27 at 09:23 +0800, Ian Kent wrote: > On Wed, 2011-07-27 at 08:57 +0800, Ian Kent wrote: > > On Tue, 2011-07-26 at 17:13 -0400, Steve Dickson wrote: > > > > > > On 07/26/2011 10:50 AM, Chuck Lever wrote: > > > > > > > &g

Re: [autofs] [Libtirpc-devel] [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled

2011-07-26 Thread Ian Kent
On Tue, 2011-07-26 at 17:13 -0400, Steve Dickson wrote: > > On 07/26/2011 10:50 AM, Chuck Lever wrote: > > > > On Jul 26, 2011, at 2:29 PM, Steve Dickson wrote: > > > >> From: Ian Kent > >> > >> The IPv6 client functions clntudp6_bufcreate(

Re: [autofs] [Libtirpc-devel] [PATCH] Autofs configure fails to detect IPv6 when libtirpc is enabled

2011-07-26 Thread Ian Kent
On Wed, 2011-07-27 at 08:57 +0800, Ian Kent wrote: > On Tue, 2011-07-26 at 17:13 -0400, Steve Dickson wrote: > > > > On 07/26/2011 10:50 AM, Chuck Lever wrote: > > > > > > On Jul 26, 2011, at 2:29 PM, Steve Dickson wrote: > > > > > >> F

Re: [autofs] Lockdep splat in autofs with 2.6.39-rc2

2011-07-24 Thread Ian Kent
On Thu, 2011-04-21 at 17:25 -0400, Steven Rostedt wrote: > On Thu, Apr 07, 2011 at 03:44:03PM -0400, Nick Bowler wrote: > > Just saw this on 2.6.39-rc2 after half a day or so of uptime. I've > > never seen it before today so it may be a regression from 2.6.38. > > Nothing seems have failed as a re

Re: [autofs] RPC: Can't bind to reserved port (98) in autofs 4.1.3-240

2011-07-19 Thread Ian Kent
On Tue, 2011-07-12 at 08:33 -0700, Brickles, Stephen wrote: > This bug seems to crop up from time to time. I’ve never had much luck > in being able > > to fix this by running Redhat updates. It seems to be pretty random. > Finally I found a > > machine on which this bug recurred over and over a

Re: [autofs] autofs does not resolve names ?

2011-07-17 Thread Ian Kent
On Sun, 2011-07-17 at 01:37 +0200, JA Magallón wrote: > On Sat, 16 Jul 2011 10:30:58 +0800, Ian Kent wrote: > > (CC LKML for info and completeness...) > > > On Sat, 2011-07-16 at 03:01 +0200, JA Magallón wrote: > > > Hi all... > > > > > > Since

Re: [autofs] autofs does not resolve names ?

2011-07-15 Thread Ian Kent
On Sat, 2011-07-16 at 03:01 +0200, JA Magallón wrote: > Hi all... > > Since the update to autofs-5.0.6, I have a curious problem. Probably it is > not autofs > to blame, but I ask here to see if someone can give me some light... Have you applied autofs-5.0.6-fix-ipv6-name-for-lookup-fix.patch? W

Re: [autofs] [ANNOUNCE] autofs 5.0.6 release

2011-06-30 Thread Ian Kent
ot yet included log a bug and request it. > > On Wed, Jun 29, 2011 at 9:37 PM, Ian Kent wrote: > > Hi all, > > > > This is long overdue, even so, I think there are still some things > > that need fixing but aren't clear cut. However there are too many > &

Re: [autofs] [PATCH] Fix non-IPv6 host name lookups (5.0.6)

2011-06-30 Thread Ian Kent
On Thu, 2011-06-30 at 14:37 +0800, Ian Kent wrote: > On Wed, 2011-06-29 at 11:39 -0300, Leonardo Chiquitto wrote: > > Fix non-IPv6 host name lookups > > > > Commit 5b083026 ("fix ipv6 name for lookup") causes a regression > > in regular (non-IPv6) host

Re: [autofs] [PATCH] Fix non-IPv6 host name lookups (5.0.6)

2011-06-29 Thread Ian Kent
On Wed, 2011-06-29 at 11:39 -0300, Leonardo Chiquitto wrote: > Fix non-IPv6 host name lookups > > Commit 5b083026 ("fix ipv6 name for lookup") causes a regression > in regular (non-IPv6) host name lookups: it trims the first host > name character even when it's not a "[". This patch fixes the issu

[autofs] [ANNOUNCE] autofs 5.0.6 release

2011-06-29 Thread Ian Kent
Hi all, This is long overdue, even so, I think there are still some things that need fixing but aren't clear cut. However there are too many patches to delay any longer so here is release 5.0.6. The kernel patches are not being updated any more because of the introduction of the vfs-automount cha

Re: [autofs] Deadlock in automount caused by AB/BA lock ordering

2011-06-24 Thread Ian Kent
On Fri, 2011-06-24 at 17:02 -0300, Leonardo Chiquitto wrote: > On Mon, Jun 13, 2011 at 11:34 PM, Ian Kent wrote: > > On Thu, 2011-05-19 at 20:21 -0300, Leonardo Chiquitto wrote: > >> Hello, > >> > >> We received a support request from a customer reporting

Re: [autofs] Odd NIS map failure with mount point creation time in the future?

2011-06-20 Thread Ian Kent
On Mon, 2011-06-20 at 11:45 +0100, James Pearson wrote: > Ian Kent wrote: > > > > That sounds a bit like bug > > https://bugzilla.redhat.com/show_bug.cgi?id=632471 > > I don't have permission to view that bug ... > > > It was fixed in developmen

Re: [autofs] Thoughts on dynamic networking with AutoFS/NFS

2011-06-19 Thread Ian Kent
On Sun, 2011-06-19 at 22:38 +0100, Colin Simpson wrote: > Hi Ian, > > Thanks for getting back. > > On Sun, 2011-06-19 at 04:59 +0100, Ian Kent wrote: > > The issue is NFS. > > > > Dynamic fail-over for mounts has been on the NFS list of things to do > >

Re: [autofs] Thoughts on dynamic networking with AutoFS/NFS

2011-06-18 Thread Ian Kent
On Thu, 2011-06-16 at 20:20 +0100, Colin Simpson wrote: > Hi > > I was just wondering what the thoughts (maybe plans) are for making > autofs/nfs more dynamic in the new world of dynamic networking with > the likes of Network Manager now being the default. I've read this a couple of times now and

Re: [autofs] Odd NIS map failure with mount point creation time in the future?

2011-06-18 Thread Ian Kent
On Sat, 2011-06-18 at 21:08 +0100, James Pearson wrote: > James Pearson wrote: > > > > Sorry, I should have said - this is CentOS 5.5 with autofs > > 5.0.1-0.rc2.143.el5_5.6 - and I've also tried it with > > 5.0.1-0.rc2.143.el5_6.2 - with the same result. > > > > It is easy to reproduce - with

Re: [autofs] nesting automount maps in ldap

2011-06-18 Thread Ian Kent
On Fri, 2011-06-17 at 16:40 -0400, Jimmy Dorff wrote: > On 06/17/2011 10:40 AM, Jimmy Dorff wrote: > > # here is my attempt at nesting another level > > dn: cn=project, ou=auto.phy,dc=phy,dc=duke,dc=edu > > objectClass: automount > > cn: project > > automountInformation: ldap ldapserver:ou=auto.pro

Re: [autofs] nesting automount maps in ldap

2011-06-18 Thread Ian Kent
On Fri, 2011-06-17 at 10:40 -0400, Jimmy Dorff wrote: > Hello, > > I'm attempting to migrate an existing (and working) nis automount system > to ldap. We have several layers of nested maps and I'm attempting to > recreate that in LDAP. > > # Automount master for "/foo" > dn: cn=/foo, ou=auto.ma

Re: [autofs] Odd NIS map failure with mount point creation time in the future?

2011-06-18 Thread Ian Kent
On Fri, 2011-06-17 at 15:12 +0100, James Pearson wrote: > I using CentOS 5 on a large number of boxes with a NIS indirect > automount map. > > I've been using the following syntax in /etc/auto.master: > > /mntpointyp:custom.map > > And this has worked fine for ages > > Recently, I wanted t

Re: [autofs] [PATCH] AUTOFS4: Fix the return from autofs4_d_automount() and simplify autofs4_d_manage()

2011-06-18 Thread Ian Kent
On Sat, 2011-06-18 at 01:11 +0100, David Howells wrote: > autofs4_d_automount() returns 0 if it detects that the calling process is in > Oz > mode (ie. it's the autofs userspace daemon). This return, however, is meant > to > indicate to follow_automount() that the caller should retry the check o

Re: [autofs] Bug in autofs4_d_automount()?

2011-06-18 Thread Ian Kent
On Sat, 2011-06-18 at 00:29 +0100, David Howells wrote: > Hi Ian, > > At the top of autofs4_d_automount() you have: > > /* The daemon never triggers a mount. */ > if (autofs4_oz_mode(sbi)) > return NULL; > > I think this should be returning -EISDIR. If by some chance w

Re: [autofs] Deadlock in automount caused by AB/BA lock ordering

2011-06-13 Thread Ian Kent
_pop(1); > + pthread_cleanup_pop(1); > > return NULL; > } This might be all we need since once the master map is read the null cache is set up and and can't change while we hold the read lock autofs-5.0.5 - fix null cache deadlock From: Ian Kent ---

Re: [autofs] [PATCH] Remove master_mutex_unlock() leftover

2011-06-13 Thread Ian Kent
On Mon, 2011-06-13 at 18:39 -0300, Leonardo Chiquitto wrote: > Hello Ian, list > > While trying to make some progress on the AB/BA locking issue, I > think I've found a bug introduced by commit dc0c3734. Committed, pushed and posted on kernel.org. Thanks Leonard. > > Thanks, > Leonardo > > >

Re: [autofs] failed to mount offset

2011-06-09 Thread Ian Kent
On Wed, 2011-06-08 at 09:43 -0400, Greg Wooledge wrote: > On Wed, Jun 08, 2011 at 09:17:35PM +0800, Ian Kent wrote: > > On Wed, 2011-06-08 at 05:06 -0500, Mag Gam wrote: > > > Trying to mount a newly created volume on a fileserver (appliance) and > > > nis. Able to see

Re: [autofs] failed to mount offset

2011-06-08 Thread Ian Kent
On Wed, 2011-06-08 at 05:06 -0500, Mag Gam wrote: > Hello > Trying to mount a newly created volume on a fileserver (appliance) and > nis. Able to see the volume using showmount and able to mount so, I > don't believe its a permission problem. > > The error I get is, > > -zsh: cd: /net/appliance/n

Re: [autofs] Returning issues.

2011-06-07 Thread Ian Kent
On Tue, 2011-06-07 at 11:15 +0200, Stef Bon wrote: > On 06/07/2011 07:23 AM, Ian Kent wrote: > > On Sun, 2011-06-05 at 19:01 +0200, Stef Bon wrote: > >> hi, > >> > >> I see that issues that automounter doing unnecessary mounting like: > >> > >

Re: [autofs] Returning issues.

2011-06-06 Thread Ian Kent
On Sun, 2011-06-05 at 19:01 +0200, Stef Bon wrote: > hi, > > I see that issues that automounter doing unnecessary mounting like: > > http://linux.kernel.org/pipermail/autofs/2011-May/006568.html I think you misunderstood the report here. Neither of the points below were related to it. > > and

Re: [autofs] bug doing simple stat call to mountpoint

2011-06-06 Thread Ian Kent
On Mon, 2011-06-06 at 09:07 +0200, Stef Bon wrote: > On 06/05/2011 11:37 PM, Stef Bon wrote: > > On 06/05/2011 06:44 PM, Stef Bon wrote: > >> Hi, > >> > >> I'm using autofs 5.0.5, kernel 2.6.38.6. > >> > >> In the construction I'm working on I got the following error: > >> > >> stat /mnt/mount.md

Re: [autofs] [PATCH] FedFS file system client support

2011-05-31 Thread Ian Kent
On Tue, 2011-05-31 at 11:14 -0400, Chuck Lever wrote: > On May 30, 2011, at 12:15 AM, Ian Kent wrote: > > > On Thu, 2011-05-26 at 12:39 -0400, Chuck Lever wrote: > >> Hi- > >> > >> The next release of fedfs-utils will provide all necessary components > &

Re: [autofs] [PATCH] FedFS file system client support

2011-05-29 Thread Ian Kent
On Thu, 2011-05-26 at 12:39 -0400, Chuck Lever wrote: > Hi- > > The next release of fedfs-utils will provide all necessary components > for a Linux NFS client to participate in a FedFS domain as a file > system client. This new utility is intended to be a part of the > upcoming release. > > I'm

Re: [autofs] BUG() in shrink_dcache_for_umount_subtree on nfs4 mount

2011-05-26 Thread Ian Kent
On Thu, 2011-05-26 at 09:49 -0400, Jeff Layton wrote: > On Wed, 25 May 2011 16:08:15 -0400 > Jeff Layton wrote: > > > On Wed, 27 Apr 2011 16:23:07 -0700 > > Mark Moseley wrote: > > > > > > > > I posted this to bugzilla a while back but I figured I'd paste it here > > > too: > > > > > > -

Re: [autofs] Deadlock in automount caused by AB/BA lock ordering

2011-05-23 Thread Ian Kent
On Thu, 2011-05-19 at 20:21 -0300, Leonardo Chiquitto wrote: > Hello, > > We received a support request from a customer reporting a hang in the > automount daemon. Analyzing the core dump, it looks like automount > can deadlock if two threads execute in the following order: This looks like a rath

Re: [autofs] Automount /home for all the users when a user try to use /home

2011-05-23 Thread Ian Kent
On Thu, 2011-05-19 at 09:10 +0200, giggzounet wrote: > Hi, > > I'm using autofs for years and on different configurations. It works > great! so thx for your great work. > > But I have a little question/problem: > We have a cluster (with CentOS 5.5). It's a little cluster, so the /home > "is" on t

Re: [autofs] Question/request about host mapping

2011-04-11 Thread Ian Kent
On Thu, 2011-04-07 at 15:29 -0600, Michael Coffman wrote: > On Thu, Apr 7, 2011 at 8:56 AM, Ian Kent wrote: > On Wed, 2011-04-06 at 12:52 -0600, Michael Coffman wrote: > > Hello, > > > > I am trying to use the -host map for global access to

Re: [autofs] Question/request about host mapping

2011-04-07 Thread Ian Kent
On Wed, 2011-04-06 at 12:52 -0600, Michael Coffman wrote: > Hello, > > I am trying to use the -host map for global access to servers in my > environment. > > I have noted on this list that after the first mount of a server via > host mapping, the server is never again probed for mount points.

Re: [autofs] [PATCH] Sanity checks for brackets (escaped or otherwise) in server name

2011-04-07 Thread Ian Kent
On Fri, 2011-04-01 at 14:43 +0530, Siddhesh Poyarekar wrote: > When autofs is configured as follows: > > * -nodev,nosuid,intr,soft,retry=10,proto=tcp &:/tmp1 > > One could make a mount request as follows: > > df /autom/tmp1/som\(efile > > and crash automount, since automount tries to parse the

Re: [autofs] stat -L triggering mount (behavior change starting with 2.6.38-rc1)

2011-03-31 Thread Ian Kent
On Fri, 2011-04-01 at 12:27 +0800, Ian Kent wrote: > On Mon, 2011-03-28 at 19:53 -0300, Leonardo Chiquitto wrote: > > There where two significant patch series merged in 2.6.38 which were to > similar parts of the VFS. One was the vfs-scale series and the other was > the vfs-autom

Re: [autofs] stat -L triggering mount (behavior change starting with 2.6.38-rc1)

2011-03-31 Thread Ian Kent
On Mon, 2011-03-28 at 19:53 -0300, Leonardo Chiquitto wrote: > > Bisecting the changes between 2.6.37 and 2.6.38, I found that 2.6.38-rc1 > exhibits the new behavior already. I went as near 2.6.37 as I could and > verified > that commit b650c858c2 (autofs4: Merge the remaining dentry ops tables)

Re: [autofs] stat -L triggering mount (behavior change starting with 2.6.38-rc1)

2011-03-31 Thread Ian Kent
On Mon, 2011-03-28 at 19:53 -0300, Leonardo Chiquitto wrote: > Hello, > > After the update to 2.6.38, I noticed that AutoFS started to mount volumes > at times it normally wouldn't. More specifically, "ls -la" inside an AutoFS > mount point will trigger the mount of all available maps. > > This c

Re: [autofs] different behaviour of autofs

2011-03-31 Thread Ian Kent
On Mon, 2011-03-28 at 09:53 +0200, hugo tempo wrote: > Hi, > We (@vu.nl) use the automounter with ldap, a.o. to automount > home-directories. > Now under squeeze if we do a wildcard access (ls /home/* or even ls > /home) we get a listing of (seemingly) all the userdirectories from the > mountmap

[autofs] [PATCH 0/2] Series for the non-expiring mounts problem

2011-03-30 Thread Ian Kent
These two patches should fix the problem you reported where a USR1 signal fails to trigger an expire. They should also fix the unnecessary map reload problem. Please test these for me. --- Ian Kent (2): autofs-5.0.5 - fix stale map read autofs-5.0.5 - fix next task list update

[autofs] [PATCH 2/2] autofs-5.0.5 - fix stale map read

2011-03-30 Thread Ian Kent
A previous patch to fix direct maps not updating on re-read has a side effect of causing maps to always be re-read on lookup. This is because, following the application of the previous patch, the map stale status is no longer being updated on a successful map read. --- CHANGELOG|1 +

[autofs] [PATCH 1/2] autofs-5.0.5 - fix next task list update

2011-03-29 Thread Ian Kent
When the state queue task manager transfered an automount point pending task to its task queue for execution the state queue as mistakenly being seen as empty when the completing task was the only task in the state queue. --- CHANGELOG |1 + daemon/state.c |8 +--- 2 files change

Re: [autofs] 5.0.5 non-expiring mounts

2011-03-27 Thread Ian Kent
TABLE_SIZE=1024 > > I'm attaching the automount debug logs showing the following sequence: > > - automount startup > - mount of an NFS volume (/data/isos) > - failed attempt to trigger the expiration of the mounted volume (sending > SIGUSR1) > - successful attempt to

Re: [autofs] autofs problem

2011-03-14 Thread Ian Kent
On Mon, 2011-03-14 at 22:59 +0800, Ian Kent wrote: > On Mon, 2011-03-14 at 10:09 +, hpc.ad...@uea.ac.uk wrote: > > Hello Ian, > > > > Thank you for your reply. The contents of /etc/sysconfig/autofs are: > > > > [root@head00 ~]# grep -v '^#&

Re: [autofs] autofs problem

2011-03-14 Thread Ian Kent
. > > Thanks for your help, > Wadud. > > >-Original Message- > >From: hpc.admin-boun...@uea.ac.uk [mailto:hpc.admin-boun...@uea.ac.uk] On > >Behalf Of Ian Kent > >Sent: Sunday, March 13, 2011 1:29 AM > >To: hpc.ad...@uea.ac.uk > >Cc:

Re: [autofs] Recovering from the loss of a NFS Server

2011-03-13 Thread Ian Kent
On Sat, 2011-03-12 at 23:27 -0500, Breitman, Jason wrote: > OS > Linux hostname 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 > x86_64 x86_64 x86_64 GNU/Linux > > autofs package > autofs-5.0.1-0.rc2.148.bz579312.1.el5 > > Mount options > $ cat /etc/auto.master > # Ma

Re: [autofs] "Use bind instead of nfs if host is localhost" feature is broken? removed?

2011-03-12 Thread Ian Kent
On Thu, 2011-03-10 at 15:59 -0800, Nye Liu wrote: > I have been relying on the behavior that > > foo host:/export/foo > > uses 'bind' if host is localhost, and 'nfs' otherwise... > > i.e. if i am on the machine "host", /export/foo is mounted on /mnt/foo using > bind, but if i am not on "host",

Re: [autofs] autofs hangs

2011-03-12 Thread Ian Kent
On Wed, 2011-03-09 at 14:11 -0500, Jaskaran Singh wrote: > I am running into an issue here, I using autofs with ldap to > mount /home directories. This is my os version Description: Ubuntu > 10.10 Release: 10.10 > my /etc/auto.master is commented out. > in /etc/nsswitch.conf last line is > automou

Re: [autofs] autofs problem

2011-03-12 Thread Ian Kent
On Tue, 2011-03-08 at 11:24 +, hpc.ad...@uea.ac.uk wrote: > Hello, > > I am experiencing autofs problems with my Centos 5.5 system. Upon boot, the > mount fails with the following error messages (created by passing the -d > option in the automount): > > Mar 8 10:38:19 cn024 automount[6395]:

Re: [autofs] AutoFS creates unmountable directories when ghosting is enabled

2011-03-08 Thread Ian Kent
On Wed, 2011-03-09 at 12:15 +0800, Ian Kent wrote: > > > > Hello Ian, > > > > I bisected this problem today and discovered that it appeared after the > > following commit: > > > > commit 08aafab4c1d0ab6227c80f8cd1086ae78556a370 > > Author: Ian

Re: [autofs] AutoFS creates unmountable directories when ghosting is enabled

2011-03-08 Thread Ian Kent
On Sun, 2011-03-06 at 23:37 -0300, Leonardo Chiquitto wrote: > On Wed, Dec 15, 2010 at 12:49 AM, Ian Kent wrote: > > On Fri, 2010-12-10 at 17:10 -0200, Leonardo Chiquitto wrote: > >> Hello Ian and list, > >> > >> I'd like to forward a bug report we receive

Re: [autofs] 5.0.5 non-expiring mounts

2011-03-04 Thread Ian Kent
On Fri, 2011-03-04 at 17:10 -0300, Leonardo Chiquitto wrote: > On Wed, Feb 16, 2011 at 5:08 AM, Ian Kent wrote: > > On Tue, 2011-02-15 at 16:11 -0200, Leonardo Chiquitto wrote: > >> On Tue, Feb 15, 2011 at 10:28 AM, Ian Kent wrote: > >> > On Mon, 2011-02-14 at

Re: [autofs] Before I start carving wheels....

2011-02-26 Thread Ian Kent
On Sun, 2011-02-27 at 00:01 -0500, Vincent Liggio wrote: > On Sun, 27 Feb 2011, Ian Kent wrote: > > > What are you saying? > > If you add this patch to Fedora am-utils it then works? > > Yes. I downloaded the F14 SRPM for am-utils, changed that one line, did > an rpmb

Re: [autofs] Before I start carving wheels....

2011-02-26 Thread Ian Kent
the case then there is more work to do! > > Vince > > On 02/25/2011 12:39 PM, Ion Badulescu wrote: > > On Thu, 24 Feb 2011, Ian Kent wrote: > > > >>>>> But the autofs4 module should be able to be used for autofs kernel > >>>>> proto

Re: [autofs] Before I start carving wheels....

2011-02-25 Thread Ian Kent
On Fri, 2011-02-25 at 12:39 -0500, Ion Badulescu wrote: > On Thu, 24 Feb 2011, Ian Kent wrote: > > >>>> But the autofs4 module should be able to be used for autofs kernel > >>>> protocol version 3. It may require some changes in user space and, since > >

Re: [autofs] Before I start carving wheels....

2011-02-24 Thread Ian Kent
On Thu, 2011-02-24 at 15:11 -0500, Vincent Liggio wrote: > On 02/24/2011 05:42 AM, Ian Kent wrote: > > > > It looks like amd should work with autofs protocol version v4. > > You should also try "modprobe autofs4" before starting amd and see what > > happens. &

Re: [autofs] Before I start carving wheels....

2011-02-24 Thread Ian Kent
On Thu, 2011-02-24 at 14:42 +0800, Ian Kent wrote: > On Wed, 2011-02-23 at 23:35 -0500, Vincent Liggio wrote: > > On Thu, 24 Feb 2011, Ian Kent wrote: > > > > >> I reported on both kernel.org and on am-utils.org that autofs and amd do > > >> not work w

Re: [autofs] Before I start carving wheels....

2011-02-23 Thread Ian Kent
On Wed, 2011-02-23 at 23:35 -0500, Vincent Liggio wrote: > On Thu, 24 Feb 2011, Ian Kent wrote: > > >> I reported on both kernel.org and on am-utils.org that autofs and amd do > >> not work with F12's kernel in March/April of 2010 (kernel.org bug 15878 > >

Re: [autofs] Before I start carving wheels....

2011-02-23 Thread Ian Kent
4 latest kernel, and it just won't > >> function (we were able to get it to work on F12, but autofs3 refuses > >> to work on the F14 kernel). > > > > The autofs maintainer (Ian Kent) tries to keep the v4 kernel module > > compatible with v3. However, if yo

Re: [autofs] automounting replicated servers using NFSv4 fails

2011-02-21 Thread Ian Kent
On Mon, 2011-02-21 at 10:26 +0100, Nico De Ranter wrote: > On Sat, 2011-02-19 at 11:48 +0800, Ian Kent wrote: > > On Fri, 2011-02-18 at 14:09 +0100, Nico De Ranter wrote: > > > Hi, > > > > > > I have a number of Linux clients (Ubuntu 10.04) that mount

Re: [autofs] automounting replicated servers using NFSv4 fails

2011-02-19 Thread Ian Kent
On Sat, 2011-02-19 at 11:48 +0800, Ian Kent wrote: > On Fri, 2011-02-18 at 14:09 +0100, Nico De Ranter wrote: > > Hi, > > > > I have a number of Linux clients (Ubuntu 10.04) that mount a (read-only) > > directory from 3 replicated servers using NFSv3. I am now in t

Re: [autofs] automounting replicated servers using NFSv4 fails

2011-02-18 Thread Ian Kent
On Fri, 2011-02-18 at 14:09 +0100, Nico De Ranter wrote: > Hi, > > I have a number of Linux clients (Ubuntu 10.04) that mount a (read-only) > directory from 3 replicated servers using NFSv3. I am now in the > process of moving to NFSv4. I can mount the directories using NFSv4 > manually. I can m

Re: [autofs] Problem of concurrent mount/umount call

2011-02-18 Thread Ian Kent
it'll stay in the queue until I reach a point where I'm ready to push them. > Is the problem has been solved elsewhere ? Nope. > > -- > Erwan > > > Ian Kent wrote: > > On Tue, 2010-12-07 at 09:54 +0100, Erwan Loaëc wrote: > >> Hello! > >>

Re: [autofs] 5.0.5 non-expiring mounts

2011-02-16 Thread Ian Kent
On Wed, 2011-02-16 at 17:08 -0800, Deke Clinger wrote: > On Wed Feb 16 12:18:15 UTC 2011 Ian Kent wrote: > > > A backtrace generally doesn't do us any good when were trying to find an > > expire problem, the debug log is where we have to start on these. > > I'v

Re: [autofs] Wrong network

2011-02-16 Thread Ian Kent
On Wed, 2011-02-16 at 17:00 -0500, Steve Thompson wrote: > On Tue, 15 Feb 2011, Ian Kent wrote: > > > As far as the hang you have seen, I don't know why that's happening, the > > patches were added between el5_5.4 and el5_5.6 have been around for > > quite a

Re: [autofs] 5.0.5 non-expiring mounts

2011-02-16 Thread Ian Kent
On Wed, 2011-02-16 at 15:08 +0800, Ian Kent wrote: > On Tue, 2011-02-15 at 16:11 -0200, Leonardo Chiquitto wrote: > > On Tue, Feb 15, 2011 at 10:28 AM, Ian Kent wrote: > > > On Mon, 2011-02-14 at 21:28 -0800, Mike Marion wrote: > > >> On Mon, Feb 14, 2011 at 07

Re: [autofs] 5.0.5 non-expiring mounts

2011-02-15 Thread Ian Kent
On Tue, 2011-02-15 at 16:11 -0200, Leonardo Chiquitto wrote: > On Tue, Feb 15, 2011 at 10:28 AM, Ian Kent wrote: > > On Mon, 2011-02-14 at 21:28 -0800, Mike Marion wrote: > >> On Mon, Feb 14, 2011 at 07:37:01PM -0800, Ian Kent wrote: > >> > >> > That

Re: [autofs] Wrong network

2011-02-15 Thread Ian Kent
On Tue, 2011-02-15 at 07:40 -0500, Steve Thompson wrote: > On Tue, 15 Feb 2011, Ian Kent wrote: > > > Fair call, but it comes over as though you don't want to contribute at > > all, which isn't good. > > That's not the impression I meant to give at all. I

Re: [autofs] [PATCH 1/3] Add dir map-type.

2011-02-15 Thread Ian Kent
11-02-11 at 11:04 +0800, Ian Kent wrote: > >> On Fri, 2011-02-11 at 05:27 +0900, Masatake YAMATO wrote: > >> > No comment? > >> > > >> > I've got one comment privately: use a suffix instead of prefix "auto." > >> > to filter

Re: [autofs] 5.0.5 non-expiring mounts

2011-02-15 Thread Ian Kent
On Mon, 2011-02-14 at 21:28 -0800, Mike Marion wrote: > On Mon, Feb 14, 2011 at 07:37:01PM -0800, Ian Kent wrote: > > > That is kernel revision and autofs revision? > > 2.6.16.60-0.59.1 (Sles10 sp3 with an updated, but not bleeding edge, patch). > autofs 5.0.5 with most o

Re: [autofs] Wrong network

2011-02-15 Thread Ian Kent
On Tue, 2011-02-15 at 07:04 -0500, Steve Thompson wrote: > On Tue, 15 Feb 2011, Ian Kent wrote: > > > That's a lame response, given you think it's a serious issue. > > I don't think that is a fair response either. For all you know, I might be > limited by s

Re: [autofs] 5.0.5 non-expiring mounts

2011-02-14 Thread Ian Kent
On Tue, 2011-02-15 at 11:11 +0800, Ian Kent wrote: > On Mon, 2011-02-14 at 17:10 -0800, Mike Marion wrote: > > On Tue, Feb 08, 2011 at 01:30:59AM -0800, Philip Ong Jr. wrote: > > > > > I've set the logging level to debug and can see messages of expiring > >

Re: [autofs] Autofs hangs

2011-02-14 Thread Ian Kent
On Mon, 2011-02-14 at 14:31 -0500, Steve Thompson wrote: > CentOS 5.5, 32- and 64-bit. Maps from LDAP. I upgraded recently (as part > of a system-wide yum update) from autofs-5.0.1-0.rc2.143.el5_5.4 to > autofs-5.0.1-0.rc2.143.el5_5.6, and ever since I have had a MASSIVE number > of automount ha

Re: [autofs] 5.0.5 non-expiring mounts

2011-02-14 Thread Ian Kent
On Mon, 2011-02-14 at 17:10 -0800, Mike Marion wrote: > On Tue, Feb 08, 2011 at 01:30:59AM -0800, Philip Ong Jr. wrote: > > > I've set the logging level to debug and can see messages of expiring > > mounts in /var/log/messages...but when I check /etc/mtab or /proc/mounts > > or df, i can still s

Re: [autofs] Wrong network

2011-02-14 Thread Ian Kent
On Mon, 2011-02-14 at 14:22 -0500, Steve Thompson wrote: > On Mon, 14 Feb 2011, Ian Kent wrote: > > > That is the way it should work but dns round robin entries like this > > aren't handled quite correctly. > > > > I'm not sure this patch will apply (the

Re: [autofs] Wrong network

2011-02-13 Thread Ian Kent
sure this patch will apply (the CHANGELOG hunk certainly won't) but you could try it: autofs-5.0.5 - mount using address for rr From: Ian Kent When a host has multiple addresses, mount using individual address so we can take advantage of the probing and response time calcul

Re: [autofs] [PATCH 1/3] Add dir map-type.

2011-02-10 Thread Ian Kent
On Fri, 2011-02-11 at 11:04 +0800, Ian Kent wrote: > On Fri, 2011-02-11 at 05:27 +0900, Masatake YAMATO wrote: > > No comment? > > > > I've got one comment privately: use a suffix instead of prefix "auto." > > to filter included files. I'm re

Re: [autofs] 5.0.5 non-expiring mounts

2011-02-10 Thread Ian Kent
On Tue, 2011-02-08 at 01:30 -0800, Philip Ong Jr. wrote: > I've pulled down the 5.0.5 tree and all patches. > > I've set the logging level to debug and can see messages of expiring > mounts in /var/log/messages...but when I check /etc/mtab or /proc/mounts > or df, i can still see them there. Any

Re: [autofs] [PATCH 1/3] Add dir map-type.

2011-02-10 Thread Ian Kent
On Fri, 2011-02-11 at 05:27 +0900, Masatake YAMATO wrote: > No comment? > > I've got one comment privately: use a suffix instead of prefix "auto." > to filter included files. I'm reflected the comment in my local source > tree. Before posting it to this list, I'd like to get more feedbacks. I se

Re: [autofs] autofs misbehaves when DNS RRs returns more ldap servers

2011-02-08 Thread Ian Kent
On Tue, 2011-02-08 at 10:16 +0100, Ondrej Valousek wrote: > > > Yes, and replied on the 11/01, did you miss it? > > > Ok I must have missed it - now I see you have taken a different > approach - you are constructing a single looong string with all ldap > uris and then you parse them again. > I mu

Re: [autofs] autofs misbehaves when DNS RRs returns more ldap servers

2011-02-07 Thread Ian Kent
On Wed, 2011-02-02 at 15:40 +0100, Ondrej Valousek wrote: > Hi Ian, > > Did you have any chance to take a look at this patch yet? Yes, and replied on the 11/01, did you miss it? > Thanks, > > Ondrej > > On 07.01.2011 14:12, Ondrej Valousek wrote: > > On 06

Re: [autofs] autofs5.0.5 patches for old kernels.

2011-02-02 Thread Ian Kent
On Tue, 2011-02-01 at 21:21 +0530, ki...@serc.iisc.ernet.in wrote: > Hi, > > In autofs-5.0.5 distribution there are no kernel V5 patches for old > kernel(s2.6.9 to 2.6.17), but document INSTALL says > > > > Applying The Kernel Patch > = > > Patches

Re: [autofs] [RFC 00/20] Proposal for remaining BKL users

2011-01-27 Thread Ian Kent
On Tue, 2011-01-25 at 23:22 +0100, Arnd Bergmann wrote: > I've gone through all the code in the kernel that > uses the big kernel lock and come up with a solution > that seems at least half-reasonable for each of them. > > The decisions are somewhat arbitrary, but here is > what I'd suggest we do:

Re: [autofs] [bryder_autofs_4.1.4_PATCH 7/8] Ian Kent's reentrant syslog patch

2011-01-27 Thread Ian Kent
s necessary - especially when using debug syslog messages > +and testing high mount rates. Without it I've see the daemon wedge in > +syslog. I'm pretty sure Ian Kent did the patch. Guilty as charged. > + > + > 14/07/2010 autofs-4.1.4 - bryder p42 > ---

Re: [autofs] [PATCH] autofs4: Do not potentially dereference NULL pointer returned by fget() in autofs_dev_ioctl_setpipefd()

2011-01-24 Thread Ian Kent
fd() we call fget(), > > > which may return NULL, but we do not explicitly test for that NULL return > > > so we may end up dereferencing a NULL pointer - bad. > > > > > > When I originally submitted this patch I had chosen EBUSY as the return > > &g

  1   2   3   4   5   6   7   8   9   10   >