xfs
[Top] [All Lists]

Re: SPEC failures

To: "Ken Cross" <kcross@xxxxxxxxx>
Subject: Re: SPEC failures
From: Steve Lord <lord@xxxxxxx>
Date: Wed, 15 Aug 2001 09:56:44 -0500
Cc: "Linux XFS" <linux-xfs@xxxxxxxxxxx>
Comments: In-reply-to "Ken Cross" <kcross@ntown.com> message dated "Wed, 15 Aug 2001 10:51:17 -0400."
References: <002101c12599$bd9afe40$0200a8c0@kjc2.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
> I've been trying to run SPEC sfs tests, but during validation it fails with:
> 
>   validating create file file_en.00000 ...
>   file_en.00000: create attribute mismatch
>   mode: returned = 100644, specified = 100666
> 
>   validating create file file_en.00001 ...
>   file_en.00001: create attribute mismatch
>   mode: returned = 100644, specified = 100666
> 
> Later on in the validation pass, I get:
> 
>   validating setattr file_en.00000 ...
>   file_en.00000: setattr attribute mismatch
>   mode: returned = 100666, specified = 100644
> 
>   validating setattr file_en.00001 ...
>   file_en.00001: setattr attribute mismatch
>   mode: returned = 100666, specified = 100644
> 
> 
> This is on a system with the latest (8/15/01) CVS code, using egcs 1.1.2.
> It works fine using chmod manually, but SPEC sfs fails very consistently
> with different clients and different hosts.
> 
> It does *not* fail with the Linux-XFS 1.0.1 ISO image.
> 
> Any ideas?
> 
> Thanks,
> Ken
> 

Yes, Andrew Tridgell hit the same thing, this has to do with the code
added to xfs for posix acl support and when we do and do not apply
the process umask to file create permissions. When and how these
masks are applied in the main kernel has changed since the 1.0.1
release.

Our problem right now is we need a way in the create code in xfs to
tell we are being called from NFS, and apart from looking at the
name of the running process I don't have a way of doing this.

So basically the status is : broken until someone has a brainwave
on how to detect a create/mkdir/mknod from nfs neatly.

Steve


<Prev in Thread] Current Thread [Next in Thread>