From nobody@FreeBSD.org  Wed Jul  8 17:57:06 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A7A75106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Jul 2009 17:57:06 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 96F808FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  8 Jul 2009 17:57:06 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n68Hv6L8037282
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 8 Jul 2009 17:57:06 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n68Hv5MO037281;
	Wed, 8 Jul 2009 17:57:05 GMT
	(envelope-from nobody)
Message-Id: <200907081757.n68Hv5MO037281@www.freebsd.org>
Date: Wed, 8 Jul 2009 17:57:05 GMT
From: Alex Keda <admin@lissyara.su>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Cannot mount / in read-only, over NFS
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         136470
>Category:       kern
>Synopsis:       [nfs] Cannot mount / in read-only, over NFS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-fs
>State:          patched
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 08 18:00:13 UTC 2009
>Closed-Date:    
>Last-Modified:  Fri Jan 07 10:06:14 UTC 2011
>Originator:     Alex Keda
>Release:        7.2
>Organization:
USSR
>Environment:
FreeBSD a-ryabov.grand-prix 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Thu Jul  2 15:37:28 UTC 2009     lissyara@router.local:/usr/obj/usr/src/sys/NFSBOOT  i386

>Description:
I have this settings (machine booting over PXE->NFS)

a-ryabov# grep root /etc/rc.conf
# rootfs in read-only
root_rw_mount="NO"
a-ryabov#  

a-ryabov# grep "ro " /etc/fstab
192.168.130.254:/shares/tftp/7.2/gp     /               nfs     ro 0 0
a-ryabov# 

But, after boot:
a-ryabov# mount | grep tftp
192.168.130.254:/shares/tftp/7.2/gp on / (nfs)

When I using 4.11 - all be OK - root fs mounted read-only
>How-To-Repeat:
boot over LAN (using PXE)
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Jul 8 19:04:49 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136470 

From: Alexander Haderer <alexander.haderer@loescap.de>
To: bug-followup@FreeBSD.org, admin@lissyara.su
Cc:  
Subject: Re: kern/136470: [nfs] Cannot mount / in read-only, over NFS
Date: Thu, 15 Oct 2009 20:53:12 +0200

 hello, I submitted a new PR because this problem comes from a bug in the 
 'mount' command, see PR bin/139651
 
 with best regards,
 
 	Alexander
State-Changed-From-To: open->patched 
State-Changed-By: jh 
State-Changed-When: Fri Jan 7 10:04:31 UTC 2011 
State-Changed-Why:  
I can reproduce this on 7.4-PRERELEASE but not on 9.0-CURRENT. I assume 
that this has been fixed in 9.0. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136470 
>Unformatted:
