Re: [OpenAFS] VL server preferences

2011-09-19 Thread Jeffrey Altman
On 9/18/2011 6:32 AM, Simon Wilkinson wrote:
> 
> On 18 Sep 2011, at 11:13, Frank Burkhardt wrote:
> 
>> Hi Everyone,
>>
>> I'm currently doing a testrun with Ubuntu Natty + openafs 1.6.0 (Russ
>> Allbery's Debian package version 1.6.0-1).
>>
>> When I do
>>
>> root@myhost> fs setserver -vl someserver 1000
>>
>> I get this message:
>>
>> This cache manager does not support VL server preferences.
> 
> My suspicion is that this has been broken by 718f85a8, which added validation 
> checks to the data passed from user to kernel space as part of pioctls. If 
> anyone wants to investigate, the bit of code to look at is the declaration 
> for the SetSPrefs pioctl in src/afs/afs_pioctl.c
> 
> S.

I haven't tested this fix but based upon reading the code I believe

   http://gerrit.openafs.org/5465

will take care of it.

Jeffrey Altman



signature.asc
Description: OpenPGP digital signature


Re: [OpenAFS] VL server preferences

2011-09-18 Thread Simon Wilkinson

On 18 Sep 2011, at 11:13, Frank Burkhardt wrote:

> Hi Everyone,
> 
> I'm currently doing a testrun with Ubuntu Natty + openafs 1.6.0 (Russ
> Allbery's Debian package version 1.6.0-1).
> 
> When I do
> 
> root@myhost> fs setserver -vl someserver 1000
> 
> I get this message:
> 
> This cache manager does not support VL server preferences.

My suspicion is that this has been broken by 718f85a8, which added validation 
checks to the data passed from user to kernel space as part of pioctls. If 
anyone wants to investigate, the bit of code to look at is the declaration for 
the SetSPrefs pioctl in src/afs/afs_pioctl.c

S.

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] VL server preferences

2011-09-18 Thread Frank Burkhardt
Hi Everyone,

I'm currently doing a testrun with Ubuntu Natty + openafs 1.6.0 (Russ
Allbery's Debian package version 1.6.0-1).

When I do

 root@myhost> fs setserver -vl someserver 1000

I get this message:

 This cache manager does not support VL server preferences.

This was working in 1.4.x . Is this a permanent change? Is there an
alternative to change VL-Server priority? Maybe via DNS (I'm using -afsdb)?

Regards,

Frank Burkhardt
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info