Bug 180078

Summary: [patch] mkisoimages.sh(8): make /etc and /var writable on CD media
Product: Base System Reporter: Enji Cooper <ngie>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Description Flags
writable-etc-and-var-on-iso-images.patch none

Description Enji Cooper freebsd_committer 2013-06-29 04:20:00 UTC
The attached patch makes /etc/ and /var/ writable via /etc/rc.initdiskless which allows me to use /etc and /var as volatile filesystems [until reboot], accomplishing some of the following basic tasks:

- Starting the hostid service (needed for doing things with ZFS).
- Starting sshd (otherwise it can't write out keys to /etc/ssh/ .
- Setting passwords / adding custom users.
- Start dhclient (dhclient requires write access to /etc/resolv.conf and /var/run/{interface}.leases


Fix: Patch attached with submission follows:
Comment 1 Glen Barber freebsd_committer 2013-06-29 04:30:15 UTC
Responsible Changed
From-To: freebsd-bugs->re

re@ territory.
Comment 2 Enji Cooper freebsd_committer 2013-07-05 02:09:12 UTC
	Here's a more functional patch that applies the same set of basic logic as nanobsd.sh does to make /etc and /var writable.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:16 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped