kern/138803: zfs(v13)+nfs and open(..., O_WRONLY|O_CREAT|O_EXCL,
...) returns io error
Daniel Braniss
danny at cs.huji.ac.il
Mon Sep 14 06:20:02 UTC 2009
>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 at 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 <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
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:
More information about the freebsd-bugs
mailing list