From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 14 06:20:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8759C1065670 for ; Mon, 14 Sep 2009 06:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3A2838FC16 for ; Mon, 14 Sep 2009 06:20:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8E6K2sT047730 for ; Mon, 14 Sep 2009 06:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8E6K2gB047729; Mon, 14 Sep 2009 06:20:02 GMT (envelope-from gnats) Resent-Date: Mon, 14 Sep 2009 06:20:02 GMT Resent-Message-Id: <200909140620.n8E6K2gB047729@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Braniss Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C780106566B for ; Mon, 14 Sep 2009 06:18:08 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 128148FC17 for ; Mon, 14 Sep 2009 06:18:07 +0000 (UTC) Received: from pundit-2.cs.huji.ac.il ([132.65.82.135]) by kabab.cs.huji.ac.il with esmtp id 1Mn4t4-0003w0-Ou for FreeBSD-gnats-submit@freebsd.org; Mon, 14 Sep 2009 09:18:06 +0300 Received: from danny by pundit-2.cs.huji.ac.il with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mn4t4-0000p8-NE for FreeBSD-gnats-submit@freebsd.org; Mon, 14 Sep 2009 09:18:06 +0300 Message-Id: Date: Mon, 14 Sep 2009 09:18:06 +0300 From: Daniel Braniss To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/138803: zfs(v13)+nfs and open(..., O_WRONLY|O_CREAT|O_EXCL, ...) returns io error X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Braniss List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 06:20:02 -0000 >Number: 138803 >Category: kern >Synopsis: zfs(v13)+nfs and open(..., O_WRONLY|O_CREAT|O_EXCL, ...) returns io error >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 14 06:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Daniel Braniss >Release: FreeBSD 8.0-BETA4 i386 >Organization: >Environment: System: FreeBSD pundit-2 8.0-BETA4 FreeBSD 8.0-BETA4 #1: Sun Sep 13 16:46:28 IDT 2009 danny@sunfire:/r+d/obj/sunfire/i386/r+d/stable/8/sys/HUJI i386 >Description: see http://www.freebsd.org/cgi/query-pr.cgi?pr=135412 this time the client is i386/32, when client is amd64 all is ok. >How-To-Repeat: #include #include #include #include #include main(int cc, char **vv) { int fd; char *fn; if(cc > 1) fn = vv[1]; else fn = "lock"; fd = open(fn, O_WRONLY|O_CREAT|O_EXCL, 0666); if(fd < 0) { int err = errno; fprintf(stderr, "%d - %s\n", err, strerror(err)); } exit(0); } >Fix: >Release-Note: >Audit-Trail: >Unformatted: