Re: NFS EINVAL on open(... | O_TRUNC) on 2.6.23.9



On Wed, 06 Feb 2008 22:55:02 +0100
Gianluca Alberici <gianluca@xxxxxxxxxxxxxxx> wrote:

I finally got it. Problem and solution have been found from 6 month but
nobody cared...up to now those servers have not been mantained, this
problem is not discussed anywhere else than the following link.
The bug (userspace server side i would say at this point) is well
described from the author of an nfs-user-server patch which has not been
managed yet. The magic hint to find it on google was 'nfs server
utimensat' :-)

http://marc.info/?l=linux-nfs&m=118724649406144&w=2

This is pretty significant. We have on several occasions in recent years
tightened up the argument checking on long-standing system calls and it's
always a concern that this will break previously-working applications.

And now it has happened.

If we put buggy code into the kernel then we're largely stuck with it: we
need to be back-compatible with our bugs so we don't break things like
this.

I have already prepared a working patch for cfsd based upon the one ive
listed. The nfs patch is of course waiting for commit since august,
2007. Ill submit it to debian cfsd mantainers, hoping to have more
chance than my predecessor.
It doesnt seem to me that there was any kernel related issue.

Thanks a lot again, sorry for the lots of noise i have done. I will try
to be more appropriate next time.

That wasn't noise - it was quite valuable. Thanks for all the work you did
on this.


Given that our broken-by-unbreaking code has been out there in several
releases there isn't really any point in rebreaking it to fix this - the
offending applications need to be repaired so they'll work on 2.6.22 and
2.6.23 anyway.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Successful remote AES key extraction
    ... >The server isn't ``extremely artificial.'' It minimizes the noise level, ... network server on another computer" and only when taxed on the ease ... remote shell with ssh or feeding his naked OpenSSL timing tester from ...
    (sci.crypt)
  • Re: Problem with Xserver and Gnome applications
    ... The program 'gedit' received an X Window System error. ... This probably reflects a bug in the program. ... request belongs to an X11 extension. ... server does not support that extension and gedit doesn't check for it ...
    (comp.sys.sgi.admin)
  • Re: bug in time() related to DST?
    ... closes that short window of DST transition. ... > an indication of what the bug in my code is. ... > The servers are running Win2000 Server. ... > The call to GetLocalTimewill have the correct time and the time ...
    (microsoft.public.vc.language)
  • Re: Failed to map the path /App_GlobalResources/
    ... Have you also tested on other server to see whether you'll encounter the ... is this the first time you try deploying 2.0 website on ... |> | If not, install it, and check to see whether the bug remains. ...
    (microsoft.public.dotnet.framework.aspnet)
  • 5 bugs
    ... Don't confuse with Apacheweb server. ... Bug founded in function $exists. ... If you want to use this function (play sound-requests), ...
    (Bugtraq)