Page MenuHomeFreeBSD

/etc/rc: Fix firstboot fs mount logic
ClosedPublic

Authored by feld on Feb 6 2018, 3:56 PM.
Tags
None
Referenced Files
F157097256: D14226.id38945.diff
Mon, May 18, 10:28 AM
F157079615: D14226.id38966.diff
Mon, May 18, 8:00 AM
F157007474: D14226.id.diff
Sun, May 17, 10:29 PM
Unknown Object (File)
Fri, May 15, 10:28 AM
Unknown Object (File)
Fri, May 8, 7:03 PM
Unknown Object (File)
Wed, May 6, 2:10 AM
Unknown Object (File)
Sun, May 3, 2:19 PM
Unknown Object (File)
Sun, May 3, 10:23 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.