Page MenuHomeFreeBSD

/etc/rc: Fix firstboot fs mount logic
ClosedPublic

Authored by feld on Feb 6 2018, 3:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 15, 4:11 AM
Unknown Object (File)
Mon, Apr 13, 6:34 PM
Unknown Object (File)
Mon, Apr 13, 4:26 AM
Unknown Object (File)
Sun, Apr 12, 12:55 AM
Unknown Object (File)
Thu, Apr 2, 5:58 AM
Unknown Object (File)
Mon, Mar 30, 6:47 AM
Unknown Object (File)
Sat, Mar 21, 1:36 PM
Unknown Object (File)
Sat, Mar 21, 3:58 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 Not Applicable
Unit
Tests Not Applicable

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.