lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 23 Dec 2007 02:17:21 -0500
From:	Scott <linux-kernel@...ecamel.eml.cc>
To:	Gianluca Alberici <gianluca@...networks.biz>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: NFS EINVAL on open(... | O_TRUNC) on 2.6.23.9


On Dec 22, 2007, at 5:52 AM, Gianluca Alberici wrote:
> I've run into this problem 2.6.23.9. The open syscall will return
> "Invalid argument" when O_TRUNC is set on existing files.
>
> The same file can be opened for append or removed.
>
> The evidence is for example:
>
> mars:~# mount localhost:/opt/nfs/ /mnt/tmp
> mars:~# echo "Hello" > /mnt/tmp/test-file
> mars:~# echo "Hello" > /mnt/tmp/test-file
> bash: /mnt/tmp/test-file: Invalid argument

Can you show an strace of this please? Also, might suggest "rpcdebug - 
m nfsd -s all"

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ