Re: [OpenAFS] freezes acessing /afs/.git

2014-08-14 Thread Sergio Gelato
* Jeffrey Altman [2014-08-13 15:55:42 -0400]: On 8/13/2014 3:19 PM, Sergio Gelato wrote: * Jeffrey Altman [2014-08-13 11:05:02 -0400]: I believe that what you are asking for is not an include list but an option to only perform DNS SRV/AFSDB queries for entries that exist in the CellServDB

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-14 Thread Jeffrey Altman
On 8/14/2014 8:10 AM, Sergio Gelato wrote: * Jeffrey Altman [2014-08-13 15:55:42 -0400]: On 8/13/2014 3:19 PM, Sergio Gelato wrote: * Jeffrey Altman [2014-08-13 11:05:02 -0400]: I believe that what you are asking for is not an include list but an option to only perform DNS SRV/AFSDB queries

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-13 Thread Stephen Joyce
I think someone mentioned an exclude list as a possible solution to this problem. What about an include list instead (or in addition to the exclude list)? I'm envisioning something like CellServDB, but without the actual DB info -- that is effectively a list of robust and/or often-used cells

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-13 Thread Jeffrey Altman
On 8/13/2014 10:35 AM, Stephen Joyce wrote: I think someone mentioned an exclude list as a possible solution to this problem. What about an include list instead (or in addition to the exclude list)? I don't think you are asking for an include list but a configuration option to disable

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-13 Thread Markus Köberl
On Wednesday 13 August 2014 11:05:02 Jeffrey Altman wrote: On 8/13/2014 10:35 AM, Stephen Joyce wrote: I think someone mentioned an exclude list as a possible solution to this problem. What about an include list instead (or in addition to the exclude list)? I don't think you are

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-13 Thread Sergio Gelato
* Jeffrey Altman [2014-08-13 11:05:02 -0400]: I believe that what you are asking for is not an include list but an option to only perform DNS SRV/AFSDB queries for entries that exist in the CellServDB without a server list. Please remember to also fix bug #131895 if/when this is implemented.

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-13 Thread Jeffrey Altman
On 8/13/2014 3:19 PM, Sergio Gelato wrote: * Jeffrey Altman [2014-08-13 11:05:02 -0400]: I believe that what you are asking for is not an include list but an option to only perform DNS SRV/AFSDB queries for entries that exist in the CellServDB without a server list. Please remember to also

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-13 Thread Stephen Joyce
Well, what you describe isn't exactly what I was proposing, but I'm not picky and what you describe seems like it could work okay and might even be easier (dare I hope trivial?) to implement... Cheers, Stephen On Wed, 13 Aug 2014, Jeffrey Altman wrote: On 8/13/2014 10:35 AM, Stephen Joyce

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-10 Thread Markus Köberl
On Sunday 10 August 2014 0:31:14 Troy Benjegerdes wrote: This really needs some sort of testcase and regression tests. I keep randomly hitting this stuff and I just 'got used to' my machine (or maybe just a process) become unusable for awhile. It's the kind of thing that someone tries AFS,

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-09 Thread Troy Benjegerdes
On Wed, Aug 06, 2014 at 10:45:56AM -0400, chas williams - CONTRACTOR wrote: On Wed, 6 Aug 2014 13:47:28 + Brandon Allbery ballb...@sinenomine.net wrote: I'm not sure how to mitigate this, though. Even if you could add a dummy AFSDB or SRV record to intercept this lookup, last night I

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-07 Thread chas williams - CONTRACTOR
On Wed, 06 Aug 2014 21:46:42 +0200 Markus Köberl markus.koeb...@tugraz.at wrote: On Wednesday 06 August 2014 11:51:42 Jeffrey Altman wrote: On 8/6/2014 11:05 AM, Markus Köberl wrote: Should there not be at least one '.' after removing the one from the begin included to make sense

[OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread Markus Koeberl
Hi! I am getting very annoying freezes on the terminal from time to time. Today I was able to trace them back to a git branch call for my fancy bash prompt. Normally it takes 0.06s to call git branch in my $HOME on afs but sometimes it takes about 54s. Tracing git branch showed me it is always

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread Brandon Allbery
On Wed, 2014-08-06 at 15:32 +0200, Markus Koeberl wrote: What exactly may be the problem with -afsdb. Are my SRV records wrong or is there a problem with my name server? I am happy for any hints because removing the -afsdb option is complicated... I'm seeing this problem locally in a

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread Brandon Allbery
On Wed, 2014-08-06 at 13:47 +, Brandon Allbery wrote: I'm not sure how to mitigate this, though. Even if you could add a dummy AFSDB or SRV record to intercept this lookup, Actually, for your case it might be sufficient to add an entry to the CellAlias file pointing .git to the local cell;

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread Jonathan Billings
On Wed, Aug 6, 2014 at 9:32 AM, Markus Koeberl markus.koeb...@tugraz.at wrote: I am getting very annoying freezes on the terminal from time to time. Today I was able to trace them back to a git branch call for my fancy bash prompt. Normally it takes 0.06s to call git branch in my $HOME on afs

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread Brandon Allbery
On Wed, 2014-08-06 at 13:47 +, Brandon Allbery wrote: read-write root.afs volume SIgh, thinko, was thinking about having to verify my default cell's root.afs is sane before I kill -dynroot locally while I was composing that. It's looking up root.cell, of course. -- brandon s allbery kf8nh

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread chas williams - CONTRACTOR
On Wed, 6 Aug 2014 13:47:28 + Brandon Allbery ballb...@sinenomine.net wrote: I'm not sure how to mitigate this, though. Even if you could add a dummy AFSDB or SRV record to intercept this lookup, last night I tripped over a similar issue when rebooting my Mac: http://lpaste.net/108884

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread Markus Köberl
On Wednesday 06 August 2014 10:45:56 chas williams - CONTRACTOR wrote: I started working on a patch to 'fix' this issue: good to know But as pointed out in the comments, it's too specific and should be a more general mechanism. Unfortunately, the preceding '.' is stripped from names before

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread Jeffrey Altman
On 8/6/2014 11:05 AM, Markus Köberl wrote: Should there not be at least one '.' after removing the one from the begin included to make sense searching for a SRV record? DNS searchlists are used because sites often use the first component as an alias /afs/athena/... is the same as

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread chas williams - CONTRACTOR
On Wed, 06 Aug 2014 17:05:57 +0200 Markus Köberl markus.koeb...@tugraz.at wrote: On Wednesday 06 August 2014 10:45:56 chas williams - CONTRACTOR wrote: I started working on a patch to 'fix' this issue: good to know Sadly, I got distracted by other work and didn't go any further. Negative

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread Markus Köberl
On Wednesday 06 August 2014 11:51:42 Jeffrey Altman wrote: On 8/6/2014 11:05 AM, Markus Köberl wrote: Should there not be at least one '.' after removing the one from the begin included to make sense searching for a SRV record? DNS searchlists are used because sites often use the first

Re: [OpenAFS] freezes acessing /afs/.git

2014-08-06 Thread Markus Köberl
On Wednesday 06 August 2014 11:51:42 Jeffrey Altman wrote: On 8/6/2014 11:05 AM, Markus Köberl wrote: Should there not be at least one '.' after removing the one from the begin included to make sense searching for a SRV record? DNS searchlists are used because sites often use the first