From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 30 08:40:26 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F4EF16A4CE for ; Mon, 30 Aug 2004 08:40:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 260CA43D54 for ; Mon, 30 Aug 2004 08:40:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7U8eQFk017178 for ; Mon, 30 Aug 2004 08:40:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7U8ePRS017167; Mon, 30 Aug 2004 08:40:26 GMT (envelope-from gnats) Resent-Date: Mon, 30 Aug 2004 08:40:26 GMT Resent-Message-Id: <200408300840.i7U8ePRS017167@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, Matthew Thyer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A3B016A4CE for ; Mon, 30 Aug 2004 08:30:39 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E52943D39 for ; Mon, 30 Aug 2004 08:30:39 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i7U8UcKr077202 for ; Mon, 30 Aug 2004 08:30:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i7U8Ucqd077201; Mon, 30 Aug 2004 08:30:38 GMT (envelope-from nobody) Message-Id: <200408300830.i7U8Ucqd077201@www.freebsd.org> Date: Mon, 30 Aug 2004 08:30:38 GMT From: Matthew Thyer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/71141: NFS version 3 export of mounted Joliet CD ROM not correct X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 08:40:26 -0000 >Number: 71141 >Category: kern >Synopsis: NFS version 3 export of mounted Joliet CD ROM not correct >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 Aug 30 08:40:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Matthew Thyer >Release: 5.3-BETA1 >Organization: >Environment: FreeBSD freebie 5.3-BETA1 FreeBSD 5.3-BETA1 #0: Sat Aug 21 08:19:34 UTC 2004 root@mack.dcsl.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: On a Solaris UNIX system (Solaris 8 or 9 will do): > sudo /usr/sbin/mount freebie:/cdrom /mnt > ls -l /mnt total 0 -r-xr-xr-x 1 root root 0 Jan 1 1970 Copyright -r-xr-xr-x 1 root root 0 Jan 1 1970 Solaris_9 > sudo /usr/sbin/umount /mnt > sudo /usr/sbin/mount -o vers=2 freebie:/cdrom /mnt > ls -l /mnt total 17 -r--r--r-- 2 root root 7063 Nov 12 2003 Copyright drwxr-xr-x 7 root root 2048 Nov 21 2003 Solaris_9 Not only are the date stamps wrong, but also the file sizes and the types of the files. Notice that the directory "Solaris_9" is coming up as a file. >How-To-Repeat: Mount a CD-ROM using mount_cd9660 on the FreeBSD machine. Have it shared (read only or read write). Try to NFS mount the shared file system onto a Solaris machine. I suspect that the CD ROM may need to include Joliet extensions. The CD ROM I have used in this example is Solaris 9 12/03 1 of 2. I believe that almost any CD ROM from a commercial vendor will exhibit this problem. >Fix: The workaround is to mount using NFS version 2. >Release-Note: >Audit-Trail: >Unformatted: