Bug 208568

Summary: reduce requirements for zfs filesystems in zfsboot for unattended installations
Product: Base System Reporter: Willi Burmeister <wib+freebsd>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: allanjude
Priority: ---    
Version: 10.1-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch for zfsboot adding a check for existing /tmp, /var/tmp none

Description Willi Burmeister 2016-04-06 08:01:35 UTC
Created attachment 169025 [details]
Patch for zfsboot adding a check for existing /tmp, /var/tmp

The file 

  /usr/libexec/bsdinstall/zfsboot

contains the line:

# NOTE: Requires /tmp, /var/tmp, /$ZFSBOOT_BOOTFS_NAME/$ZFSBOOT_BOOTFS_NAME

The requirement for /tmp and /var/tmp is not really necessary if we apply
a small patch to zfsboot (see attachment).
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-04-08 15:09:00 UTC
A commit references this bug:

Author: allanjude
Date: Fri Apr  8 15:08:22 UTC 2016
New revision: 297713
URL: https://svnweb.freebsd.org/changeset/base/297713

Log:
  bsdinstall/zfsboot should create /tmp and /var/tmp if they do not exist

  PR:		208629
  PR:		208568
  Submitted by:	Galael LAPLANCHE <ganael.laplanche@corp.ovh.com>
  MFC after:	2 weeks

Changes:
  head/usr.sbin/bsdinstall/scripts/zfsboot