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)
Mar 8 2024, 12:27 AM
Unknown Object (File)
Feb 1 2024, 11:34 PM
Unknown Object (File)
Jan 31 2024, 1:49 AM
Unknown Object (File)
Jan 5 2024, 4:42 PM
Unknown Object (File)
Dec 20 2023, 8:12 AM
Unknown Object (File)
Dec 12 2023, 8:02 AM
Unknown Object (File)
Nov 23 2023, 7:51 PM
Unknown Object (File)
Nov 12 2023, 4:02 PM
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.