Bug 136470 - [nfs] Cannot mount / in read-only, over NFS
Summary: [nfs] Cannot mount / in read-only, over NFS
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-08 19:00 UTC by admin
Modified: 2018-07-04 22:25 UTC (History)
1 user (show)

See Also:
bugmeister: mfc-stable10?
bugmeister: mfc-stable9?
bugmeister: mfc-stable8?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description admin 2009-07-08 19:00:13 UTC
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)
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-07-08 20:04:49 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 alexander.haderer 2009-10-15 19:53:12 UTC
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
Comment 3 Jaakko Heinonen freebsd_committer freebsd_triage 2011-01-07 10:04:31 UTC
State Changed
From-To: open->patched

I can reproduce this on 7.4-PRERELEASE but not on 9.0-CURRENT. I assume 
that this has been fixed in 9.0.
Comment 4 Ian Lepore freebsd_committer freebsd_triage 2018-07-04 22:25:06 UTC
This appears to have been fixed in the 8.0 timeframe. Re-confirmed that it still works properly on 12-current.