Page MenuHomeFreeBSD

/etc/rc: Fix firstboot fs mount logic
ClosedPublic

Authored by feld on Feb 6 2018, 3:56 PM.
Tags
None
Referenced Files
F163100245: D14226.id38945.diff
Mon, Jul 20, 2:14 AM
Unknown Object (File)
Fri, Jul 17, 7:45 AM
Unknown Object (File)
Thu, Jul 16, 12:58 AM
Unknown Object (File)
Sat, Jul 4, 6:14 AM
Unknown Object (File)
Thu, Jul 2, 5:53 PM
Unknown Object (File)
Jun 14 2026, 2:19 PM
Unknown Object (File)
Jun 10 2026, 6:12 PM
Unknown Object (File)
May 18 2026, 10:28 AM
Subscribers
None

Details

Summary

The firstboot logic has an error which causes the
filesystem to be mounted readonly even though root_rw_mount=YES. This
fixes the error to ensure that the root filesystem is mounted rw as
expected after the run of the firstboot scripts.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14812
Build 14929: arc lint + arc unit

Event Timeline

Looks like the right fix to me: if we aren't mounting read/write, then remount / read only.

This revision is now accepted and ready to land.Feb 6 2018, 4:06 PM
This revision was automatically updated to reflect the committed changes.